mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-29 15:12:58 +03:00
c51bce7358
refs. https://github.com/TryGhost/Team/issues/205 Major update to Ghost Admin UI including: - improved general consistency (typography, colors and contrast, UI components, icons) - new design for post and pages lists, improved discoverability of filters - search moved to modal - account menu is decoupled from ghost logo - further usability fixes
17 lines
764 B
Handlebars
17 lines
764 B
Handlebars
<div class="ember-power-select-search" onmousedown={{action "captureMouseDown"}}>
|
|
{{svg-jar "search" class="gh-nav-search-icon"}}
|
|
<input type="search"
|
|
autocomplete="off"
|
|
autocorrect="off"
|
|
autocapitalize="off"
|
|
autofocus="true"
|
|
value={{if extra.labelPath (get selected extra.labelPath) selected}}
|
|
spellcheck="false" role="combobox"
|
|
placeholder={{placeholder}}
|
|
oninput={{action 'search' value="target.value"}}
|
|
onmousedown={{action "captureMouseDown"}}
|
|
onkeydown={{action "handleKeydown"}}
|
|
onkeyup={{action "handleKeyup"}}>
|
|
{{!-- <button class="gh-nav-search-button" {{action "focusInput"}}>{{svg-jar "search"}}<span class="sr-only">Search</span></button> --}}
|
|
</div>
|