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.
2016-09-11 18:40:03 +02:00
|
|
|
.container
|
|
|
|
h1 Pages
|
2016-09-27 10:02:50 +02:00
|
|
|
.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")
|