From 92d47a0b8dc2978e665075e475bfaee5dc76aec9 Mon Sep 17 00:00:00 2001
From: Stephan Porada <sporada@uni-bielefeld.de>
Date: Wed, 23 Sep 2020 16:20:00 +0200
Subject: [PATCH] Fix missing html class in user admin view bugging list js

---
 web/app/templates/admin/user.html.j2 | 11 ++++++-----
 web/app/templates/nopaque.html.j2    |  3 ---
 2 files changed, 6 insertions(+), 8 deletions(-)

diff --git a/web/app/templates/admin/user.html.j2 b/web/app/templates/admin/user.html.j2
index ad22d712..c1e53a18 100644
--- a/web/app/templates/admin/user.html.j2
+++ b/web/app/templates/admin/user.html.j2
@@ -39,7 +39,8 @@
         <input id="search-corpus" class="search" type="search"></input>
         <label for="search-corpus">Search corpus</label>
       </div>
-      <table>
+      <ul class="pagination paginationTop"></ul>
+      <table class="highlight">
         <thead>
           <tr>
             <th></th>
@@ -53,7 +54,7 @@
         </thead>
         <tbody class="list"></tbody>
       </table>
-      <ul class="pagination"></ul>
+      <ul class="pagination paginationBottom"></ul>
     </div>
   </div>
 </div>
@@ -67,7 +68,8 @@
         <input id="search-job" class="search" type="search"></input>
         <label for="search-job">Search job</label>
       </div>
-      <table>
+      <ul class="pagination paginationTop"></ul>
+      <table class="highlight">
         <thead>
           <tr>
             <th><span class="sort" data-sort="service">Service</span></th>
@@ -81,7 +83,7 @@
         </thead>
         <tbody class="list"></tbody>
       </table>
-      <ul class="pagination"></ul>
+      <ul class="pagination paginationBottom"></ul>
     </div>
   </div>
 </div>
@@ -99,7 +101,6 @@
   </div>
 </div>
 
-
 <script type="module">
 import {RessourceList} from '../../static/js/nopaque.lists.js';
 let corpusList = new RessourceList("corpora", nopaque.foreignCorporaSubscribers, "Corpus");
diff --git a/web/app/templates/nopaque.html.j2 b/web/app/templates/nopaque.html.j2
index c8ffc207..2fb7f3f4 100644
--- a/web/app/templates/nopaque.html.j2
+++ b/web/app/templates/nopaque.html.j2
@@ -121,9 +121,6 @@
     <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/nopaque.js') }}"></script>
-    <script type="module">
-      import {RessourceList} from '../../static/js/nopaque.lists.js'
-    </script>
     <script>
       {% if current_user.is_authenticated %}
       {% if current_user.setting_dark_mode %}
-- 
GitLab