diff options
-rw-r--r-- | frontend/index.html | 4 | ||||
-rw-r--r-- | frontend/js/app.js | 1 | ||||
-rw-r--r-- | frontend/welcome.html | 2 |
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/> |