Manager display part of IssuerGet ("#1025)
This commit is contained in:
parent
df1820c417
commit
bca4db1cb3
|
@ -5,37 +5,38 @@ Special container to show hash in hash
|
|||
<div class="panel-heading">
|
||||
<h3 class="panel-title">{{translateTitle(currentNode)}}</h3>
|
||||
</div>
|
||||
<div class="panel-body" ng-repeat="(n,h) in currentNode.data">
|
||||
<div class="panel-body" ng-repeat="n in currentNode.data">
|
||||
<div class="input-group">
|
||||
<span class="input-group-addon" trspan="hostname"></span>
|
||||
<input type="text" class="form-control" ng-model="n"/>
|
||||
<input type="text" class="form-control" ng-model="n.k"/>
|
||||
</div>
|
||||
<table class="table table-striped">
|
||||
<thead>
|
||||
<tr><th width="40%" trspan="keys"></th><th width="40%" trspan="values"></th><th></th></tr>
|
||||
<tr>
|
||||
<th width="40%" trspan="keys"></th>
|
||||
<th width="40%" trspan="values"></th>
|
||||
<th><span class="link text-success glyphicon glyphicon-plus-sign" ng-click="n.h.push({'k':'key','v':'uid'})"/></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr ng-repeat="(k,v) in h.data">
|
||||
<td><input class="form-control" ng-model="k"/></td>
|
||||
<td><input class="form-control" ng-model="v"/></td>
|
||||
<td><span class="link text-success glyphicon glyphicon-plus-sign" ng-click="h.new='new'"/></td>
|
||||
<tr ng-repeat="get in n.h">
|
||||
<td><input class="form-control" ng-model="get.k"/></td>
|
||||
<td><input class="form-control" ng-model="get.v"/></td>
|
||||
<td>
|
||||
<span class="link text-danger glyphicon glyphicon-minus-sign" ng-click="h.delete(k)"/>
|
||||
<span ng-if="$last" class="link text-success glyphicon glyphicon-plus-sign" ng-click="h.push({'new':'new'})"/>
|
||||
<span class="link text-danger glyphicon glyphicon-minus-sign" ng-click="n.h.splice($index,1)"/>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<pre>{{currentNode|json}}</pre>
|
||||
</div>
|
||||
<script type="text/menu">
|
||||
[{
|
||||
'title': 'newHost',
|
||||
'action': function(cn,scope){
|
||||
console.log(cn);
|
||||
if(!cn.data) cn.data={};
|
||||
cn.data["newHost"]={"new":"value"};
|
||||
if(!cn.data) cn.data=[];
|
||||
cn.data.push({"k":"newHost",h:[{"k":"key","v":"uid"}]});
|
||||
},
|
||||
'icon': 'plus-sign'
|
||||
}]
|
||||
|
|
|
@ -219,7 +219,11 @@
|
|||
"internalReference": "Internal reference",
|
||||
"ipAddr": "IP address",
|
||||
"ipAddresses": "IP addresses",
|
||||
"issuerParams": "Issuer modules",
|
||||
"issuerDBGet": "GET",
|
||||
"issuerDBGetActivation": "Activation",
|
||||
"issuerDBGetParameters": "GET parameters",
|
||||
"issuerDBGetPath": "Path",
|
||||
"issuerDBGetRule": "Use rule",
|
||||
"issuerDBSAML": "SAML",
|
||||
"issuerDBSAMLActivation": "Activation",
|
||||
"issuerDBSAMLPath": "Path",
|
||||
|
@ -238,6 +242,7 @@
|
|||
"issuerDBOpenIDConnectActivation": "Activation",
|
||||
"issuerDBOpenIDConnectPath": "Path",
|
||||
"issuerDBOpenIDConnectRule": "Use rule",
|
||||
"issuerParams": "Issuer modules",
|
||||
"jsRedirect": "Redirection message",
|
||||
"jqueryButtonSelector": "jQuery button selector (optional)",
|
||||
"jqueryFormSelector": "jQuery form selector (optional)",
|
||||
|
@ -334,6 +339,7 @@
|
|||
"newCfgAvailable": "A new configuration is available",
|
||||
"newEntry": "New entry",
|
||||
"newGrantRule": "New grant rule",
|
||||
"newHost": "New host",
|
||||
"newPost": "New form replay",
|
||||
"newPostVar": "New variable",
|
||||
"newRSAKey": "New keys",
|
||||
|
|
|
@ -219,7 +219,11 @@
|
|||
"internalReference": "Référence interne ",
|
||||
"ipAddr": "Adresse IP",
|
||||
"ipAddresses": "Adresses IP",
|
||||
"issuerParams": "Modules fournisseur",
|
||||
"issuerDBGet": "GET",
|
||||
"issuerDBGetActivation": "Activation",
|
||||
"issuerDBGetParameters": "Paramètres GET",
|
||||
"issuerDBGetPath": "Chemin",
|
||||
"issuerDBGetRule": "Règle d'utilisation",
|
||||
"issuerDBSAML": "SAML",
|
||||
"issuerDBSAMLActivation": "Activation",
|
||||
"issuerDBSAMLPath": "Chemin",
|
||||
|
@ -238,6 +242,7 @@
|
|||
"issuerDBOpenIDConnectActivation": "Activation",
|
||||
"issuerDBOpenIDConnectPath": "Chemin",
|
||||
"issuerDBOpenIDConnectRule": "Utiliser la règle",
|
||||
"issuerParams": "Modules fournisseur",
|
||||
"jsRedirect": "Message de redirection",
|
||||
"jqueryButtonSelector": "Selecteur jQuery du bouton (optionnel)",
|
||||
"jqueryFormSelector": "Selecteur jQuery du formulaire (optionnel)",
|
||||
|
@ -334,6 +339,7 @@
|
|||
"newCfgAvailable": "Une nouvelle configuration est disponible",
|
||||
"newEntry": "Nouvelle entrée",
|
||||
"newGrantRule": "Nouvelle règle d'accès",
|
||||
"newHost": "Nouvel hôte",
|
||||
"newPost": "Nouveau rejeu de formulaire",
|
||||
"newPostVar": "Nouvelle variable",
|
||||
"newRSAKey": "Nouvelles clefs",
|
||||
|
|
Loading…
Reference in New Issue
Block a user