Skip to content
This repository has been archived by the owner on Nov 29, 2023. It is now read-only.

Commit

Permalink
Improved site layout
Browse files Browse the repository at this point in the history
  • Loading branch information
philipptrenz committed Sep 15, 2018
1 parent 59ee9a4 commit dd20799
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
16 changes: 9 additions & 7 deletions html/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,18 +27,18 @@
<div class="status-container col-sm">
<div class="status">
<h5 class="lang en">today's yield</h5>
<h5 class="lang de">Heutiger Ertrag</h5>
<h5 class="lang de">heutiger ertrag</h5>
<p class="meter" id="dayTotal">
<i class="fa fa-circle-o-notch fa-spin fa-fw"></i>
<span class="sr-only">Loading ...</span>
<span class="sr-only">loading ...</span>
</p>
<div class="line"></div>
</div>
</div>
<div class="status-container col-sm">
<div class="status">
<h5 class="lang en">total yield</h5>
<h5 class="lang de">Gesamtertrag</h5>
<h5 class="lang de">gesamtertrag</h5>
<p class="meter" id="total">
<i class="fa fa-circle-o-notch fa-spin fa-fw"></i>
<span class="sr-only">Loading ...</span>
Expand All @@ -49,10 +49,10 @@
<div class="status-container col-sm">
<div class="status">
<h5 class="lang en">CO<sub>2</sub> savings</h5>
<h5 class="lang de">CO<sub>2</sub>-Einsparung</h5>
<h5 class="lang de">CO<sub>2</sub>-einsparung</h5>
<p class="meter" id="co2">
<i class="fa fa-circle-o-notch fa-spin fa-fw"></i>
<span class="sr-only">Loading ...</span>
<span class="sr-only">loading ...</span>
</p>
<div class="line"></div>
</div>
Expand All @@ -63,12 +63,14 @@
<div class="row">
<div class="footer-container col-12">
<a href="https://github.com/philipptrenz/sunportal"><i class="fa fa-github fa-2" aria-hidden="true" style="padding-right: 10px;"></i>github.com/philipptrenz/sunportal</a></div>
<a href="https://github.com/philipptrenz/sunportal">
<i class="fa fa-github fa-2" aria-hidden="true" style="padding-right: 10px;"></i>github.com/philipptrenz/sunportal
</a>
</div>
</div>
</div>
</div>
<script src="./js/jquery-3.3.1.js"></script>
<script src="./js/moment.min.js"></script>
<script src="./js/chart.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion html/update.php
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@
";
$rs = $db->query($query);
$row = $rs->fetchArray(SQLITE3_ASSOC);
$row = $rs->fetchArray(SQLITE3_ASSOC);
$dayTotal = $row['EToday'];


Expand Down

0 comments on commit dd20799

Please sign in to comment.