mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-11-15 01:05:42 +00:00
Use tables instead of collections in admin user view
This commit is contained in:
parent
91da024f36
commit
8dcf195e1b
@ -29,52 +29,38 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col s12"></div>
|
||||
|
||||
<div class="col s12 m6">
|
||||
<div id="corpus-list">
|
||||
<h3>Corpora</h3>
|
||||
<div class="card">
|
||||
<div class="card-content">
|
||||
<span class="card-title">Corpora</span>
|
||||
<div class="row">
|
||||
<div class="col s12">
|
||||
<div class="card-content" id="corpora">
|
||||
<div class="input-field">
|
||||
<i class="material-icons prefix">search</i>
|
||||
<input id="search-corpus" class="search" type="text"></input>
|
||||
<label for="search-corpus">Search corpus</label>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col s12">
|
||||
<table>
|
||||
<tbody class="list"></tbody>
|
||||
</table>
|
||||
<ul class="pagination"></ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="collection list"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col s12 m6">
|
||||
<div id="job-list">
|
||||
<h3>Jobs</h3>
|
||||
<div class="card">
|
||||
<div class="card-content">
|
||||
<span class="card-title">Jobs</span>
|
||||
<div class="row">
|
||||
<div class="col s12">
|
||||
<div class="card-content" id="jobs">
|
||||
<div class="input-field">
|
||||
<i class="material-icons prefix">search</i>
|
||||
<input id="search-job" class="search" type="text"></input>
|
||||
<label for="search-job">Search job</label>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col s12">
|
||||
<table>
|
||||
<tbody class="list"></tbody>
|
||||
</table>
|
||||
<ul class="pagination"></ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="collection list"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
@ -94,7 +80,7 @@
|
||||
<script>
|
||||
socket.emit('subscribe_foreign_user_ressources', {{ user.id }});
|
||||
|
||||
var corpusList = new CorpusList("corpus-list", foreignCorporaSubscribers);
|
||||
var jobList = new JobList("job-list", foreignJobsSubscribers);
|
||||
var corpusList = new CorpusList("corpora", foreignCorporaSubscribers);
|
||||
var jobList = new JobList("jobs", foreignJobsSubscribers);
|
||||
</script>
|
||||
{% endblock %}
|
||||
|
Loading…
Reference in New Issue
Block a user