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.

55 lines
2.7 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 ng-click="newID()" class="btn btn-raised pull-right c_o_pink300">Create new ID</div>
  7. <h4 class="card-title">
  8. My IDs
  9. </h4>
  10. <div class="card" ng-repeat="id in ids" style="overflow-x:hidden;">
  11. <div class="card-body">
  12. <h4>{{id.pubK}}</h4>
  13. <span class="pull-right">{{id.date | date: "dd.MM.y, HH:mm:ss"}}h</span>
  14. <span class="badge c_o_red300" ng-show="!id.verified">Not verified</span>
  15. <span class="badge c_o_green300" ng-show="id.verified">Verified</span>
  16. <span class="badge c_o_orange300" ng-show="!id.unblindedsig">Not signed</span>
  17. <span class="badge c_o_blue300" ng-show="id.unblindedsig">Signed</span>
  18. <span class="badge c_o_deepPurple300" ng-show="id.blockchainref">in Blockchain</span>
  19. <div class="row">
  20. <div class="col-sm-6">
  21. <div ng-click="clientApp('blindandsendtosign', id.pubK)" ng-show="!id.unblindedsig" class="btn btn-raised btn-sm c_o_cyan300">
  22. Send to serverIDsigner
  23. </div>
  24. <div ng-click="addToBlockchain(id.pubK)" ng-show="id.unblindedsig && !id.blockchainref" class="btn btn-raised btn-sm c_o_deepPurple300">
  25. <i title="" class="fa fa-chain"></i> Add to blockchain
  26. </div>
  27. <a ng-href="#!/id/{{id.pubK}}" ng-show="id.blockchainref" class="btn btn-raised btn-sm c_o_green300">
  28. Use ID
  29. </a>
  30. </div>
  31. <div class="col-sm-6">
  32. <!--<div ng-click="verify(id.pubK)" ng-show="!id.verified"class="btn btn-sm btn-raised c_o_deepPurple300 pull-right">Verify</div>-->
  33. <div ng-click="clientApp('delete', id.pubK)" class="btn btn-raised pull-right btn-sm c_o_red300">
  34. <i title="Delete" class="fa fa-trash fa-1x"></i>
  35. </div>
  36. </div>
  37. </div>
  38. </div>
  39. </div>
  40. <div class="row">
  41. <div class="progress progress-striped" ng-show="generatingID">
  42. <div class="progress-bar progress-bar-success active" style="width: 100%"></div>
  43. </div>
  44. </div>
  45. </div>
  46. <div class="col-sm-2">
  47. </div>
  48. </div>
  49. </div>