genderwatchprotocol/index.html

205 lines
7.9 KiB
HTML
Raw Normal View History

2023-02-14 19:56:51 +01:00
<html lang="de">
<head>
<meta charset="UTF-8">
2023-02-16 12:44:01 +01:00
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
2023-02-16 13:01:49 +01:00
<link rel="stylesheet" href="css/custom.css?v=1.1">
2023-02-14 19:56:51 +01:00
<link rel="stylesheet" href="css/bootstrap.css">
<title>Genderwatch-protocol</title>
</head>
<body>
2023-02-16 12:44:42 +01:00
<!-- <nav class="navbar navbar-expand-lg navbar-light bg-light">-->
<!-- <a class="navbar-brand" href="index.html">Genderwatch-protocol&nbsp;</a>-->
<!-- <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="true" aria-label="Toggle navigation"> <span class="navbar-toggler-icon"></span> </button>-->
<!-- <div class="navbar-collapse collapse show" id="navbarSupportedContent">-->
<!-- <ul class="navbar-nav mr-auto">-->
2023-02-16 12:44:01 +01:00
2023-02-16 12:44:42 +01:00
<!-- <li class="nav-item active"> <a class="nav-link" href="index.html">Home</a> </li>-->
2023-02-16 12:44:01 +01:00
2023-02-16 12:44:42 +01:00
<!-- <li class="nav-item"> <a class="nav-link" href="beschreibung.php">Über uns</a> </li>-->
2023-02-16 12:44:01 +01:00
2023-02-16 12:44:42 +01:00
<!-- </ul>-->
<!-- <form class="form-inline my-2 my-lg-0">-->
<!-- </form>-->
<!-- </div>-->
<!-- </nav>-->
2023-02-16 12:54:11 +01:00
<div class="wrapper">
<section>
<div class="container">
<h1>Genderwatch-protocol</h1>
<a href="dataCollector/dataCollector.php">Alle Daten herunterladen (anonymisiert)</a>
<h2>Aktuelles Thema</h2>
<table class="table-bordered">
<tr>
<td colspan="2">
<div class="form-group">
<input class="form-control" type="text" id="topicInput" placeholder="Thema hier eingeben">
</div>
</td>
<td>
<button class="" onclick="closeTopic()">
Thema abschliessen
</button>
</td>
</tr>
<tr>
<th>
M
</th>
<th>
W
</th>
<th>
D
</th>
</tr>
<tr>
<td id="time-0">
0
</td>
<td id="time-1">
0
</td>
<td id="time-2">
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="" onclick="start(0)">Beginnt zu Reden</button>
</td>
<td>
<button class="" onclick="start(1)">Beginnt zu Reden</button>
</td>
<td>
<button class="" onclick="start(2)">Beginnt zu Reden</button>
</td>
</tr>
<tr>
<td colspan="3">
<button class="stopButton" onclick="stop()">Hört auf zu Reden, -> Stille</button>
</td>
</tr>
<tr>
<td colspan="3">
<button class="resetButton" onclick="resetButton()">Reset</button>
</td>
</tr>
</table>
</div>
<div class="container">
<H2>Abgeschlossene Themen</H2>
<button class="" onclick="buttonDeleteAllClosedTopics()">alle Löschen</button>
<table class="table-bordered">
<thead>
2023-02-14 19:56:51 +01:00
<tr>
2023-02-16 12:44:01 +01:00
<th class="tableHeader">
2023-02-14 19:56:51 +01:00
Thema
</th>
2023-02-16 12:44:01 +01:00
<th class="tableHeader">
2023-02-14 19:56:51 +01:00
M
</th>
2023-02-16 12:44:01 +01:00
<th class="tableHeader">
2023-02-14 19:56:51 +01:00
W
</th>
2023-02-16 12:44:01 +01:00
<th class="tableHeader">
2023-02-14 19:56:51 +01:00
D
</th>
</tr>
2023-02-16 12:54:11 +01:00
</thead>
<tbody id="closedTopicsTable">
</tbody>
</table>
</div>
</section>
<div class="push"></div>
</div>
2023-02-14 19:56:51 +01:00
2023-02-16 12:44:01 +01:00
<footer class="text-center">
<div class="container footer">
<div class="row">
<table>
<tr>
<td class="footer">
<div class="col-12">
<p><span><b>Impressum</b></span><br>
Maurus Pfalzgraf<br>
<a href="mailto:info@genderwatchprotocol.com">info@genderwatchprotocol.com</a></p>
</div>
</td>
<td class="footer">
<div class="col-12">
2023-02-16 19:29:41 +01:00
<p><span><b>Erstellt durch</b></span><br>
2023-02-16 12:44:01 +01:00
Silias KLG<br>
Toggenburgstrasse 31<br>
8245 Feuerthalen<br>
<a href="https://www.silias.ch" target="_blank">www.silias.ch</a><br>
2023-02-16 19:29:41 +01:00
<a href="mailto:info@silias.ch">info@silias.ch</a><br>
<a href="https://gitea.silias.ch/Silias-Public/genderwatchprotocol">Projekt Repository</a>
</p>
2023-02-16 12:44:01 +01:00
</div>
</td>
</tr>
</table>
</div>
</div>
</footer>
2023-02-14 19:56:51 +01:00
<script src="js/functions.js"></script>
<script>
2023-02-15 00:17:44 +01:00
try {
closedTopics = JSON.parse(localStorage.getItem("closedTopics"))
} catch (e) {
closedTopics = []
}
2023-02-14 19:56:51 +01:00
if(!closedTopics) {
closedTopics = []
}
2023-02-15 00:17:44 +01:00
try{
actualTopic = JSON.parse(localStorage.getItem("actualTopic"))
} catch (e) {
initializeNewTopic()
}
2023-02-14 19:56:51 +01:00
if(!actualTopic) {
initializeNewTopic()
}
document.getElementById("topicInput").value = actualTopic.name
document.getElementById("topicInput").addEventListener('keyup', saveActualTopicName);
refreshClosedTopics()
setInterval(() => {
refreshWatch(0)
refreshWatch(1)
refreshWatch(2)
}, 100);
</script>
</body>
2023-01-30 10:55:18 +01:00
</html>