mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2025-06-11 16:40:40 +00:00
Package cleanup and add LICENSE files!
This commit is contained in:
@ -30,16 +30,6 @@
|
||||
<div class="collection list"></div>
|
||||
</div>
|
||||
</div>
|
||||
<script>
|
||||
var corpusList = new CorpusList("corpus-list", corporaSubscribers, {
|
||||
item: '<div><span class="title"></span><span class="description"></span></div>',
|
||||
page: 4,
|
||||
pagination: true,
|
||||
valueNames: ["description", "title", {data: ["id"]}]
|
||||
});
|
||||
corpusList.on("filterComplete", List.updatePagination);
|
||||
corpusList.on("searchComplete", List.updatePagination);
|
||||
</script>
|
||||
|
||||
<div class="col s12">
|
||||
<p> </p>
|
||||
@ -75,14 +65,6 @@
|
||||
</div>
|
||||
</div>
|
||||
<script>
|
||||
var jobList = new JobList("job-list", jobsSubscribers, {
|
||||
item: '<div><span class="title"></span><span class="description"></span></div>',
|
||||
page: 4,
|
||||
pagination: true,
|
||||
valueNames: ["description", "title", {data: ["id"]}]
|
||||
});
|
||||
jobList.on("filterComplete", List.updatePagination);
|
||||
jobList.on("searchComplete", List.updatePagination);
|
||||
</script>
|
||||
|
||||
<ul id='new-job-dropdown' class='dropdown-content'>
|
||||
@ -92,11 +74,14 @@
|
||||
</ul>
|
||||
|
||||
<script>
|
||||
// Init corpus list
|
||||
var corpusList = new CorpusList("corpus-list", corporaSubscribers);
|
||||
|
||||
// Init job list
|
||||
var jobList = new JobList("job-list", jobsSubscribers);
|
||||
|
||||
document.addEventListener('DOMContentLoaded', function() {
|
||||
M.Dropdown.init(
|
||||
document.getElementById("new-job"),
|
||||
{"coverTrigger": false}
|
||||
);
|
||||
M.Dropdown.init(document.getElementById("new-job"), {"coverTrigger": false});
|
||||
});
|
||||
</script>
|
||||
{% endblock %}
|
||||
|
Reference in New Issue
Block a user