Source

trac-dvbcronrecording-plugin / src / dvbcronrecording / templates / recordingfiles.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>

<div id="content" class="showfiles">
  <h1>
    ${title}
  </h1>
  <xi:include href="channels_nav.html" />
  <xi:include href="recording_nav.html" />
  <div>${message}</div><br />
  
  <py:if test="videofile">
    <div class="videoframe">
     <object height="${videoheight}" width="${videowidth}" type="${videotype}" 
               data="${href.recording('file/data/'+videofile)}">
       <div class="alternative">
         Download 
         <a href="${href.recording('file/data/'+videofile)}">
                ${href.recording('file/data/'+videofile)}
         </a>
       </div>
     </object>
     </div>
  </py:if>
  
  <table>
    <thead>
    <tr>
        <th> &#x271A; </th>
        <th> ${_("time")} </th>
        <th> ${_("size")} </th>
        <th> ${_("name")} </th>
        <th> ${_("play")} </th>
    </tr>
    </thead>
    <tbody>
        <tr py:for="item in datalist" class="recordingfile">
           <td>
              <a href="${href.recording('file/remove/'+item.file)}">
                <span class="delete">
                   &#x2716;
                </span>           
              </a>
           </td>
           <td class="pref">
              <a href="${href.recording('file/data/'+item.file)}">
                   ${item.pref}
              </a>
           </td>
           <td class="size">
                   (${item.size / 1024})
           </td>
           <td class="name">
              <a href="${href.recording('file/data/'+item.file)}">
                <span class="name">
                   ${item.name}
                </span>           
              </a>
           </td>
           <td class="play">
              <a href="${href.recording('file/play/'+item.file)}">
                <span class="player">
                   ${_("play")}
                </span>           
              </a>
              <a href="${href.recording('file/mplay/'+item.file)}">
                <span class="player">
                   ${_("mplay")}
                </span>           
              </a>
           </td>               
        </tr>
    </tbody>
  </table>
  <xi:include href="paginator_datalist.html" />

</div>
<hr />
</body></html>