master
1{% extends "base-nav.html" %}
2
3{% block css %}
4<link rel="stylesheet" href="{{ static_url("ffu.css") }}">
5<link rel="stylesheet" href="{{ static_url("jquery.dynatable.css") }}">
6{% end %}
7
8{% block content %}
9<div class="container">
10 <div class="row">
11 <div class="col-xs-12">
12 <ul id="filelist" class="list-group">
13 {% if 'items' in globals() %}
14 {% for item in items %}
15 <li><a href="#">{{item}}</a></li>
16 {% end %}
17 {% end %}
18 </ul>
19 <table id="audit-table">
20 <thead>
21 <th data-dynatable-column="transferid">Transfer ID</th>
22 <th>Username</th>
23 <th>Error</th>
24 <th>Filenames</th>
25 <th>Warnings</th>
26 <th>Actions</th>
27 </thead>
28 <tbody>
29 </tbody>
30 </table>
31 </div>
32 </div>
33</div><!-- /.container -->
34{% end %}
35
36{% block js %}
37<script src="{{ static_url("jquery.dynatable.js") }}"></script>
38<script>
39 $("#audit-table").dynatable({
40 dataset : {
41 ajax : true,
42 ajaxUrl: '/admin',
43 ajaxOnLoad: true,
44 defaultColumnIdStyle: 'lowercase',
45 records: []
46 }
47 });
48</script>
49{% end %}