mirror of
https://github.com/TotalFreedomMC/Website.git
synced 2024-11-18 17:30:04 +00:00
Clean up code
This commit is contained in:
parent
4129b2b9bf
commit
8efe669e9b
1 changed files with 25 additions and 21 deletions
46
index.html
46
index.html
|
@ -20,17 +20,17 @@
|
|||
<link href="https://fonts.googleapis.com/css?family=Catamaran:200" rel="stylesheet">
|
||||
<link rel="stylesheet" href="css/component.min.css">
|
||||
<link rel="stylesheet" href="css/main.css">
|
||||
<script>
|
||||
// All Json content is loaded respectively into #(item)
|
||||
var jsonUrl = "http://madgeekonline.com/tfinfo/";
|
||||
var jsonContent = [
|
||||
"players"
|
||||
];
|
||||
|
||||
$(document).ready(function() {
|
||||
loadJson(jsonUrl, jsonContent);
|
||||
});
|
||||
</script>
|
||||
<script>
|
||||
// All Json content is loaded respectively into #(item)
|
||||
var jsonUrl = "http://madgeekonline.com/tfinfo/";
|
||||
var jsonContent = [
|
||||
"players"
|
||||
];
|
||||
|
||||
$(document).ready(function() {
|
||||
loadJson(jsonUrl, jsonContent);
|
||||
});
|
||||
</script>
|
||||
<script>
|
||||
!function(a,b,c,d,e,f,g){a.GoogleAnalyticsObject=e,a[e]=a[e]||function(){(a[e].q=a[e].q||[]).push(arguments)},a[e].l=1*new Date,f=b.createElement(c),g=b.getElementsByTagName(c)[0],f.async=1,f.src=d,g.parentNode.insertBefore(f,g)}(window,document,"script","https://www.google-analytics.com/analytics.js","ga"),ga("create","UA-74643356-2","auto"),ga("send","pageview");
|
||||
</script>
|
||||
|
@ -56,16 +56,19 @@
|
|||
</div>
|
||||
</nav>
|
||||
</div>
|
||||
<div id="onlineplayers" class="modal modal-fixed-footer">
|
||||
<div class="modal-content">
|
||||
<h4>Current Online Players</h4>
|
||||
<ul id="players"></ul>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<a href="#!" class=" modal-action modal-close btn-flat">Close</a>
|
||||
<div class="section active cover-1" id="header">
|
||||
<h3 id="status"> <span id="online" ></span></h3>
|
||||
<a href="#onlineplayers" class="button modal-trigger" data-target="onlineplayers">Online Players</a>
|
||||
<div id="onlineplayers" class="modal modal-fixed-footer">
|
||||
<div class="modal-content">
|
||||
<h4>Current Online Players</h4>
|
||||
<ul id="players"></ul>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<a href="#!" class=" modal-action modal-close btn-flat">Close</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="section cover-2" id="rules">
|
||||
<h1 class="section-title">TotalFreedom Rules</h1>
|
||||
<div class="rules-section">
|
||||
|
@ -89,7 +92,8 @@
|
|||
<h2 id="rules-title" class="five">Adhere to Authority <i class="fa fa-chevron-right rules-icon hide-on-med-and-down"></i></h2>
|
||||
<p class="rule e">Do not override the actions of the server owner (markbyron) or other admins. For example, if an admin de-ops or bans a player for griefing, you may not re-op or pardon them without permission. Super admins will follow the directions of senior admins with respect to any admin matter unless it violates server rules in which case a PM will be sent by the super admin to the owner.</p>
|
||||
</div>
|
||||
<br> <p class="caution"><i class="fa fa-exclamation-circle"></i> TotalFreedom does not accept donations.</p>
|
||||
<br>
|
||||
<p class="caution"><i class="fa fa-exclamation-circle"></i> TotalFreedom does not accept donations.</p>
|
||||
<a href="http://totalfreedom.boards.net/thread/21065/server-conduct-policy-players-admins">Read more</a>
|
||||
<h1 class="section-title">TotalFreedom Help</h1>
|
||||
<div class="rules-section">
|
||||
|
@ -169,4 +173,4 @@
|
|||
</footer>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
Loading…
Reference in a new issue