41 lines
2.0 KiB
HTML
41 lines
2.0 KiB
HTML
<div class="panel panel-default">
|
|
<div class="panel panel-heading">
|
|
<h3 class="panel-title">{{translateTitle(currentNode)}}</h3>
|
|
</div>
|
|
<div class="panel panel-body">
|
|
<div class="container-fluid">
|
|
<div class="col-xs-12 col-sm-12 col-md-6 col-lg-6">
|
|
<div class="input-group" style="width:100%;">
|
|
<label for="privateKey" id="lpv"><span>{{translateTitle(currentNode.data[0])}}</span></label>
|
|
<textarea id="privateKey" aria-describedby="lpv" class="form-control" rows="8" ng-model="currentNode.data[0].data"></textarea>
|
|
</div>
|
|
<div class="input-group">
|
|
<label for="privkfile" id="lprivkfile"><span trspan="replaceByFile"/> :</label>
|
|
<input id="privkfile" aria-describedby="lprivkfile" type="file" class="form-control" on-read-file="replaceContent(currentNode.data[0],$fileContent)"/>
|
|
</div>
|
|
</div>
|
|
<div class="col-xs-12 col-sm-12 col-md-6 col-lg-6">
|
|
<div class="input-group" style="width:100%;">
|
|
<label for="publicKey" id="lpub"><span>{{translateTitle(currentNode.data[2])}}</span></label>
|
|
<textarea id="publicKey" aria-describedby="lpub" class="form-control" rows="8" ng-model="currentNode.data[2].data"></textarea>
|
|
</div>
|
|
<div class="panel panel-body input-group">
|
|
<label for="privkfile" id="lprivkfile"><span trspan="replaceByFile"/> :</label>
|
|
<input id="privkfile" aria-describedby="lprivkfile" type="file" class="form-control" on-read-file="replaceContent(currentNode.data[2],$fileContent)"/>
|
|
</div>
|
|
</div>
|
|
<div class="col-xs-12 col-sm-12 col-md-6 col-lg-6">
|
|
<div class="input-group" style="width:100%;">
|
|
<label class="input-group-addon" for="keypwd">{{translateTitle(currentNode.data[1])}}</label>
|
|
<input id="keypwd" class="form-control" ng-model="currentNode.data[1].data"/>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<script type="text/javascript">
|
|
buttons=[{
|
|
"title":"newRSAKey"
|
|
}];
|
|
</script>
|