diff options
Diffstat (limited to 'frontend/index.html')
-rw-r--r-- | frontend/index.html | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/frontend/index.html b/frontend/index.html index 538d329..d2b526d 100644 --- a/frontend/index.html +++ b/frontend/index.html | |||
@@ -21,7 +21,8 @@ | |||
21 | <div id="app" @drop="drop" @dragover="dragOver"> | 21 | <div id="app" @drop="drop" @dragover="dragOver"> |
22 | 22 | ||
23 | <el-container> | 23 | <el-container> |
24 | <input type="file" ref="upload" style="display: none" id="uploadInput" multiple webkitdirectory="" directory=""/> | 24 | <input type="file" ref="upload" style="display: none" multiple/> |
25 | <input type="file" ref="uploadFolder" style="display: none" multiple webkitdirectory directory/> | ||
25 | 26 | ||
26 | <el-dialog title="Login" :visible.sync="ready && !session.valid" width="30%" :close-on-press-escape="false" :show-close="false"> | 27 | <el-dialog title="Login" :visible.sync="ready && !session.valid" width="30%" :close-on-press-escape="false" :show-close="false"> |
27 | <el-form :model="loginData" label-position="top" @submit.native.prevent> | 28 | <el-form :model="loginData" label-position="top" @submit.native.prevent> |
@@ -51,7 +52,8 @@ | |||
51 | </div> | 52 | </div> |
52 | <div align="right" v-show="session.valid"> | 53 | <div align="right" v-show="session.valid"> |
53 | <el-button-group> | 54 | <el-button-group> |
54 | <el-button type="primary" icon="el-icon-upload" size="small" @click="onUpload">Upload</el-button> | 55 | <el-button type="primary" icon="el-icon-upload2" size="small" @click="onUpload">Upload File</el-button> |
56 | <el-button type="primary" icon="el-icon-upload" size="small" @click="onUploadFolder">Upload Folder</el-button> | ||
55 | <el-button type="primary" icon="el-icon-plus" size="small" @click="onNewFolder">New Folder</el-button> | 57 | <el-button type="primary" icon="el-icon-plus" size="small" @click="onNewFolder">New Folder</el-button> |
56 | </el-button-group> | 58 | </el-button-group> |
57 | <el-dropdown @command="onOptionsMenu"> | 59 | <el-dropdown @command="onOptionsMenu"> |