Implement server kicks and updating the server time on the page according to heartbeats
This commit is contained in:
@@ -64,7 +64,7 @@ s.parentNode.insertBefore(po, s);
|
||||
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<body class="{{first_day_period}}">
|
||||
<div id="wrapper" class="container_12">
|
||||
{% if not is_popup %}
|
||||
<div id="header">
|
||||
|
@@ -1,11 +1,11 @@
|
||||
{% load minecraft %}
|
||||
<div id="statbox" class="stat-box">
|
||||
<h2 class="title">World Status</h2>
|
||||
<div class="time">
|
||||
Current time: <span id="time-display"></span>
|
||||
</div>
|
||||
{% for server in minecraft_servers %}
|
||||
<h3>{{server.hostname}}:{{server.port}}</h3>
|
||||
<div class="time">
|
||||
Current time: <span id="time-display">{{server.current_time}}</span>
|
||||
</div>
|
||||
<a href="http://{{server.hostname}}/map/">Live Map</a>
|
||||
<a href="{% url minecraft.views.rules server=server.hostname port=server.port %}">Server Rules</a>
|
||||
<ul>
|
||||
|
Reference in New Issue
Block a user