Archived
1
0
Fork 0

Admin index rework

This commit is contained in:
Ethanell 2020-09-28 22:35:00 +02:00
parent efb7234641
commit cd6d224940

View file

@ -1,30 +1,36 @@
extends ../layout extends ../layout
block content block content
div.card div.container
h1=__("admin.title") h4=__("admin.title")
div div.row.center
h2=__("admin.ordersManagement") div.col
div.buttons div.card.blue-grey
a(href="/admin/orders/date") div.card-content.white-text
button=__("admin.ordersDate") span.card-title=__("admin.ordersManagement")
a(href="/admin/orders") p
button=__("admin.manageOrders") div.card-action
a(href="/admin/orders/date")=__("admin.ordersDate")
a(href="/admin/orders")=__("admin.manageOrders")
div div.col
h2=__("admin.sandwichManagement") div.card.blue-grey
div.buttons div.card-content.white-text
a(href="/admin/sandwiches") span.card-title=__("admin.sandwichManagement")
button=__("admin.manageSandwiches") p
div.card-action
div a(href="/admin/sandwiches")=__("admin.manageSandwiches")
h2=__("admin.departmentsManagement") div.col
div.buttons div.card.blue-grey
a(href="/admin/departments") div.card-content.white-text
button=__("admin.manageDepartments") span.card-title=__("admin.departmentsManagement")
p
div div.card-action
h2=__("admin.userManagement") a(href="/admin/departments")=__("admin.manageDepartments")
div.buttons div.col
a(href="/admin/users") div.card.blue-grey
button=__("admin.manageUsers") div.card-content.white-text
span.card-title=__("admin.userManagement")
p
div.card-action
a(href="/admin/users")=__("admin.manageUsers")