Archived
1
0
Fork 0
This repository has been archived on 2024-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
SOD/views/admin/departments/index.pug

21 lines
759 B
Text
Raw Normal View History

2020-08-20 13:34:50 +02:00
extends ../../layout
block content
2020-09-29 14:44:59 +02:00
div.container
2020-08-20 13:34:50 +02:00
h1=__("admin.departmentsManagement")
2020-09-29 14:44:59 +02:00
ul.collection
2020-08-20 13:34:50 +02:00
each department in departments
2020-09-29 14:44:59 +02:00
li.collection-item
div=department.name
div.secondary-content
a(href="/admin/departments/edit?name="+department.name)
i.material-icons edit
a.delete(href="/admin/departments/delete?name="+department.name)
i.material-icons remove
div.fixed-action-btn
a.btn-floating.btn-large.blue(href="/admin/departments/add")
i.large.material-icons add
2020-08-20 13:34:50 +02:00
script(src="/javascripts/admin/departments.js")