Une MAJ de sécurité est nécessaire sur notre version actuelle. Elle sera effectuée lundi 02/08 entre 12h30 et 13h. L'interruption de service devrait durer quelques minutes (probablement moins de 5 minutes).

Commit a7426ee6 authored by Ryan Herbert's avatar Ryan Herbert
Browse files

sample_set/all.html, css move page selector

moving the page navigation buttons and redesigning it a litte to match
the rest of the style and make it a little more visible
parent 44b3af7b
......@@ -1507,6 +1507,12 @@ span.warningReads {
float : right;
}
.db_block_center {
margin-left: auto;
margin-right: auto;
width: 100px;
}
.db_table th{
border-bottom: solid;
border-color: @border;
......
......@@ -10,16 +10,6 @@
search
<input id="db_filter_input" type="text" value="{{=request.vars["filter"]}}" onchange="db.call('sample_set/all', {'type': '{{=helper.get_type()}}', 'filter' : this.value} )">
</div>
<div class="db_block_right">
page:
{{ if page > 0: }}
<div class="button" onclick="db.call('sample_set/all', {'type': '{{=helper.get_type()}}', 'page': {{=page-1}}})"><</div>
{{ pass }}
{{= page + 1 }}
{{if len(query) > step : }}
<div class="button" onclick="db.call('sample_set/all', {'type': '{{=helper.get_type()}}', 'page': {{=page+1}}})">></div>
{{ pass }}
</div>
</div>
<div id="db_table_container">
......@@ -81,3 +71,13 @@
{{ =min(step, len(query)) }} {{=helper.get_type()}}s, {{ =total_file_count }} files ({{ =vidjil_utils.format_size(total_size) }})
</div>
</div>
<div class="db_block_center">
page:
{{ if page > 0: }}
<i class="icon-left-open-1" onclick="db.call('sample_set/all', {'type': '{{=helper.get_type()}}', 'page': {{=page-1}}})"></i>
{{ pass }}
{{= page + 1 }}
{{if len(query) > step : }}
<i class="icon-right-open-1" onclick="db.call('sample_set/all', {'type': '{{=helper.get_type()}}', 'page': {{=page+1}}})"></i>
{{ pass }}
</div>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment