aboutsummaryrefslogtreecommitdiffhomepage
path: root/frontend
diff options
context:
space:
mode:
Diffstat (limited to 'frontend')
-rw-r--r--frontend/index.html3
-rw-r--r--frontend/js/app.js3
2 files changed, 5 insertions, 1 deletions
diff --git a/frontend/index.html b/frontend/index.html
index 20f2c8d..1d7a3c5 100644
--- a/frontend/index.html
+++ b/frontend/index.html
@@ -126,6 +126,9 @@
126 <template slot-scope="scope"> 126 <template slot-scope="scope">
127 <el-button size="small" icon="el-icon-download" type="text" plain circle v-show="!scope.row.rename && scope.row.isFile" @click.stop="onDownload(scope.row)"></el-button> 127 <el-button size="small" icon="el-icon-download" type="text" plain circle v-show="!scope.row.rename && scope.row.isFile" @click.stop="onDownload(scope.row)"></el-button>
128 <el-button size="small" icon="el-icon-delete" type="text" plain circle v-show="!scope.row.rename" @click.stop="onDelete(scope.row)"></el-button> 128 <el-button size="small" icon="el-icon-delete" type="text" plain circle v-show="!scope.row.rename" @click.stop="onDelete(scope.row)"></el-button>
129 <a :href="sanitize(path + '/' + scope.row.filePath)" target="_blank">
130 <el-button size="small" icon="el-icon-link" style="margin: 10px;">Link</el-button>
131 </a>
129 </template> 132 </template>
130 </el-table-column> 133 </el-table-column>
131 </el-table> 134 </el-table>
diff --git a/frontend/js/app.js b/frontend/js/app.js
index f532bc1..61f1b46 100644
--- a/frontend/js/app.js
+++ b/frontend/js/app.js
@@ -500,7 +500,8 @@ var app = new Vue({
500 }, 500 },
501 open: open, 501 open: open,
502 drop: drop, 502 drop: drop,
503 dragOver: dragOver 503 dragOver: dragOver,
504 sanitize: sanitize
504 } 505 }
505}); 506});
506 507