diff options
| author | Scott Ostler <sostler@deathmachine.local> | 2010-03-17 00:21:12 -0400 |
|---|---|---|
| committer | Scott Ostler <sostler@deathmachine.local> | 2010-03-17 00:21:12 -0400 |
| commit | 8e552b2252c8464f563c33424bd9ff55eb81e4e0 (patch) | |
| tree | 3ade380f62e34d6d7cc194829ae515238d8bbd18 /template | |
| parent | 5c1f0b978d97df29d9b626b0695ca68e12cf0fc9 (diff) | |
| parent | 864fc418066cfb5f9de22d3dd3369d3efc6810b3 (diff) | |
ready for deploy
Diffstat (limited to 'template')
| -rw-r--r-- | template/directory.st | 100 |
1 files changed, 45 insertions, 55 deletions
diff --git a/template/directory.st b/template/directory.st index 9f68812..954c717 100644 --- a/template/directory.st +++ b/template/directory.st @@ -1,13 +1,13 @@ <html> <head> - + <title>dump.fm</title> $head()$ - <link rel="stylesheet" type="text/css" href="/static/directory.css"> + <link rel="stylesheet" type="text/css" href="/static/directory.css"> <script> jQuery(document).ready(initDirectory); </script> - + </head> <body> @@ -16,60 +16,50 @@ <div id="log"> <div id="loghead"></div> <br> - - <div id="posts"> - - <br> - <center> - <h2> ✭ ✭ DUMP STARS ✭ ✭</h2> - <div id="lolbanner"> - <img src="/static/welcomebanner.gif"> - </div> - - </center> - - $if(notloaded)$ - <div>Sorry, the directory is being updated. Refresh in a minute!</div> - $elseif(users)$ - - $users:{ u | - <div class="logged-dump"> - <a href="/u/$u.nick$"> - <b>$u.nick$</b> - $if(u.avatar)$ - <div id="logavatar"> <img height="50" width="50" src="$u.avatar$" /></div> + + <div id="posts"> + <br> + <center> + <h2>✭ ✭ DUMP STARS ✭ ✭</h2> + <div id="lolbanner"> + <img src="/static/welcomebanner.gif"> + </div> + </center> + $if(users)$ + $users:{ u | + <div class="logged-dump"> + <a href="/u/$u.nick$"> + <b>$u.nick$</b> + $if(u.avatar)$ + <div style="border-image:url($u.avatar$)"> + <div id="logavatar"> + <img height="50" width="50" src="$u.avatar$"></img> + </div> $endif$ - </a> - <div id="infotxt"> - <b><div style="display:none;">Count: $u.cnt$ !!</div>last post</b> - </div> - <span class="linkify">$u.content$</span> + </a> + <div id="infotxt"><b>last post</b></div> + <span class="linkify">$u.content$</span> <hr /> -<div style="display:none;"> - -<a href="http://www.facebook.com/share.php?u=$u.content$" target="_blank"><img src="/static/fbbutton.png"></a> - -<a href="http://twitter.com/home?status=found on dump.fm! $u.content$" target="_blank"><img src="/static/twittericon.png"></a> -<a href="http://delicious.com/save?url=$u.content$" target="_blank"><img src="/static/delishicon.png"></a></div> + </div> + <a href="http://www.facebook.com/share.php?u=$u.content$&t=via dump.fm" target="_blank"><img src="/static/fbbutton.png"></a> + <a href="http://twitter.com/home?status=via dump.fm $u.content$" target="_blank"><img src="/static/twittericon.png"></a> + <a href="http://delicious.com/save?url=$u.content$¬es=via dump.fm&title=$u.content$" target="_blank"><img src="/static/delishicon.png"></a> + </div> + }$ + $else$ + <span>No more users!</span> + $endif$ + <div id="pnav"> + $if(prev)$ + <div id="pnavn"><a href="/directory$prev$">BACK</a></div> + $endif$ + $if(users)$ + <div id="pnavo"> <a href="/directory$next$">MOAR!</a></div> + $endif$ + </div> + <div id="footer"> + $footer()$ </div> - - }$ - $else$ - <span>No more users!</span> - $endif$ - <div id="pnav"> - - $if(prev)$ - <div id="pnavn"><a href="/directory$prev$">BACK</a></div> - $endif$ - $if(users)$ - <div id="pnavo"> <a href="/directory$next$">MOAR!</a></div> - $endif$ - - </div> - <div id="footer"> - $footer()$ - </div> - </div> + </div> </body> </html> |
