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/Content.html | |
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/Content.html')
-rw-r--r--[-rwxr-xr-x] | Swift/resources/themes/Default/Outgoing/Content.html | 46 |
1 files changed, 17 insertions, 29 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> |