-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathresult.tpl
More file actions
38 lines (31 loc) · 891 Bytes
/
Copy pathresult.tpl
File metadata and controls
38 lines (31 loc) · 891 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
<link rel="stylesheet" href="bottle.css" rel="stylesheet">
<link rel="stylesheet" href="style.css" rel="stylesheet">
<div class="well"><h1>Invoice Export</h1></div>
<div class="box"><h4>Result of the validation</h3></div>
<div class="bcontainer">
%if len(errors) > 0:
<table class="table">
<tr>
<th>Row</th>
<th>Level</th>
<th>Type</th>
<th>Message</th>
</tr>
%for error in errors:
<tr>
<td>{{error.line}}
<td>{{error.level_name}}
<td>{{error.type_name}}
<td>{{error.message}}
</tr>
%end
</table>
%else:
<div class="tx-lt-green">
<h3>The uploaded XML is valid against the latest scheme provided by the Hungarian Tax Authority.</h3>
</div>
%end
<form action="/goback" method="POST">
<input type ="submit" value="« Go back" class="btn bg-lt-orange">
</form>
</div>