summaryrefslogtreecommitdiffstats
path: root/templates/administration/template.html
blob: fd357b3dbb4f7a20047dbfde99b8707b1cc4082d (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
<div class="container">
	<div class="panel panel-default">
		<div class="panel-heading">
			{{template}}
		</div>
		<div class="panel-body">
			<p>{{lang_templateAdminHelp}}
			<form action="?do=Admin" method="post">
				<table class="table table-hover">
					<thead>
						<tr>
							<th>Mustache Tag</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>
						{{#tags}}
							<tr class="{{class}}">
								<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>
						{{/tags}}
					</tbody>
				</table>
				<a class="btn btn-primary" href='?do=Admin' >{{lang_back}}</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>