You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

56 lines
2.4 KiB

  1. <div class="container">
  2. <div class="row">
  3. <div class="col-sm-2">
  4. </div>
  5. <div class="col-sm-8">
  6. <div class="card">
  7. <div class="card-body">
  8. <h4>ID: {{id.id}}</h4>
  9. <span class="pull-right">{{id.date | date: "dd.MM.y, HH:mm:ss"}}h</span>
  10. <span class="badge c_o_red300" ng-show="!id.verified">Not verified</span>
  11. <span class="badge c_o_green300" ng-show="id.verified">Verified</span>
  12. <span class="badge c_o_orange300" ng-show="!id.unblindedsig">Not signed</span>
  13. <span class="badge c_o_blue300" ng-show="id.unblindedsig">Signed</span>
  14. <span class="badge c_o_deepPurple300" ng-show="id.blockchainref">in Blockchain</span>
  15. <div class="row">
  16. <textarea style="color:#000000;width:100%;" rows="4"
  17. ng-model="decryptData.c"
  18. placeholder="Enter here the proof-of-decrypt..."
  19. ></textarea>
  20. </div>
  21. <h5 ng-show="decryptData.m">PoD:</h5>
  22. {{decryptData.m}}
  23. <div ng-click="decrypt()" ng-show="id.blockchainref" class="btn btn-raised pull-right c_o_pink300">
  24. Proof of decrypt
  25. </div>
  26. <br><br><br><br><br>
  27. <hr>
  28. <h5>Testing only:</h5>
  29. <div class="row">
  30. <textarea style="color:#000000;width:100%;" rows="4"
  31. ng-model="encryptData.m"
  32. placeholder="Enter here the unencrypted..."
  33. ></textarea>
  34. </div>
  35. <div class="row">
  36. <textarea style="backgroud:grey;color:#000000;width:100%;" rows="4"
  37. ng-model="encryptData.c"
  38. placeholder="Encrypted data..."
  39. ></textarea>
  40. </div>
  41. <div ng-click="encrypt()" ng-show="id.blockchainref" class="btn btn-raised pull-right c_o_orange300">
  42. Encrypt
  43. </div>
  44. </div>
  45. </div>
  46. </div>
  47. <div class="col-sm-2">
  48. </div>
  49. </div>
  50. </div>