diff options
| author | sostler <sbostler@gmail.com> | 2010-01-03 18:26:23 -0500 |
|---|---|---|
| committer | sostler <sbostler@gmail.com> | 2010-01-03 18:26:23 -0500 |
| commit | 4b51ea0eb70699285e1b6d6432b07722c793c57a (patch) | |
| tree | 17dcf5ccb1ce946b71de9209a23a3cc04cdf2355 /template | |
| parent | 75a590ec89a9b7afb070331a25069e75a33ec30b (diff) | |
Work checkin
Diffstat (limited to 'template')
| -rwxr-xr-x | template/chat.st | 3 | ||||
| -rw-r--r-- | template/log.st | 26 | ||||
| -rwxr-xr-x | template/logged_dump.st | 3 | ||||
| -rwxr-xr-x | template/profile.st | 29 |
4 files changed, 55 insertions, 6 deletions
diff --git a/template/chat.st b/template/chat.st index 52cbfbc..b9c88b4 100755 --- a/template/chat.st +++ b/template/chat.st @@ -20,7 +20,8 @@ <div id="userList"> $users: { u | <div class="username"><a href="/u/$u.nick$"> - <img src="$u.avatar$" width="50" height="50">$u.nick$</a><br> + $if(u.avatar)$<img src="$u.avatar$" width="50" height="50">$endif$ + $u.nick$</a><br> </div> }$ </div> diff --git a/template/log.st b/template/log.st index 6120032..0fbacaa 100644 --- a/template/log.st +++ b/template/log.st @@ -14,8 +14,32 @@ <body> $banner()$ <h2>Log</h2> + + <div style="text-align: right;"> + $if(prev)$ + <a href="/log/$prev$">PREV DUMPS</a> + $endif$ + + $if(dumps)$ + <a href="/log/$next$">MORE DUMPS</a> + $endif$ + </div> + + $if(dumps)$ $dumps: { d | $logged_dump(dump=d)$ }$ + $else$ + No dumps! + $endif$ + + <div style="text-align: right;"> + $if(prev)$ + <a href="/log/$prev$">PREV DUMPS</a> + $endif$ + + $if(dumps)$ + <a href="/log/$next$">MORE DUMPS</a> + $endif$ + </div> - <a href="/log?offset=$next$">MORE DUMPS</a> </body> </html> diff --git a/template/logged_dump.st b/template/logged_dump.st index 706f24b..86e23fc 100755 --- a/template/logged_dump.st +++ b/template/logged_dump.st @@ -31,8 +31,7 @@ img{ } </style> <div class="logged-dump"> - - <div>$dump.created_on$</div> + <div>$dump.created_on$ -- by <a href="/u/$dump.nick$">$dump.nick$</a></div> <div class="content">$dump.content$</div> <hr /> </div> diff --git a/template/profile.st b/template/profile.st index 5f77c68..45dbb32 100755 --- a/template/profile.st +++ b/template/profile.st @@ -17,7 +17,19 @@ <div id="log"> <div id="loghead"> $nick$'s log - </div><div id="posts"> + </div> + <br> + <div style="text-align: left;"> + $if(prev)$ + <a href="/u/$nick$/$prev$">PREV DUMPS</a> + $endif$ + + $if(dumps)$ + <a href="/u/$nick$/$next$">MORE DUMPS</a> + $endif$ + </div> + + <div id="posts"> $if(dumps)$ $dumps:{ d | $logged_dump(dump=d)$ }$ @@ -27,12 +39,25 @@ $endif$ <p> </p> + <span style="border: 2px solid blue; background-color: gray"> + $if(prev)$ + <a href="/u/$nick$/$prev$">PREV DUMPS</a> + $endif$ + + $if(dumps)$ + <a href="/u/$nick$/$next$">MORE DUMPS</a> + $endif$ + </span> + + <br><br> + <p> </p> <p><img src="broken.png" onerror="this.style.display='none'" /></p> - </div> + + </div> <div id="profile"> |
