Updates on search

pull/144/head
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": { "dependencies": {
"filesize": "^3.5.10", "filesize": "^3.5.10",
"hammerjs": "^2.0.8",
"moment": "^2.18.1", "moment": "^2.18.1",
"vue": "^2.3.3", "vue": "^2.3.3",
"vue-router": "^2.7.0", "vue-router": "^2.7.0",

View File

@ -2,6 +2,9 @@
<div :class="{ multiple, loading }"> <div :class="{ multiple, loading }">
<header> <header>
<div> <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"> <img src="../assets/logo.svg" alt="File Manager">
<search></search> <search></search>
</div> </div>

View File

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