fix some uris
[enigma2-plugins.git] / webinterface / src / web-data / tpl / default / tplMediaPlayer.htm
1
2 <!-- tplMediaplayer -->
3 <table id="contentTable">
4         <tr>
5                 <td>
6                         <table border="0" cellpadding="0" cellspacing="0" border="1">
7                                 <thead>
8                                         <tr>
9                                                 <th>
10                                                         <div class="sListHeader">MediaPlayer ${mp.root}
11                                                                 <map name="mpcontrols">
12                                                                 <area shape="circle" coords="17, 17, 14" nohref onclick="sendMediaPlayer('previous')" alt="jump back">
13                                                                 <area shape="circle" coords="54, 17, 14" nohref onclick="sendMediaPlayer('play')" alt="play">
14                                                                 <area shape="circle" coords="88, 17, 14" nohref onclick="sendMediaPlayer('pause')" alt="pause">
15                                                                 <area shape="circle" coords="125, 17, 14" nohref onclick="sendMediaPlayer('next')" alt="jump forward">
16                                                                 <area shape="circle" coords="161, 17, 14" nohref onclick="sendMediaPlayer('stop')" alt="stop">
17                                                                 </map><img src="/web-data/gfx/dvr-buttons-small-fs8.png" align="top" title="Control MediaPlayer" border="0" usemap="#mpcontrols">
18                                                                 <!--  <img src="/web-data/img/edit.png" onclick="openMediaPlayerPlaylist()">
19                                                                  still need some work for editing --> 
20                                                         </div>
21                                                         <div class="sListSearch">
22                                                                 <img src="/web-data/img/nok.png" align="top" title="Close MediaPlayer" border="0" onclick="sendMediaPlayer('exit')">
23                                                         </div>
24                                                 </th>
25                                         </tr>
26                                 </thead>
27                                 <tbody>
28                                         {for item in items}
29                                         <tr>
30                                                 <!-- ItemBody -->
31                                                 <td>
32                                                         <div style="color: #${item.color};" onclick="${item.exec}('${item.servicereference}','${item.root}');" class="sListSName" title="${item.servicereference}">${item.name}</div>
33                                                 </td>
34                                                 <td>
35                                                         {if item.isdir == "false"}                                                      
36                                                         <div class="sListExt">
37                                                                 <img src="/web-data/gfx/play.png" onclick="${item.exec}('${item.servicereference}','${item.root}');" title="${item.exec_description}" border="0">
38                                                                 <a target="_blank" href="/file?file=${item.name}&root=${item.root}"><img src="/web-data/img/save.png" title="Download File" border="0"></a>
39                                                         </div>
40                                                         {/if}
41                                                 </td>
42                                         </tr>
43                                         {forelse}
44                                         <tr>
45                                                 <td>Nothing to Display</td>
46                                         </tr>
47                                         {/for}
48                                         <tr>
49                                                 <td colspan="7"><button onclick="writePlaylist()">Write Playlist</button></td>
50                                         </tr>
51                                 </tbody>
52                         </table>
53                 </td>
54         </tr>
55 </table>
56 <!-- /tplMediaplayer -->