* right versioning and buildtime variables

* new INFO object to store buildtime and version
This commit is contained in:
2019-12-10 16:43:42 +01:00
parent 0f33a475a4
commit 73d6c86fe3
8 changed files with 85 additions and 3 deletions

View File

@ -379,7 +379,7 @@
<!-- /.content-wrapper -->
<footer class="main-footer">
<strong>By Gregor Dutzler & Lukas Heiligenbrunner & Emil Meindl</strong>
<div class="float-right d-none d-sm-inline-block">
<div id="version-footer-label" class="float-right d-none d-sm-inline-block">
<b>Version</b> 3.0.0
<b>Build</b> 2019-8-8 9:30
</div>

View File

@ -30,6 +30,13 @@ $(document).ready(function () {
$("#finished-collection-label").html(data.collectionnumber);
}, 'json');
//load version footer
//
$.post('/senddata/wastedata', 'action=getversionandbuildtime', function (data) {
$("#version-footer-label").html("<b>Version</b> "+data.version+" <b>Build</b> "+data.buildtime);
}, 'json');
var citytable;
function reloadtable() {

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB