forked from msteudtn/Mat-O-Wahl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
executable file
·195 lines (137 loc) · 6.65 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
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
<!DOCTYPE html>
<html lang="en">
<head>
<title>Mat-O-Wahl</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="keywords" content="Mat-O-Wahl, MatOWahl, Demokratie, Wahlen, elections, vote, Wahlbeteiligung, Fragebogen, Antworten, Positionen, Entscheidung, Hilfe, Politik, Bürgermeister, Stadtrat, Kommunalwahl, Fachschaftsrat, Studentenrat, StuRa, Studentenparlament, Studierendenparlament, StuPa, AStA, Kreisrat, Landrat, Volksabstimmung, Plebiszit, Klon, clone, Alternative, GPL, Open Source, JavaScript, Freeware, kostenlos"/>
<meta name="robots" content="index, follow" />
<meta name="language" content="de" />
<meta name="Content-Language" content="de" />
<meta name="author" content="Mathias Steudtner"/>
<meta name="description" content="Mat-O-Wahl" />
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="anonymous">
<!-- Latest compiled and minified JavaScript -->
<script src="https://code.jquery.com/jquery-3.3.1.min.js" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/js/bootstrap.min.js" integrity="sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy" crossorigin="anonymous"></script>
<!-- Mat-o-Wahl EINSTELLUNGEN (Javascript) -->
<script type="text/javascript" src="data/definition.js"></script>
<!-- Mat-o-Wahl JAVASCRIPT und CSS - dynamisch eingebunden auf Basis DEFINITION.JS -->
<script type="text/javascript">
document.writeln("<link rel='stylesheet' type='text/css' href='styles/"+design+".css' />");
document.writeln("<script type='text/javascript' src='i18n/i18n_"+language+".js'><"+String.fromCharCode(47)+"script>");
// $.getScript( "i18n/i18n_"+language+".js", function( data, textStatus, jqxhr ){ })
// -> wäre eleganter aber lädt zu langsam / unzuverlässig
</script>
<!-- Mat-o-Wahl CSS -->
<link rel="stylesheet" type="text/css" href="styles/speechbubble.css">
<link rel="stylesheet" type="text/css" href="styles/bootstrap-flat-toggle-switch.css">
<!-- Mat-o-Wahl JAVASCRIPT -->
<script type="text/javascript" src="system/jquery.csv-0.8.9.min.js"></script>
<script type="text/javascript" src="system/general.js"></script>
<script type="text/javascript" src="system/output.js"></script>
</head>
<body>
<div class="container container-fluid theme-showcase">
<!-- 1. BESCHREIBUNG / DESCRIPTION -->
<div class="row">
<div class="col">
<div id="heading1">
<h1>Überschrift zur Wahl/Thema der Wahl <br /> Main Headline </h1>
</div>
<div id="heading2">
<h2>Unterüberschrift <br /> Second headline</h2>
</div>
<div id="explanation">
<p>Kurze Beschreibung der Wahl, wer wird gewählt, wann, warum, für wie lange, usw. <br /> Short (explaining) text on what's the election about</p>
</div>
<div id="content" class="bubble">
<p>
Frage(n) zu den verschiedenen Positionen an die Parteien bzw. Kandidaten.
<br /> Question(s) on the different party/candidate positions
</p>
</div>
</div>
</div>
<!-- 2. ERGEBNISSE / RESULTS -->
<div class="row">
<div class="col">
<div id="headingResults">
<h3>Überschrift für die Ergebnisse/Resultate <br /> Headline for the results</h3>
</div>
<div id="resultsShort">
<p>Ergebnisse / Resultate der Parteien in tabellarischer Form <br /> Table with results (short)</p>
</div>
<div id="resultsLong">
<p>Detaillierte Ergebnisse / Resultate mit eigener Meinung in tabellarischer Form <br /> Table with results (long / detailed)</p>
</div>
</div>
</div>
<!-- 3. BUTTONS -->
<div class="row" id="voting">
<div class="col">
<button type="button" id="votingPro" class="btn btn-success btn-lg btn-block">[✔] Pro</button>
</div>
<div class="col">
<button type="button" id="votingNeutral" class="btn btn-warning btn-lg btn-block">[◯] Neutral</button>
</div>
<div class="col">
<button type="button" id="votingContra" class="btn btn-danger btn-lg btn-block">[✖] Contra</button>
</div>
<div class="col">
<button type="button" id="votingSkip" class="btn btn-default btn-lg btn-block">[↷] Skip</button>
</div>
<div class="col">
<button type="button" id="votingDouble" onclick="fnChangeVotingDouble()" class="btn btn-outline-dark btn-lg btn-block">[x2] Important</button>
</div>
</div>
<!-- 4. FORTSCHRITTSZÄHLER / PROGRESS COUNTER -->
<div class="progress" id="progress">
<div class="progress-bar" id="progress-bar" style="width:10%"></div>
</div>
<div class="row">
<div class="col">
<div id="jumpToQuestion" style="display:none; width:100%">
Gehe direkt zu Frage Nummer XY.
Jump to Question XY directly
</div>
</div>
</div>
<!-- 5. CHECKBOX: STATISTIK j/n / STATISTICS y/n -->
<div class="row" id="keepStats">
<div class="col">
<label class="switch">
<input type="checkbox" id="keepStatsCheckbox" />
<span class="slider"></span>
</label>
<span id="keepStatsQuestion">
Statistik erlauben? <br /> Allow statistics?
</span>
</div>
</div>
<!-- 6. IMPRESSUM, NEUSTART, SOCIAL MEDIA / IMPRINT, RESTART, SOCIAL MEDIA -->
<div class="row">
<div class="col">
<a class="btn btn-outline-dark btn-block btn-sm" role="button" href="system/imprint.html" target="_blank" id="imprint">Button Impressum / Legal</a>
</div>
<div class="col" >
<a class='btn btn-outline-dark btn-block btn-sm' role='button' href='index.html' id="restart">Button Neustart / Restart</a>
</div>
<div class="col">
<a class="btn btn-block btn-sm social-facebook" role='button' onclick="window.open('https://www.facebook.com/sharer/sharer.php?u=' + encodeURIComponent(location.href) + '&title='+encodeURIComponent(document.title), '_blank', 'location=yes,height=480,width=640,scrollbars=yes,status=yes'); return false;" title="Share on Facebook">
facebook</a>
</div>
<div class="col">
<a class="btn btn-block btn-sm social-twitter" role='button' onclick="window.open('https://twitter.com/share?url=' + encodeURIComponent(location.href) + '&title='+encodeURIComponent(document.title), '_blank', 'location=yes,height=480,width=640,scrollbars=yes,status=yes'); return false;" title="Share on Twitter">
Twitter</a>
</div>
</div>
</div>
<script type="text/javascript">
$(document).ready(function() {
fnStart();
});
</script>
</body>
</html>