This commit is contained in:
schrom01
2023-02-14 12:13:53 +01:00
parent 6264340b58
commit 5e0793c7fc
3 changed files with 51 additions and 17 deletions
+22 -9
View File
@@ -1,6 +1,7 @@
<html>
<head>
<meta charset="UTF-8">
<link rel="stylesheet" href="css/custom.css">
<link rel="stylesheet" href="css/bootstrap.css">
</head>
@@ -15,7 +16,7 @@
<input class="form-control" type="text" id="topicInput" placeholder="Thema hier eingeben">
</td>
<td>
<button class="btn btn-primary" onclick="closeTopic()">
<button class="" onclick="closeTopic()">
Thema abschliessen
</button>
</td>
@@ -43,25 +44,36 @@
0
</td>
</tr>
<tr>
<td id="count-0">
0
</td>
<td id="count-1">
0
</td>
<td id="count-2">
0
</td>
</tr>
<tr>
<td>
<button class="btn btn-primary" onclick="start(0)">Beginnt zu Reden</button>
<button class="" onclick="start(0)">Beginnt zu Reden</button>
</td>
<td>
<button class="btn btn-primary" onclick="start(1)">Beginnt zu Reden</button>
<button class="" onclick="start(1)">Beginnt zu Reden</button>
</td>
<td>
<button class="btn btn-primary" onclick="start(2)">Beginnt zu Reden</button>
<button class="" onclick="start(2)">Beginnt zu Reden</button>
</td>
</tr>
<tr>
<td colspan="3">
<button class="btn btn-primary" style="width: 98%;" onclick="stop()">Hört auf zu Reden, -> Stille</button>
<button class="" style="width: 98%;" onclick="stop()">Hört auf zu Reden, -> Stille</button>
</td>
</tr>
<tr>
<td colspan="3">
<button class="btn btn-primary" style="width: 98%;" onclick="resetButton()">Reset</button>
<button class="" style="width: 98%;" onclick="resetButton()">Reset</button>
</td>
</tr>
</table>
@@ -73,11 +85,11 @@
<H2>Abgeschlossene Themen</H2>
<button class="btn btn-primary" onclick="buttonDeleteAllClosedTopics()">alle Löschen</button>
<table border="1">
<button class="" onclick="buttonDeleteAllClosedTopics()">alle Löschen</button>
<table class="table-bordered">
<thead>
<tr>
<th style="min-width: 300px;">
<th style="min-width: 100px;">
Thema
</th>
<th style="min-width: 100px;">
@@ -109,6 +121,7 @@
if(!closedTopics) {
closedTopics = []
}
watches = JSON.parse(localStorage.getItem("watches"))
if(!watches){
reset()