Spaces:
Running
Running
Séparation du css du html
Browse files- jericho/static/index.html +4 -12
- jericho/static/main.js +1 -1
- jericho/static/style.css +17 -0
jericho/static/index.html
CHANGED
|
@@ -81,19 +81,11 @@
|
|
| 81 |
<label>Nom de la création :</label>
|
| 82 |
<input type="text" id="seq-name" placeholder="ex: sequence_test_01" />
|
| 83 |
</div>
|
| 84 |
-
<div id="sequence-list"
|
| 85 |
-
<button
|
| 86 |
-
id="add-emotion-btn"
|
| 87 |
-
class="btn-primary"
|
| 88 |
-
style="background-color: #27ae60"
|
| 89 |
-
>
|
| 90 |
+ Ajouter une émotion
|
| 91 |
</button>
|
| 92 |
-
<button
|
| 93 |
-
id="save-seq-btn"
|
| 94 |
-
class="btn-primary"
|
| 95 |
-
style="background-color: #8e44ad; margin-left: 10px"
|
| 96 |
-
>
|
| 97 |
Enregistrer la séquence
|
| 98 |
</button>
|
| 99 |
<p id="seq-msg"></p>
|
|
@@ -106,7 +98,7 @@
|
|
| 106 |
<button id="launch-sync-btn" class="btn-success">
|
| 107 |
[►] Lire vidéo + robot synchronisés
|
| 108 |
</button>
|
| 109 |
-
<button id="launch-seq-btn" class="btn-success"
|
| 110 |
[►] Lire la séquence (sans vidéo)
|
| 111 |
</button>
|
| 112 |
<p class="sync-hint">
|
|
|
|
| 81 |
<label>Nom de la création :</label>
|
| 82 |
<input type="text" id="seq-name" placeholder="ex: sequence_test_01" />
|
| 83 |
</div>
|
| 84 |
+
<div id="sequence-list"></div>
|
| 85 |
+
<button id="add-emotion-btn" class="btn-primary">
|
|
|
|
|
|
|
|
|
|
|
|
|
| 86 |
+ Ajouter une émotion
|
| 87 |
</button>
|
| 88 |
+
<button id="save-seq-btn" class="btn-primary">
|
|
|
|
|
|
|
|
|
|
|
|
|
| 89 |
Enregistrer la séquence
|
| 90 |
</button>
|
| 91 |
<p id="seq-msg"></p>
|
|
|
|
| 98 |
<button id="launch-sync-btn" class="btn-success">
|
| 99 |
[►] Lire vidéo + robot synchronisés
|
| 100 |
</button>
|
| 101 |
+
<button id="launch-seq-btn" class="btn-success">
|
| 102 |
[►] Lire la séquence (sans vidéo)
|
| 103 |
</button>
|
| 104 |
<p class="sync-hint">
|
jericho/static/main.js
CHANGED
|
@@ -380,7 +380,7 @@ function createEmotionRow() {
|
|
| 380 |
|
| 381 |
const btnRemove = document.createElement('button');
|
| 382 |
btnRemove.textContent = '✗';
|
| 383 |
-
btnRemove.style.background = '#
|
| 384 |
btnRemove.style.color = 'white';
|
| 385 |
btnRemove.style.border = 'none';
|
| 386 |
btnRemove.style.cursor = 'pointer';
|
|
|
|
| 380 |
|
| 381 |
const btnRemove = document.createElement('button');
|
| 382 |
btnRemove.textContent = '✗';
|
| 383 |
+
btnRemove.style.background = '#c77981';
|
| 384 |
btnRemove.style.color = 'white';
|
| 385 |
btnRemove.style.border = 'none';
|
| 386 |
btnRemove.style.cursor = 'pointer';
|
jericho/static/style.css
CHANGED
|
@@ -152,4 +152,21 @@ input[type="text"], input[type="number"], input[type="url"] {
|
|
| 152 |
margin-right : 2.5%;
|
| 153 |
width : 11%;
|
| 154 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 155 |
}
|
|
|
|
| 152 |
margin-right : 2.5%;
|
| 153 |
width : 11%;
|
| 154 |
}
|
| 155 |
+
}
|
| 156 |
+
|
| 157 |
+
#sequence-list{
|
| 158 |
+
margin-bottom: 2%;
|
| 159 |
+
}
|
| 160 |
+
|
| 161 |
+
#add-emotion-btn{
|
| 162 |
+
background-color : #c77981;
|
| 163 |
+
}
|
| 164 |
+
|
| 165 |
+
#save-seq-btn{
|
| 166 |
+
background-color: #a34952;
|
| 167 |
+
margin-left: 2%;
|
| 168 |
+
}
|
| 169 |
+
|
| 170 |
+
#launch-seq-btn{
|
| 171 |
+
display: none;
|
| 172 |
}
|