aboutsummaryrefslogtreecommitdiffhomepage
path: root/frontend/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/index.html')
-rw-r--r--frontend/index.html16
1 files changed, 16 insertions, 0 deletions
diff --git a/frontend/index.html b/frontend/index.html
index 2d97e1c..20154da 100644
--- a/frontend/index.html
+++ b/frontend/index.html
@@ -36,6 +36,21 @@
36 </span> 36 </span>
37 </el-dialog> 37 </el-dialog>
38 38
39 <el-dialog title="Access Tokens" :visible.sync="accessTokensDialogVisible" width="30%">
40 Tokens can be used with the surfer <a href="https://www.npmjs.com/package/cloudron-surfer" target="_blank">cli tool</a> or using the Api directly.
41 They are shared between all users.
42 <br/>
43 <br/>
44 <div>
45 <div v-for="accessToken in accessTokens">
46 <el-input suffix-icon="el-icon-copy-document" v-model="accessToken" class="access-token-input" @focus="onCopyAccessToken" size="small"></el-input>
47 <el-button icon="el-icon-delete" type="danger" size="small" @click="onDeleteAccessToken(accessToken)"></el-button>
48 </div>
49 </div>
50 <br/>
51 <el-button @click="onCreateAccessToken()" size="small" type="primary">Create Access Token</el-button>
52 </el-dialog>
53
39 <el-header> 54 <el-header>
40 <el-row type="flex" justify="space-between"> 55 <el-row type="flex" justify="space-between">
41 <div style="padding: 7px;"> 56 <div style="padding: 7px;">
@@ -66,6 +81,7 @@
66 </el-dropdown-item> 81 </el-dropdown-item>
67 <el-dropdown-item disabled divided>WebDAV Endpoint</el-dropdown-item> 82 <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> 83 <el-dropdown-item><a href="/_webdav/" target="_blank">{{ origin }}/_webdav/</a></el-dropdown-item>
84 <el-dropdown-item command="apiAccess" divided><i class="el-icon-connection"></i> Access Tokens</el-dropdown-item>
69 <el-dropdown-item command="about" divided><i class="el-icon-info"></i> About</el-dropdown-item> 85 <el-dropdown-item command="about" divided><i class="el-icon-info"></i> About</el-dropdown-item>
70 <el-dropdown-item command="logout" id="logoutButton"><i class="el-icon-circle-close"></i> Logout</el-dropdown-item> 86 <el-dropdown-item command="logout" id="logoutButton"><i class="el-icon-circle-close"></i> Logout</el-dropdown-item>
71 </el-dropdown-menu> 87 </el-dropdown-menu>