Fix missing html class in user admin view bugging list js

This commit is contained in:
Stephan Porada 2020-09-23 16:20:00 +02:00
parent 6e1ca2d7e2
commit 92d47a0b8d
2 changed files with 6 additions and 8 deletions

View File

@ -39,7 +39,8 @@
<input id="search-corpus" class="search" type="search"></input> <input id="search-corpus" class="search" type="search"></input>
<label for="search-corpus">Search corpus</label> <label for="search-corpus">Search corpus</label>
</div> </div>
<table> <ul class="pagination paginationTop"></ul>
<table class="highlight">
<thead> <thead>
<tr> <tr>
<th></th> <th></th>
@ -53,7 +54,7 @@
</thead> </thead>
<tbody class="list"></tbody> <tbody class="list"></tbody>
</table> </table>
<ul class="pagination"></ul> <ul class="pagination paginationBottom"></ul>
</div> </div>
</div> </div>
</div> </div>
@ -67,7 +68,8 @@
<input id="search-job" class="search" type="search"></input> <input id="search-job" class="search" type="search"></input>
<label for="search-job">Search job</label> <label for="search-job">Search job</label>
</div> </div>
<table> <ul class="pagination paginationTop"></ul>
<table class="highlight">
<thead> <thead>
<tr> <tr>
<th><span class="sort" data-sort="service">Service</span></th> <th><span class="sort" data-sort="service">Service</span></th>
@ -81,7 +83,7 @@
</thead> </thead>
<tbody class="list"></tbody> <tbody class="list"></tbody>
</table> </table>
<ul class="pagination"></ul> <ul class="pagination paginationBottom"></ul>
</div> </div>
</div> </div>
</div> </div>
@ -99,7 +101,6 @@
</div> </div>
</div> </div>
<script type="module"> <script type="module">
import {RessourceList} from '../../static/js/nopaque.lists.js'; import {RessourceList} from '../../static/js/nopaque.lists.js';
let corpusList = new RessourceList("corpora", nopaque.foreignCorporaSubscribers, "Corpus"); let corpusList = new RessourceList("corpora", nopaque.foreignCorporaSubscribers, "Corpus");

View File

@ -121,9 +121,6 @@
<script src="{{ url_for('static', filename='js/List.js/list.min.js') }}"></script> <script src="{{ url_for('static', filename='js/List.js/list.min.js') }}"></script>
<script src="{{ url_for('static', filename='js/Socket.IO/socket.io.slim.js') }}"></script> <script src="{{ url_for('static', filename='js/Socket.IO/socket.io.slim.js') }}"></script>
<script src="{{ url_for('static', filename='js/nopaque.js') }}"></script> <script src="{{ url_for('static', filename='js/nopaque.js') }}"></script>
<script type="module">
import {RessourceList} from '../../static/js/nopaque.lists.js'
</script>
<script> <script>
{% if current_user.is_authenticated %} {% if current_user.is_authenticated %}
{% if current_user.setting_dark_mode %} {% if current_user.setting_dark_mode %}