diff options
author | Andreas Mair <amair.sob@googlemail.com> | 2005-06-22 14:42:18 +0200 |
---|---|---|
committer | Andreas Mair <amair.sob@googlemail.com> | 2005-06-22 14:42:18 +0200 |
commit | 1f33deeae237bdcc4281de03d268528d4a09edd3 (patch) | |
tree | ba27f73a162201dc1f33a83cdb77ca724ab22fa8 /template/default/rec_list.html | |
parent | d6922e850779c4ff9d8bcbcef9842cf333eb8638 (diff) | |
download | vdradmin-am-1f33deeae237bdcc4281de03d268528d4a09edd3.tar.gz vdradmin-am-1f33deeae237bdcc4281de03d268528d4a09edd3.tar.bz2 |
2005-06-22: 0.97-am3.3rcv0.97-am3.3rc
- Updated all help messages.
- Added beautified tooltips in timer_list. PLEASE COMMENT!!!
- Changed saving of AutoTimer patterns: ":" -> "|" and "|" -> "\|".
- Added support for user.css for overwriting style.css (Must be located in /etc/vdradmin/). See user.css.example. PLEASE COMMENT ON THIS!!!
- Removed obsolete files (e.g. images).
- Merged style.css and navi.css.
- Reworked templates so that they use a lot of CSS (Tested using Konqueror 3.3.2 and Firefox 1.0.4).
- Fixed programming timers with special summary when using EPG_DIRECT (timer didn't get programmed) (Thanks to HolgerAusB for giving vital hints).
- Allow browsers to cache all files VDRAdmin sends, except "text/html". This should speed up VDRAdmin but changing the skin or css needs a "shift reload".
- Added support for VDR v1.3.25's info.vdr (Submitted by vejoun).
- Use localized date formates.
- Now using "video/x-mpegurl" MIME type instead of "audio/x-mpegurl" for streaming (Suggested by stefan.h).
- Added patches supplied by stefan.h:
-> using EPG's subtitle when found for AutoTimer else " " (that's the VDR way).
-> New config option VDRVFAT to find recordings if VDR has been compiled with or without VFAT define.
- Fixed calling reccmds on recordings in subdirs, manual recordings (@rectitle) and repeating timer's recordings without episode title.
- Fixed streaming of manual recordings (@rectitle) and repeating timer's recordings without episode title.
- VDRAdmin-AM now uses the required charsets setting in templates, so no need to write "&xyz;" things in .po files.
- Reworked templates to make better use of CSS (for example: timeline colours can be set by style.css).
- EPG_PRUNE now is the number of channels to fetch from VDR (had been one too less before).
- Added "install.sh" and "uninstall.sh" ("./install.sh -h" for help) (Requested by several people).
- Made "name" columns in lists wrapping again (Reported by vejoun).
- Deleting a single recording works again (Reported by vejoun).
- Fixed streaming of recordings in subdirs (Reported by vejoun).
- Added missing gray sign on deactivated AutoTimers (Reported by vejoun).
Diffstat (limited to 'template/default/rec_list.html')
-rw-r--r-- | template/default/rec_list.html | 116 |
1 files changed, 56 insertions, 60 deletions
diff --git a/template/default/rec_list.html b/template/default/rec_list.html index 7929320..152a863 100644 --- a/template/default/rec_list.html +++ b/template/default/rec_list.html @@ -5,35 +5,35 @@ <meta http-equiv="content-type" content="text/html;<%! charset=ISO-8859-1 !%>" /> <title>VDRAdmin - <%! Recordings !%></title> <link href="style.css" rel="stylesheet" media="screen" type="text/css" /> + <tmpl_if usercss> + <link href="user.css" rel="stylesheet" media="screen" type="text/css" /> + </tmpl_if> <script type="text/javascript" language="JavaScript1.2" src="library.js"></script> </head> <body id="rec_list"> - <table width="100%" border="0" cellspacing="0" cellpadding="0" height="39" id="heading"> + <table width="100%" border="0" cellspacing="0" cellpadding="0" id="heading"> <tr> - <td valign="middle" width="300" background="bilder/nav_button_back.gif"> - <h1><%! Recordings !%></h1> - </td> - <td colspan="2" align="right" background="bilder/nav_button_back_mitte.gif"> + <td class="col_left"></td> + <td class="col_title"><h1><%! Recordings !%></h1></td> + <td colspan="2" class="col_other"> <tmpl_if disk_total> <%! Total: !%> <tmpl_var minutes_total><%! h !%> (<tmpl_var disk_total>) | <%! Free: !%> <tmpl_var minutes_free><%! h !%> (<tmpl_var disk_free>) </tmpl_if> - </td> <tmpl_if name="help_url"> - <td align="right" width="35" background="bilder/nav_button_back_mitte.gif"> - <a href="javascript:open_help('<tmpl_var help_url>');"><img src="bilder/help.gif" border="0" align="right" valign="top" alt="help" title="<%! Help !%>" /></a> + <td class="col_help"> + <a href="javascript:open_help('<tmpl_var help_url>');"><img src="bilder/help.gif" border="0" alt="help" title="<%! Help !%>" /></a> </td> </tmpl_if> - <td width="15" background="bilder/nav_button_back_end.gif"></td> + <td class="col_right"></td> </tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="0" id="path"> <tr> <td> - <tmpl_loop path> >> <tmpl_if url><a href="<tmpl_var url>"><tmpl_var name></a><tmpl_else><tmpl_var name></tmpl_if> </tmpl_loop> @@ -42,10 +42,10 @@ </table> <form action="<tmpl_var url>" method="get" name="FormName"> - <table width="100%" border="0" cellspacing="0" cellpadding="0" id="content"> - <tr class="list_heading"> - <td valign="top" width="30"><img src="bilder/uebersicht_oben_links.gif" alt="" height="30" width="30" border="0" /></td> - <td colspan="2" background="bilder/uebersicht_oben<tmpl_if sortbydate>_selected</tmpl_if>.gif"> + <table width="100%" border="0" cellspacing="0" cellpadding="0" id="content" class="list"> + <tr class="heading"> + <td class="col_left"></td> + <td colspan="2" class="col_date" <tmpl_if sortbydate>selected="yes"</tmpl_if>> <h2> <a href="<tmpl_var sortbydateurl>"><%! Date !%> <tmpl_if sortbydate> @@ -56,7 +56,7 @@ </a> </h2> </td> - <td colspan="2" background="bilder/uebersicht_oben<tmpl_if sortbytime>_selected</tmpl_if>.gif"> + <td colspan="2" class="col_time" <tmpl_if sortbytime>selected="yes"</tmpl_if>> <h2> <a href="<tmpl_var sortbytimeurl>"><%! Time !%> <tmpl_if sortbytime> @@ -67,7 +67,7 @@ </a> </h2> </td> - <td background="bilder/uebersicht_oben<tmpl_if sortbyname>_selected</tmpl_if>.gif"> + <td class="col_name" <tmpl_if sortbyname>selected="yes"</tmpl_if>> <h2> <a href="<tmpl_var sortbynameurl>"><%! Name !%> <tmpl_if sortbyname> @@ -78,30 +78,38 @@ </a> </h2> </td> - <td width="30" background="bilder/uebersicht_oben.gif"></td> - <td width="30" background="bilder/uebersicht_oben.gif"></td> - <td width="30" align="center" background="bilder/uebersicht_oben.gif"><input type="checkbox" name="SELALL" value="SELALL" onclick="AllMessages(this.form);" title="<%! Select all/none !%>" /></td> + <td class="col_edit"></td> + <td class="col_delete"></td> + <td class="col_checkbox"><input type="checkbox" name="SELALL" value="SELALL" onclick="AllMessages(this.form);" title="<%! Select all/none !%>" /></td> <tmpl_if stream_rec_on> - <td width="70" background="bilder/uebersicht_oben.gif"></td> + <td class="col_stream"></td> </tmpl_if> - <td width="30"><img src="bilder/uebersicht_oben_rechts.gif" alt="" height="30" width="30" border="0" /></td> + <td class="col_right"></td> + </tr> + <tr class="row_spacer"> + <td class="col_left"></td> + <td colspan="2" class="col_date" <tmpl_if sortbydate>selected="yes"</tmpl_if>></td> + <td colspan="2" class="col_time" <tmpl_if sortbytime>selected="yes"</tmpl_if>></td> + <td class="col_name" <tmpl_if sortbyname>selected="yes"</tmpl_if>></td> + <td colspan="<tmpl_if stream_rec_on>4<tmpl_else>3</tmpl_if>"></td> + <td class="col_right"></td> </tr> <tmpl_loop recloop> - <tr height="25" class="list_row"> - <td width="30" height="22" background="bilder/uebersicht_links<tmpl_if __ODD__>_dark</tmpl_if>.gif"></td> - <td valign="top" align="right" width="30" background="bilder/uebersicht_mitte<tmpl_if __ODD__>_dark</tmpl_if><tmpl_if sortbydate>_selected</tmpl_if>.gif" class="date"> + <tr class="<tmpl_if __ODD__>row_odd<tmpl_else>row_even</tmpl_if>"> + <td class="col_left"></td> + <td class="col_date" <tmpl_if sortbydate>selected="yes"</tmpl_if>> <div><tmpl_var date></div> </td> - <td valign="top" align="left" width="10" background="bilder/uebersicht_mitte<tmpl_if __ODD__>_dark</tmpl_if><tmpl_if sortbydate>_selected</tmpl_if>.gif" class="total"> + <td class="col_total" <tmpl_if sortbydate>selected="yes"</tmpl_if>> <div> <tmpl_if isfolder> <%! Total !%></tmpl_if> </div> </td> - <td valign="top" align="right" width="30" background="bilder/uebersicht_mitte<tmpl_if __ODD__>_dark</tmpl_if><tmpl_if sortbytime>_selected</tmpl_if>.gif" class="time"> + <td class="col_time" <tmpl_if sortbytime>selected="yes"</tmpl_if>> <div><tmpl_var time></div> </td> - <td valign="top" width="10" background="bilder/uebersicht_mitte<tmpl_if __ODD__>_dark</tmpl_if><tmpl_if sortbytime>_selected</tmpl_if>.gif" class="new"> + <td class="col_new" <tmpl_if sortbytime>selected="yes"</tmpl_if>> <div> <tmpl_if isfolder> <%! New !%> @@ -112,37 +120,36 @@ </tmpl_if> </div> </td> - <td valign="top" background="bilder/uebersicht_mitte<tmpl_if __ODD__>_dark</tmpl_if><tmpl_if sortbyname>_selected</tmpl_if>.gif" class="name"> + <td class="col_name" <tmpl_if sortbyname>selected="yes"</tmpl_if>> <div> <tmpl_if isfolder> - <img align="absmiddle" src="bilder/folder.gif" border="0" /> - <a href="<tmpl_var infurl>"><tmpl_var name></a> + <a href="<tmpl_var infurl>"><img align="absmiddle" src="bilder/folder_video.png" border="0" /> <tmpl_var name></a> <tmpl_else> - <a href="javascript:popup('<tmpl_var infurl>');"><tmpl_var name></a> + <a href="javascript:popup('<tmpl_var infurl>');"><img align="absmiddle" src="bilder/aktion.png" border="0" /> <tmpl_var name></a> </tmpl_if> </div> </td> - <td align="center" valign="top" width="30" background="bilder/uebersicht_mitte<tmpl_if __ODD__>_dark</tmpl_if>.gif" class="edit"> + <td class="col_edit"> <div> <tmpl_unless isfolder> <a href="<tmpl_var editurl>"><img src="bilder/edit.gif" alt="rename" title="<%! Rename !%>" height="17" width="17" border="0" /></a> </tmpl_unless> </div> </td> - <td align="center" valign="top" width="30" background="bilder/uebersicht_mitte<tmpl_if __ODD__>_dark</tmpl_if>.gif" class="delete"> + <td class="col_delete"> <div> <tmpl_unless isfolder> <a href="javascript:del('<%! Delete recording? !%>', '<tmpl_var delurl>');"><img src="bilder/delete.gif" alt="delete" title="<%! Delete !%>" height="17" width="17" border="0" /></a> </tmpl_unless> </div> </td> - <td align="center" valign="top" width="30" background="bilder/uebersicht_mitte<tmpl_if __ODD__>_dark</tmpl_if>.gif" class="checkbox"> + <td class="col_checkbox"> <div> <tmpl_unless isfolder><input type="checkbox" name="xxxx_<tmpl_var id>" /></tmpl_unless> </div> </td> <tmpl_if stream_rec_on> - <td align="center" valign="top" width="70" background="bilder/uebersicht_mitte<tmpl_if __ODD__>_dark</tmpl_if>.gif" class="stream"> + <td class="col_stream"> <div> <tmpl_unless isfolder> <a href="<tmpl_var streamurl>"><img src="bilder/stream.jpg" alt="stream" title="<%! Stream !%>" height="17" border="0" /></a> @@ -150,18 +157,21 @@ </div> </td> </tmpl_if> - <td width="30" background="bilder/uebersicht_rechts<tmpl_if __ODD__>_dark</tmpl_if>.gif"></td> + <td class="col_right"></td> </tr> </tmpl_loop> - <tr> - <td valign="top" width="30"><img src="bilder/uebersicht_unten_links.gif" alt="" height="30" width="30" border="0" /></td> - <td colspan="<tmpl_if stream_rec_on>9<tmpl_else>8</tmpl_if>" background="bilder/uebersicht_unten.gif"></td> - <td valign="top" width="30"><img src="bilder/uebersicht_unten_rechts.gif" alt="" height="30" width="30" border="0" /></td> + <tr class="footer"> + <td class="col_left"></td> + <td colspan="2" class="col_date" <tmpl_if sortbydate>selected="yes"</tmpl_if>></td> + <td colspan="2" class="col_time" <tmpl_if sortbytime>selected="yes"</tmpl_if>></td> + <td class="col_name" <tmpl_if sortbyname>selected="yes"</tmpl_if>></td> + <td colspan="<tmpl_if stream_rec_on>4<tmpl_else>3</tmpl_if>"></td> + <td class="col_right"></td> </tr> - <tr> - <td width="30"></td> - <td colspan="<tmpl_if stream_rec_on>9<tmpl_else>8</tmpl_if>" align="right"><br /> + </table> + + <div id="buttons"> <tmpl_if reccmds> <%! Commands: !%> <select name="rec_cmd" class="submit"> @@ -169,24 +179,10 @@ <option value="<tmpl_var id>"><tmpl_var title></option> </tmpl_loop> </select> - <input type="submit" class="submit" name="rec_runcmd" value="<%! Run !%>" onclick="confirm(<%! Really run this command? !%>)" /> + <input type="submit" class="submit" name="rec_runcmd" value="<%! Run !%>" onclick="return confirm(<%! Really run this command? !%>)" /> </tmpl_if> -<!-- - <table border="0" cellspacing="0" cellpadding="0"> - <tr height="20"> - <td width="12" height="20" background="bilder/gbutton_left.gif"></td> - <td align="center" height="20" background="bilder/gbutton_middle.gif"> - <a href="javascript:mdel('<%! Delete all selected recordings? !%>');"><div class="gbutton"><%! Delete Selected Recordings !%></div></a> - </td> - <td width="12" height="20" background="bilder/gbutton_right.gif"></td> - </tr> - </table> ---> - <input type="submit" class="submit" name="rec_delete" value="<%! Delete Selected Recordings !%>" onclick="mdel('<%! Delete all selected recordings? !%>');" /> - </td> - <td valign="top" width="30"></td> - </tr> - </table> + <input type="submit" class="submit" name="rec_delete" value="<%! Delete Selected Recordings !%>" onclick="return mdel('<%! Delete all selected recordings? !%>');" /> + </div> <input type="hidden" name="aktion" value="rec_delete" /> </form> </body> |