summaryrefslogtreecommitdiffstats
path: root/templates/administration/messages.html
blob: 76d2d1e07581e47830749f73b16f392e785681ed (plain) (blame)
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
<div class="container">
	<div class="panel panel-default">
		<div class="panel-heading">
			{{lang_messages}}
		</div>
		<div class="panel-body">
			<p>{{lang_templateMessagesHelp}}
			<form action="?do=Admin" method="post">
		</div>
		<table class="table table-hover">
			<thead>
				<tr>
					<th>{{lang_messages}}</th>
					<th style='text-align:center;'>{{lang_germanJSON}}</th>
					<th style='text-align:center;'>{{lang_englishJSON}}</th>
					<th style='text-align:center;'>{{lang_portugueseJSON}}</th>
				</tr>
			</thead>
			<tbody>
				{{#msgs}}
					<tr>
						<td>{{tag}}</td>
						<td style='width:250px;text-align:center;'>
							<input type="text" class="form-control" placeholder="{{lang_germanTAG}}" value="{{de}}" name="lang-de-{{tag}}">
						</td>
						<td style='width:250px;text-align:center;'>
							<input type="text" class="form-control" placeholder="{{lang_englishTAG}}" value="{{en}}" name="lang-en-{{tag}}">
						</td>
						<td style='width:250px;text-align:center;'>
							<input type="text" class="form-control" placeholder="{{lang_portugueseTAG}}" value="{{pt}}" name="lang-pt-{{tag}}">
						</td>
					</tr>
				{{/msgs}}
			</tbody>
		</table>
		<table class="table table-hover">
			<thead>
				<tr>
					<th>{{lang_messagesHardcoded}}</th>
					<th style='text-align:center;'>{{lang_germanJSON}}</th>
					<th style='text-align:center;'>{{lang_englishJSON}}</th>
					<th style='text-align:center;'>{{lang_portugueseJSON}}</th>
				</tr>
			</thead>
			<tbody>
				{{#msgsHC}}
					<tr>
						<td>{{tag}}</td>
						<td style='width:250px;text-align:center;'>
							<input type="text" class="form-control" placeholder="{{lang_germanTAG}}" value="{{de}}" name="lang-de-{{tag}}">
						</td>
						<td style='width:250px;text-align:center;'>
							<input type="text" class="form-control" placeholder="{{lang_englishTAG}}" value="{{en}}" name="lang-en-{{tag}}">
						</td>
						<td style='width:250px;text-align:center;'>
							<input type="text" class="form-control" placeholder="{{lang_portugueseTAG}}" value="{{pt}}" name="lang-pt-{{tag}}">
						</td>
					</tr>
				{{/msgsHC}}
			</tbody>
		</table>
		<div class="panel-body">
			<a class="btn btn-primary" href='?do=Admin' >{{lang_back}}</a> 
			<a class="btn btn-primary" href='?do=Admin' >{{lang_newTag}}</a> 
			<input type="hidden" name="update" value="true">
			<input type="hidden" name="path" value="{{path}}">
			<input type="hidden" name="token" value="{{token}}">
			<input type="submit" class="btn btn-primary" value="{{lang_update}}">
			</form>
		</div>
	</div>
</div>