]> git.deb.at Git - deb/hackedgotchi.git/commitdiff
Updated to include my javascript work
authorskx <skx@c2f067bf-98e0-425f-9c98-e76020cfa380>
Sat, 12 Apr 2008 16:16:18 +0000 (16:16 +0000)
committerskx <skx@c2f067bf-98e0-425f-9c98-e76020cfa380>
Sat, 12 Apr 2008 16:16:18 +0000 (16:16 +0000)
git-svn-id: svn+ssh://svn.debian.org/svn/planet-debian/trunk@948 c2f067bf-98e0-425f-9c98-e76020cfa380

templates/index.html.tmpl

index f2809757b5c48a9508f2692cd1e56c2e6b9bcd6f..712b77a00518b8df0da28094d452a0fb269dbe54 100644 (file)
@@ -7,6 +7,11 @@
 <meta name="generator" content="<TMPL_VAR generator ESCAPE="HTML">">
 <link rel="stylesheet" media="screen" type="text/css" href="boxless.css">
 <link rel="icon" type="image/x-icon" href="favicon.ico">
+
+<script type="text/javascript" src="/hide.js"></script>
+<script type="text/javascript">
+window.onload=hideHosts;
+</script>
 </head>
 
 <body>
 <TMPL_IF channel_face>
 <a href="<TMPL_VAR channel_link ESCAPE="HTML">"><img class="face" src="heads/<TMPL_VAR channel_face ESCAPE="HTML">" width="<TMPL_VAR channel_facewidth ESCAPE="HTML">" height="<TMPL_VAR channel_faceheight ESCAPE="HTML">" alt=""></a>
 </TMPL_IF>
-<h2><a href="<TMPL_VAR channel_link ESCAPE="HTML">" title="<TMPL_VAR channel_title ESCAPE="HTML">"><TMPL_VAR channel_name></a></h2>
+<h2><a href="<TMPL_VAR channel_link ESCAPE="HTML">" title="<TMPL_VAR channel_title ESCAPE="HTML">"><TMPL_VAR channel_name></a>
+<a href="#" id="<TMPL_VAR link ESCAPE="html">_hide" onClick="exclude( '<TMPL_VAR link ESCAPE="html">' ); hideHosts(); return false;"><img src="/minus-8.png" style="border: none;" title="Hide Author" alt="Hide Author" height="8" width="8"></a> <a href="#" id="<TMPL_VAR link ESCAPE="html">_show"  style="display:none;" onClick="show( '<TMPL_VAR link ESCAPE="html">' );  return false;"><img src="/plus-8.png" style="border: none;" title="Show Author" alt="Show Author" height="8" width="8"></a></h2>
 </TMPL_IF>
-
+<div id="<TMPL_VAR link ESCAPE="html">" class="<TMPL_VAR link ESCAPE="html">">
 <div class="entry">
 <TMPL_IF title>
 <h3><a href="<TMPL_VAR link ESCAPE="HTML">"><TMPL_VAR title></a></h3>
@@ -54,6 +60,7 @@ under <TMPL_VAR category>
 </TMPL_IF>
 </p>
 </div>
+</div>
 </TMPL_LOOP>
 </div>
 
@@ -84,9 +91,14 @@ linked by the buttons below.
 <p>
 Last updated: <TMPL_VAR date>.<br>
 All times are UTC.<br>
-Contact: &lt;<a href="mailto:mako@debian,org">mako@debian.org</a>&gt;
+Contact: &lt;<a href="mailto:planet@debian.org">planet@debian.org</a>&gt;
 </p>
 
+<div id="unhide-all" style="display:none;">
+<h2>Hidden Feeds</h2>
+<p>You currently have hidden entries.  <a href="#" onClick="excludeNone(); return false">Show all</a></p>
+</div>
+
 <h2>Subscriptions</h2>
 <ul>
 <TMPL_LOOP Channels>