Hide/show button for password field (Closes: #777)
This commit is contained in:
parent
9c091836b2
commit
d55649c2b9
|
@ -7,8 +7,8 @@
|
|||
<th><span trspan="value"></span></th>
|
||||
<td>
|
||||
<div class="input-group">
|
||||
<input type="password" id="pwdinput" class="form-control" ng-model="currentNode.data"/>
|
||||
<span id="showp" class="input-group-addon link" trspan="show" onclick="$('#pwdinput').attr('type','text')"></span>
|
||||
<input type="{{formtype||'password'}}" id="pwdinput" class="form-control" ng-model="currentNode.data"/>
|
||||
<span id="showp" class="input-group-addon link" ng-click="formtype=(formtype==='text'?'password':'text')">{{translate(formtype==='text'?'hide':'show')}}</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
|
|
@ -196,6 +196,7 @@
|
|||
"hGroups": "Groups (HashRef)",
|
||||
"hostname": "Hostname",
|
||||
"hiddenAttributes": "Hidden attributes",
|
||||
"hide": "Hide",
|
||||
"hideHelp": "Hide help",
|
||||
"hideOldPassword": "Hide old password",
|
||||
"hideTree": "Hide tree",
|
||||
|
|
|
@ -196,6 +196,7 @@
|
|||
"hGroups": "Groupes (HashRef)",
|
||||
"hostname": "Nom d'hôte",
|
||||
"hiddenAttributes": "Attributs masqués",
|
||||
"hide": "Masquer",
|
||||
"hideHelp": "Masquer l'aide",
|
||||
"hideOldPassword": "Masquer l'ancien mot de passe",
|
||||
"hideTree": "Masquer l'arbre",
|
||||
|
|
Loading…
Reference in New Issue
Block a user