diff options
Diffstat (limited to 'frontend/index.html')
-rw-r--r-- | frontend/index.html | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/frontend/index.html b/frontend/index.html index 321801b..5856a16 100644 --- a/frontend/index.html +++ b/frontend/index.html | |||
@@ -25,12 +25,12 @@ | |||
25 | 25 | ||
26 | <el-dialog title="Login" :visible.sync="ready && !session.valid" width="30%" :close-on-press-escape="false" :show-close="false"> | 26 | <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> | 27 | <el-form :model="loginData" label-position="top" @submit.native.prevent> |
28 | <el-form-item label="Username"><el-input v-model="loginData.username" required autofocus></el-input></el-form-item> | 28 | <el-form-item label="Username"><el-input v-model="loginData.username" required autofocus :disabled="loginData.busy"></el-input></el-form-item> |
29 | <el-form-item label="Password"><el-input v-model="loginData.password" type="password" required></el-input></el-form-item> | 29 | <el-form-item label="Password"><el-input v-model="loginData.password" type="password" required :disabled="loginData.busy"></el-input></el-form-item> |
30 | <input type="submit" @click="onLogin" v-show="false"/> | 30 | <input type="submit" @click="onLogin" v-show="false"/> |
31 | </el-form> | 31 | </el-form> |
32 | <span slot="footer" class="dialog-footer"> | 32 | <span slot="footer" class="dialog-footer"> |
33 | <el-button type="primary" @click="onLogin"><i class="el-icon-loading" v-show="busy"></i><span v-show="!busy">Login</span></el-button> | 33 | <el-button type="primary" @click="onLogin"><i class="el-icon-loading" v-show="loginData.busy"></i><span v-show="!loginData.busy">Login</span></el-button> |
34 | </span> | 34 | </span> |
35 | </el-dialog> | 35 | </el-dialog> |
36 | 36 | ||
@@ -53,7 +53,6 @@ | |||
53 | <el-button-group> | 53 | <el-button-group> |
54 | <el-button type="primary" icon="el-icon-upload" size="small" @click="onUpload">Upload</el-button> | 54 | <el-button type="primary" icon="el-icon-upload" size="small" @click="onUpload">Upload</el-button> |
55 | <el-button type="primary" icon="el-icon-plus" size="small" @click="onNewFolder">New Folder</el-button> | 55 | <el-button type="primary" icon="el-icon-plus" size="small" @click="onNewFolder">New Folder</el-button> |
56 | |||
57 | </el-button-group> | 56 | </el-button-group> |
58 | <el-dropdown @command="onOptionsMenu"> | 57 | <el-dropdown @command="onOptionsMenu"> |
59 | <el-button size="small" icon="el-icon-more"></el-button> | 58 | <el-button size="small" icon="el-icon-more"></el-button> |