Ghost/ghost/admin/app/templates/components/gh-search-input-trigger.hbs
Peter Zimon c51bce7358 🎨 Updated admin area design and usability (#1232)
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
2019-06-18 11:47:20 +01:00

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>