forked from yangzhong-freebsd/lua-httpd
-
Notifications
You must be signed in to change notification settings - Fork 0
/
lang.html
47 lines (43 loc) · 1.39 KB
/
lang.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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>{{lang["Install FreeBSD"][cur_lang]}}</title>
<link rel="stylesheet" href="/style">
</head>
<body>
<div class="wrapper">
<menu class="breadcrumbs">
<a href="/">{{lang["Home"][cur_lang]}}</a> > {{lang["Select language"][cur_lang]}}
</menu>
<header class="section">
<h1 class="title">{{lang["Select installer language"][cur_lang]}}</h1>
</header>
<form action="/setlanguage" method="POST">
<div class="section-box">
<div class="field">
<div class="control">
<label>
<span class="label">{{lang["Language"][cur_lang]}}</span>
<select id="language" name="language">
{% for code, l in pairsByKeys(languages) do %}
<option {{selected(code == cur_lang)}} value="{{code}}">{{l.name}}</option>
{% end %}
</select>
</label>
</div>
</div>
<p class="description">{{lang["Choosing a language also allows the installer to pick reasonable default options."][cur_lang]}}</p>
</div>
<div class="section">
<div class="field">
<div class="control">
<button class="button primary" type="submit">{{lang["Confirm"][cur_lang]}}</button>
</div>
</div>
</div>
</form>
</div>
</body>
</html>