This repository has been archived by the owner on Dec 21, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
/
documents.html
58 lines (53 loc) · 1.53 KB
/
documents.html
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
{% extends "layout.html" %}
{% block content %}
{% if config.addlinkstojbj %}
<p id="jbjlink">
If you want to configure <code>documentFields</code>, you may want to see the JSON documents in
<a class="btn btn-default" href="http://Inist-CNRS.github.io/jbj-playground/?input=" role="button">JBJ</a> playground.
</p>
{% endif %}
{% if config.pages.documents.help %}
<div class="row lead">
{{ config.pages.documents.help | markdown }}
</div>
{% endif %}
<div class="panel-body">
<div class="table-responsive">
<table class="table table-striped table-bordered table-hover" id="dataTables-documents">
<thead>
<tr>
{% for id, field in config.documentFields %}
{% if field.visible %}
<th>{{ field.label }}</th>
{% endif %}
{% endfor %}
</tr>
</thead>
</table>
</div>
<div class="pull-right">
<div id="exports" class="btn-group dropup">
<button class="btn btn-default btn-sm dropdown-toggle" type="button" data-toggle="dropdown">
Export <span class="caret"></span>
</button>
<ul class="dropdown-menu dropdown-menu-right" role="menu">
<li>
<a v-attr="href: csv"><i class="fa fa-file-excel-o"></i> CSV</a>
</li>
<li>
<a v-attr="href: atom"><i class="fa fa-file-code-o"></i> Atom</a>
</li>
<li>
<a v-attr="href: rss"><i class="fa fa-rss"></i> RSS</a>
</li>
<li>
<a v-attr="href: json"><i class="fa fa-file-o"></i> JSON</a>
</li>
</ul>
</div>
</div>
</div>
{% endblock %}
{% block scripts %}
<script src="/assets/js/documents.js"></script>
{% endblock %}