summaryrefslogtreecommitdiff
path: root/www/index.html
blob: 40bbd52ceaf532908b3dde60ba21c0a2752cfbda (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
<!DOCTYPE HTML>
<html>
 <head>
  <title>Radio Helsinki - Automation Status/Export</title>
  <meta charset="utf-8">
  <meta name="author" content="Christian Pointner <equinox@helsinki.at>">

  <link rel="shortcut icon" href="/img/favicon.ico" />

  <link href="/javascript/bootstrap/css/bootstrap.min.css" rel="stylesheet">
  <link href="/styles/common.css" rel="stylesheet">
  <link href="/styles/clock.css" rel="stylesheet">
  <link href="/styles/main.css" rel="stylesheet">
  <script src="/javascript/jquery/jquery.min.js"></script>
  <script src="/js/utils.js"></script>
  <script src="/js/clock.js"></script>
  <script src="/js/rhctl.js"></script>
 </head>
 <body>
   <div id="main" class="container-fluid">
     <div class="row">
       <div id="logo" class="col-md-2 col-md-offset-1">
         <img src="/img/helsinki.png" alt="Radio Helsinki Logo" />
       </div>
       <div id="title" class="col-md-5">
         <h1>Radio Helsinki - Automation Status</h1>
       </div>
       <div class="col-md-2">
         <div id="clock">
           <a href="https://radi-o-matic.helsinki.at/weeks" target="_blank"><span class="current-week"></span></a>
           <span class="clock-date"></span>
           <span class="clock-time"></span>
         </div>
       </div>
     </div>

     <div class="row">
       <div class="col-md-5 col-md-offset-3">
         <div class="row" id="mainstatus">
           <div class="col-xs-2"><h3>Mood:<h3></div>
           <div id="rhctlmood" class="col-xs-2">
             <img src="/img/mood-undefined.png" />
           </div>

           <div class="col-xs-3 col-xs-offset-1"><h3>Active Server:<h3></div>
           <div id="rhctlactiveserver" class="col-xs-3">
             <span class="label label-default">none</span>
           </div>
         </div>
         <div class="row">
           <div id="rhctlservertable" class="col-xs-4">
             <table class="table">
               <tr>
                 <th colspan="2">Server-Health</th>
               </tr>
             </table>
           </div>
           <div id="rhctlaudiotable" class="col-xs-8">
             <h4>Audio Routing</h4>
             <table class="table">
               <tr>
                 <th>Out</th>
                 <th>1</th>
                 <th>2</th>
                 <th>3</th>
                 <th>4</th>
                 <th>5</th>
                 <th>6</th>
                 <th>7</th>
                 <th>8</th>
                 <th>Silence</th>
               </tr>
             </table>
           </div>
         </div>
         <div class="row">
           <div id="rhctlraw"></div>
         </div>
       </div>
     </div>

   </div>

   <div id="hiddenTemplates" class="hidden">

     <table>
       <tr class="servertableEntryTemplate">
         <td class="server-health"><img src="/img/server-undefined.png" title="unkown" /></td>
         <td>
           <span class="server-channel">-</span><br />
           <span class="server-name">-</span>
         </td>
       </tr>
     </table>

      <table>
       <tr class="audiotableEntryTemplate">
         <td class="audio-out">-</td>
         <td class="audio-in audio-in1"><span class="glyphicon glyphicon-unchecked" aria-hidden="true"></span></td>
         <td class="audio-in audio-in2"><span class="glyphicon glyphicon-unchecked" aria-hidden="true"></span></td>
         <td class="audio-in audio-in3"><span class="glyphicon glyphicon-unchecked" aria-hidden="true"></span></td>
         <td class="audio-in audio-in4"><span class="glyphicon glyphicon-unchecked" aria-hidden="true"></span></td>
         <td class="audio-in audio-in5"><span class="glyphicon glyphicon-unchecked" aria-hidden="true"></span></td>
         <td class="audio-in audio-in6"><span class="glyphicon glyphicon-unchecked" aria-hidden="true"></span></td>
         <td class="audio-in audio-in7"><span class="glyphicon glyphicon-unchecked" aria-hidden="true"></span></td>
         <td class="audio-in audio-in8"><span class="glyphicon glyphicon-unchecked" aria-hidden="true"></span></td>
         <td class="audio-silence"><span class="glyphicon glyphicon-volume-off" aria-hidden="true"></span></td>
       </tr>
     </table>

   </div>

   <footer class="footer">
     <div class="container">
       <a href="http://www.flaticon.com/packs/emoticons-2">Icons Designed by Freepik and distributed by Flaticon</a>
     </div>
   </footer>

   <script type="text/javascript">
     clock_init();
     rhctl_init();
   </script>

 </body>
</html>