aboutsummaryrefslogtreecommitdiffhomepage
path: root/frontend/index.html
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2020-05-05 01:17:41 +0200
committerIsmaël Bouya <ismael.bouya@normalesup.org>2020-05-05 01:17:41 +0200
commitd34561d155e99a263bf8874318a91e0161518e4a (patch)
tree44bd1442ea74514d533f8bab6d93360820f98e3d /frontend/index.html
parent0ac3ab8ea976f580ff68b6c003436fb536020c5c (diff)
downloadSurfer-d34561d155e99a263bf8874318a91e0161518e4a.tar.gz
Surfer-d34561d155e99a263bf8874318a91e0161518e4a.tar.zst
Surfer-d34561d155e99a263bf8874318a91e0161518e4a.zip
Add raw/tar/zip endpoints
Diffstat (limited to 'frontend/index.html')
-rw-r--r--frontend/index.html11
1 files changed, 11 insertions, 0 deletions
diff --git a/frontend/index.html b/frontend/index.html
index 3a2f7f7..20f2c8d 100644
--- a/frontend/index.html
+++ b/frontend/index.html
@@ -67,6 +67,17 @@
67 </div> 67 </div>
68 <div align="right" v-show="session.valid"> 68 <div align="right" v-show="session.valid">
69 <el-button-group> 69 <el-button-group>
70 <a v-bind:href="'/raw' + path">
71 <el-button type="primary" icon="el-icon-download" size="small">Raw (curl/wget friendly)</el-button>
72 </a>
73 <a v-bind:href="'/tar' + path">
74 <el-button type="primary" icon="el-icon-download" size="small">Download Tar.gz</el-button>
75 </a>
76 <a v-bind:href="'/zip' + path">
77 <el-button type="primary" icon="el-icon-download" size="small">Download Zip</el-button>
78 </a>
79 </el-button-group>
80 <el-button-group>
70 <el-button type="primary" icon="el-icon-upload2" size="small" @click="onUpload">Upload File</el-button> 81 <el-button type="primary" icon="el-icon-upload2" size="small" @click="onUpload">Upload File</el-button>
71 <el-button type="primary" icon="el-icon-upload" size="small" @click="onUploadFolder">Upload Folder</el-button> 82 <el-button type="primary" icon="el-icon-upload" size="small" @click="onUploadFolder">Upload Folder</el-button>
72 <el-button type="primary" icon="el-icon-plus" size="small" @click="onNewFolder">New Folder</el-button> 83 <el-button type="primary" icon="el-icon-plus" size="small" @click="onNewFolder">New Folder</el-button>