-
Notifications
You must be signed in to change notification settings - Fork 19
/
index.base.html
221 lines (194 loc) · 8.5 KB
/
index.base.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
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>{{i18n.index.title}}</title>
<link rel="stylesheet" href="css/bootstrap.min.css">
<link rel="stylesheet" href="css/justifiedGallery.min.css">
<link rel="stylesheet" href="css/main.css">
<noscript>
<link rel="stylesheet" href="css/noscript.css">
</noscript>
</head>
<body>
<div id="alert-placeholder"></div>
<div class="container-fluid how-it-works-screen display-none yes-script" id="how-it-works-screen">
<button type="button" class="close" aria-label="Close"><span aria-hidden="true">×</span></button>
<div class="row row-1">
<div class="col-sm-3 how-it-works-col-1">
<img class="how-it-works-image" src="images/how_it_works-1.svg">
</div>
<div class="col-sm-3 how-it-works-col-2">
<img class="how-it-works-image" src="images/how_it_works-2.svg">
</div>
<div class="col-sm-3 how-it-works-col-3">
<img class="how-it-works-image" src="images/how_it_works-3.svg">
</div>
<div class="col-sm-3 how-it-works-col-4">
<img class="how-it-works-image" src="images/how_it_works-4.svg">
</div>
</div>
<div class="row row-2">
<div class="col-sm-3 how-it-works-col-1">
<p>
{{i18n.index.how-it-works-1}}
</p>
</div>
<div class="col-sm-3 how-it-works-col-2">
<p>
{{i18n.index.how-it-works-2}}
</p>
</div>
<div class="col-sm-3 how-it-works-col-3">
<p>
{{i18n.index.how-it-works-3}}
</p>
</div>
<div class="col-sm-3 how-it-works-col-4">
<p>
{{i18n.index.how-it-works-4}}
</p>
</div>
</div>
</div>
<div class="screen landing-screen" id="landing-screen">
<div class="clearfix"></div>
<div class="wrapper head-wrapper">
<div class="dropdown language-dropdown">
<button class="dropdown-toggle" type="button" id="languageSelector" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
<img src="images/wikimedia_icon_language.svg"/>
<span>{{i18n.lang}}</span>
<span class="caret caret-gray"></span>
</button>
<ul class="dropdown-menu" aria-labelledby="dropdownMenu1">
{{ languageOptions }}
</ul>
</div>
</div>
<div class="wrapper top-wrapper">
<div class="heading">
<h1>{{i18n.index.title}}</h1>
<h2>{{i18n.index.description}}</h2>
</div>
<div class="how-it-works yes-script">
<button class="green-btn track-click" data-track-category="Navigation" data-track-event="How it works" id="how-it-works-button">{{i18n.index.how-it-works}}</button>
</div>
</div>
<form id="file-form" class="yes-script" onsubmit="return false;">
<input id="file-form-input" type="text" inputmode="url" name="file" placeholder="{{i18n.index.input-placeholder}}" value="{{url}}" autofocus><button type="submit" class="green-btn">{{i18n.index.go-button}}</button>
<div class="container-fluid display-none" id="file-form-alert">
<span class="glyphicon glyphicon-warning-sign"></span><span id="file-form-alert-placeholder">Alert</span>
</div>
</form>
<noscript>
<div class="no-script" >
<h2>{{i18n.index.no-script}}</h2>
</div>
</noscript>
<div class="attribution" id="attribution">
<noscript>
"<a href="https://commons.wikimedia.org/wiki/User:The_Photographer">The Photographer</a>, <a href="https://commons.wikimedia.org/wiki/File:A_day_of_fishing_aground.jpg">„A day of fishing aground“</a>, <a href="https://creativecommons.org/publicdomain/zero/1.0/legalcode">CC0 1.0</a>"
</noscript>
</div>
</div>
<nav class="bottom-menu">
<ul class="yes-script" >
<li><a class='track-click' data-track-category="Navigation" data-track-event="Feedback" href="#" data-toggle="modal" data-target="#feedback-modal">{{i18n.index.feedback}}</a></li>
<li><a class='track-click' data-track-category="Navigation" data-track-event="About" href="#" data-toggle="modal" data-target="#about-modal">{{i18n.index.about}}</a></li>
<li><a class='track-click' data-track-category="Navigation" data-track-event="Legal notice" href="#" data-toggle="modal" data-target="#legal-notice-modal">{{i18n.index.legal}}</a></li>
</ul>
<a href="https://wikimedia.de" target="_blank"><img id="wikimedia-logo" src="images/wmde_logo.svg" alt="Wikimedia Deutschland" /></a>
</nav>
<div class="modal ag-modal fade" id="about-modal">
<div class="modal-dialog modal-lg">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
<h4 class="modal-title">{{i18n.index.about}}</h4>
</div>
<div class="modal-body">
{{i18n.html.about}}
</div>
</div>
</div>
</div>
<div class="modal ag-modal fade" id="legal-notice-modal">
<div class="modal-dialog modal-lg">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
<h4 class="modal-title">{{i18n.index.legal}}</h4>
</div>
<div class="modal-body">
{{i18n.html.legal}}
<div class="checkbox">
<input type="checkbox" name="tracking" id="tracking-switch">
<label for="tracking-switch">{{i18n.index.legal-tracking-switch}}</label>
</div>
<p>
{{i18n.index.legal-hosting}}
</p>
</div>
</div>
</div>
</div>
<div class="modal ag-modal fade" id="feedback-modal">
<div class="modal-dialog modal-lg">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
<h4 class="modal-title">{{i18n.index.feedback}}</h4>
</div>
<form class="feedback-form" id="feedback-form" action="#" method="post">
<div class="modal-body container col-sm-12">
{{i18n.html.feedback}}
<div class="row">
<div class="col-sm-3">
<label for="name">{{i18n.index.feedback-name}}:</label>
</div>
<div class="col-sm-9">
<input type="text" id="name" name="name" class="form-control">
</div>
</div>
<div class="row">
<div class="col-sm-3">
<label for="response-email">{{i18n.index.feedback-response-email}}:</label>
</div>
<div class="col-sm-9">
<input type="text" id="response-email" name="response-email" class="form-control">
</div>
</div>
<div class="row">
<div class="col-sm-3">
<label for="feedback">{{i18n.index.feedback-body}}:</label>
</div>
<div class="col-sm-9">
<textarea id="feedback" name="feedback" class="form-control" rows="10"></textarea>
</div>
</div>
</div>
<input type="hidden" name="lang" value="{{i18n.lang}}">
<div class="modal-footer">
<button type="submit" class="green-btn">{{i18n.index.feedback-submit}}</button>
</div>
</form>
</div>
</div>
</div>
<div class="modal ag-modal fade" id="private-use-modal">
<div class="modal-dialog modal-lg">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
<h4 class="modal-title">{{i18n.index.private-use}}</h4>
</div>
<div class="modal-body">
{{i18n.html.private-use}}
</div>
</div>
</div>
</div>
<div class="screen display-none" id="results-screen"></div>
<script src="js/bundle.min.js"></script>
</body>
</html>