diff --git a/ncp-web/css/ncp.css b/ncp-web/css/ncp.css index 3c0a075a..5f8c524b 100644 --- a/ncp-web/css/ncp.css +++ b/ncp-web/css/ncp.css @@ -1113,7 +1113,7 @@ select { flex: 0 0 auto; } -#expand { +.expand { position: relative; display: flex; align-items: center; @@ -1121,15 +1121,19 @@ select { cursor: pointer; } -#expand * { +.expand * { cursor: pointer; } -#expand:hover img,#expand:focus img,#expand:active img,#expand:hover #expandDisplayName,#expand:focus #expandDisplayName,#expand:active #expandDisplayName { +.expand:hover img,.expand:focus img,.expand:active img,.expand:hover .expandDisplayName,.expand:focus .expandDisplayName,.expand:active .expandDisplayName { -ms-filter:'progid:DXImageTransform.Microsoft.Alpha(Opacity=100)'; opacity:1 } +.search-div { + padding-right: 0px; +} + .icon-power-white { background-image: url('../img/poweroff.svg'); } @@ -1139,6 +1143,9 @@ select { .icon-nc-info { background-image: url('../img/info-white.svg'); } +.icon-search { + background-image: url('../img/search.svg'); +} .icon-config { background-image: url('../img/settings-white.svg'); } @@ -1170,7 +1177,7 @@ select { right: 1em; } -#expand #expandDisplayName { +.expand .expandDisplayName { padding: 8px; opacity: 0.6; } diff --git a/ncp-web/elements.php b/ncp-web/elements.php index f06c62b2..5800dedb 100644 --- a/ncp-web/elements.php +++ b/ncp-web/elements.php @@ -128,6 +128,7 @@ function print_config_forms( $l /* translations l10n object */ ) $hidden = ''; $ret .= << +

$cfg[description]

$cfg[info]
@@ -160,7 +161,7 @@ function print_sidebar( $l /* translations l10n object */, $ticks /* wether to c $sections = array_diff(scandir($bin_dir), array('.', '..', 'l10n')); foreach ($sections as $section) { - $ret .= "
  • {$l->__($section, $section)}"; + $ret .= "
  • {$l->__($section, $section)}"; $scripts = array_diff(scandir($bin_dir . $section), array('.', '..', 'nc-wifi.sh', 'nc-info.sh')); foreach ($scripts as $script) @@ -180,7 +181,7 @@ function print_sidebar( $l /* translations l10n object */, $ticks /* wether to c $selected = ""; if (array_key_exists('app',$_GET) && $_GET['app'] == $ncp_app) $selected = "active"; - $ret .= "