aboutsummaryrefslogtreecommitdiffhomepage
path: root/frontend/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/index.html')
-rw-r--r--frontend/index.html9
1 files changed, 7 insertions, 2 deletions
diff --git a/frontend/index.html b/frontend/index.html
index 5bc64c1..0c18b52 100644
--- a/frontend/index.html
+++ b/frontend/index.html
@@ -85,13 +85,18 @@
85 <img v-bind:src="scope.row.previewUrl" height="48px" width="48px"/> 85 <img v-bind:src="scope.row.previewUrl" height="48px" width="48px"/>
86 </template> 86 </template>
87 </el-table-column> 87 </el-table-column>
88 <el-table-column prop="filePath" label="Name" sortable></el-table-column> 88 <el-table-column prop="filePath" label="Name" sortable>
89 <template slot-scope="scope">
90 <el-input v-on:keyup.native.enter="onRenameSubmit(scope.row)" v-on:keyup.native.esc="onRenameEnd(scope.row)" @blur="onRenameEnd(scope.row)" v-model="scope.row.filePathNew" :id="'filePathRenameInputId-' + scope.$index" v-show="scope.row.rename"></el-input>
91 <span v-show="!scope.row.rename">{{ scope.row.filePath }}</span>
92 </template>
93 </el-table-column>
89 <el-table-column prop="size" label="Size" width="150px" sortable :formatter="prettyFileSize"></el-table-column> 94 <el-table-column prop="size" label="Size" width="150px" sortable :formatter="prettyFileSize"></el-table-column>
90 <el-table-column prop="mtime" label="Modified" width="150px" sortable :formatter="prettyDate"></el-table-column> 95 <el-table-column prop="mtime" label="Modified" width="150px" sortable :formatter="prettyDate"></el-table-column>
91 <el-table-column label="Actions" align="right" width="200px" class-name="list-actions"> 96 <el-table-column label="Actions" align="right" width="200px" class-name="list-actions">
92 <template slot-scope="scope"> 97 <template slot-scope="scope">
93 <el-button size="small" icon="el-icon-download" circle v-show="scope.row.isFile" @click.stop="onDownload(scope.row)"></el-button> 98 <el-button size="small" icon="el-icon-download" circle v-show="scope.row.isFile" @click.stop="onDownload(scope.row)"></el-button>
94 <el-button size="small" icon="el-icon-edit" circle @click.stop="onRename(scope.row)"></el-button> 99 <el-button size="small" icon="el-icon-edit" circle @click.stop="onRename(scope.row, scope)"></el-button>
95 <el-button size="small" icon="el-icon-delete" circle @click.stop="onDelete(scope.row)"></el-button> 100 <el-button size="small" icon="el-icon-delete" circle @click.stop="onDelete(scope.row)"></el-button>
96 </template> 101 </template>
97 </el-table-column> 102 </el-table-column>