diff --git a/css/base.css b/css/base.css index 38ef03d..eaf28cd 100644 --- a/css/base.css +++ b/css/base.css @@ -3,6 +3,7 @@ body, html { padding:0; color:#000; background:#ffffff; + font-family: 'Segoe UI Semilight','Open Sans',Verdana,Arial,Helvetica,sans-serif; } .lightgrey { @@ -11,14 +12,14 @@ body, html { #wrap { } #menu { - width: 10%; - float: left; border: 1px solid #DDD; font-family: 'Segoe UI Semilight','Open Sans',Verdana,Arial,Helvetica,sans-serif; font-weight: 300; font-size: 14px; line-height: 1.3; + width: 10%; } + #ImportZone { height: 0px; width: 0px; diff --git a/css/horizontal-menu.css b/css/horizontal-menu.css new file mode 100644 index 0000000..4d93250 --- /dev/null +++ b/css/horizontal-menu.css @@ -0,0 +1,50 @@ +.menu-title { + display: block; + float: left; + padding: 0; + margin: 0; +} + +#menu { + border: none; +} + +#menu.horizontal { + width: 100%; + display: inline-block; + margin-bottom: 5px; + border-bottom: 1px solid #DDD; +} + +#menu.horizontal ul { + padding: 0; + margin: 0; + float: right; +} + +#menu.horizontal ul li { + float: left; + margin: 0; +} + +#menu.horizontal ul li a{ + margin-left: 5px; + padding: 6px; + color: #FFF; + background: #000; + border-radius: 8px 8px 0px 0px; + display: inline-block; +} + +#menu.horizontal ul li a:hover { + background: #1C78DE; +} + +#menu div.jtable-title-text { + line-height: inherit !important; + color: #1C78DE; +} + +.tables { + width: 100% !important; +} diff --git a/includes/config.inc.php-dist b/includes/config.inc.php-dist index c155a6e..7f6a808 100644 --- a/includes/config.inc.php-dist +++ b/includes/config.inc.php-dist @@ -53,3 +53,6 @@ $defaults['defaulttype'] = 'Master'; # Choose between 'Native $defaults['primaryns'] = 'unconfigured.primaryns'; # The value of the first NS-record $defaults['secondaryns'] = 'unconfigured.secondaryns'; # The value of the second NS-record $defaults['ttl'] = 3600; # Default TTL for records + +## UI Options +$menutype = 'horizontal'; # horizontal|vertical - use a horizontal or vertical menu diff --git a/index.php b/index.php index d3b6896..656863b 100644 --- a/index.php +++ b/index.php @@ -26,6 +26,9 @@ if (!is_logged_in() and isset($_POST['formname']) and $_POST['formname'] === "lo + + + @@ -100,10 +103,10 @@ if ($blocklogin === TRUE) {