diff options
| author | dumpfmprod <dumpfmprod@ubuntu.(none)> | 2010-01-15 13:50:49 -0500 |
|---|---|---|
| committer | dumpfmprod <dumpfmprod@ubuntu.(none)> | 2010-01-15 13:50:49 -0500 |
| commit | d542c7f4476b14d6a0fa2c1089ed6ff1fe8da5dc (patch) | |
| tree | 6193d5f004d52aa24ad2040f8bf7a03ac6dc526d /template | |
| parent | ad22a53236804ee564f85b11cba4890e0ad9ae88 (diff) | |
Commit
Diffstat (limited to 'template')
| -rwxr-xr-x | template/banner.st | 2 | ||||
| -rwxr-xr-x | template/browser.st | 73 | ||||
| -rwxr-xr-x[-rw-r--r--] | template/head.st | 0 | ||||
| -rwxr-xr-x[-rw-r--r--] | template/log.st | 45 | ||||
| -rwxr-xr-x | template/profile.st | 9 |
5 files changed, 106 insertions, 23 deletions
diff --git a/template/banner.st b/template/banner.st index 19b90dc..3998ff0 100755 --- a/template/banner.st +++ b/template/banner.st @@ -8,7 +8,7 @@ <div id="bar7"> <div style="float: left;"> <div align="center">$if(user_nick)$ - <a href="/u/$user_nick$">Profile</a> | + <a href="/u/$user_nick$">★ Profile ★</a> | $else$ <a href="/register">Register</a> | $endif$ <a href="/chat">Room A</a> | diff --git a/template/browser.st b/template/browser.st index 1531ff5..a92eef3 100755 --- a/template/browser.st +++ b/template/browser.st @@ -1,9 +1,72 @@ <html> - <body> - $if(user_nick)$ - Hello, $user_nick$ - $else$ - Hello, unnamed + <head> + <title>dump.fm | Browser Tool Beta</title> + $head()$ + <link rel="stylesheet" type="text/css" href="/static/browser.css"> + <script type="text/javascript" src="/static/gritter/js/jquery.gritter.js"></script> + <link rel="stylesheet" type="text/css" href="/static/gritter/css/jquery.gritter.css" /> + + + + <script> + jQuery(document).ready(initChat); + var Nick = $json_user_nick$; + var Room = $json_room_key$; + var Timestamp = $timestamp$; + var PostedMessages = []; + var growlize = true; + </script> + + $if(isadminroom)$ + <style> + iframe { + z-index: 50000; + position: fixed; + top: 300px; + right: 25px; + } + </style> + <script src="http://widgets.getclicky.com/tally/?site_id=170656&sitekey=736f7dd41a0612d8d50797c65768e71a&width=175&height=250&title=Visitors" type="text/javascript"></script> $endif$ + </head> + <body> + $banner()$ + <div id="chatrap"> + <div id="logc"> + <div id="content"> + + <div id="rapper"> + <div id="loghead"></div> + </div> + + </div> + <div id="messagePane"> + <div id="messageList"> + <iframe src="/static/search/search.html" style="width:100%;height:100%;padding:0px;background-color: #fff; position:absolute; top:0px; left:0px; border:none; allowtransparency="true" scrolling="no" ></iframe> + + + </div> + $if(user_nick)$ + <div id="msgInputDiv"> + <input id="msgInput" class="msgInput" type="input" /> + <input id="msgSubmit" type="submit" value="Send Image URL" + /> + </div> + $endif$ + </div> + </div> + </div> + </div> +</div> +</div> + + </div> + <div id="footerc"> + <p> + $footer()$</p> + <p> + </p> + </div> </body> + </html> diff --git a/template/head.st b/template/head.st index 078f0fd..078f0fd 100644..100755 --- a/template/head.st +++ b/template/head.st diff --git a/template/log.st b/template/log.st index 976d0e6..60eb3d5 100644..100755 --- a/template/log.st +++ b/template/log.st @@ -2,10 +2,9 @@ <head> <title>$roomname$ Log</title> $head()$ + <link rel="stylesheet" type="text/css" href="/static/profile.css"> <style> - body { - margin: 100px 50px; - } + </style> <script> jQuery(document).ready(initLog); @@ -13,33 +12,47 @@ </head> <body> $banner()$ - <h2>Log</h2> + <div id="chatrap"> + + + <div id="log"> + <div id="loghead"> + + </div> + <br> + <div id="pnav"> - <div style="text-align: right;"> - $if(prev)$ - <a href="/$roomkey$/log/$prev$">PREV DUMPS</a> - $endif$ - $if(next)$ - <a href="/$roomkey$/log/$next$">MORE DUMPS</a> + <a href="/$roomkey$/log/$next$"><- OLD DUMPS</a> + $endif$ + + $if(prev)$ + <a href="/$roomkey$/log/$prev$">NEW DUMPS -></a> $endif$ </div> + <div id="posts"> $if(dumps)$ $dumps: { d | $logged_dump(dump=d)$ }$ $else$ No dumps! $endif$ + <div id="pnav"> - <div style="text-align: right;"> - $if(prev)$ - <a href="/$roomkey$/log/$prev$">PREV DUMPS</a> - $endif$ - $if(next)$ - <a href="/$roomkey$/log/$next$">MORE DUMPS</a> + <a href="/$roomkey$/log/$next$"><- OLD DUMPS</a> + $endif$ + + $if(prev)$ + <a href="/$roomkey$/log/$prev$">NEW DUMPS -></a> $endif$ </div> + + + <div id="footer"> + $footer()$ + </div></div> + </body> </html> diff --git a/template/profile.st b/template/profile.st index cd216e0..91ca683 100755 --- a/template/profile.st +++ b/template/profile.st @@ -2,7 +2,7 @@ <head> <title>$nick$'s dump.fm</title> $head()$ - <link rel="stylesheet" type="text/css" href="/static/profile.css"> + <link rel="stylesheet" type="text/css" media="screen" href="/static/profile.css"> <script type="text/javascript" src="/static/jquery.editinplace.1.0.1.packed.js"></script> <script> @@ -36,9 +36,16 @@ $else$ <h3> </h3> <h3> </h3> + <h3> </h3> <h3> </h3> <h3> </h3> + <h3> </h3><div id="newuser"> <h3>This is your user log, it's where all the images you post are saved. <br> To get started join <a href="/chat">Room A</a> and post a few pictures.</h3> + <h3> </h3></div> + <h3> </h3> + <h3> </h3> <h3> </h3> + <h3> </h3> + <h3> </h3> $endif$ <p> </p> <div id="pnav"> |
