Author: dmeyer
Date: Wed Feb 22 19:41:16 2006
New Revision: 7925
Modified:
trunk/WIP/webserver/src/tv/recordings.tmpl
Log:
add layout for testing
Modified: trunk/WIP/webserver/src/tv/recordings.tmpl
==============================================================================
--- trunk/WIP/webserver/src/tv/recordings.tmpl (original)
+++ trunk/WIP/webserver/src/tv/recordings.tmpl Wed Feb 22 19:41:16 2006
@@ -1,12 +1,64 @@
+#import time
+
+#def strtime(t)
+$time.strftime('%b %d %H:%M', time.localtime(t))
+#end def
+
<html>
<head>
- <title>Recordings</title>
+ <title>Freevo | Scheduled Recordings</title>
+ <meta http-equiv="Content-Type" content= "text/html; charset=utf-8" />
+ <link rel="stylesheet" href="/styles/main.css" type="text/css" />
</head>
+
<body>
- <ul>
+ <!-- Header Logo and Status Line -->
+ <div id="titlebar"><span class="name"><a
href="http://freevo.sourceforge.net/" target="_blank">Freevo</a></span></div>
+ <div id="header">
+ <ul><li><a href="index" title="Home">Home</a></li>
+ <li><a href="guide" title="View TV Listings">TV Guide</a></li>
+ <li id="current"><a href="recordings" title="View Scheduled
Recordings">Scheduled Recordings</a></li>
+ <li><a href="search" title="Advanced Search Page">Search</a></li>
+ <li><a href="doc" title="View Online Help and
Documentation">Doc</a></li>
+ </ul>
+ </div><br clear="all" />
+
+ <!-- Main Content -->
+
+ <table>
+ <tr class="chanrow">
+ <td class="guidehead" colspan="1">Start Time</td>
+ <td class="guidehead" colspan="1">Stop Time</td>
+ <td class="guidehead" colspan="1">Channel</td>
+ <td class="guidehead" colspan="1">Title</td>
+
+ <td class="guidehead" colspan="1">Episode</td>
+ <td class="guidehead" colspan="1">Description</td>
+ <td class="guidehead" colspan="1">Actions</td>
+ </tr>
+
#for $rec in $recordings
- <li>$rec</li>
+ #if rec.stop > time.time()
+ <tr class="chanrow">
+ <td class="basic" colspan="1">$strtime($rec.start)</td>
+ <td class="basic" colspan="1">$strtime(rec.stop)</td>
+ <td class="basic" colspan="1">$rec.channel</td>
+ <td class="basic" colspan="1">$rec.title</td>
+ #if $rec.has_key('subtitle')
+ <td class="basic" colspan="1">$rec.subtitle</td>
+ #else
+ <td class="basic" colspan="1"/>
+ #end if
+ #if $rec.has_key('description')
+ <td class="basic" colspan="1">$rec.description</td>
+ #else
+ <td class="basic" colspan="1"/>
+ #end if
+ <td class="basic" colspan="1">
+ <a
href="recordings?chan=$rec.channel&start=$rec.start&action=remove"
title="Remove Scheduled Recording">Remove</a>|<a
href="search?find=$rec.title&search_title=on" title="Search for other
airings">Search</a></td>
+ </tr>
+ #end if
#end for
- </ul>
+ </table>
</body>
</html>
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog