mirror of
https://github.com/semaphoreui/semaphore.git
synced 2025-01-22 08:10:50 +01:00
0f180756ab
- Restructuring & co
15 lines
428 B
Plaintext
15 lines
428 B
Plaintext
mixin menuItem(state, name)
|
|
li(ng-class="{ active: $state.includes('#{state}') }"): a(ui-sref=state+"({ playbook_id: playbook.data._id })")= name
|
|
|
|
.row
|
|
.col-sm-3.col-lg-2
|
|
ul.nav
|
|
h2.no-top-margin {{ playbook.data.name }}
|
|
+menuItem("playbook.tasks", "Tasks")
|
|
+menuItem("playbook.jobs", "Jobs")
|
|
+menuItem("playbook.hosts", "Hosts")
|
|
br
|
|
ul.nav
|
|
li: a(ui-sref="playbook.edit") Edit
|
|
.col-sm-9.col-lg-10
|
|
ui-view |