mirror of
https://github.com/zaphar/Heracles.git
synced 2025-07-23 12:39:50 -04:00
ui: The labels weren't useful.
This commit is contained in:
parent
498b472bf1
commit
584cb237fe
@ -172,12 +172,9 @@ class TimeseriesGraph extends HTMLElement {
|
||||
}
|
||||
|
||||
buildSelectElement(key) {
|
||||
// TODO(jwall): Should we have a select all?
|
||||
var id = key + "-select" + Math.random();
|
||||
const element = document.createElement("div");
|
||||
const label = document.createElement("label");
|
||||
label.innerText = key + ": ";
|
||||
label.setAttribute("for", id);
|
||||
element.appendChild(label);
|
||||
const select = document.createElement("select");
|
||||
select.setAttribute("name", id);
|
||||
select.setAttribute("multiple", true);
|
||||
|
Loading…
x
Reference in New Issue
Block a user