-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
148 lines (147 loc) · 7.6 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
<!DOCTYPE html>
<html lang="de">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>B-Baum-Animation</title>
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<div class="control">
<header class="main-header">
<span id="btreeInformation">
Eine Weiterentwicklung des <a href="https://github.com/ORCA-nrw/b-tree">B-Baum-Zeichners</a> der TH Köln <br>
V.12-2023
</span>
<h1>B-Baum-Animation</h1>
</header>
<div class="form" id="firstRowInput">
<div>
<div class="form-inputs">
<span class="tooltip">
<input type="text" id="treeInputInsert" maxlength="8">
<span class="tooltiptext" id="tooltipInsertfield" style="width: 160px; left: 10px; bottom: 175%">Hier Wert eingeben</span>
</span>
<span class="tooltip">
<button type="button" id="submitInsert">Einfügen</button>
<span class="tooltiptext" id="tooltipInsert">Wert einfügen</span>
</span>
<span class="tooltip">
<button type="button" id="submitDelete">Löschen</button>
<span class="tooltiptext" id="tooltipDelete">Wert löschen</span>
</span>
<span class="tooltip">
<button type="button" id="animationPause">||</button>
<span class="tooltiptext" id="tooltipPauseAnimation" >Animation pausieren</span>
</span>
<span class="tooltip">
<button type="button" id="submitUndo">Rückgängig</button>
<span class="tooltiptext" id="tooltipUndo" style="width: 260px">Letzten Schritt rückgängig machen</span>
</span>
<button type="button" id="submitReset">Baum löschen</button>
<button type="button" id="importButton">Import</button>
<button type="button" id="helpButton">Weitere Informationen</button>
</div>
<div class="form-animation">
<div id="sliderDiv" class ="tooltip">
<label id="animationsgeschwindigkeit" for="animationCheckbox">Animation: an</label>
<input type="checkbox" class="checkbox" id="animationCheckbox" checked>
<label for="animationsgeschwindigkeitslider"></label>
<input class="slider" type="range" min="1" max="13" value="7" step="2" id="animationsgeschwindigkeitslider">
</div>
</div>
</div>
<div>
<form class="radio-grid-container">
<div class="tree-type">
<span class="tooltip">
<label for="treeInputInsert"></label>
<label style="font-weight: bold">Typ des Baumes:</label>
<span class="tooltiptext" style="width: 325px; left: -5px; bottom: 140%"> Bestimmt die mögliche Anzahl an Elementen pro Knoten und möglicher Nachfolger</span>
</span>
<span class="tooltip">
<input type="radio" id="treeType1" checked="checked" value="1" name="treeType">
<label for="treeType1">1</label>
<span class="tooltiptext tooltipRadio"> bis zu 2 Elemente je Knoten</span>
</span>
<span class="tooltip">
<input type="radio" id="treeType2" value="2" name="treeType">
<label for="treeType2">2</label>
<span class="tooltiptext tooltipRadio"> bis zu 4 Elemente je Knoten</span>
</span>
<span class="tooltip">
<input type="radio" id="treeType3" value="3" name="treeType">
<label for="treeType3">3</label>
<span class="tooltiptext tooltipRadio"> bis zu 6 Elemente je Knoten</span>
</span>
<span class="tooltip">
<input type="radio" id="treeType4" value="4" name="treeType">
<label for="treeType4">4</label>
<span class="tooltiptext tooltipRadio"> bis zu 8 Elemente je Knoten</span>
</span>
<span class="tooltip">
<input type="radio" id="treeType5" value="5" name="treeType">
<label for="treeType5">5</label>
<span class="tooltiptext tooltipRadio"> bis zu 10 Elemente pro Knoten</span>
</span>
</div>
<div class="change-button">
<button type="button" id="changeType" style="margin-left: 10px">Ändern</button>
</div>
</form>
</div>
</div>
<div id="importModal" class="modal">
<div class="modal-content">
<span class="close-button">×</span>
<p>Import</p>
<input type="radio" id="numbersExample" checked="checked" value="numbers" name="treeType">
<label for="numbersExample">Zahlen-Beispiel: 1, 3, 5, 7, 19, 17, 15, 13, 11, 9 </label><br>
<input type="radio" id="wordsExample" value="words" name="treeType">
<label for="wordsExample">Wort-Beispiel: Koch, Wolf, Klein, Braun, Jung </label><br>
<input type="radio" id="ownExample" value="own" name="treeType">
<label for="ownExample">Eigene Datei: </label>
<input id="btreeUpload" disabled="true" type="file">
<button type="button" id="drawFromFile">Zeichne Baum</button>
</div>
</div>
</div>
<div class="content">
<div class="container">
<div id="explanation-container">
<p id="explanation-text">Platzhalter</p>
</div>
<div id="canvas-container">
<canvas id="myCanvas"></canvas>
</div>
</div>
<script src="js/btree.js"></script>
<script src="js/canvas.js"></script>
</div>
<div class="footer">
<table>
<tr><td>
<a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/">
<img alt="Creative Commons License" style="border-width:0; height: 50px" src="logos/licence-logo.png" />
</a><br>
This work is licensed under a <br>
<a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/">Creative Commons Attribution-ShareAlike 4.0 International License</a>.
</td>
<td>
<img src="logos/EILD-Logo.png" alt="EILD-Logo"/>
</td>
<td>
<img src="logos/eBusiness-Logo.png" alt="eBusiness-Logo" />
</td>
<td>
<img src="logos/HSD-Logo.jpeg" alt="HSD-Logo"/>
</td>
<td>
<img src="logos/DH-NRW-Logos.png" alt="DH-NRW-Logo" style="float:right" />
</td>
<br>
</tr>
</table>
</div>
</body>
</html>