Semaphore/public/html/dashboard.jade
Matej Kramny b4cab16fda Improved UI
- Fixes #94
- Fixes admin permissions (needed to manipulate users)
2016-06-17 13:16:46 -07:00

18 lines
778 B
Plaintext

.container-fluid
.row
.col-md-8
h4.no-top-margin Events
ul.list-unstyled
li(ng-repeat="event in events")
strong: time(ng-bind="event.created | date:'short'")
span : 
a(ng-if="event.project_id != null" ui-sref="project.dashboard({ project_id: event.project_id })") {{ event.project_name }}
span(ng-if="event.project_id != null")  
span(ng-bind="event.object_name")
span - {{ event.description }}
.col-md-4
.panel.panel-default
.panel-heading Projects
button.btn.btn-default.btn-xs.pull-right(ng-click="addProject()"): i.fa.fa-fw.fa-plus
ul.list-group
li.list-group-item(ng-repeat="project in projects" ui-sref="project.dashboard({ project_id: project.id })" style="cursor: pointer;") {{ project.name }}