summaryrefslogtreecommitdiff
path: root/template
diff options
context:
space:
mode:
Diffstat (limited to 'template')
-rwxr-xr-xtemplate/banner.st16
-rwxr-xr-xtemplate/browser.st4
-rw-r--r--template/form_login.st31
-rwxr-xr-xtemplate/head.st3
-rwxr-xr-xtemplate/profile.st79
5 files changed, 64 insertions, 69 deletions
diff --git a/template/banner.st b/template/banner.st
index 9e92d8c..935ac78 100755
--- a/template/banner.st
+++ b/template/banner.st
@@ -10,15 +10,17 @@
<div id="bar7">
<div style="float: left;">
<div align="center">$if(user_nick)$&nbsp;
- <a href="/u/$user_nick$"> Profile </a> <img src="/static/jewelblu.gif">
- $else$ <a href="/register">Register </a><img src="/static/jewelblu.gif">
+ <a href="/log"> Log </a> &#x2605;
+ <a href="/u/$user_nick$"> Profile </a> &#x2605; <a href="/browser"> Browser Tool </a>
+ $else$ &#x2605;<a href="/register">Register </a>&#x2605;
$endif$
- <a href="/chat">Room A </a><img src="/static/jewelblu.gif">
- <a href="/log">Log </a>
- <img src="/static/jewelblu.gif"><a href="/browser">Browser Tool </a>
+
+
+
$if(isadmin)$
- <img src="/static/jewelblu.gif"><a href="/VIP/chat"> &#x2605; VIP &#x2605; </a>
- $endif$
+ <div id="vip">
+ <a href="/VIP/chat"> &#x2605; VIP &#x2605; </a>
+ </div>$endif$
</div>
</div>
</div>
diff --git a/template/browser.st b/template/browser.st
index 33c6ba1..8012fa9 100755
--- a/template/browser.st
+++ b/template/browser.st
@@ -17,7 +17,7 @@
var growlize = true;
</script>
- $if(isadminroom)$
+
<style>
iframe {
z-index: 50000;
@@ -27,7 +27,7 @@
}
</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()$
diff --git a/template/form_login.st b/template/form_login.st
index aee9283..9f96f58 100644
--- a/template/form_login.st
+++ b/template/form_login.st
@@ -3,42 +3,25 @@
<fieldset id="signin_menu">
<form onsubmit="return false">
</p>
-<img src="/static/signin.gif">
</p>
</p><br>
</p>
- <input id="nickInput" name="nickInput" value="" title="username" tabindex="4" type="text">
+ <input id="nickInput" name="nickInput" title="username" tabindex="4" type="text">
</p>
<p>
- <input id="passwordInput" name="passwordInput" value="" title="password" tabindex="5" type="password">
+ <input id="passwordInputLabel" name="passwordInputLabel" tabindex="5" type="text" class="invisible">
+ <input id="passwordInput" name="passwordInput" title="password" tabindex="5" type="password">
</p>
<p class="remember">
- <input id="loginSubmit" value="Sign in" tabindex="6" type="submit">
+ <img src="/static/signin.gif" id="signin-submit">
+
+ <!-- <input id="loginSubmit" value="Sign in" tabindex="6" type="submit"> -->
</p>
</form>
</fieldset>
</div>
<script src="/static/js/home.js" type="text/javascript"></script>
<script type="text/javascript">
- jQuery(document).ready(function() {
-
- initHome();
-
- jQuery(".signin").click(function(e) {
- e.preventDefault();
- jQuery("fieldset#signin_menu").toggle();
- jQuery(".signin").toggleClass("menu-open");
- });
-
- jQuery("fieldset#signin_menu").mouseup(function() {
- return false
- });
- jQuery(document).mouseup(function(e) {
- if(jQuery(e.target).parent("a.signin").length==0) {
- jQuery(".signin").removeClass("menu-open");
- jQuery("fieldset#signin_menu").hide();
- }
- });
-});
+ jQuery(document).ready(initExpandableLoginForm)
</script> \ No newline at end of file
diff --git a/template/head.st b/template/head.st
index a9bb0f0..a873b7b 100755
--- a/template/head.st
+++ b/template/head.st
@@ -1,8 +1,7 @@
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"></script>
-<!-- <script type="text/javascript" src="/static/jquery-1.3.2.min.js"></script> -->
-<script type="text/javascript" src="/static/js/underscore-min.js"></script>
+<!-- <script type="text/javascript" src="/static/js/underscore-min.js"></script> -->
<script type="text/javascript" src="/static/js/sha1.js"></script>
<script type="text/javascript" src="/static/js/pichat.js"></script>
diff --git a/template/profile.st b/template/profile.st
index e407ce1..b00297a 100755
--- a/template/profile.st
+++ b/template/profile.st
@@ -7,15 +7,24 @@
<script src="/static/jquery.editinplace.1.0.1.packed.js"
type="text/javascript" >
</script>
+ <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>
+ <link type="text/css" href="http://jqueryui.com/latest/themes/base/ui.all.css" rel="stylesheet" />
+ <script type="text/javascript" src="http://jqueryui.com/latest/ui/ui.core.js"></script>
+ <script type="text/javascript" src="http://jqueryui.com/latest/ui/ui.datepicker.js"></script>
+
<script>
- jQuery(document).ready(initProfile);
- jQuery(document).ready(function() {
- jQuery(".linkify").each(function() {
- var text = jQuery(this).text();
- jQuery(this).html(linkify(text));
- });
- });
- </script>
+ jQuery(document).ready(function(){
+ initProfile();
+ jQuery("#datepicker").datepicker();
+ jQuery(".linkify").each(function() {
+ var text = jQuery(this).text();
+ jQuery(this).html(linkify(text));
+ });
+ });
+ </script>
+
</head>
<body>
$banner()$
@@ -23,40 +32,41 @@
<div id="log">
<div id="loghead">
-
</div>
<br>
<div id="posts">
$if(dumps)$
$dumps:{ d | $logged_dump(dump=d)$ }$
- $else$
- <h3>&nbsp;</h3>
- <h3>&nbsp;</h3>
- <h3>&nbsp;</h3> <h3>&nbsp;</h3>
- <h3>&nbsp;</h3>
- <h3>&nbsp;</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>&nbsp;</h3></div>
- <h3>&nbsp;</h3>
- <h3>&nbsp;</h3> <h3>&nbsp;</h3>
- <h3>&nbsp;</h3>
+
+ $else$
+ <h3>&nbsp;</h3>
+ <h3>&nbsp;</h3>
+ <h3>&nbsp;</h3> <h3>&nbsp;</h3>
+ <h3>&nbsp;</h3>
+ <h3>&nbsp;</h3><div id="newuser">
+ <h3>Welcome to dump.fm! This is your user log, it's where all the images you post are saved. <br>
+ To get started join <a href="/chat">come on in</a> and post a few pictures.</h3>
+ <h3>&nbsp;</h3></div>
+ <h3>&nbsp;</h3>
+ <h3>&nbsp;</h3>
<h3>&nbsp;</h3>
- $endif$
- <p>&nbsp;</p>
- <div id="pnav">
- <div id="pnavo">
+ <h3>&nbsp;</h3>
+ <h3>&nbsp;</h3>
+ $endif$
+
+ <p>&nbsp;</p>
+ <div id="pnav">
+ <div id="pnavo">
+
$if(next)$
- <a href="/u/$nick$/$next$"><- OLD DUMPS</a>
+ <a href="/u/$nick$/$next$">&#9756; OLD DUMPS</a>
$endif$
</div>
<div id="pnavn">
- &nbsp;&nbsp;
+ &nbsp;
$if(prev)$
- <a href="/u/$nick$/$prev$">NEW DUMPS -></a>
+ <a href="/u/$nick$/$prev$">NEW DUMPS &#9758;</a>
$endif$
<br><br>
@@ -82,13 +92,14 @@
</div>
<br>
- <h3>personal info</h3>
+ <h3>personal info</h3>
<div id="bio" class="$if(is_home)$editable$else$linkify$endif$">
$bio$
</div>
- <br><br><br>
-
- </div>
+ <br>
+ <div id="date">
+ <div type="text" id="datepicker"></div></div>
+ </div>
<div id="footer">
$footer()$