1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
2 "http://www.w3.org/TR/html4/strict.dtd">
5 <title>pyTivo - Push - $escape($name)</title>
6 <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"/>
7 <link rel="stylesheet" type="text/css" href="/main_mob.css">
10 <form action="/TiVoConnect" method="POST">
11 <script language="JavaScript">
13 function toggle(source) {
14 var checkboxes = document.getElementsByName('File');
15 for (var i = 0; i < checkboxes.length; i++) {
16 if (typeof(checkboxes[i].checked) != "undefined") {
17 checkboxes[i].checked = source.checked;
23 <p id="title"><a id="titleA" href="/">pyTiVo</a></p>
26 #set $folders = $name.split("/")
27 #set $current_folder = $folders.pop()
28 #set $parent = '/'.join($folders)
32 <a id="headerA" href="/TiVoConnect?Command=QueryContainer&Container=$escape($parent)">$escape($name)</a>
34 <div id="headerA">$escape($name)</div>
37 <td><input type="checkbox" name="selectAll" onClick="toggle(this)" Title="Select All" /></td>
40 ## i variable is used to alternate colors of row
41 ## loop through passed data printing row for each show or folder
42 #for $video in $videos
48 <td id="ColA"><a href='/TiVoConnect?Command=QueryContainer&Container=$quote($name)/$quote($video.name)'>$video.title </a></td>
49 <td id="ColB"><div id="count">$video.total_items</div></td>
50 <td id="ColC"><img src="/iphonearrow.png" alt="" /></td>
54 #if $video.episodeTitle
55 <span class="progtitle">$video.title: $video.episodeTitle</span>
57 <span class="progtitle">$video.title</span>
59 <span class="progdesc">
60 #if $video.description
63 #if $video.displayMajorNumbe and $video.callsign
64 $video.displayMajorNumber $video.callsign
66 <span class="rectxt">Added on</span> <span class="recdate">$video.textDate</span>
70 <input type="checkbox" name="File" value="$escape($video.part_path)">
77 <input type="hidden" name="Command" value="Push"/>
78 <input type="hidden" name="Container" value="$name"/>
80 #for $tivo in $tivo_names
81 <option>$tivo_names[$tivo]</option>
84 <input value="Send to TiVo" type="submit"/>