diff options
| -rw-r--r-- | template/chat.st | 13 | ||||
| -rw-r--r-- | template/log_dump.st | 4 | ||||
| -rw-r--r-- | template/profile.st | 2 | ||||
| -rw-r--r-- | template/profile_dump.st | 3 | ||||
| -rw-r--r-- | template/share_buttons.st | 12 |
5 files changed, 19 insertions, 15 deletions
diff --git a/template/chat.st b/template/chat.st index 13b0a60..ef866ff 100644 --- a/template/chat.st +++ b/template/chat.st @@ -55,9 +55,16 @@ $users: { u | <div id="messagePane"> <div id="messageList"> $messages: { m | - <div class="msgDiv oldmsg" id="message-$m.message_id$"><b> - <a href="/u/$m.nick$">$m.nick$</a>: </b> - <span class="content">$m.content$<span> + <div class="msgDiv oldmsg dump $if(m.favorited)$favorite$endif$" id="message-$m.message_id$" nick="$m.nick$"> + <span class="nick"> + <b><a href="/u/$m.nick$">$m.nick$</a></b> + $if(m.favorited)$ + <img src="/static/img/thumbs/color.right.gif" class="thumb chat-thumb" onclick="Tag.favorite(this)"> + $else$ + <img src="/static/img/thumbs/pink.diamond.gif" class="thumb chat-thumb" onclick="Tag.favorite(this)"> + $endif$ + </span> + <span class="content">$m.content$<span> </div> }$ <hr /> diff --git a/template/log_dump.st b/template/log_dump.st index c772868..155981d 100644 --- a/template/log_dump.st +++ b/template/log_dump.st @@ -1,7 +1,7 @@ $if(dump.ztags)$ - <div class="logged-dump" id="message-$dump.message_id$" nick="$dump.nick$" tags="$dump.tags: { tag | $tag.nick$:$tag.tag$ }$"> + <div class="logged-dump dump" id="message-$dump.message_id$" nick="$dump.nick$" tags="$dump.tags: { tag | $tag.nick$:$tag.tag$ }$"> $else$ - <div class="logged-dump" id="message-$dump.message_id$" nick="$dump.nick$"> + <div class="logged-dump dump $if(dump.favorited)$favorite$endif$" id="message-$dump.message_id$" nick="$dump.nick$"> $endif$ $dump.created_on$ -- by <b><a href="/u/$dump.nick$">$dump.nick$</b> diff --git a/template/profile.st b/template/profile.st index 918e659..e4dd467 100644 --- a/template/profile.st +++ b/template/profile.st @@ -1,8 +1,6 @@ <html> <head> <title>$nick$'s dump.fm</title> - <META NAME="keywords" CONTENT="dump.fm, image chat, realtime, internet 3.0, dump, dump fm, image dump, pictures, image links, image board"> -<META NAME="description" CONTENT="Talk with pictures!"> $head()$ <link rel="stylesheet" type="text/css" media="screen" href="/static/css/profile.css"> <script src="/static/js/jquery.editinplace.1.0.1.packed.js" type="text/javascript"></script> diff --git a/template/profile_dump.st b/template/profile_dump.st index b93c2fc..0020c70 100644 --- a/template/profile_dump.st +++ b/template/profile_dump.st @@ -1,4 +1,4 @@ -<div class="logged-dump" id="message-$dump.message_id$" nick="$dump.nick$"> +<div class="logged-dump dump $if(dump.favorited)$favorite$endif$" id="message-$dump.message_id$" nick="$dump.nick$"> <div> $dump.created_on$ -- in <b><a href="/$dump.key$/chat">$dump.key$</a></b> </div> @@ -13,6 +13,5 @@ </div></a> <div class="content">$dump.content$</div> - <hr /> $share_buttons()$ </div> diff --git a/template/share_buttons.st b/template/share_buttons.st index 4400fb3..d061743 100644 --- a/template/share_buttons.st +++ b/template/share_buttons.st @@ -1,13 +1,13 @@ <div class="buttons"> $if(dump.favorited)$ - <img src="/static/thumbup.colored.gif" class="thumb favorite" onclick="Tag.favorite(this)"> + <img src="/static/img/thumbs/color.left.gif" class="thumb favorite" onclick="Tag.favorite(this)"> $else$ - <img src="/static/thumbup.gif" class="thumb" onclick="Tag.favorite(this)"> + <img src="/static/img/thumbs/bw.left.gif" class="thumb" onclick="Tag.favorite(this)"> $endif$ <span class="other-sites"> - <img src="/static/share/tumblricon.png" class="share" onclick="Share.tumblr(this)"> - <img src="/static/share/fbbutton.png" class="share" onclick="Share.facebook(this)"> - <img src="/static/share/twittericon.png" class="share" onclick="Share.twitter(this)"> - <img src="/static/share/delishicon.png" class="share" onclick="Share.delicious(this)"> + <img src="/static/img/share/tumblricon.png" class="share" onclick="Share.tumblr(this)"> + <img src="/static/img/share/fbbutton.png" class="share" onclick="Share.facebook(this)"> + <img src="/static/img/share/twittericon.png" class="share" onclick="Share.twitter(this)"> + <img src="/static/img/share/delishicon.png" class="share" onclick="Share.delicious(this)"> </span> </div>
\ No newline at end of file |
