diff options
author | Tobias Markmann <tm@ayena.de> | 2016-03-25 16:13:53 (GMT) |
---|---|---|
committer | Tobias Markmann <tm@ayena.de> | 2016-03-29 07:36:36 (GMT) |
commit | c26314684cd4e6140e5ea882285c2076505bd53d (patch) | |
tree | 9d31b6bfaced4a01aff8069096e2c9bb28efad43 /Swift/resources/themes/Default/Outgoing | |
parent | daf513a6567100322d3c51733ea0c449ca6adb1b (diff) | |
download | swift-c26314684cd4e6140e5ea882285c2076505bd53d.zip swift-c26314684cd4e6140e5ea882285c2076505bd53d.tar.bz2 |
Replace chat view theme with one based on the new design
This also removes the old chat theme resources and some code
in QtWebKitChatView that was required for compatibility to
Adium-style themes.
The new code uses a CSS style in the header to change the
font size and does not iterate the whole DOM tree itself
anymore.
Added new resources for failed and successful asks.
Test-Information:
Tested MUCs, PMs, message correction and file-transfers with
the new chat theme.
Change-Id: If922a972c658189444e60a7b00e5e5e96661620d
Diffstat (limited to 'Swift/resources/themes/Default/Outgoing')
-rw-r--r--[-rwxr-xr-x] | Swift/resources/themes/Default/Outgoing/Content.html | 46 | ||||
-rwxr-xr-x | Swift/resources/themes/Default/Outgoing/Context.html | 31 | ||||
-rw-r--r--[-rwxr-xr-x] | Swift/resources/themes/Default/Outgoing/NextContent.html | 23 | ||||
-rwxr-xr-x | Swift/resources/themes/Default/Outgoing/NextContext.html | 6 | ||||
-rw-r--r-- | Swift/resources/themes/Default/Outgoing/buddy_icon.png | bin | 12047 -> 0 bytes |
5 files changed, 33 insertions, 73 deletions
diff --git a/Swift/resources/themes/Default/Outgoing/Content.html b/Swift/resources/themes/Default/Outgoing/Content.html index b0475d2..7100748 100755..100644 --- a/Swift/resources/themes/Default/Outgoing/Content.html +++ b/Swift/resources/themes/Default/Outgoing/Content.html @@ -1,30 +1,18 @@ -<div class="chatItem outgoingItem"> - <table width="100%"> - <tr> - <td valign="top"> - <img src="%userIconPath%" class="avatar" title="%sender%" ondragstart="return false" /> - <div class="myBubble"> - <div class="indicator"></div> - <table class="tableBubble" cellspacing="0" cellpadding="0"> - <tr> - <td class="tl"></td> - <td class="tr"></td> - </tr> - <tr> - <td class="message" style="direction: %direction%"> - %message% - <div class="timeStamp"><span class="name">%wrapped_sender% @</span> %time%</div> - <span id="insert"></span> - </td> - <td class="messageRight"></td> - </tr> - <tr> - <td class="bl"></td> - <td class="br"></td> - </tr> - </table> - </div> - </td> - </tr> - </table> +<!--MY MESSAGE--> +<div class="message" id="%id%"> + <div class="user"> + <div class="time"> + <p>%time%</p> + <span class="swift_ack"></span> + <span class="swift_receipt"></span> + </div> + <div class="myavatar"> + <img src="%userIconPath%"/> + </div> + <div class="myright"></div> + </div> + <div class="text"> + <p class="myusername">%wrapped_sender%</p> + <div class="message-content">%message%</div> + </div> </div> diff --git a/Swift/resources/themes/Default/Outgoing/Context.html b/Swift/resources/themes/Default/Outgoing/Context.html deleted file mode 100755 index 679d786..0000000 --- a/Swift/resources/themes/Default/Outgoing/Context.html +++ /dev/null @@ -1,31 +0,0 @@ -<div class="chatItem outgoingItem"> - <table width="100%"> - <tr> - <td valign="top"> - <img src="%userIconPath%" class="avatar" ondragstart="return false" /> - <div class="myBubble"> - <div class="indicator"></div> - <table class="tableBubble" cellspacing="0" cellpadding="0"> - <tr> - <td class="tl"></td> - <td class="tr"></td> - </tr> - <tr> - <td class="message" style="direction: %direction%"> - - %message% - <div class="timeStamp"><span class="name">%sender% @</span> %time%</div> - <span id="insert"></span> - </td> - <td class="messageRight"></td> - </tr> - <tr> - <td class="bl"></td> - <td class="br"></td> - </tr> - </table> - </div> - </td> - </tr> - </table> -</div> diff --git a/Swift/resources/themes/Default/Outgoing/NextContent.html b/Swift/resources/themes/Default/Outgoing/NextContent.html index fe6490e..8795298 100755..100644 --- a/Swift/resources/themes/Default/Outgoing/NextContent.html +++ b/Swift/resources/themes/Default/Outgoing/NextContent.html @@ -1,9 +1,18 @@ -<div> - <div class="followUp"></div> - <div style="direction: %direction%"> - %message% - <div class="timeStamp">%time%</div> - </div> - <span id="insert"></span> +<!--My MESSAGE ADDITIONAL--> +<div class="message additional" id="%id%"> + <div class="user"> + <div class="time-additional"> + <p>%time%</p> + <span class="swift_ack"></span> + <span class="swift_receipt"></span> + </div> + <div class="systemavatar"> + <img/> + </div> + <div class="systemright"></div> + </div> + <div class="text"> + <div class="message-content">%message%</div> + </div> </div> diff --git a/Swift/resources/themes/Default/Outgoing/NextContext.html b/Swift/resources/themes/Default/Outgoing/NextContext.html deleted file mode 100755 index f66aeeb..0000000 --- a/Swift/resources/themes/Default/Outgoing/NextContext.html +++ /dev/null @@ -1,6 +0,0 @@ -<div class="followUp"></div> -<div style="direction: %direction%"> - %message% - <div class="timeStamp">%time%</div> -</div><span id="insert"></span> - diff --git a/Swift/resources/themes/Default/Outgoing/buddy_icon.png b/Swift/resources/themes/Default/Outgoing/buddy_icon.png Binary files differdeleted file mode 100644 index 0757aaa..0000000 --- a/Swift/resources/themes/Default/Outgoing/buddy_icon.png +++ /dev/null |