New dashboard layout

This commit is contained in:
2017-07-09 04:22:14 +02:00
parent e929451c88
commit 34d85e5bd1
11 changed files with 101 additions and 46 deletions

View File

@ -1,5 +1,5 @@
component NewThread(user *arn.User)
.widgets
.widget-form
.widget
input#title.widget-element(type="text", placeholder="Title")
@ -15,6 +15,7 @@ component NewThread(user *arn.User)
if user.Role == "admin"
option(value="update") Update
button.action(data-action="createThread", data-trigger="click")
Icon("check")
span Create thread
.buttons
button.action(data-action="createThread", data-trigger="click")
Icon("check")
span Create thread