Support uplink network management when two wlan devices are available
[infodrom/musiikki-web.git] / templates / admin.phtml
1 <!DOCTYPE html>
2 <!-- Source: https://www.w3schools.com/w3css/tryw3css_templates_interior_design.htm -->
3 <html class="ui-mobile">
4 <head>
5 <title><?=Config::main()->get('title')?></title>
6 <meta charset="utf-8">
7 <meta name="viewport" content="width=device-width, initial-scale=1">
8 <?=Utilities::formatCSS('../w3.css')?>
9 <?=Utilities::formatCSS('../musiikki.css')?>
10 <link rel="shortcut icon" href="<?php echo Config::main()->get('favicon')?>">
11 <?=Utilities::formatScript('../jquery-1.10.2.min.js')?>
12 <?=Utilities::formatScript('../musiikki.js')?>
13 <?=Utilities::formatScript('admin.js')?>
14 </head>
15
16 <body>
17
18 <!-- Sidebar/menu -->
19 <nav class="w3-sidebar w3-blue w3-collapse w3-top w3-large w3-padding" style="z-index: 3; width: 300px; font-weight: bold; display: none;" id="mySidebar"><br>
20   <a href="javascript:void(0)" onclick="w3_close()" class="w3-button w3-hide-large w3-display-topleft" style="width:100%;font-size:22px">Close Menu</a>
21   <div class="w3-container">
22     <h3 class="w3-padding-64"><b><?=Config::main()->get('title')?></b></h3>
23   </div>
24   <div class="w3-bar-block" style="padding-top:5px;">
25     <a href="/admin/" onclick="open_page('home')" class="w3-bar-item w3-button w3-hover-white">Home</a>
26     <a href="/" class="w3-bar-item w3-button w3-hover-white">Public</a>
27     <a href="#" onclick="open_page('datetime')" class="w3-bar-item w3-button w3-hover-white">Date/Time</a>
28     <a href="#" onclick="open_page('wifi')" class="w3-bar-item w3-button w3-hover-white">WiFi</a>
29     <a href="#" onclick="open_page('network')" class="w3-bar-item w3-button w3-hover-white">Network</a>
30     <a href="#" onclick="open_page('shares')" class="w3-bar-item w3-button w3-hover-white">Shares</a>
31     <a href="#" onclick="open_page('rescan')" class="w3-bar-item w3-button w3-hover-white">Rescan</a>
32     <a href="#" onclick="open_page('passwd')" class="w3-bar-item w3-button w3-hover-white">Admin</a>
33     <a href="#" onclick="open_page('halt')" class="w3-bar-item w3-button w3-hover-white">Shutdown</a>
34   </div>
35 </nav>
36
37 <!-- Top menu on small screens -->
38 <header class="w3-container w3-top w3-hide-large w3-blue w3-xlarge w3-padding">
39   <a href="javascript:void(0)" class="w3-button w3-blue w3-margin-right" onclick="w3_open()" title="Menu"><b>=</b></a>
40    <span><?=Config::main()->get('title')?></span>
41 </header>
42
43 <!-- Overlay effect when opening sidebar on small screens -->
44 <div class="w3-overlay w3-hide-large" onclick="w3_close()" style="cursor: pointer; display: none;" title="close side menu" id="myOverlay"></div>
45
46 <!-- !PAGE CONTENT! -->
47 <div class="w3-main" style="margin-left:340px;margin-right:40px">
48
49 <?php echo Template::html('home'); ?>
50 <?php echo Template::html('datetime'); ?>
51 <?php echo Template::html('wifi'); ?>
52 <?php echo Template::html('network'); ?>
53 <?php echo Template::html('shares'); ?>
54 <?php echo Template::html('passwd'); ?>
55 <?php echo Template::html('rescan'); ?>
56 <?php echo Template::html('halt'); ?>
57 <?php echo Template::html('response'); ?>
58
59 <!-- End page content -->
60 </div>
61
62 </body>
63 </html>