Source

trac-dvbcronrecording-plugin / src / dvbcronrecording / templates / programguide_list.html

Full commit
<!DOCTYPE html
    PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:py="http://genshi.edgewall.org/"
      xmlns:xi="http://www.w3.org/2001/XInclude">
  <xi:include href="layout.html" />
  <xi:include href="macros.html" />
<head><title>${title}</title></head>
<body>
<div id="ctxtnav" class="nav">
</div>
  <xi:include href="channels_nav.html" />
  <xi:include href="channelsconf_nav.html" />

<div id="content" class="programguide">
<h2>${title}</h2>
 
<py:if test="message">
  <div class="error">
    ${message}
  </div>
</py:if>

<table>
<tr>
<th>#</th>
<th>programguide</th>
<th>programchannel</th>
<th>channelname</th>
<th>extratime</th>
<th>extrapercent</th>
<th>priority</th>
</tr>
<tr py:for="item in datalist">
  <td>${item.id}</td>
  <td class="programguide"><select name="programguide">
        <option py:for="name in sorted(programguides)" 
                value="${name}" selected="${ (name == item.programguide) or None}">
                ${name}
        </option>
      </select></td>
  <td class="programchannel"><input type="text" name="programchannel" value="${item.programchannel}"></input></td>
  <td class="channelname"><input type="text" name="channelname" value="${item.channelname}"></input></td>
  <td class="extratime"><input type="text" name="extratime" value="${item.extratime}"></input></td>
  <td class="extrapercent"><input type="text" name="extrapercent" value="${item.extrapercent}"></input></td>
  <td class="priority"><select name="priority">
        <option py:for="name in sorted(prioritynames)" 
                value="${name}" selected="${ (name == item.priority) or None}">
                ${prioritynames[name]}
        </option>
      </select>
   </td>
</tr>
</table>
  <xi:include href="paginator_datalist.html" />

<h2>${userscriptstitle}</h2>
<table>
<tr>
<th>#</th>
<th>Installation</th>
</tr>
<tr py:for="item in userscripts">
  <td><a href="${href(scripts_url)+'/'+item}">*</a></td>
  <td><a href="${href(install_url)+'/'+item}">${item}</a></td>
</tr>
</table>
</div>

</body>
</html>