Fixed some spacing issues & Added command usage table back to server.html

This commit is contained in:
Rsl1122 2017-11-23 14:03:07 +02:00
parent 8dd54015f6
commit c27f9b3a2f
3 changed files with 34 additions and 6 deletions

View File

@ -82,7 +82,8 @@
.main-limiter { .main-limiter {
width: 100%; width: 100%;
height: 100%; height: 100%;
overflow: hidden; overflow-x: hidden;
overflow-y: visible;
margin: 0; margin: 0;
padding: 0; padding: 0;
} }

View File

@ -245,15 +245,15 @@
<div class="panel panel-default"> <div class="panel panel-default">
<div class="panel-heading"> <div class="panel-heading">
<div class="row"> <div class="row">
<div class="col-md-4"> <div class="col-xs-4 col-sm-4 col-md-4 col-lg-4">
${playerStatus} ${playerStatus}
<p><i class="col-brown fa fa-gavel"></i> Times Kicked: ${kickCount}</p> <p><i class="col-brown fa fa-gavel"></i> Times Kicked: ${kickCount}</p>
</div> </div>
<div class="col-md-4"> <div class="col-xs-4 col-sm-4 col-md-4 col-lg-4">
<img class="center-block" <img class="center-block"
src="https://cravatar.eu/avatar/${playerName}/100"> src="https://cravatar.eu/avatar/${playerName}/100">
</div> </div>
<div class="col-md-4"> <div class="col-xs-4 col-sm-4 col-md-4 col-lg-4">
<p><i class="col-red fa fa-crosshairs"></i> Player Kills: ${playerKillCount} <p><i class="col-red fa fa-crosshairs"></i> Player Kills: ${playerKillCount}
</p> </p>
<p><i class="col-green fa fa-crosshairs"></i> Mob Kills: ${mobKillCount}</p> <p><i class="col-green fa fa-crosshairs"></i> Mob Kills: ${mobKillCount}</p>
@ -263,7 +263,7 @@
</div> </div>
<div class="panel-body"> <div class="panel-body">
<div class="row"> <div class="row">
<div class="col-md-6"> <div class="col-xs-6 col-sm-6 col-md-6 col-lg-6">
<p><i class="col-teal fa fa-calendar-check-o"></i> Sessions <span <p><i class="col-teal fa fa-calendar-check-o"></i> Sessions <span
class="pull-right"><b>${sessionCount}</b></span></p> class="pull-right"><b>${sessionCount}</b></span></p>
<p><i class="col-green fa fa-clock-o"></i> Total Playtime <span <p><i class="col-green fa fa-clock-o"></i> Total Playtime <span
@ -275,7 +275,7 @@
class="pull-right">${sessionLengthMedian}</span> class="pull-right">${sessionLengthMedian}</span>
</p> </p>
</div> </div>
<div class="col-md-6"> <div class="col-xs-6 col-sm-6 col-md-6 col-lg-6">
<p><i class="col-amber fa fa-user"></i> Activity Index <span <p><i class="col-amber fa fa-user"></i> Activity Index <span
class="pull-right"><b>${activityIndexNumber}</b></span></p> class="pull-right"><b>${activityIndexNumber}</b></span></p>
<p>&nbsp;<span class="col-${activityIndexColor} font-bold pull-right">${activityIndex}</span> <p>&nbsp;<span class="col-${activityIndexColor} font-bold pull-right">${activityIndex}</span>

View File

@ -871,6 +871,33 @@
</div> </div>
<!-- #END# Tab Geolocations --> <!-- #END# Tab Geolocations -->
<div id="tab-commands" class="tab"> <div id="tab-commands" class="tab">
<div class="row clearfix">
<div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
<div class="card">
<div class="header">
<div class="row clearfix">
<div class="col-xs-6 col-sm-6 col-md-6 col-lg-6">
<h2><i class="col-lime fa fa-terminal"></i> Command Usage</h2>
</div>
<div class="col-xs-6 col-sm-6 col-md-6 col-lg-6">
<p class="pull-right"><i class="col-light-green fa fa-chevron-right"></i> Used Commands: ${commandCount} <i class="col-lime fa fa-chevron-right"></i> Unique: ${commandUniqueCount}</p>
</div>
</div>
</div>
<table class="table table-striped scrollbar">
<thead class="bg-lime">
<tr>
<th><i class="fa fa-terminal"></i> Command</th>
<th><i class="fa fa-list-ol"></i> Times Used</th>
</tr>
</thead>
<tbody>
${tableBodyCommands}
</tbody>
</table>
</div>
</div>
</div>
</div> </div>
<!-- #END# Tab Commands --> <!-- #END# Tab Commands -->
<div id="tab-plugins-General" class="tab"> <div id="tab-plugins-General" class="tab">