overleaf/services/web/app/views/wiki/page.jade
Henry Oswald 209c8ebbfc wip
2016-03-18 11:31:50 +00:00

37 lines
No EOL
1.1 KiB
Text

extends ../layout
block content
.content.content-alt(ng-cloak)
.container.wiki
.row.template-page-header(ng-controller="SearchWikiController")
.col-xs-3
.col-md-8
form.project-search.form-horizontal(role="form")
.form-group.has-feedback.has-feedback-left.col-md-12
input.form-control.col-md-12(type='text', ng-model='searchQueryText', ng-keyup='search()', placeholder="Search help library....")
i.fa.fa-search.form-control-feedback-left
i.fa.fa-times.form-control-feedback(
ng-click="clearSearchText()",
style="cursor: pointer;",
ng-show="searchQueryText.length > 0"
)
.col-md-8(ng-cloak)
ul.list-unstyled
li(ng-repeat='hit in hits')
.thumbnail.searchResult
.row
a(ng-href='{{hit.url}}')
.col-md-3
img(ng-src='{{hit.image_url}}')
.col-md-7
h1(ng-bind-html='hit.name')
p(ng-bind-html='hit.description')
.row(ng-non-bindable)
.col-xs-3.contents
| !{contents.content}
.col-xs-9.page
.card
.page-header
h1 #{title}
| !{page.content}