diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2020-05-05 01:17:41 +0200 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2020-05-05 01:17:41 +0200 |
commit | d34561d155e99a263bf8874318a91e0161518e4a (patch) | |
tree | 44bd1442ea74514d533f8bab6d93360820f98e3d /frontend/public.html | |
parent | 0ac3ab8ea976f580ff68b6c003436fb536020c5c (diff) | |
download | Surfer-d34561d155e99a263bf8874318a91e0161518e4a.tar.gz Surfer-d34561d155e99a263bf8874318a91e0161518e4a.tar.zst Surfer-d34561d155e99a263bf8874318a91e0161518e4a.zip |
Add raw/tar/zip endpoints
Diffstat (limited to 'frontend/public.html')
-rw-r--r-- | frontend/public.html | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/frontend/public.html b/frontend/public.html index 2ddf543..b31401f 100644 --- a/frontend/public.html +++ b/frontend/public.html | |||
@@ -28,6 +28,15 @@ | |||
28 | <p style="font-size: 24px; margin: 4px 0;">{{ path }}</p> | 28 | <p style="font-size: 24px; margin: 4px 0;">{{ path }}</p> |
29 | </div> | 29 | </div> |
30 | <div> | 30 | <div> |
31 | <a v-bind:href="'/raw' + path"> | ||
32 | <el-button type="primary" icon="el-icon-download" size="small">Raw (curl/wget friendly)</el-button> | ||
33 | </a> | ||
34 | <a v-bind:href="'/tar' + path"> | ||
35 | <el-button type="primary" icon="el-icon-download" size="small">Download Tar.gz</el-button> | ||
36 | </a> | ||
37 | <a v-bind:href="'/zip' + path"> | ||
38 | <el-button type="primary" icon="el-icon-download" size="small">Download Zip</el-button> | ||
39 | </a> | ||
31 | <a href="/_admin"> | 40 | <a href="/_admin"> |
32 | <el-button type="primary" icon="el-icon-user" size="small">Login</el-button> | 41 | <el-button type="primary" icon="el-icon-user" size="small">Login</el-button> |
33 | </a> | 42 | </a> |