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

Last change on this file since 255 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
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">
[245]58 <div class="adminnavbar">
59 <div id="serverstats">
60 <span id="stats_time">-</span><br/>
[251]61 <span id="stats_players">-</span> Players<br />
62 <span id="stats_hostiles">-</span> Hostiles<br />
63 <span id="stats_animals">-</span> Animals
[245]64 </div>
65
66 <div id="adminmenu">
67 Menu
68 <ul>
69 <li><a href="#tab_map" data-permission="web.map">Map</a></li>
[250]70 <li><a href="#tab_log" data-permission="webapi.getlog">Log <span id="newlogcount"></span></a></li>
[245]71 </ul>
72 </div>
[244]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>
[250]90 <div id="admincontent">
[251]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>
[244]92 <div id="tab_map" class="adminmap"></div>
[250]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>
[244]104 </div>
105 </div>
106
107
[171]108 <div id="playerInventoryDialog" title="Player inventory">
[245]109 Player: <span id="invPlayerName"></span><br/>
[249]110 <br/>
[245]111 <table>
112 <tr>
113 <td>
114 Inventory:<br/>
115 <table class="invTable" id="bagTable">
116 </table>
[249]117 <br/>
[245]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>
[163]132 </table>
[245]133
[163]134 </div>
[244]135
[149]136 <script type="text/javascript" src="js/index.js"></script>
[133]137</body>
138</html>
[244]139
Note: See TracBrowser for help on using the repository browser.