diff options
| author | Scott Ostler <sostler@deathmachine.home> | 2009-12-25 18:00:09 -0800 |
|---|---|---|
| committer | Scott Ostler <sostler@deathmachine.home> | 2009-12-25 18:00:09 -0800 |
| commit | fe1b5678c330f0c3ec0e05a2295144338cadd5a6 (patch) | |
| tree | 31034ea3f5fca9c28a072f0e4d3bde1c4502e409 /template | |
| parent | c32ed3d3f5623899d0b0d6c74daca106be26dae0 (diff) | |
| parent | a80eb3d74a24a56151d60d1c1015a1ae51a0a492 (diff) | |
Merge branch 'master' of ssh://dump.fm/pichat/repo
Diffstat (limited to 'template')
| -rwxr-xr-x | template/header.st | 122 | ||||
| -rwxr-xr-x | template/profile.st | 45 |
2 files changed, 51 insertions, 116 deletions
diff --git a/template/header.st b/template/header.st index ec7c9f9..c6acad4 100755 --- a/template/header.st +++ b/template/header.st @@ -1,102 +1,39 @@ <head> - <link rel="stylesheet" type="text/css" href="static/reset.css"> + <link rel="stylesheet" type="text/css" href="/static/reset.css"> + <link rel="stylesheet" type="text/css" href="/static/header.css"> <link rel="shortcut icon" href="static/favicon.ico"> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> - - </head> -<style type="text/css"> + <script type="text/javascript"> <!-- -.white a:link { - text-decoration: none; - - color: #D9D9D9; -} -.white a:visited { - text-decoration: none; - - color: #D9D9D9; -} -.white a:hover { - text-decoration: none; - text-shadow: -1px 1px 1px #ccc; - - - color: #fff; -} -.white a:active { - text-decoration: none; - - - color: #D9D9D9; -} -#header7{ - background-image:url(/static/dblue2.png); - background-attachment:inherit; - margin: 0px auto -1px auto; - top: 0px; - width:100%; - left: 0px; - height: 69px; -} -#bar7{ - top:35px; - position:absolute; - font-family: Arial, Helvetica, sans-serif; - width: 500px; - font-size: 18px; - left: 150px; - margin-left: 1%; - margin-right: 8%; - letter-spacing: -1px; - z-index: 999; +function MM_swapImgRestore() { //v3.0 + var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc; } -#logout7{ - top:5px; - position:relative; - font-size:12px; - margin-right: 10px; - float:right; - z-index: 999; - font-family: Arial, Helvetica, sans-serif; - font-weight: normal; +function MM_preloadImages() { //v3.0 + var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array(); + var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++) + if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}} } -#logo7{ - top:20px; - margin-left: 1%; - margin-right: 10%; - z-index:1000; - float:left; -} -#rapper7{ - top: 0px; - left:0px; - position:absolute; - width: 100%; - height: 78px; - z-index: 1000; -} -p { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; } -td { - font-family: Arial, Helvetica, sans-serif; - letter-spacing:-1px; - font-size: 12px; - color: #000000; -} -.btnav { border: 0px #000000 solid;} -body { - - background-color:#e3e3e3; - - background-position:center; - z-index:0; - + +function MM_findObj(n, d) { //v4.01 + var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) { + d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} + if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n]; + for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document); + if(!x && d.getElementById) x=d.getElementById(n); return x; } +function MM_swapImage() { //v3.0 + var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3) + if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];} +} +//--> + </script> +</head> +<style type="text/css"> ---> </style> -<body> +<body onLoad="MM_preloadImages('/static/mouseover.gif')"> <div id="rapper7"> <div id="header7"> @@ -104,19 +41,18 @@ body { <div id="logo7"> - <div align="center"><img src="http://www.dump.fm/static/wordlogo2.gif" width="155" height="73"></div> + <div align="center"><a href="/chat" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image2','','/static/mouseover.gif',1)"><img src="/static/wordlogo2.gif" name="Image2" width="153" height="73" border="0"></a></div> </div> <div class="white"> <div id="bar7"> <div style="float: left;"> <div align="center">$if(user_nick)$ - <a href="/u/$user_nick$">Home</a> | - $else$ <a href="/register">Join</a> | + <a href="/u/$user_nick$">Profile</a> | + $else$ <a href="/register">Register</a> | $endif$ <a href="/chat">Room A</a> - $if(user_nick)$ $endif$ - | Extras | Discover</div> + $if(user_nick)$ $endif$</div> </div> </div> </div> diff --git a/template/profile.st b/template/profile.st index d0c3edd..a9dcfd9 100755 --- a/template/profile.st +++ b/template/profile.st @@ -19,6 +19,27 @@ <div id="chatrap"> + <div id="log"> + <div id="loghead"> + $nick$'s log + </div><div id="posts"> + + + <p>$if(dumps)$ + $dumps:{ d | $logged_dump(dump=d)$ }$ + $else$ </p> +<h3>This is your user log, its 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> + <p>$endif$ </p> + <p> </p> + + <p> </p> + <p><img + src="broken.png" + onerror="this.style.display='none'" +/></p> + </div> + <div id="profile"> <h2>$nick$</h2> @@ -42,27 +63,6 @@ <br> </div> - <div id="log"> - <div id="loghead"> - $nick$'s log - </div><div id="posts"> - <hr align="left" width="70%"> - <p> </p> - <p>$if(dumps)$ - $dumps:{ d | $logged_dump(dump=d)$ }$ - $else$ </p> -<h3>This is your user log, its 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> - <p>$endif$ </p> - <p> </p> - <hr align="left" width="70%"> - <p> </p> - <p><img - src="broken.png" - onerror="this.style.display='none'" -/></p> - </div> -</div> <div id="footer"> <p> $footer()$</p> @@ -70,8 +70,7 @@ </p> </div> </div> - -<div style="position: fixed; bottom: 3px; right: 3px; font-size: xx-small; z-index: 10;"><button onclick="getBackground()" title="Rotate background image" style="font-size: xx-small;">+</button></div> +</div> </body> </html> |
