mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 06:30:59 +01:00
Add app icons into pref's selectbox and fix some styling
This commit is contained in:
parent
2507fc99bd
commit
786fe5ff69
@ -13,6 +13,7 @@
|
||||
use EGroupware\Api;
|
||||
use EGroupware\Api\Framework;
|
||||
use EGroupware\Api\Egw;
|
||||
use EGroupware\Api\Image;
|
||||
use EGroupware\Api\Vfs;
|
||||
use EGroupware\Api\Etemplate;
|
||||
|
||||
@ -573,7 +574,11 @@ class preferences_settings
|
||||
{
|
||||
if ($app != 'preferences' && $GLOBALS['egw_info']['user']['apps'][$app])
|
||||
{
|
||||
$sel_options['appname'][$app] = $GLOBALS['egw_info']['apps'][$app]['title'];
|
||||
$sel_options['appname'][$app] = [
|
||||
'value' => $app,
|
||||
'label' => $GLOBALS['egw_info']['apps'][$app]['title'],
|
||||
'icon' => Image::find($app, 'navbar')
|
||||
];
|
||||
}
|
||||
}
|
||||
natcasesort($sel_options['appname']);
|
||||
|
@ -36,12 +36,12 @@ tr.prefRow > td.prefValueColumn {
|
||||
.prefHelp {
|
||||
position: absolute;
|
||||
display: none;
|
||||
width: 255px;
|
||||
width: 250px;
|
||||
max-height: 99%;
|
||||
height: calc(99% - 150px);
|
||||
height: calc(99% - 157px);
|
||||
background-color: #f0f0ff;
|
||||
padding: 5px;
|
||||
top: 80px;
|
||||
top: 95px;
|
||||
overflow-y: auto;
|
||||
z-index: 1;
|
||||
}
|
||||
|
@ -35,7 +35,7 @@
|
||||
<menupopup id="type" onchange="1" class="prefType"/>
|
||||
</menulist>
|
||||
</hbox>
|
||||
<tabbox id="tabs" tab_height="400">
|
||||
<tabbox id="tabs" tab_height="450">
|
||||
<tabs>
|
||||
<tab id="tab1" label="Settings"/>
|
||||
</tabs>
|
||||
|
Loading…
Reference in New Issue
Block a user