Skip to content

Commit

Permalink
Merge pull request #59 from Blue-Bash/develop
Browse files Browse the repository at this point in the history
Finished hotfix 1.0.1
  • Loading branch information
lAngelP authored Jan 15, 2019
2 parents 952a459 + 6094812 commit 58af576
Showing 1 changed file with 11 additions and 19 deletions.
30 changes: 11 additions & 19 deletions demo/src/main/resources/static/stats.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,6 @@
<nav class="navbar navbar-light bg-light fixed-top">
<div class="container">
<a class="navbar-brand" href="/">TinyURI</a>
<form id="uriStats">
<div class="input-group input-group-lg col-sm-12">
<input id="urlInput" type="text" class="center-block form-control input-lg"
title="Enter URI code" placeholder="https://tinyuri.xyz/uri/#####">
<span class="input-group-btn"><button
id="uriStatsSubmit" class="btn btn-lg btn-success" type="submit">Show URI Stats</button></span>
</div>
</form>
</div>
</nav>

Expand All @@ -59,59 +51,59 @@ <h1 class="mb-4">Stats of TinyURI services</h1>
<div class="col-xl-12 mx-auto" style="background-color: rgba(255,255,255,0.1)">
<div class="row">
<div class="col-xl-6 col-sm-12">
<p id="uris-accessed" style="font-size: 70pt;color:orange">12.457</p>
<p id="uris-accessed" style="font-size: 70pt;color:orange">--</p>
<p style="font-size: 20pt">Accessed URI</p>
</div>
<div class="col-xl-6 col-sm-12">
<p id="qr-accessed" style="font-size: 70pt;color:orange">16</p>
<p id="qr-accessed" style="font-size: 70pt;color:orange">--</p>
<p style="font-size: 20pt">Accessed QR</p>
</div>
</div>
</div>
<div class="col-xl-12 mx-auto" style="background-color: rgba(255,255,255,0.2)">
<div class="row">
<div class="col-xl-4 col-sm-12">
<p id="uris-created" style="font-size: 70pt;color:orange">8.437</p>
<p id="uris-created" style="font-size: 70pt;color:orange">--</p>
<p style="font-size: 20pt">Shortened URI</p>
</div>
<div class="col-xl-4 col-sm-12">
<p id="uris-removed" style="font-size: 70pt;color:orange">24</p>
<p id="uris-removed" style="font-size: 70pt;color:orange">--</p>
<p style="font-size: 20pt">Deleted URI</p>
</div>
<div class="col-xl-4 col-sm-12">
<p id="uris-now" style="font-size: 70pt;color:orange">7.824</p>
<p id="uris-now" style="font-size: 70pt;color:orange">--</p>
<p style="font-size: 20pt">Working URI</p>
</div>
</div>
</div>
<div class="col-xl-12 mx-auto" style="background-color: rgba(255,255,255,0.3)">
<div class="row">
<div class="col-xl-4 col-sm-12">
<p id="qr-created" style="font-size: 70pt;color:orange">12.457</p>
<p id="qr-created" style="font-size: 70pt;color:orange">--</p>
<p style="font-size: 20pt">Generated QR</p>
</div>
<div class="col-xl-4 col-sm-12">
<p id="qr-removed" style="font-size: 70pt;color:orange">16</p>
<p id="qr-removed" style="font-size: 70pt;color:orange">--</p>
<p style="font-size: 20pt">Deleted QR</p>
</div>
<div class="col-xl-4 col-sm-12">
<p id="qr-now" style="font-size: 70pt;color:orange">9.247</p>
<p id="qr-now" style="font-size: 70pt;color:orange">--</p>
<p style="font-size: 20pt">Working QR</p>
</div>
</div>
</div>
<div class="col-xl-12 mx-auto" style="background-color: rgba(255,255,255,0.4)">
<div class="row">
<div class="col-xl-4 col-sm-12">
<span id="cpu-usage" style="font-size: 70pt;color:orange">12</span><span style="font-size: 35pt;color:orange">%</span><br />
<span id="cpu-usage" style="font-size: 70pt;color:orange">--</span><span style="font-size: 35pt;color:orange">%</span><br />
<span style="font-size: 20pt">CPU Usage</span>
</div>
<div class="col-xl-4 col-sm-12">
<span id="system-cpu-usage" style="font-size: 70pt;color:orange">16</span><span style="font-size: 35pt;color:orange">%</span><br />
<span id="system-cpu-usage" style="font-size: 70pt;color:orange">--</span><span style="font-size: 35pt;color:orange">%</span><br />
<span style="font-size: 20pt">System CPU Usage</span>
</div>
<div class="col-xl-4 col-sm-12">
<span id="system-memory-usage" style="font-size: 70pt;color:orange">9.946</span><span style="font-size: 35pt;color:orange">MB</span><br />
<span id="system-memory-usage" style="font-size: 70pt;color:orange">--</span><span style="font-size: 35pt;color:orange">MB</span><br />
<span style="font-size: 20pt">Working QR</span>
</div>
</div>
Expand Down

0 comments on commit 58af576

Please sign in to comment.