Updates on search

This commit is contained in:
Henrique Dias 2017-07-04 16:40:40 +01:00
parent b42b3c6491
commit 9f1a39aa4e
No known key found for this signature in database
GPG Key ID: 936F5EB68D786730
3 changed files with 5 additions and 1 deletions

View File

@ -11,6 +11,7 @@
},
"dependencies": {
"filesize": "^3.5.10",
"hammerjs": "^2.0.8",
"moment": "^2.18.1",
"vue": "^2.3.3",
"vue-router": "^2.7.0",

View File

@ -2,6 +2,9 @@
<div :class="{ multiple, loading }">
<header>
<div>
<button aria-label="Toggle sidebar" title="Toggle sidebar" class="action">
<i class="material-icons">menu</i>
</button>
<img src="../assets/logo.svg" alt="File Manager">
<search></search>
</div>

View File

@ -1,7 +1,7 @@
<template>
<div id="search" @click="open" v-bind:class="{ active , ongoing }">
<div id="input">
<button v-if="active" class="action" @click="close" >
<button v-if="active" class="action" @click="close">
<i class="material-icons">arrow_back</i>
</button>
<i v-else class="material-icons">search</i>