Commit ca5a757f by Johannes Zellner

Show webdav endpoint in settings and welcome page

1 parent f5f2a699
...@@ -62,8 +62,10 @@ ...@@ -62,8 +62,10 @@
<el-dropdown-item disabled>Public Folder Listing</el-dropdown-item> <el-dropdown-item disabled>Public Folder Listing</el-dropdown-item>
<el-dropdown-item command="folderListing"> <el-dropdown-item command="folderListing">
<el-switch v-model="folderListingEnabled" active-text="Enabled" inactive-text="Disabled"> <el-switch v-model="folderListingEnabled" active-text="Enabled" inactive-text="Disabled">
</el-switch> </el-switch>
</el-dropdown-item> </el-dropdown-item>
<el-dropdown-item disabled divided>WebDAV Endpoint</el-dropdown-item>
<el-dropdown-item><a href="/_webdav/" target="_blank">{{ origin }}/_webdav/</a></el-dropdown-item>
<el-dropdown-item command="about" divided><i class="el-icon-info"></i> About</el-dropdown-item> <el-dropdown-item command="about" divided><i class="el-icon-info"></i> About</el-dropdown-item>
<el-dropdown-item command="logout" id="logoutButton"><i class="el-icon-circle-close"></i> Logout</el-dropdown-item> <el-dropdown-item command="logout" id="logoutButton"><i class="el-icon-circle-close"></i> Logout</el-dropdown-item>
</el-dropdown-menu> </el-dropdown-menu>
......
...@@ -259,6 +259,7 @@ var app = new Vue({ ...@@ -259,6 +259,7 @@ var app = new Vue({
data: { data: {
ready: false, ready: false,
busy: false, busy: false,
origin: window.location.origin,
uploadStatus: { uploadStatus: {
busy: false, busy: false,
count: 0, count: 0,
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
<img src="/_admin/img/logo.png"/> <img src="/_admin/img/logo.png"/>
<h2> Surfer </h2> <h2> Surfer </h2>
<p> <p>
<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>. <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>.
</p> </p>
<br/> <br/>
<br/> <br/>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!