git ssb

3+

dangerousbeans / scuttle-vue



Commit 8dc25143a3f37f1618f7a92b3c46dec512b43bfd

fix settings page

Joran committed on 8/5/2018, 1:03:18 AM
Parent: 24407748211492167d2e4dbb085864747d36783a

Files changed

src/components/Settings.vuechanged
src/components/Settings.vueView
@@ -1,36 +1,18 @@
11 <template>
22 <fieldset class="row">
33 <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">
1911 <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 +
3315 </div>
3416 </fieldset>
3517 </template>
3618

Built with git-ssb-web