system_usermanager / authorizedkeys: input with for https://github.com/opnsense/core/issues/3905 (+ height to 10 after click)

This commit is contained in:
Ad Schellevis 2020-02-03 09:21:03 +01:00
parent 5c1756e6e9
commit 6cb988ea06

View File

@ -476,7 +476,7 @@ $( document ).ready(function() {
// expand ssh key section on click
$("#authorizedkeys").click(function(){
$(this).attr('rows', '7');
$(this).attr('rows', '10');
});
// import ldap users
@ -945,7 +945,7 @@ $( document ).ready(function() {
<tr>
<td><i class="fa fa-info-circle text-muted"></i> <?=gettext("Authorized keys");?></td>
<td>
<textarea name="authorizedkeys" id="authorizedkeys" class="form-control" cols="65" rows="1" placeholder="<?=gettext("Paste an authorized keys file here.");?>" wrap='off'><?=$pconfig['authorizedkeys'];?></textarea>
<textarea name="authorizedkeys" id="authorizedkeys" style="max-width: inherit;" class="form-control" cols="65" rows="1" placeholder="<?=gettext("Paste an authorized keys file here.");?>" wrap='off'><?=$pconfig['authorizedkeys'];?></textarea>
</td>
</tr>
<tr id="ipsecpskrow">