]> code.octet-stream.net Git - broadcaster/blob - server/templates/radios.partial.html
Clean up log entries
[broadcaster] / server / templates / radios.partial.html
1 {{if .Radios}}
2 {{range .Radios}}
3 <table class="radio-status">
4 <tr>
5 <td colspan="3" class="outer head">
6 <b>{{.Name}}</b>
7 </td>
8 </tr>
9 <tr>
10 <td colspan="3" class="outer">
11 <table class="time-table">
12 <tr>
13 <td width="100em">
14 Local Time
15 </td>
16 <td>
17 {{.LocalTime}}
18 </td>
19 </tr>
20 <tr>
21 <td>
22 Time Zone
23 </td>
24 <td>
25 {{.TimeZone}}
26 </td>
27 </tr>
28 <tr>
29 <td>
30 Files In Sync
31 </td>
32 <td>
33 {{if .FilesInSync}} Yes {{else}} No {{end}}
34 </td>
35 </tr>
36 </table>
37 </td>
38 </tr>
39 <tr>
40 <td class="outer {{.ChannelClass}}">
41 {{.ChannelState}}
42 </td>
43 <td class="outer" colspan="2">
44 <table class="playlist-table">
45 <tr>
46 <td class="playlist-field">
47 Playlist:
48 </td>
49 <td>
50 {{.Playlist}}
51 </td>
52 </tr>
53 <tr>
54 <td class="playlist-field">
55 File:
56 </td>
57 <td>
58 {{.File}}
59 </td>
60 </tr>
61 <tr>
62 <td class="playlist-field">
63 Status:
64 </td>
65 <td>
66 {{.Status}}
67 </td>
68 </tr>
69 </table>
70 </td>
71 <tr>
72 <td class="outer stop" colspan="3">
73 <form action="/stop" method="post">
74 <input type="hidden" name="radioId" value="{{.Id}}">
75 <input type="submit" value="Cancel Playback" {{if .DisableCancel}} disabled {{end}}>
76 </form>
77 </td>
78 </tr>
79 </tr>
80 </table>
81 {{end}}
82 {{else}}
83 <p><i>There are no radios online.</i></p>
84 {{end}}