aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJohannes Zellner <johannes@cloudron.io>2019-02-25 15:27:54 +0100
committerJohannes Zellner <johannes@cloudron.io>2019-02-25 15:27:54 +0100
commitca5a757fab6de89ff0ee49983797e136c2b2a747 (patch)
treebf0de9eea7ca4dc931dae92c73d2e9692449ea50
parentf5f2a6996c81b972a4337b64f2aa84ad486b508f (diff)
downloadSurfer-ca5a757fab6de89ff0ee49983797e136c2b2a747.tar.gz
Surfer-ca5a757fab6de89ff0ee49983797e136c2b2a747.tar.zst
Surfer-ca5a757fab6de89ff0ee49983797e136c2b2a747.zip
Show webdav endpoint in settings and welcome page
-rw-r--r--frontend/index.html4
-rw-r--r--frontend/js/app.js1
-rw-r--r--frontend/welcome.html2
3 files changed, 5 insertions, 2 deletions
diff --git a/frontend/index.html b/frontend/index.html
index 8cea7b9..76b10e1 100644
--- a/frontend/index.html
+++ b/frontend/index.html
@@ -62,8 +62,10 @@
62 <el-dropdown-item disabled>Public Folder Listing</el-dropdown-item> 62 <el-dropdown-item disabled>Public Folder Listing</el-dropdown-item>
63 <el-dropdown-item command="folderListing"> 63 <el-dropdown-item command="folderListing">
64 <el-switch v-model="folderListingEnabled" active-text="Enabled" inactive-text="Disabled"> 64 <el-switch v-model="folderListingEnabled" active-text="Enabled" inactive-text="Disabled">
65 </el-switch> 65 </el-switch>
66 </el-dropdown-item> 66 </el-dropdown-item>
67 <el-dropdown-item disabled divided>WebDAV Endpoint</el-dropdown-item>
68 <el-dropdown-item><a href="/_webdav/" target="_blank">{{ origin }}/_webdav/</a></el-dropdown-item>
67 <el-dropdown-item command="about" divided><i class="el-icon-info"></i> About</el-dropdown-item> 69 <el-dropdown-item command="about" divided><i class="el-icon-info"></i> About</el-dropdown-item>
68 <el-dropdown-item command="logout" id="logoutButton"><i class="el-icon-circle-close"></i> Logout</el-dropdown-item> 70 <el-dropdown-item command="logout" id="logoutButton"><i class="el-icon-circle-close"></i> Logout</el-dropdown-item>
69 </el-dropdown-menu> 71 </el-dropdown-menu>
diff --git a/frontend/js/app.js b/frontend/js/app.js
index 22d203b..9a6251b 100644
--- a/frontend/js/app.js
+++ b/frontend/js/app.js
@@ -259,6 +259,7 @@ var app = new Vue({
259 data: { 259 data: {
260 ready: false, 260 ready: false,
261 busy: false, 261 busy: false,
262 origin: window.location.origin,
262 uploadStatus: { 263 uploadStatus: {
263 busy: false, 264 busy: false,
264 count: 0, 265 count: 0,
diff --git a/frontend/welcome.html b/frontend/welcome.html
index f125c1b..3523c49 100644
--- a/frontend/welcome.html
+++ b/frontend/welcome.html
@@ -13,7 +13,7 @@
13 <img src="/_admin/img/logo.png"/> 13 <img src="/_admin/img/logo.png"/>
14 <h2> Surfer </h2> 14 <h2> Surfer </h2>
15 <p> 15 <p>
16 <a href="/_admin">Manage your files in your browser</a> or use the <a href="https://www.npmjs.com/package/cloudron-surfer">commandline tool</a>. 16 <a href="/_admin">Manage your files in your browser</a>, use the <a href="https://www.npmjs.com/package/cloudron-surfer">commandline tool</a> or connect via <a href="/_webdav/">WebDAV</a>.
17 </p> 17 </p>
18 <br/> 18 <br/>
19 <br/> 19 <br/>