settings.html 1.4 KB

1234567891011121314151617181920212223242526272829303132333435
  1. <ion-header>
  2. <ion-navbar>
  3. <button ion-button menuToggle>
  4. <ion-icon name="menu"></ion-icon>
  5. </button>
  6. <ion-title>Settings</ion-title>
  7. </ion-navbar>
  8. </ion-header>
  9. <ion-content padding>
  10. <ion-card>
  11. <ion-card-header>Keywords for Private Mode</ion-card-header>
  12. <ion-card-content>
  13. <p>The following hashtags will automatically activate the private mode when liking or writing a tweet.</p>
  14. <ion-label color="primary" stacked>Keywords:</ion-label>
  15. <ion-textarea [(ngModel)]="keywords"></ion-textarea>
  16. </ion-card-content>
  17. </ion-card>
  18. <ion-card>
  19. <ion-card-header>Encryption</ion-card-header>
  20. <ion-card-content>
  21. <p>To protect your privacy, all data send to the P2P network will be encrypted. Therefore you need to enter or generate
  22. a pair of keys. If you run the app on multiple devices, please enter everywhere the same pair of keys.</p>
  23. <button ion-button block>Generate keys</button>
  24. <ion-label color="primary" stacked>Public Key:</ion-label>
  25. <ion-textarea [(ngModel)]="privateKey"></ion-textarea>
  26. <ion-label color="primary" stacked>Private Key:</ion-label>
  27. <ion-textarea [(ngModel)]="publicKey"></ion-textarea>
  28. <p>Under no circumstances share your private key with any other person!</p>
  29. </ion-card-content>
  30. </ion-card>
  31. <button ion-button block (click)="save()">Save</button>
  32. </ion-content>