mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 09:03:49 +00:00
Users - Edit: Minor visual adjustment to API Key Generate and View buttons.
This commit is contained in:
@@ -1077,6 +1077,7 @@
|
||||
echo button::create(['type'=>'button',
|
||||
'label'=>$text['button-generate'],
|
||||
'icon'=>'key',
|
||||
'style'=>'margin-top: 1px; margin-bottom: 1px;',
|
||||
'onclick'=>"document.getElementById('api_key').value = '".generate_password(32,3)."';
|
||||
document.getElementById('frm').submit();"]);
|
||||
}
|
||||
@@ -1086,6 +1087,7 @@
|
||||
'label'=>$text['button-view'],
|
||||
'id'=>'button-api_key_view',
|
||||
'icon'=>'key',
|
||||
'style'=>'margin-top: 1px; margin-bottom: 1px;',
|
||||
'onclick'=>"document.getElementById ('button-api_key_view').style.display = 'none';
|
||||
document.getElementById('api_key').style.display = 'inline';
|
||||
document.getElementById('button-api_key_hide').style.display = 'inline';
|
||||
|
||||
Reference in New Issue
Block a user