Commit 8dc25143a3f37f1618f7a92b3c46dec512b43bfd
fix settings page
Joran committed on 8/5/2018, 1:03:18 AMParent: 24407748211492167d2e4dbb085864747d36783a
Files changed
src/components/Settings.vue | changed |
src/components/Settings.vue | ||
---|---|---|
@@ -1,36 +1,18 @@ | ||
1 | 1 … | <template> |
2 | 2 … | <fieldset class="row"> |
3 | 3 … | <div class="col-sm-12"> |
4 | - <p> | |
5 | - <h5>Private Identity</h5> | |
6 | - <div class="input-group"> | |
7 | - <span class="input-group-addon" id="identity-key">key</span> | |
8 | - <input type="text" class="form-control" v-model.trim="identity.key" placeholder="~/.ssb secret localStorage key" aria-label="~/.ssb secret localStorage key" aria-describedby="identity-key"> | |
9 | - <span class="input-group-addon" id="identity-value">value</span> | |
10 | - <input type="text" class="form-control" v-model.trim="identity.value" @input="updateValue(identity.key, $event.target.value)" placeholder="~/.ssb secret" aria-label="~/.ssb secret" aria-describedby="identity-value"> | |
11 | - </div> | |
12 | - </p> | |
13 | - <p> | |
14 | - <h5>Websocket URL</h5> | |
15 | - <div class="input-group"> | |
16 | - <span class="input-group-addon" id="remoteWebsocket-key">key</span> | |
17 | - <input type="text" class="form-control" v-model.trim="remoteWebsocket.key" placeholder="remote websocket localStorage key" aria-label="remote websocket localStorage key" aria-describedby="identity-key"> | |
18 | - <span class="input-group-addon" id="remoteWebsocket-value">value</span> | |
4 … | + | |
5 … | + <b-form-group label="Secret"> | |
6 … | + <b-form-textarea v-model.trim="identity.value" @input="updateValue(identity.key, $event.target.value)" placeholder="~/.ssb secret"> | |
7 … | + </b-form-textarea> | |
8 … | + </b-form-group> | |
9 … | + | |
10 … | + <b-form-group label="Remote"> | |
19 | 11 … | <input type="text" class="form-control" v-model.trim="remoteWebsocket.value" @input="updateValue(remoteWebsocket.key, $event.target.value)" placeholder="websocket url" aria-label="remoteWebsocket-value" aria-describedby="remoteWebsocket-value"> |
20 | - </div> | |
21 | - </p> | |
22 | - <p> | |
23 | - A fresh keypair is generated automatically on first load. | |
24 | - If you have an existing scuttleverse identity, you can paste it in above. | |
25 | - </p> | |
26 | - <p> | |
27 | - If you're running sbot locally you will find your keypair in ~.ssb/secret. | |
28 | - Please back up your secret securely. Otherwise you could lose that identity. | |
29 | - </p> | |
30 | - <p> | |
31 | - Be careful to never share the private part of the keypair with anyone. They could impersonate you! | |
32 | - </p> | |
12 … | + </b-form-group> | |
13 … | + | |
14 … | + | |
33 | 15 … | </div> |
34 | 16 … | </fieldset> |
35 | 17 … | </template> |
36 | 18 … |
Built with git-ssb-web