First RessourceList update

This commit is contained in:
Patrick Jentsch
2020-07-30 14:17:51 +02:00
parent 889c568ceb
commit 715c37813c
12 changed files with 432 additions and 477 deletions

View File

@ -33,9 +33,10 @@
</div>
<script>
var ressources = {{ users|tojson|safe }};
var users = {{ users|tojson|safe }};
var userList = new RessourceList('users', null, "User");
userList.addRessources(ressources);
RessourceList.modifyTooltips();
document.addEventListener("DOMContentLoaded", () => {
userList.addRessources(users);
});
</script>
{% endblock %}