| 1 | <div class="panel panel-default"> |
| 2 | <div class="panel-heading"> |
| 3 | <h3 class="panel-title">{{translateTitle(currentNode)}}</h3> |
| 4 | </div> |
| 5 | <div class="panel-body"> |
| 6 | <div class="row"> |
| 7 | <div class="col-xs-12 col-sm-12 col-md-6 col-lg-6"> |
| 8 | <div class="form-group"> |
| 9 | <label for="privateKey" id="lpv"><span>{{translateTitle(currentNode.data[0])}}</span></label> |
| 10 | <textarea id="privateKey" aria-describedby="lpv" class="form-control" rows="8" ng-model="currentNode.data[0].data"></textarea> |
| 11 | </div> |
| 12 | <div class="form-group"> |
| 13 | <label for="privkfile" id="lprivkfile"><span trspan="replaceByFile"></span></label> |
| 14 | <input id="privkfile" aria-describedby="lprivkfile" type="file" class="form-control" on-read-file="replaceContent(currentNode.data[0],$fileContent)"/> |
| 15 | </div> |
| 16 | <div class="form-group"> |
| 17 | <label for="keypwd" id="lkp"><span>{{translateTitle(currentNode.data[1])}}</span></label> |
| 18 | <input id="keypwd" aria-describedby="lkp" class="form-control" ng-model="currentNode.data[1].data"/> |
| 19 | </div> |
| 20 | </div> |
| 21 | <div class="col-xs-12 col-sm-12 col-md-6 col-lg-6"> |
| 22 | <div class="form-group"> |
| 23 | <label for="publicKey" id="lpub"><span>{{translateTitle(currentNode.data[2])}}</span></label> |
| 24 | <textarea id="publicKey" aria-describedby="lpub" class="form-control" rows="8" ng-model="currentNode.data[2].data"></textarea> |
| 25 | </div> |
| 26 | <div class="form-group"> |
| 27 | <label for="privkfile" id="lprivkfile"><span trspan="replaceByFile"></span></label> |
| 28 | <input id="privkfile" aria-describedby="lprivkfile" type="file" class="form-control" on-read-file="replaceContent(currentNode.data[2],$fileContent)"/> |
| 29 | </div> |
| 30 | </div> |
| 31 | </div> |
| 32 | </div> |
| 33 | </div> |
| 34 | <script type="text/menu"> |
| 35 | [{ |
| 36 | "title": "newCertificate", |
| 37 | "icon": "plus-sign" |
| 38 | },{ |
| 39 | "title": "download", |
| 40 | "icon": "save-file", |
| 41 | "action": "saveAsPem" |
| 42 | }] |
| 43 | </script> |