mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
39 lines
No EOL
1.4 KiB
Text
39 lines
No EOL
1.4 KiB
Text
extends ../layout
|
|
|
|
block content
|
|
.content.content-alt(ng-cloak)
|
|
.container.wiki
|
|
.row.template-page-header
|
|
.col-md-8(ng-cloak)
|
|
|
|
.row
|
|
.col-xs-3.contents(ng-non-bindable)
|
|
| !{contents.content}
|
|
|
|
.col-xs-9.page
|
|
- if(typeof(settings.algolia) != "undefined" && typeof(settings.algolia.indexes) != "undefined" && typeof(settings.algolia.indexes.wiki) != "undefined")
|
|
span(ng-controller="SearchWikiController")
|
|
.row
|
|
form.project-search.form-horizontal.col-md-9(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-3.text-right
|
|
a.btn.btn-primary(ng-click="showMissingTemplateModal()") #{translate("missing_page")}
|
|
|
|
.row
|
|
.col-md-12(ng-cloak)
|
|
a(ng-href='{{hit.url}}',ng-repeat='hit in hits').search-result.card.card-thin
|
|
span(ng-bind-html='hit.name')
|
|
div.search-result-content(ng-show="hit.content != ''", ng-bind-html='hit.content')
|
|
|
|
.card.row-spaced(ng-non-bindable)
|
|
.page-header
|
|
h1 #{title}
|
|
|
|
| !{page.content} |