gonito/templates/dashboard.hamlet
Filip Gralinski e1b1ff53f1 Add indicators to the database, make it possible to edit them in the dashboard.
The dashboard itself (in terms of graphs) is not part of this commit.
2018-09-14 15:50:44 +02:00

14 lines
354 B
Plaintext

<h1>Dashboard
^{Table.buildBootstrap (indicatorTable mUser) indicatorEntries}
<hr>
$if (checkIfAdmin mUser)
<h2>Create a new target
<form method=post action=@{DashboardR}#form enctype=#{formEnctype}>
^{formWidget}
<button .btn .btn-primary type="submit">
_{MsgSubmit} <span class="glyphicon glyphicon-upload"></span>