41 lines
1.1 KiB
HTML
41 lines
1.1 KiB
HTML
<form autocomplete="off" onsubmit="event.preventDefault()">
|
|
|
|
<style>
|
|
.columnLabel {
|
|
max-width:30%;
|
|
min-width:30%;
|
|
text-align: left;
|
|
}
|
|
.columnId {
|
|
max-width:25%;
|
|
min-width:25%;
|
|
text-align: left;
|
|
text-overflow: hidden;
|
|
}
|
|
.columnCB {
|
|
width:10%;
|
|
text-align: left;
|
|
}
|
|
</style>
|
|
|
|
<table style="width:100%; min-width:400px">
|
|
<tr>
|
|
<th class='columnLabel'>{{localize "MaterialDeck.Name"}}</th>
|
|
<th class='columnLabel'>{{localize "MaterialDeck.Type"}}</th>
|
|
<th class='columnId'>{{localize "MaterialDeck.Id"}}</th>
|
|
<th class='columnCB'>{{localize "MaterialDeck.Perm.ENABLE.ENABLE.label"}}</th>
|
|
</tr>
|
|
{{#each devices as |d|}}
|
|
<tr>
|
|
<td class='columnLabel'>{{d.name}}</td>
|
|
<td class='columnLabel'>{{d.type}}</td>
|
|
<td class='columnId'><input type="text" value={{d.id}} disabled></td>
|
|
<td class='columnCB'><input type="checkbox" name="enable" id={{d.id}} {{checked d.en}}></td>
|
|
</tr>
|
|
{{/each}}
|
|
|
|
</table>
|
|
|
|
|
|
|
|
</form> |