blob: 1a0e6ef250b90c8a1e9307cc6e170e6f6ac5aefc (
plain)
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
|
<h2>Import Users</h2>
<div class="alert alert-success" style="display: {{{STEP3}}}">
<b>CSV Import Done!</b> The System's Database has been updated.
</div>
<div style="display: {{{STEP1}}}">
<form action="#" method="POST" enctype="multipart/form-data" class="form-horizontal">
<div class="control-group">
<label class="control-label" for="file">CSV File</label>
<div class="controls">
<input type="file" accept="text/csv" name="file"></input>
<input type="hidden" name="step" value="1"></input>
</div>
</div>
<button class="btn btn-primary" type="submit">Import</button>
</form>
</div>
<div style="display: {{{STEP23}}}">
<table class="table table-bordered">
<thead>
<tr><th><i class="icon-wrench"></i></th><th>ID</th><th>Firstname</th><th>Lastname</th><th>E-Mail</th><th>Gender</th><th>Street</th><th>Postcode</th><th>City</th><th>PGP</th><th>Hidden</th><th>Disabled</th><th>Joined at</th></tr>
</thead>
<tbody>
{{{DATA1}}}
</tbody>
</table>
{{{DATA2}}}.
<div style="display: {{{STEP2}}}">
<form action="#" method="POST" enctype="multipart/form-data" class="form-horizontal">
<input type="hidden" name="step" value="2"></input>
<button class="btn btn-primary" type="submit">Apply Changes to Database</button>
</form>
</div>
</div>
|