summaryrefslogtreecommitdiff
path: root/template
diff options
context:
space:
mode:
authortimb <timb@mb.home>2010-04-01 00:48:45 -0700
committertimb <timb@mb.home>2010-04-01 00:48:45 -0700
commitf3d1b68e3919345c67be06cbd7e7bb61f67ffcbd (patch)
treeec9b15cc4f0ceb34a1335592dd6505bfdb6bcfd9 /template
parent70d8c1992f97286a63babcf7ebd996ab74ec7eac (diff)
organize some images, move css to static/css/, clean up templates, remove junk
Diffstat (limited to 'template')
-rw-r--r--template/about_us.st7
-rwxr-xr-xtemplate/browser.st2
-rw-r--r--template/debug_log.st8
-rw-r--r--template/directory.st2
-rwxr-xr-xtemplate/footer.st3
-rw-r--r--template/goodies.st2
-rw-r--r--template/help.st5
-rwxr-xr-xtemplate/log.st6
-rw-r--r--template/log_dump.st8
-rw-r--r--template/new_user_bubbles.st13
-rw-r--r--template/privacy.st5
-rw-r--r--template/share_buttons.st11
-rw-r--r--template/single_message.st2
-rw-r--r--template/terms.st5
-rw-r--r--template/thumbup.gifbin76 -> 0 bytes
15 files changed, 52 insertions, 27 deletions
diff --git a/template/about_us.st b/template/about_us.st
index 61c0a4a..6cd04dc 100644
--- a/template/about_us.st
+++ b/template/about_us.st
@@ -1,9 +1,8 @@
<html>
<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <link href="/static/pages.css" rel="stylesheet" type="text/css" media="screen"/>
- <link href="/static/win.css" rel="stylesheet" type="text/css" media="screen"/>
- <script type="text/javascript" src="/static/js/win.js"></script>
+ <link href="/static/css/pages.css" rel="stylesheet" type="text/css" media="screen" />
+ <link href="/static/css/win.css" rel="stylesheet" type="text/css" media="screen" />
+ <script type="text/javascript" src="/static/js/win.js"></script>
<script type="text/javascript">
diff --git a/template/browser.st b/template/browser.st
index 721bb98..28a514d 100755
--- a/template/browser.st
+++ b/template/browser.st
@@ -2,7 +2,7 @@
<head>
<title>dump.fm | Image Search Beta</title>
$head()$
- <link rel="stylesheet" type="text/css" href="/static/browser.css">
+ <link rel="stylesheet" type="text/css" href="/static/css/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" />
diff --git a/template/debug_log.st b/template/debug_log.st
new file mode 100644
index 0000000..247eec1
--- /dev/null
+++ b/template/debug_log.st
@@ -0,0 +1,8 @@
+$if(isadmin)$
+$if(debug_log_items)$
+<!--
+$debug_log_items: { d | $d$
+}$
+-->
+$endif$
+$endif$ \ No newline at end of file
diff --git a/template/directory.st b/template/directory.st
index 8c734d9..f6d633c 100644
--- a/template/directory.st
+++ b/template/directory.st
@@ -3,7 +3,7 @@
<title>dump.fm</title>
$head()$
- <link rel="stylesheet" type="text/css" href="/static/directory.css">
+ <link rel="stylesheet" type="text/css" href="/static/css/directory.css">
<script>
jQuery(document).ready(initDirectory);
</script>
diff --git a/template/footer.st b/template/footer.st
index 838d4bf..c3b4563 100755
--- a/template/footer.st
+++ b/template/footer.st
@@ -1,7 +1,6 @@
<div id="footer" style="text-align: center">
@2010 <a href="/">dump.fm</a>
<a href="/about_us"><span style="word-spacing:normal;">About Us</span></a>
-
<a href="/help"><span style="word-spacing:normal;">Help FAQ</span></a>
<a href="/terms">Terms</a>
<a href="/privacy">Privacy</a></div>
@@ -16,4 +15,4 @@ var pageTracker = _gat._getTracker("UA-12364576-1");
pageTracker._trackPageview();
} catch(err) {}</script>
-
+$debug_log()$
diff --git a/template/goodies.st b/template/goodies.st
index 2bab2c7..4289c11 100644
--- a/template/goodies.st
+++ b/template/goodies.st
@@ -2,7 +2,7 @@
<head>
<title>dump.fm | Image Search Beta</title>
$head()$
- <link rel="stylesheet" type="text/css" href="/static/browser.css">
+ <link rel="stylesheet" type="text/css" href="/static/css/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" />
diff --git a/template/help.st b/template/help.st
index 9d8628e..24285d6 100644
--- a/template/help.st
+++ b/template/help.st
@@ -1,8 +1,7 @@
<html>
<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <link href="/static/pages.css" rel="stylesheet" type="text/css" media="screen"/>
- <link href="/static/win.css" rel="stylesheet" type="text/css" media="screen"/>
+ <link href="/static/css/pages.css" rel="stylesheet" type="text/css" media="screen"/>
+ <link href="/static/css/win.css" rel="stylesheet" type="text/css" media="screen"/>
<script type="text/javascript" src="/static/js/win.js"></script>
<script type="text/javascript" src="/static/jquery.em.js"></script>
<script type="text/javascript">
diff --git a/template/log.st b/template/log.st
index 45de47e..58e4e99 100755
--- a/template/log.st
+++ b/template/log.st
@@ -2,7 +2,7 @@
<head>
<title>dump.fm log</title>
$head()$
- <link rel="stylesheet" type="text/css" href="/static/log.css">
+ <link rel="stylesheet" type="text/css" href="/static/css/log.css">
<script>
jQuery(document).ready(initLog);
</script>
@@ -18,6 +18,10 @@
<div id="lolbanner">
<img src="/static/welcomebanner.gif">
</div>
+ $if(dumpstest)$
+ HELLO
+ $dumpstest: {du | $du$ }$
+ $endif$
$if(dumps)$
$dumps: { d | $log_dump(dump=d)$ }$
$else$
diff --git a/template/log_dump.st b/template/log_dump.st
index d48baf1..7a9435c 100644
--- a/template/log_dump.st
+++ b/template/log_dump.st
@@ -1,4 +1,8 @@
+$if(dump.tags)$
+<div class="logged-dump" id="message-$dump.message_id$" nick="$dump.nick$" tags="$dump.tags: { tag | $tag.nick$:$tag.tag$ }$">
+$else$
<div class="logged-dump" id="message-$dump.message_id$" nick="$dump.nick$">
+$endif$
$dump.created_on$ -- by <b><a href="/u/$dump.nick$">$dump.nick$</b>
@@ -10,9 +14,9 @@
$else$
<img height="50" width="50" src="/static/noinfo.png">
$endif$
-
</div></a>
<div class="content">$dump.content$</div>
<hr />
$share_buttons()$
-</div>
+
+</div> \ No newline at end of file
diff --git a/template/new_user_bubbles.st b/template/new_user_bubbles.st
new file mode 100644
index 0000000..a1e654d
--- /dev/null
+++ b/template/new_user_bubbles.st
@@ -0,0 +1,13 @@
+</div>
+<div id="newuserwrap">
+<div id="posthelp"><img src="/static/posthere.png"></div>
+<div id="webcamhelp"><img src="/static/webcamhelp.png"></div>
+<div id="userlisthelp"><img src="/static/userlisthelp.png"></div>
+<div id="imageboard"><img src="/static/imageboard.png"></div>
+<div id="uploadstuff"><img src="/static/uploadstuff.png"></div>
+<div id="signinblurb"><img src="/static/signinblurb.png"></div>
+<div id="beingpostednow"><img src="/static/beingpostednow.png"></div>
+<script>
+jQuery(document).ready(function(){ setTimeout( function(){ jQuery("#newuserwrap div").hide(1000) }, 10000 ) })
+</script>
+</div> \ No newline at end of file
diff --git a/template/privacy.st b/template/privacy.st
index a133ac2..9c0c90e 100644
--- a/template/privacy.st
+++ b/template/privacy.st
@@ -1,8 +1,7 @@
<html>
<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <link href="/static/pages.css" rel="stylesheet" type="text/css" media="screen"/>
- <link href="/static/win.css" rel="stylesheet" type="text/css" media="screen"/>
+ <link href="/static/css/pages.css" rel="stylesheet" type="text/css" media="screen"/>
+ <link href="/static/css/win.css" rel="stylesheet" type="text/css" media="screen"/>
<script type="text/javascript" src="/static/js/win.js"></script>
<script type="text/javascript" src="/static/jquery.em.js"></script>
<script type="text/javascript">
diff --git a/template/share_buttons.st b/template/share_buttons.st
index 883c66d..f446c43 100644
--- a/template/share_buttons.st
+++ b/template/share_buttons.st
@@ -1,6 +1,7 @@
-<div class="share-buttons">
-<img src="/static/tumblricon.png" class="share-button" onclick="Share.tumblr(this)">
-<img src="/static/fbbutton.png" class="share-button" onclick="Share.facebook(this)">
-<img src="/static/twittericon.png" class="share-button" onclick="Share.twitter(this)">
-<img src="/static/delishicon.png" class="share-button" onclick="Share.delicious(this)">
+<div class="buttons">
+<img src="/static/thumbup.gif" class="fav" onclick="Like(this)">
+<img src="/static/share/tumblricon.png" class="share" onclick="Share.tumblr(this)">
+<img src="/static/share/fbbutton.png" class="share" onclick="Share.facebook(this)">
+<img src="/static/share/twittericon.png" class="share" onclick="Share.twitter(this)">
+<img src="/static/share/delishicon.png" class="share" onclick="Share.delicious(this)">
</div> \ No newline at end of file
diff --git a/template/single_message.st b/template/single_message.st
index 7047cbd..df43eed 100644
--- a/template/single_message.st
+++ b/template/single_message.st
@@ -3,7 +3,7 @@
<title>dump.fm</title>
$head()$
- <link rel="stylesheet" type="text/css" href="/static/directory.css">
+ <link rel="stylesheet" type="text/css" href="/static/css/directory.css">
<script>
jQuery(document).ready(initDirectory);
</script>
diff --git a/template/terms.st b/template/terms.st
index 2f23cee..5297503 100644
--- a/template/terms.st
+++ b/template/terms.st
@@ -1,8 +1,7 @@
<html>
<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <link href="/static/pages.css" rel="stylesheet" type="text/css" media="screen"/>
- <link href="/static/win.css" rel="stylesheet" type="text/css" media="screen"/>
+ <link href="/static/css/pages.css" rel="stylesheet" type="text/css" media="screen"/>
+ <link href="/static/css/win.css" rel="stylesheet" type="text/css" media="screen"/>
<script type="text/javascript" src="/static/js/win.js"></script>
<script type="text/javascript" src="/static/jquery.em.js"></script>
<script type="text/javascript">
diff --git a/template/thumbup.gif b/template/thumbup.gif
deleted file mode 100644
index 5b50b08..0000000
--- a/template/thumbup.gif
+++ /dev/null
Binary files differ