summaryrefslogtreecommitdiff
path: root/template/directory.st
diff options
context:
space:
mode:
authorScott Ostler <sostler@deathmachine.local>2010-03-15 23:12:32 -0400
committerScott Ostler <sostler@deathmachine.local>2010-03-15 23:12:32 -0400
commitd2bcd70e8ec45d2e265387665c06e75c66c40797 (patch)
treeacf2abced5e498ce3597fb33e69aab7e35b9bf5a /template/directory.st
parent7a3bf6cf4266b4c431d42ac57a070dffda6a4084 (diff)
parent67668085e7ea9c1638eab0c4a8ffd584316c0c5c (diff)
Merged
Diffstat (limited to 'template/directory.st')
-rw-r--r--template/directory.st73
1 files changed, 34 insertions, 39 deletions
diff --git a/template/directory.st b/template/directory.st
index 5953563..dc2deec 100644
--- a/template/directory.st
+++ b/template/directory.st
@@ -1,26 +1,8 @@
<html>
<head>
- <title>dump.fm Directory</title>
+ <title>dump.fm</title>
$head()$
- <style>
- body {
- background-attachment: fixed;
- background-color: #FFE;
- background-image: url(http://localhost:8080/static/chanbg.png);
- background-position: 1px 10px;
- background-repeat: repeat-x;
- font-family: Arial, Helvetica, sans-serif;
- }
- #main {
- position: absolute;
- top: 57px;
- padding: 2em;
- }
- .linkify img {
- max-height: 300px;
- max-width: 200px;
- }
- </style>
+ <link rel="stylesheet" type="text/css" href="/static/directory.css">
<script>
jQuery(document).ready(initDirectory);
</script>
@@ -28,39 +10,52 @@
</head>
<body>
$banner()$
- <div id="chatrap">
- <div id="headerbar"></div>
- <div id="main">
- <h3>DUMP STARS</h3>
- <br />
+ <div id="chatrap">
+
+ <div id="log">
+ <div id="loghead"></div>
+ <br>
- $if(notloaded)$
- <div>Sorry, the directory is being updated. Refresh in a minute!</div>
- $elseif(users)$
- $users:{ u |
- <div>
- <a href="/u/$u.nick$">
- <h2>$u.nick$</h2>
+ <div id="posts">
+
+ <br>
+ <center>
+ <h2> &#x272D; &#x272D; DUMP STARS &#x272D; &#x272D;</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)$
- <img height="50" width="50" src="$u.avatar$"></img>
+ <div id="logavatar"> <img height="50" width="50" src="$u.avatar$"></img></div>
$endif$
</a>
- <div>Count: $u.cnt$</div>
- <div>
- <span>Last post:</span>
+ <div id="infotxt"><b><div style="display:none;">Count: $u.cnt$ !!</div>
+ last post </b></div>
<span class="linkify">$u.content$</span>
+ <hr />
</div>
- <hr />
+
}$
$else$
<span>No more users!</span>
$endif$
+ <div id="pnav">
$if(prev)$
- <a href="/directory$prev$">BACK</a>
+ <div id="pnavn"><a href="/directory$prev$">BACK</a></div>
$endif$
$if(users)$
- <a href="/directory$next$">MORE</a>
+ <div id="pnavo"> <a href="/directory$next$">MOAR!</a></div>
$endif$
</div>