Add import users
This commit is contained in:
parent
850076b444
commit
6faf7a10bd
8 changed files with 307 additions and 59 deletions
24
templates/user/import/table_csv.html
Normal file
24
templates/user/import/table_csv.html
Normal file
|
@ -0,0 +1,24 @@
|
|||
<thead>
|
||||
<tr>
|
||||
<th>{{_('ID')}}</th>
|
||||
<th>{{_('Username')}}</th>
|
||||
<th>{{_('Password')}}</th>
|
||||
<th>{{_('Name')}}</th>
|
||||
<th>{{_('School')}}</th>
|
||||
<th>{{_('Email')}}</th>
|
||||
<th>{{_('Organizations')}}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for i in data %}
|
||||
<tr>
|
||||
<td>{{loop.index}}</td>
|
||||
<td>{{i.username}}</td>
|
||||
<td>{{i.password}}</td>
|
||||
<td>{{i.name}}</td>
|
||||
<td>{{i.school}}</td>
|
||||
<td>{{i.email}}</td>
|
||||
<td>{{i.organizations}}</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
Loading…
Add table
Add a link
Reference in a new issue