Compare commits
2 commits
b41127e325
...
a14f3aa0d5
Author | SHA1 | Date | |
---|---|---|---|
|
a14f3aa0d5 | ||
|
3c39f91082 |
3 changed files with 81 additions and 1 deletions
|
@ -63,4 +63,37 @@ background-color: #4CAF50;
|
||||||
}
|
}
|
||||||
.toast.error {
|
.toast.error {
|
||||||
background-color: #f44336;
|
background-color: #f44336;
|
||||||
|
}
|
||||||
|
input[type=range] {
|
||||||
|
-webkit-appearance: none;
|
||||||
|
width: 70%;
|
||||||
|
height: 7px;
|
||||||
|
margin: 4px 0;
|
||||||
|
background-color: #ddd;
|
||||||
|
}
|
||||||
|
input[type=range]:focus {
|
||||||
|
outline: none;
|
||||||
|
}
|
||||||
|
input[type=range]::-webkit-slider-thumb {
|
||||||
|
-webkit-appearance: none;
|
||||||
|
appearance: none;
|
||||||
|
width: 15px;
|
||||||
|
height: 15px;
|
||||||
|
border-radius: 10%;
|
||||||
|
background-color: #a1a1a1;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
input[type=range]::-moz-range-thumb {
|
||||||
|
width: 15px;
|
||||||
|
height: 15px;
|
||||||
|
border-radius: 10%;
|
||||||
|
background-color: #a1a1a1;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
input[type=range]::-ms-thumb {
|
||||||
|
width: 15px;
|
||||||
|
height: 15px;
|
||||||
|
border-radius: 10%;
|
||||||
|
background-color: #a1a1a1;
|
||||||
|
cursor: pointer;
|
||||||
}
|
}
|
|
@ -63,4 +63,37 @@ background-color: #4CAF50;
|
||||||
}
|
}
|
||||||
.toast.error {
|
.toast.error {
|
||||||
background-color: #f44336;
|
background-color: #f44336;
|
||||||
|
}
|
||||||
|
input[type=range] {
|
||||||
|
-webkit-appearance: none;
|
||||||
|
width: 70%;
|
||||||
|
height: 7px;
|
||||||
|
margin: 4px 0;
|
||||||
|
background-color: #ddd;
|
||||||
|
}
|
||||||
|
input[type=range]:focus {
|
||||||
|
outline: none;
|
||||||
|
}
|
||||||
|
input[type=range]::-webkit-slider-thumb {
|
||||||
|
-webkit-appearance: none;
|
||||||
|
appearance: none;
|
||||||
|
width: 15px;
|
||||||
|
height: 15px;
|
||||||
|
border-radius: 10%;
|
||||||
|
background-color: #a1a1a1;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
input[type=range]::-moz-range-thumb {
|
||||||
|
width: 15px;
|
||||||
|
height: 15px;
|
||||||
|
border-radius: 10%;
|
||||||
|
background-color: #a1a1a1;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
input[type=range]::-ms-thumb {
|
||||||
|
width: 15px;
|
||||||
|
height: 15px;
|
||||||
|
border-radius: 10%;
|
||||||
|
background-color: #a1a1a1;
|
||||||
|
cursor: pointer;
|
||||||
}
|
}
|
|
@ -1,5 +1,18 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Prüfen, ob wir im data-Verzeichnis sind
|
||||||
|
if [[ $(basename "$PWD") != "data" ]]; then
|
||||||
|
echo "Fehler: Bitte wechseln Sie in das 'data'-Verzeichnis"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Prüfen, ob der HTML-Ordner im übergeordneten Verzeichnis existiert
|
||||||
|
if [[ ! -d "../html" ]]; then
|
||||||
|
echo "Fehler: Das Verzeichnis '../html' existiert nicht"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo "Creating html files..."
|
||||||
bash ../../tools/html2string.sh ../html/index_template_top.html > index_template_top.html
|
bash ../../tools/html2string.sh ../html/index_template_top.html > index_template_top.html
|
||||||
bash ../../tools/html2string.sh ../html/index_template_middle.html > index_template_middle.html
|
bash ../../tools/html2string.sh ../html/index_template_middle.html > index_template_middle.html
|
||||||
bash ../../tools/html2string.sh ../html/index_template_bottom.html > index_template_bottom.html
|
bash ../../tools/html2string.sh ../html/index_template_bottom.html > index_template_bottom.html
|
||||||
|
@ -7,4 +20,5 @@ bash ../../tools/html2string.sh ../html/config_template.html > config_template.h
|
||||||
bash ../../tools/html2string.sh ../html/light_control_template.html > light_control_template.html
|
bash ../../tools/html2string.sh ../html/light_control_template.html > light_control_template.html
|
||||||
bash ../../tools/html2string.sh ../html/top.js > top.js
|
bash ../../tools/html2string.sh ../html/top.js > top.js
|
||||||
bash ../../tools/html2string.sh ../html/bottom.js > bottom.js
|
bash ../../tools/html2string.sh ../html/bottom.js > bottom.js
|
||||||
cp -av ../html/style.css .
|
cp -av ../html/style.css . > /dev/null
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue