sum7/warehost-frontend
sum7
/
warehost-frontend
Archived
1
0
Fork 0
This repository has been archived on 2020-09-27. You can view files and clone it, but cannot push or open issues or pull requests.
warehost-frontend/public/app/web/menu.jade

21 lines
782 B
Plaintext

.navbar-text Website
li.dropdown
a.dropdown-toggle(data-toggle="dropdown",role="button",aria-haspopup="true",aria-expanded="false") {{website.name||'Websites'}}
span.caret
ul.dropdown-menu
li
a(ui-sref="app.web.index",ui-sref-active="active") Alle
li
a(href="",ng-click="add()") Add
li.dropdown-header Websites:
li(ng-repeat="item in list")
a(ui-sref="app.webS({websiteid:item.website.ID})") {{item.website.name}}
li(ng-if="website.name")
a(ui-sref="app.webS.menu({websiteid:website.ID})") Menu
li(ng-if="website.name")
a(ui-sref="app.webS.page({websiteid:website.ID})") Pages
li(ng-if="website.name")
a(ui-sref="app.webS.domain({websiteid:website.ID})") Domains
li(ng-if="website.name")
a(ui-sref="app.webS.permission({websiteid:website.ID})") Permissions