-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcheck_db.tpl
More file actions
43 lines (38 loc) · 929 Bytes
/
check_db.tpl
File metadata and controls
43 lines (38 loc) · 929 Bytes
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="titrePage">
<h2>DB Integrity check</h2>
</div>
<form method="post" action="">
<table class="table2">
<tr class="throw">
<td>{'Test'|@translate}</td>
<td>{'Result'|@translate}</td>
</tr>
{foreach from=$reference_tests item=reference_test}
<tr>
<td>
<input type="checkbox" name="{$reference_test.ID}" {$reference_test.CHECKED}>
{$reference_test.LABEL} ({$reference_test.COUNT} references)
</td>
<td>
{if isset($reference_test.result)}
{if $reference_test.result>0}
<span style="color:white;background-color:red">{$reference_test.result} FAILED</span>
{else}
{'Passed'|@translate}
{/if}
{/if}
</td>
</tr>
{if isset($reference_test.errors)}
<tr><td colspan="2">
{foreach from=$reference_test.errors item=error}
{$error}<br/>
{/foreach}
</td></tr>
{/if}
{/foreach}
</table>
<p>
<input type="submit" class="submit" value="{'Submit'|@translate}" name="submit" />
</p>
</form>