mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-01-29 08:48:18 -05:00
make the widgets look better per alexis
This commit is contained in:
BIN
r2/r2/public/static/widget_arrows.gif
Normal file
BIN
r2/r2/public/static/widget_arrows.gif
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 291 B |
BIN
r2/r2/public/static/widget_arrows_down.gif
Normal file
BIN
r2/r2/public/static/widget_arrows_down.gif
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 409 B |
BIN
r2/r2/public/static/widget_arrows_up.gif
Normal file
BIN
r2/r2/public/static/widget_arrows_up.gif
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 414 B |
@@ -32,7 +32,7 @@
|
||||
|
||||
<h3 class="reddit-title" ${optionalstyle("margin:0;")}>
|
||||
<a href="http://${get_domain()}/" ${optionalstyle("margin:5px;")}>
|
||||
<img src="http://sp.reddit.com/reddithead4.gif" alt=""
|
||||
<img src="http://${get_domain(subreddit=False)}/static/spreddit1.gif" alt=""
|
||||
${optionalstyle("border:none")} />
|
||||
</a>
|
||||
<%
|
||||
|
||||
@@ -41,11 +41,11 @@
|
||||
domain = get_domain(subreddit=False)
|
||||
permalink = "http://%s%s" % (domain, thing.permalink)
|
||||
if thing.likes == False:
|
||||
arrow = "http://%s/static/widget_arrows_down.png"
|
||||
arrow = "http://%s/static/widget_arrows_down.gif"
|
||||
elif thing.likes:
|
||||
arrow = "http://%s/static/widget_arrows_up.png"
|
||||
arrow = "http://%s/static/widget_arrows_up.gif"
|
||||
else:
|
||||
arrow = "http://%s/static/widget_arrows.png"
|
||||
arrow = "http://%s/static/widget_arrows.gif"
|
||||
arrow = arrow % domain
|
||||
%>
|
||||
<a href="${permalink}" class="reddit-voting-arrows" target="_blank"
|
||||
|
||||
Reference in New Issue
Block a user