Adjust dropdownchecklst width according to selected theme

This commit is contained in:
bergware
2017-08-21 14:29:25 +02:00
parent 8e3da0399c
commit 65a498230a
11 changed files with 42 additions and 26 deletions

View File

@@ -34,7 +34,7 @@ $banner = '/boot/config/plugins/dynamix/banner.png';
echo "#header.image{background-image:url(";
echo file_exists($banner) ? autov($banner) : '/webGui/images/banner.png';
echo ")}\n";
if ($display['theme']=='gray' || $display['theme']=='azure') {
if (strstr('gray,azure',$display['theme'])) {
$pages = find_pages('Tasks');
foreach ($pages as $page) if ($page['Code']) echo "#nav-item a[href='/{$page['name']}']:before{content:'\\{$page['Code']}'}\n";
}