1
0

Identity.vue 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149
  1. <template>
  2. <main class="tab-pane">
  3. <div class="row">
  4. <div class="col-xs-12 col-sm-7">
  5. <p class="intro mt-2">
  6. Hush Your Money is the <strong>open source</strong> and <strong>non-custodial</strong> solution for <strong>trustless anonymity management</strong> of your <strong class="text-success">Bitcoin Cash (BCH)</strong> using the leading standards in decentralized protocols.
  7. <br /><small><a href="javascript://" class="text-danger">(learn more)</a></small>
  8. </p>
  9. <hr />
  10. <div class="info-text easy">
  11. Shuffling is as easy as <span class="text-primary">1-2-3</span>
  12. </div>
  13. <div class="easy-steps">
  14. <sup class="text-primary">1 <i class="fa fa-long-arrow-right"></i></sup>
  15. Click the smiley face to select a <strong class="text-primary">UNIQUE</strong> photo or image file from your device's library.
  16. If you're using a camera-enabled device, we recommend taking a new photo now.
  17. </div>
  18. <div class="easy-steps mt-2">
  19. <sup class="text-primary">2 <i class="fa fa-long-arrow-right"></i></sup>
  20. Next, send one or more coin(s) to the deposit address(es) shown in the Shuffler.
  21. </div>
  22. <div class="easy-steps mt-2">
  23. <sup class="text-primary">3 <i class="fa fa-long-arrow-right"></i></sup>
  24. After shuffling, spend your coins wisely or try a more advanced mixing solution like CashFusion.
  25. <small><a href="javascript://" class="text-danger">(learn more)</a></small>
  26. </div>
  27. </div>
  28. <div class="col-xs-12 col-sm-5">
  29. <div class="row">
  30. <div class="col-xs-8 col-xs-offset-2">
  31. <div class="picture-container" @click="selectIdentity">
  32. <div class="picture">
  33. <img :src="dataUrl" class="picture-src" title="" />
  34. </div>
  35. </div>
  36. </div>
  37. </div>
  38. <hr />
  39. <div class="row">
  40. <div class="col-xs-10 col-xs-offset-1">
  41. <div class="form-group">
  42. <label>
  43. Seed phrase
  44. <small class="text-danger btn-privacy" @click="togglePrivacy">
  45. (click to show)
  46. </small>
  47. </label>
  48. <input
  49. type="text"
  50. class="form-control"
  51. placeholder="Private seed phrase"
  52. disabled
  53. :value="displaySeedPhrase"
  54. />
  55. </div>
  56. </div>
  57. </div>
  58. <div class="row">
  59. <div class="col-xs-10 col-xs-offset-1">
  60. <div class="form-group">
  61. <label>
  62. Password
  63. <small class="text-secondary">
  64. (optional)
  65. </small>
  66. </label>
  67. <input
  68. type="password"
  69. class="form-control"
  70. placeholder="Enter an optional password"
  71. v-model="password"
  72. />
  73. </div>
  74. </div>
  75. </div>
  76. </div>
  77. </div>
  78. <!-- hidden input -->
  79. <input
  80. ref="fileInput"
  81. type="file"
  82. id="wizard-picture"
  83. @change="readURL"
  84. />
  85. </main>
  86. </template>
  87. <script>
  88. /* Import modules. */
  89. // import Nexa from 'nexajs'
  90. let Nexa
  91. import scrypt from 'scrypt-js'
  92. import Swal from 'sweetalert2'
  93. </script>
  94. <style scoped>
  95. .intro {
  96. font-size: 0.9em;
  97. color: rgba(30, 30, 30, 0.5);
  98. }
  99. .easy {
  100. font-size: 1.6em;
  101. }
  102. .easy-steps sup {
  103. font-weight: 600;
  104. /* font-size: 1.6em; */
  105. }
  106. .warning {
  107. font-size: 1.4em;
  108. }
  109. .warning-msg {
  110. margin-top: 10px;
  111. }
  112. .btn-privacy {
  113. cursor: pointer;
  114. }
  115. #wizard-picture {
  116. display: none;
  117. }
  118. .picture {
  119. margin-top: 20px;
  120. }
  121. </style>