source: binary-improvements/webserver/index.html@ 275

Last change on this file since 275 was 274, checked in by alloc, 9 years ago

Fixes #117: Collapsible menu

  • Property svn:executable set to *
File size: 4.5 KB
RevLine 
[133]1<!DOCTYPE html>
2<html>
3<head>
4 <meta charset="UTF-8">
[251]5 <title>7 Days to Die Map</title>
[173]6
7 <!-- jQuery -->
8 <script type="text/javascript" src="js/jquery-1.11.1.min.js"></script>
9
10 <!-- jQuery UI -->
[163]11 <link rel="stylesheet" href="jquery-ui/jquery-ui.min.css" type="text/css" />
[173]12 <script type="text/javascript" src="jquery-ui/jquery-ui.min.js"></script>
13
14 <!-- Leaflet -->
15 <link rel="stylesheet prefetch" href="leaflet/leaflet.css">
[153]16 <script type="text/javascript" src="leaflet/leaflet.js"></script>
[173]17
18 <!-- Leaflet MarkerCluster -->
19 <link rel="stylesheet" href="leaflet/markercluster/MarkerCluster.css" />
20 <link rel="stylesheet" href="leaflet/markercluster/MarkerCluster.Default.css" />
21 <script type="text/javascript" src="leaflet/markercluster/leaflet.markercluster.js"></script>
22
23 <!-- Leaflet Zoomslider -->
24 <link rel="stylesheet" href="leaflet/zoomslider/L.Control.Zoomslider.css" />
25 <script type="text/javascript" src="leaflet/zoomslider/L.Control.Zoomslider.js"></script>
26
27 <!-- Leaflet MiniMap -->
28 <link rel="stylesheet" href="leaflet/minimap/Control.MiniMap.css" />
29 <script type="text/javascript" src="leaflet/minimap/Control.MiniMap.js"></script>
[244]30
[249]31 <!-- Leaflet Measure -->
32 <link rel="stylesheet" href="leaflet/measure/leaflet-measure.css" />
33 <script type="text/javascript" src="leaflet/measure/leaflet-measure.min.js"></script>
34
[244]35 <!-- Own JS stuff -->
[249]36 <script type="text/javascript" src="js/leaflet.layer.sdtdtiles.js"></script>
[244]37 <script type="text/javascript" src="js/leaflet.regionlayer.js"></script>
[249]38 <script type="text/javascript" src="js/leaflet.layer.landclaims.js"></script>
[244]39 <script type="text/javascript" src="js/leaflet.control.coordinates.js"></script>
40 <script type="text/javascript" src="js/leaflet.control.reloadtiles.js"></script>
[249]41 <script type="text/javascript" src="js/leaflet.control.gametime.js"></script>
[245]42 <script type="text/javascript" src="js/inventory_dialog.js"></script>
[244]43 <script type="text/javascript" src="js/util.js"></script>
[245]44 <script type="text/javascript" src="js/stats.js"></script>
45 <script type="text/javascript" src="js/tabs.js"></script>
46 <script type="text/javascript" src="js/permissions.js"></script>
47 <script type="text/javascript" src="js/map.js"></script>
[250]48 <script type="text/javascript" src="js/log.js"></script>
[173]49
[179]50 <!-- Own stylesheet -->
51 <link rel="stylesheet" href="css/style.css" media="screen" type="text/css" />
52
[173]53</head>
[133]54<body>
[244]55
56
57 <div class="adminwrapper">
[274]58 <div class="adminnavbarhidebutton">
59 <img src="img/expand.png" alt="Expand Menu" width="10">
60 Menu
61 <img src="img/expand.png" alt="Expand Menu" width="10">
62 </div>
[245]63 <div class="adminnavbar">
64 <div id="serverstats">
65 <span id="stats_time">-</span><br/>
[251]66 <span id="stats_players">-</span> Players<br />
67 <span id="stats_hostiles">-</span> Hostiles<br />
68 <span id="stats_animals">-</span> Animals
[245]69 </div>
70
71 <div id="adminmenu">
72 Menu
73 <ul>
74 <li><a href="#tab_map" data-permission="web.map">Map</a></li>
[250]75 <li><a href="#tab_log" data-permission="webapi.getlog">Log <span id="newlogcount"></span></a></li>
[245]76 </ul>
77 </div>
[244]78
79 <div id="userstate">
80 <div id="userstate_loggedin">
81 Logged in as:<br/>
82 <a id="username" href="" target="_blank"></a><br/>
83 <a href="/session/logout">Sign out</a>
84 </div>
85 <div id="userstate_loggedout">
86 Not logged in<br/>
87 <center>
88 <a href="/session/login">
89 <img src="img/steamlogin.png" title="Sign in through Steam">
90 </a>
91 </center>
92 </div>
93 </div>
94 </div>
[250]95 <div id="admincontent">
[251]96 <h1 id="nopermissionwarning" style="display:none">An error occured or you have not logged in. Try logging in with the Steam login in the lower left!</h1>
[244]97 <div id="tab_map" class="adminmap"></div>
[250]98 <div id="tab_log" class="adminlog">
99 <table>
100 <tr>
101 <th>Date/Time</th>
102 <th>Uptime</th>
103 <th>Severity</th>
104 <th>Message</th>
105 </tr>
106 </table>
107 <a id="markasread">Mark as read</a>
108 </div>
[244]109 </div>
110 </div>
111
112
[171]113 <div id="playerInventoryDialog" title="Player inventory">
[245]114 Player: <span id="invPlayerName"></span><br/>
[256]115 SteamID: <span id="invSteamId"></span><br/>
[249]116 <br/>
[245]117 <table>
118 <tr>
119 <td>
120 Inventory:<br/>
121 <table class="invTable" id="bagTable">
122 </table>
[249]123 <br/>
[245]124 </td>
125 <td rowspan="2">
126 Equipment:<br/>
127 <table class="invTable" id="equipmentTable">
128 </table>
129 </td>
130 </tr>
131 <tr>
132 <td>
133 Belt:<br/>
134 <table class="invTable" id="beltTable">
135 </table>
136 </td>
137 </tr>
[163]138 </table>
[245]139
[163]140 </div>
[244]141
[149]142 <script type="text/javascript" src="js/index.js"></script>
[133]143</body>
144</html>
[244]145
Note: See TracBrowser for help on using the repository browser.