modifications

This commit is contained in:
2019-12-26 16:36:31 +01:00
parent f42d5bca64
commit 41592fba38
7 changed files with 7473 additions and 4 deletions
+2 -3
View File
@@ -9,14 +9,13 @@
<link href="static/bulma-calendar/css/bulma-calendar.min.css" rel="stylesheet">
<script src="static/bulma-calendar/js/bulma-calendar.min.js"></script>
<div>
<div class="column is-half is-gapless">
<div id="reportrange" style="background: #fff; cursor: pointer; padding: 5px 10px; border: 1px solid #ccc; width: 100%">
<i class="fa fa-calendar"></i>&nbsp;
<span></span> <i class="fa fa-caret-down"></i>
</div>
</div>
<script type="text/javascript">
$(function() {
@@ -144,7 +143,7 @@ if (sPageURL.search("property=t") > -1) {
maxfunc = function(max) { return 100 }
} else if (sPageURL.search("property=w") > -1) {
label = 'Gewicht';
minfunc = function(min) { if (min < 5000000) { return min - 2000 } else { return min - 1000 } }
minfunc = function(min) { if (min > 40000) { return min - 2000 } else { return 0 } }
maxfunc = function(max) { return max + 2000 }
} else if (sPageURL.search("property=h") > -1) {
label = 'Luftfeuchtigkeit';