add slider to change VLAN colors
This commit is contained in:
parent
8eb5ecbc30
commit
62d1719e73
14
style.css
14
style.css
@ -68,3 +68,17 @@ td {
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
}
|
||||
footer {
|
||||
display: flex;
|
||||
flex-flow: column;
|
||||
align-items: center;
|
||||
}
|
||||
#colorSlider {
|
||||
width: 33%;
|
||||
}
|
||||
@media print {
|
||||
#colorSliderLabel,
|
||||
#colorSlider {
|
||||
display: none;
|
||||
}
|
||||
}
|
@ -82,5 +82,10 @@ foreach ($vlans as $vlan) {
|
||||
</tbody>
|
||||
</table>
|
||||
</main>
|
||||
<footer>
|
||||
<label id="colorSliderLabel" for="colorSlider">Changer les couleurs</label>
|
||||
<input id="colorSlider" type="range" min="0" max="2000000" step="0.000000001" value="1353651.53435435"
|
||||
oninput="document.documentElement.style.setProperty('--k', this.value);">
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
Loading…
x
Reference in New Issue
Block a user