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/page.jade

31 lines
1001 B
Plaintext

.container
h1 Pages
.row
.well.col-md-6(ui-tree)
.btn-toolbar
.btn-group
a.btn.btn-default(ng-click="add(null)")
span.glyphicon.glyphicon-plus
br
.list-group
.list-group-item(ng-repeat="item in list") {{item.title}}
form.col-md-6(ng-submit="save()")
h3(ng-if="obj.ID") Edit
h3(ng-if="!obj.ID") New
.form-group
label(for="title") Title
input.form-control(id="title",ng-model="obj.title")
.form-group
label Under Menu
i (http(s)://PLACEHOLDER/{{obj.menu.url}})
ui-select(ng-model="obj.menu",theme="bootstrap")
ui-select-match {{$select.selected.name}}
ui-select-choices(repeat="item in menulist | filter:$select.search")
div(ng-bind-html="item.name | highlight: $select.search")
.form-group
label(for="content") Content
textarea.form-control(id="content",ui-markdown-editor="{}",ng-model="obj.content")
input.btn.btn-default(type="submit",value="Save")
h3 Preview
div(ng-bind-markdown="obj.content")