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

Last change on this file since 251 was 251, checked in by peter.souza, 9 years ago

Enemies (zombies and hostile animal entities) are now shown on the map as Hostiles and require permission level 'webapi.gethostilelocation' for web viewers to see.

Animals (non-hostile entities) are now shown on the map as Animals and require permission level 'webapi.getanimalslocation' for web viewers to see.

Permission level for 'webapi.viewallclaims' is now required for a viewer to see all claims, otherwise the permission level for 'webapi.getlandclaims' will only show viewer-owned claims. A viewer requires both 'webapi.getlandclaims' and 'webapi.viewallclaims' to be set for all claims to show (you can't just set 'webapi.viewallclaims').
https://7daystodie.com/forums/showthread.php?12837-Improvements-for-the-dedicated-server&p=317405&viewfull=1#post317405

Permission level for 'webapi.viewallplayers' is now required for a viewer to see all players, otherwise the permission level for 'webapi.getplayerslocation' will only show the player for the currently-authenticated viewer. A viewer requires both 'webapi.getplayerslocation' and 'webapi.viewallplayers' to be set for all players to show (you can't just set 'webapi.viewallplayers').
https://7daystodie.com/forums/showthread.php?12837-Improvements-for-the-dedicated-server&p=317405&viewfull=1#post317405

Banned players are now hidden from the web map.
https://7daystodie.com/forums/showthread.php?12837-Improvements-for-the-dedicated-server&p=320702&viewfull=1#post320702

Items using 'CustomIcon' and 'CustomIconTint' are now supported (although the exact tinting may not be perfectly the same as the game).
https://7daystodie.com/forums/showthread.php?12837-Improvements-for-the-dedicated-server&p=317117&viewfull=1#post317117
https://7daystodie.com/forums/showthread.php?12837-Improvements-for-the-dedicated-server&p=317679&viewfull=1#post317679

Map marker icons for players, hostiles, and animals have been updated.

  • Property svn:executable set to *
File size: 4.3 KB
Line 
1<!DOCTYPE html>
2<html>
3<head>
4 <meta charset="UTF-8">
5 <title>7 Days to Die Map</title>
6
7 <!-- jQuery -->
8 <script type="text/javascript" src="js/jquery-1.11.1.min.js"></script>
9
10 <!-- jQuery UI -->
11 <link rel="stylesheet" href="jquery-ui/jquery-ui.min.css" type="text/css" />
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">
16 <script type="text/javascript" src="leaflet/leaflet.js"></script>
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>
30
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
35 <!-- Own JS stuff -->
36 <script type="text/javascript" src="js/leaflet.layer.sdtdtiles.js"></script>
37 <script type="text/javascript" src="js/leaflet.regionlayer.js"></script>
38 <script type="text/javascript" src="js/leaflet.layer.landclaims.js"></script>
39 <script type="text/javascript" src="js/leaflet.control.coordinates.js"></script>
40 <script type="text/javascript" src="js/leaflet.control.reloadtiles.js"></script>
41 <script type="text/javascript" src="js/leaflet.control.gametime.js"></script>
42 <script type="text/javascript" src="js/inventory_dialog.js"></script>
43 <script type="text/javascript" src="js/util.js"></script>
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>
48 <script type="text/javascript" src="js/log.js"></script>
49
50 <!-- Own stylesheet -->
51 <link rel="stylesheet" href="css/style.css" media="screen" type="text/css" />
52
53</head>
54<body>
55
56
57 <div class="adminwrapper">
58 <div class="adminnavbar">
59 <div id="serverstats">
60 <span id="stats_time">-</span><br/>
61 <span id="stats_players">-</span> Players<br />
62 <span id="stats_hostiles">-</span> Hostiles<br />
63 <span id="stats_animals">-</span> Animals
64 </div>
65
66 <div id="adminmenu">
67 Menu
68 <ul>
69 <li><a href="#tab_map" data-permission="web.map">Map</a></li>
70 <li><a href="#tab_log" data-permission="webapi.getlog">Log <span id="newlogcount"></span></a></li>
71 </ul>
72 </div>
73
74 <div id="userstate">
75 <div id="userstate_loggedin">
76 Logged in as:<br/>
77 <a id="username" href="" target="_blank"></a><br/>
78 <a href="/session/logout">Sign out</a>
79 </div>
80 <div id="userstate_loggedout">
81 Not logged in<br/>
82 <center>
83 <a href="/session/login">
84 <img src="img/steamlogin.png" title="Sign in through Steam">
85 </a>
86 </center>
87 </div>
88 </div>
89 </div>
90 <div id="admincontent">
91 <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>
92 <div id="tab_map" class="adminmap"></div>
93 <div id="tab_log" class="adminlog">
94 <table>
95 <tr>
96 <th>Date/Time</th>
97 <th>Uptime</th>
98 <th>Severity</th>
99 <th>Message</th>
100 </tr>
101 </table>
102 <a id="markasread">Mark as read</a>
103 </div>
104 </div>
105 </div>
106
107
108 <div id="playerInventoryDialog" title="Player inventory">
109 Player: <span id="invPlayerName"></span><br/>
110 <br/>
111 <table>
112 <tr>
113 <td>
114 Inventory:<br/>
115 <table class="invTable" id="bagTable">
116 </table>
117 <br/>
118 </td>
119 <td rowspan="2">
120 Equipment:<br/>
121 <table class="invTable" id="equipmentTable">
122 </table>
123 </td>
124 </tr>
125 <tr>
126 <td>
127 Belt:<br/>
128 <table class="invTable" id="beltTable">
129 </table>
130 </td>
131 </tr>
132 </table>
133
134 </div>
135
136 <script type="text/javascript" src="js/index.js"></script>
137</body>
138</html>
139
Note: See TracBrowser for help on using the repository browser.