2016-08-18 03:52:23 +00:00
|
|
|
|
2016-09-05 04:39:59 +00:00
|
|
|
#header-container
|
2016-11-21 01:09:50 +00:00
|
|
|
nav.nav.stickyscroll#header
|
2016-09-05 04:39:59 +00:00
|
|
|
.nav-left
|
|
|
|
block rootNavLeft
|
2016-11-21 01:09:50 +00:00
|
|
|
a.nav-item(href='/')
|
2016-09-05 04:39:59 +00:00
|
|
|
img(src='/favicons/android-icon-96x96.png', alt='Wiki')
|
|
|
|
a.nav-item(href='/')
|
2016-11-21 01:09:50 +00:00
|
|
|
h1= appconfig.title
|
2016-09-05 04:39:59 +00:00
|
|
|
.nav-center
|
|
|
|
block rootNavCenter
|
2016-09-05 18:11:51 +00:00
|
|
|
.nav-item
|
|
|
|
p.control(v-bind:class="{ 'is-loading': searchload > 0 }")
|
2016-09-05 23:23:49 +00:00
|
|
|
input.input#search-input(type='text', v-model='searchq', @keyup.esc='closeSearch', @keyup.down='moveDownSearch', @keyup.up='moveUpSearch', @keyup.enter='moveSelectSearch', debounce='400', placeholder='Search...')
|
2016-09-05 04:39:59 +00:00
|
|
|
span.nav-toggle
|
|
|
|
span
|
|
|
|
span
|
|
|
|
span
|
2016-11-21 01:09:50 +00:00
|
|
|
.nav-right
|
2016-09-05 04:39:59 +00:00
|
|
|
block rootNavRight
|
|
|
|
i.nav-item#notifload
|
|
|
|
|
2016-10-15 03:31:15 +00:00
|
|
|
transition(name="searchresults-anim", enter-active-class="slideInDown", leave-active-class="fadeOutUp")
|
|
|
|
.box.searchresults.animated(v-show='searchactive', v-cloak, style={'display':'none'})
|
|
|
|
.menu
|
|
|
|
p.menu-label
|
|
|
|
| Search Results
|
|
|
|
ul.menu-list
|
|
|
|
li(v-if="searchres.length === 0")
|
|
|
|
a: em No results matching your query
|
|
|
|
li(v-for='sres in searchres')
|
|
|
|
a(v-bind:href="'/' + sres._id", v-bind:class="{ 'is-active': searchmovekey === 'res.' + sres._id }") {{ sres.title }}
|
|
|
|
p.menu-label(v-if='searchsuggest.length > 0')
|
|
|
|
| Did you mean...?
|
|
|
|
ul.menu-list(v-if='searchsuggest.length > 0')
|
|
|
|
li(v-for='sug in searchsuggest')
|
|
|
|
a(v-on:click="useSuggestion(sug)", v-bind:class="{ 'is-active': searchmovekey === 'sug.' + sug }") {{ sug }}
|
2016-08-18 03:52:23 +00:00
|
|
|
|
|
|
|
|