mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-12-24 10:34:17 +00:00
Fix tables and add bottom paginatio nto all tables
This commit is contained in:
parent
9523568211
commit
61658410b2
@ -145,11 +145,20 @@ RessourceList.dataMappers = {
|
||||
RessourceList.options = {
|
||||
// common list.js options for 4 rows per page etc.
|
||||
common: {
|
||||
page: 4,
|
||||
pagination: {
|
||||
innerWindow: 8,
|
||||
page: 5,
|
||||
pagination: [
|
||||
{
|
||||
name: "paginationTop",
|
||||
paginationClass: "paginationTop",
|
||||
innerWindow: 4,
|
||||
outerWindow: 1
|
||||
},
|
||||
{
|
||||
paginationClass: "paginationBottom",
|
||||
innerWindow: 4,
|
||||
outerWindow: 1,
|
||||
},
|
||||
],
|
||||
},
|
||||
// extended list.js options for 10 rows per page etc.
|
||||
extended: {
|
||||
|
@ -27,6 +27,7 @@
|
||||
<input id="search-corpus" class="search" type="search"></input>
|
||||
<label for="search-corpus">Search corpus</label>
|
||||
</div>
|
||||
<ul class="pagination paginationTop"></ul>
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
@ -41,7 +42,7 @@
|
||||
</thead>
|
||||
<tbody class="list"></tbody>
|
||||
</table>
|
||||
<ul class="pagination"></ul>
|
||||
<ul class="pagination paginationBottom"></ul>
|
||||
</div>
|
||||
<div class="card-action right-align">
|
||||
<a class="btn corpus-analysis-color darken waves-effect waves-light" href="{{ url_for('corpora.add_corpus') }}">New corpus<i class="material-icons right">add</i></a>
|
||||
|
@ -10,7 +10,7 @@ results. -->
|
||||
<th style="width: 3%">Title</th>
|
||||
<th style="width: 25%">Left context</th>
|
||||
<th style="width: 35%">Match</th>
|
||||
<th style="width: 10%">Actions</th>
|
||||
<th style="width: 10%">{# Actions #}</th>
|
||||
<th style="width: 25%">Right Context</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
Loading…
Reference in New Issue
Block a user