diff options
| author | sostler <sbostler@gmail.com> | 2010-03-04 23:49:38 -0500 |
|---|---|---|
| committer | sostler <sbostler@gmail.com> | 2010-03-04 23:49:38 -0500 |
| commit | 8ec592855b71751897c5448cdc591d1595ee6f86 (patch) | |
| tree | 8f056597fc680714af87d1948fd590424c1abe11 /template | |
| parent | c5812c51a39ea3c10fe4eb4f64f2b7e487c52d82 (diff) | |
| parent | e8142b2742433ea26f6434e5933cddea8b4711c2 (diff) | |
Merge branch 'master' of ssh://dump.fm/pichat/repo
Diffstat (limited to 'template')
| -rw-r--r-- | template/directory.st | 38 |
1 files changed, 37 insertions, 1 deletions
diff --git a/template/directory.st b/template/directory.st index 23960f0..c57c333 100644 --- a/template/directory.st +++ b/template/directory.st @@ -16,7 +16,15 @@ top: 57px; padding: 2em; } + .linkify img { + max-height: 300px; + max-width: 200px; + } </style> + <script> + jQuery(document).ready(initDirectory); + </script> + </head> <body> $banner()$ @@ -24,7 +32,35 @@ <div id="headerbar"></div> <div id="main"> <h3>DUMP STARS</h3> - </div> + <br /> + + $if(users)$ + $users:{ u | + <div> + <a href="/u/$u.nick$"> + <h2>$u.nick$</h2> + $if(u.avatar)$ + <img height="50" width="50" src="$u.avatar$"></img> + $endif$ + </a> + <div> + <span>Last post:</span> + <span class="linkify">$u.content$</span> + </div> + <hr /> + }$ + $else$ + <span>No more users!</span> + $endif$ + + $if(prev)$ + <a href="/directory$prev$">BACK</a> + $endif$ + $if(users)$ + <a href="/directory$next$">MORE</a> + $endif$ + + </div> <div id="footer"> $footer()$ </div> |
