From cd6d224940c3ed7b5d5e876101bcb3c2c2290b8b Mon Sep 17 00:00:00 2001 From: flifloo Date: Mon, 28 Sep 2020 22:35:00 +0200 Subject: [PATCH] Admin index rework --- views/admin/index.pug | 58 ++++++++++++++++++++++++------------------- 1 file changed, 32 insertions(+), 26 deletions(-) diff --git a/views/admin/index.pug b/views/admin/index.pug index 5afa682..3de9b54 100644 --- a/views/admin/index.pug +++ b/views/admin/index.pug @@ -1,30 +1,36 @@ extends ../layout block content - div.card - h1=__("admin.title") - div - h2=__("admin.ordersManagement") - div.buttons - a(href="/admin/orders/date") - button=__("admin.ordersDate") - a(href="/admin/orders") - button=__("admin.manageOrders") + div.container + h4=__("admin.title") + div.row.center + div.col + div.card.blue-grey + div.card-content.white-text + span.card-title=__("admin.ordersManagement") + p + div.card-action + a(href="/admin/orders/date")=__("admin.ordersDate") + a(href="/admin/orders")=__("admin.manageOrders") - div - h2=__("admin.sandwichManagement") - div.buttons - a(href="/admin/sandwiches") - button=__("admin.manageSandwiches") - - div - h2=__("admin.departmentsManagement") - div.buttons - a(href="/admin/departments") - button=__("admin.manageDepartments") - - div - h2=__("admin.userManagement") - div.buttons - a(href="/admin/users") - button=__("admin.manageUsers") + div.col + div.card.blue-grey + div.card-content.white-text + span.card-title=__("admin.sandwichManagement") + p + div.card-action + a(href="/admin/sandwiches")=__("admin.manageSandwiches") + div.col + div.card.blue-grey + div.card-content.white-text + span.card-title=__("admin.departmentsManagement") + p + div.card-action + a(href="/admin/departments")=__("admin.manageDepartments") + div.col + div.card.blue-grey + div.card-content.white-text + span.card-title=__("admin.userManagement") + p + div.card-action + a(href="/admin/users")=__("admin.manageUsers")