Update template.lua
Removed FusionCare link, change position for "Current time JS", Compression Ratio: 31% (HTML)
This commit is contained in:
parent
c9fd6f820a
commit
bc1a98b2db
@ -70,7 +70,6 @@ function ShowPage(WebAdmin, TemplateRequest)
|
||||
<link rel="stylesheet" type="text/css" href="/style.css">
|
||||
<link rel="icon" href="/favicon.ico">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div class="contention">
|
||||
<div class="pagehead">
|
||||
@ -94,7 +93,6 @@ function ShowPage(WebAdmin, TemplateRequest)
|
||||
<div class="wrapper padtopp">
|
||||
<table width="100%" border="0" align="center"><tbody>
|
||||
<tr>
|
||||
<!-- start: usercp_nav -->
|
||||
<td width="180" valign="top">
|
||||
<table border="0" cellspacing="0" cellpadding="5" class="tborder">
|
||||
<tbody><tr>
|
||||
@ -103,7 +101,6 @@ function ShowPage(WebAdmin, TemplateRequest)
|
||||
<tr>
|
||||
<td class="trow1 smalltext"><a href=']] .. BaseURL .. [[' class='usercp_nav_item usercp_nav_home'>Home</a></td>
|
||||
</tr>
|
||||
<!-- start: usercp_nav_messenger -->
|
||||
<tr><td class="tcat"><div><span class="smalltext"><strong>Server Management</strong></span></div></td></tr></tbody><tbody style="" id="usercppms_e"><tr><td class="trow1 smalltext">
|
||||
]])
|
||||
|
||||
@ -127,7 +124,6 @@ function ShowPage(WebAdmin, TemplateRequest)
|
||||
Output([[</td></tr></tbody>
|
||||
</table>
|
||||
</td>
|
||||
<!-- end: usercp_nav -->
|
||||
<td valign="top" style='padding-left:25px;'>
|
||||
<table border="0" cellspacing="0" cellpadding="5" class="tborder">
|
||||
<tbody><tr>
|
||||
@ -152,30 +148,19 @@ function ShowPage(WebAdmin, TemplateRequest)
|
||||
<li><a>Server Name: <strong>]] .. cRoot:Get():GetServer():GetServerID() .. [[</strong></a></li>
|
||||
<li><a>Memory: <strong>]] .. MemoryUsageKiB / 1024 .. [[MB</strong></a></li>
|
||||
<li><a>Chunks: <strong>]] .. NumChunks .. [[</strong></a></li>
|
||||
<li><a><script type="text/javascript">
|
||||
document.write ('Time: <strong><span id="date-time">', new Date().toLocaleString(), '<\/span><\/strong>')
|
||||
if (document.getElementById) onload = function () {
|
||||
setInterval ("document.getElementById ('date-time').firstChild.data = new Date().toLocaleString()", 50)
|
||||
}
|
||||
</script></a></li>
|
||||
</ul>
|
||||
<ul class="menu bottom_right">
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="lower">
|
||||
<div class="wrapper">
|
||||
<span id="current_time"><strong>FusionCare</strong> Web Developement</span>
|
||||
<span id="copyright">
|
||||
Copyright © <a href="http://www.mc-server.org" target="_blank">MCServer Team</a> 2014.
|
||||
<div class=lower>
|
||||
<div class=wrapper>
|
||||
<span id=current_time><strong>Current time:</strong> <script type=text/javascript>document.write('Time: <strong><span id="date-time">',new Date().toLocaleString(),"</span></strong>");if(document.getElementById){onload=function(){setInterval("document.getElementById ('date-time').firstChild.data = new Date().toLocaleString()",50)}};</script></span>
|
||||
<span id=copyright>
|
||||
Copyright © <a href=http://www.mc-server.org target=_blank>MCServer Team</a> 2014.
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
</body></html>
|
||||
]])
|
||||
|
||||
return table.concat(SiteContent)
|
||||
|
Loading…
x
Reference in New Issue
Block a user