mirror of
https://github.com/badlogic/heissepreise.git
synced 2024-06-30 12:27:15 +02:00
Show number of results in changes.html, fix search input width.
This commit is contained in:
parent
4302ed8137
commit
53fd866617
|
@ -25,6 +25,7 @@
|
||||||
<label><input id="decreases" type="checkbox" checked="true">Billiger</label>
|
<label><input id="decreases" type="checkbox" checked="true">Billiger</label>
|
||||||
<label><input id="fullhistory" type="checkbox" checked="true">Gesamte Preishistorie</label>
|
<label><input id="fullhistory" type="checkbox" checked="true">Gesamte Preishistorie</label>
|
||||||
</div>
|
</div>
|
||||||
|
<div id="results"></div>
|
||||||
<table id="result"></table>
|
<table id="result"></table>
|
||||||
</div>
|
</div>
|
||||||
<script src="utils.js"></script>
|
<script src="utils.js"></script>
|
||||||
|
|
|
@ -89,6 +89,7 @@ function showResults(items, today) {
|
||||||
}
|
}
|
||||||
table.appendChild(itemToDOM(item));
|
table.appendChild(itemToDOM(item));
|
||||||
}
|
}
|
||||||
|
document.querySelector("#results").innerText = "Resultate: " + changedItems.length;
|
||||||
}
|
}
|
||||||
|
|
||||||
load();
|
load();
|
|
@ -27,7 +27,6 @@ a {
|
||||||
.search {
|
.search {
|
||||||
margin: 20px 0;
|
margin: 20px 0;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
max-width: 30em;
|
|
||||||
font-size: 1em;
|
font-size: 1em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user