-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
156 lines (153 loc) · 7.85 KB
/
index.html
File metadata and controls
156 lines (153 loc) · 7.85 KB
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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
<div xmlns="http://www.w3.org/1999/xhtml" data-template="templates:surround" data-template-with="templates/page.html" data-template-at="content">
<div data-template="app:actions">
<div class="row">
<div class="col-md-4">
<div class="card">
<div class="card-body">
<h2 class="card-title">Update all CMIF files</h2>
<div data-template="app:action-alert-update"/>
<form method="post">
<input type="hidden" name="id" value="update-all"/>
<div class="form-group">
<label for="loglevel">Logelevel</label>
<div>
<select class="form-control form-control-sm" name="loglevel">
<option value="default">Default</option>
<option value="error">All</option>
</select>
</div>
</div>
<div class="form-group">
<label for="validation">Validation</label>
<div>
<select class="form-control form-control-sm" name="validation">
<option value="yes" selected="selected">Yes</option>
<option value="ignore" selected="selected">Yes, but ignore</option>
<option value="no">No</option>
</select>
</div>
</div>
<div class="form-group">
<label for="validation">Force Update</label>
<div>
<select class="form-control form-control-sm" name="force">
<option value="yes">Yes</option>
<option value="no" selected="selected">No</option>
</select>
</div>
</div>
<button type="submit" class="btn cs-button">
<i class="fas fa-sync-alt"/> Update all</button>
</form>
</div>
</div>
</div>
<div class="col-md-4">
<div class="card">
<div class="card-body">
<h2 class="card-title">Register CMIF file</h2>
<div data-template="app:action-alert-register"/>
<form method="post">
<div class="form-group">
<input type="text" id="url" name="url" placeholder="https://example-dse.de/cmif.xml" class="form-control form-control-sm"/>
<button type="submit" class="btn cs-button mt-2" name="id" value="register-retrieve">
<i class="fas fa-download"/> Register & Retrieve</button>
</div>
</form>
</div>
</div>
<div class="card mt-4">
<div class="card-body">
<h2 class="card-title">Search registered file(s)</h2>
<form action="files.html">
<div class="form-group">
<input type="text" id="search" name="search" placeholder="[Search term]" class="form-control form-control-sm"/>
<button type="submit" class="btn cs-button mt-2">
<i class="fas fa-search"/> Search</button>
</div>
</form>
</div>
</div>
</div>
<div class="col-md-4">
<div class="card">
<div class="card-body">
<div class="card-heading">
<h2 class="card-title">Statistic</h2>
</div>
<table class="table" data-template="app:stat"/>
</div>
</div>
</div>
</div>
<div class="row mt-4">
<div class="col-md-4">
<div class="card">
<div class="card-body">
<h2 class="card-title">Log</h2>
<div data-template="templates:if-parameter-set" data-template-param="success" class="alert alert-success">
<p>Update successful</p>
</div>
<table class="table" data-template="app:last-actions">
<tr>
<th>Date</th>
<!--<th>Time</th>-->
<th>Type</th>
<th>
<i class="fas fa-sync-alt"/>
</th>
<th>
<i class="fas fa-exclamation-triangle"/>
</th>
<th>
<i class="fas fa-file-alt fa-lg"/>
</th>
</tr>
<tr data-template="templates:each" data-template-from="actions" data-template-to="action">
<td data-template="app:log-action-date"/>
<!--<td data-template="app:log-action-time"/>-->
<td data-template="app:log-action-type"/>
<td data-template="app:log-action-updated"/>
<td data-template="app:log-action-errors"/>
<td data-template="app:log-action-id"/>
</tr>
</table>
<a href="log.html">See full log</a>
</div>
</div>
</div>
<div class="col-md-4">
<div class="card">
<div class="card-body">
<h2 class="card-title">Last Registered</h2>
<table class="table" data-template="app:last-registered">
<tr>
<th>Title</th>
</tr>
<tr data-template="templates:each" data-template-from="files" data-template-to="file">
<td data-template="app:cmif-file-title"/>
</tr>
</table>
</div>
</div>
</div>
<div class="col-md-4">
<div class="card">
<div class="card-body">
<h2 class="card-title">Last Modified</h2>
<table class="table" data-template="app:last-modified">
<tr>
<th>Date</th>
<th>URL</th>
</tr>
<tr data-template="templates:each" data-template-from="teis" data-template-to="tei">
<td data-template="app:last-modified-date"/>
<td data-template="app:last-modified-title"/>
</tr>
</table>
</div>
</div>
</div>
</div>
</div>
</div>