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.

46 lines
2.1 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. <div ng-click="newID()" class="btn btn-raised c_o_pink300">Create new ID</div>
  9. </div>
  10. <hr>
  11. <div class="card-body">
  12. <h4 class="card-title">
  13. My IDs
  14. </h4>
  15. <div class="row" style="height:200px;" ng-repeat="id in ids">
  16. <div class="col-sm-6">
  17. Public Key: {{id.pubK}}
  18. <!--<br> Private Key: {{id.privK}}-->
  19. <br> Date of creation: {{id.date}}
  20. <!--<br> {{id.pubKSigned}}-->
  21. <br>
  22. <br><br>
  23. </div>
  24. <div class="col-sm-6">
  25. <div class="pull-right">
  26. <span class="badge c_o_red300" ng-show="!id.verified">Not verified</span>
  27. <span class="badge c_o_green300" ng-show="id.verified">Verified</span>
  28. </div>
  29. <div class="pull-right">
  30. <span class="badge c_o_orange300" ng-show="!id.pubKSigned">Not signed</span>
  31. <span class="badge c_o_green300" ng-show="id.pubKSigned">Signed</span>
  32. </div>
  33. <div ng-click="blindAndSendToSign(id.pubK)" ng-show="!id.pubKSigned" class="btn btn-sm btn-raised c_o_cyan300 pull-right">Send to serverIDsigner</div>
  34. <div ng-click="verify(id.pubK)" ng-show="!id.verified"class="btn btn-sm btn-raised c_o_deepPurple300 pull-right">Verify</div>
  35. </div>
  36. </div>
  37. </div>
  38. </div>
  39. </div>
  40. <div class="col-sm-2">
  41. </div>
  42. </div>
  43. </div>