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/sandwiches/index.pug

20 lines
743 B
Text

extends ../../layout
block content
div.container
h1=__("admin.sandwichManagement")
ul.collection
each sandwich in sandwiches
li.collection-item
div=sandwich.name
div.secondary-content
a(href="/admin/sandwiches/edit?name="+sandwich.name)
i.material-icons edit
a.delete(href="/admin/sandwiches/delete?name="+sandwich.name)
i.material-icons remove
div.fixed-action-btn
a.btn-floating.btn-large.blue(href="/admin/sandwiches/add")
i.large.material-icons add
script(src="/javascripts/admin/sandwiches.js")