diff options
author | Johannes Zellner <johannes@cloudron.io> | 2019-08-07 23:05:37 +0200 |
---|---|---|
committer | Johannes Zellner <johannes@cloudron.io> | 2019-08-07 23:05:37 +0200 |
commit | c2e5d204148d842204687444c2728064e5b75cd5 (patch) | |
tree | 1659de0708c7ce78adc147d485034ee1a9acbc75 | |
parent | c2c00fca7dccb6e512a0f01bc87db129538765ef (diff) | |
download | Surfer-c2e5d204148d842204687444c2728064e5b75cd5.tar.gz Surfer-c2e5d204148d842204687444c2728064e5b75cd5.tar.zst Surfer-c2e5d204148d842204687444c2728064e5b75cd5.zip |
Improve token description
-rw-r--r-- | frontend/css/style.css | 2 | ||||
-rw-r--r-- | frontend/index.html | 6 |
2 files changed, 5 insertions, 3 deletions
diff --git a/frontend/css/style.css b/frontend/css/style.css index b43d6fe..9d019b0 100644 --- a/frontend/css/style.css +++ b/frontend/css/style.css | |||
@@ -92,7 +92,7 @@ a:hover, a:focus { | |||
92 | 92 | ||
93 | .access-token-input { | 93 | .access-token-input { |
94 | padding: 5px 0; | 94 | padding: 5px 0; |
95 | width: 450px; | 95 | width: 487px; |
96 | } | 96 | } |
97 | 97 | ||
98 | .access-token-input > input, .access-token-input i { | 98 | .access-token-input > input, .access-token-input i { |
diff --git a/frontend/index.html b/frontend/index.html index 20154da..920f8cc 100644 --- a/frontend/index.html +++ b/frontend/index.html | |||
@@ -37,10 +37,12 @@ | |||
37 | </el-dialog> | 37 | </el-dialog> |
38 | 38 | ||
39 | <el-dialog title="Access Tokens" :visible.sync="accessTokensDialogVisible" width="30%"> | 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. | 40 | Access tokens are useful to programmatically deploy assets for example within a CI/CD pipeline. |
41 | They are shared between all users. | 41 | For this they 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. |
42 | <br/> | 42 | <br/> |
43 | <br/> | 43 | <br/> |
44 | <el-alert title="Tokens are shared between all users." type="warning" show-icon :closable="false"></el-alert> | ||
45 | <br/> | ||
44 | <div> | 46 | <div> |
45 | <div v-for="accessToken in accessTokens"> | 47 | <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> | 48 | <el-input suffix-icon="el-icon-copy-document" v-model="accessToken" class="access-token-input" @focus="onCopyAccessToken" size="small"></el-input> |