make the widgets look better per alexis

This commit is contained in:
Jeremy Edberg
2008-10-15 16:20:48 -07:00
parent e02e1539dc
commit 825ec700d0
5 changed files with 4 additions and 4 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 291 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 409 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 414 B

View File

@@ -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>
<%

View File

@@ -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"