From 0e378161ec313dd73012134fdea8a4e5731a8d9d Mon Sep 17 00:00:00 2001 From: Adam Amstrong Date: Thu, 15 Sep 2011 23:05:06 +0000 Subject: [PATCH] fixes to web if git-svn-id: http://www.observium.org/svn/observer/trunk@2474 61d68cd4-352d-0410-923a-c4978735b2b8 --- html/css/styles.css | 28 ++++++++++++++++++++++++++++ html/includes/functions.inc.php | 22 ++++------------------ html/pages/graphs.inc.php | 20 ++++++++++---------- html/pages/ports.inc.php | 2 +- html/pages/ports/graph.inc.php | 2 +- 5 files changed, 44 insertions(+), 30 deletions(-) diff --git a/html/css/styles.css b/html/css/styles.css index 947f9a9de..3d751e84c 100644 --- a/html/css/styles.css +++ b/html/css/styles.css @@ -15,6 +15,34 @@ body { line-height: 20px; } +.rounded-2px { + /* Rounded Corners */ + -moz-border-radius: 2px; + -webkit-border-radius: 2px; + border-radius: 2px; +} + +.rounded-3px { + /* Rounded Corners */ + -moz-border-radius: 3px; + -webkit-border-radius: 3px; + border-radius: 3px; +} + +.rounded-5px { + /* Rounded Corners */ + -moz-border-radius: 5px; + -webkit-border-radius: 5px; + border-radius: 5px; +} + +.rounded-10px { + /* Rounded Corners */ + -moz-border-radius: 10px; + -webkit-border-radius: 10px; + border-radius: 10px; +} + .pagemenu-selected { font-weight: bold; background-color: #cecece; diff --git a/html/includes/functions.inc.php b/html/includes/functions.inc.php index 7bc606e8e..f653dc8a0 100644 --- a/html/includes/functions.inc.php +++ b/html/includes/functions.inc.php @@ -338,28 +338,14 @@ function generate_port_thumbnail($args) function print_optionbar_start ($height = 0, $width = 0, $marginbottom = 5) { echo(" -
- - - - - - -
-
"); +
"); } function print_optionbar_end() { - echo('
-
- - - - - - -
'); + echo('
'); } function geteventicon($message) diff --git a/html/pages/graphs.inc.php b/html/pages/graphs.inc.php index 5b322451c..798083519 100644 --- a/html/pages/graphs.inc.php +++ b/html/pages/graphs.inc.php @@ -44,18 +44,18 @@ if (!$auth) echo("
"); - echo("
"); + echo("
"); $graph_array['from'] = $config['time']['sixhour']; - echo("
+ echo(""); $graph_array['from'] = $config['time']['day']; - echo("
+ echo(""); $graph_array['from'] = $config['time']['twoday']; - echo("
+ echo(""); $graph_array['from'] = $config['time']['week']; - echo("
+ echo(""); $graph_array['from'] = $config['time']['twoweek']; - echo("
+ echo(""); $graph_array['from'] = $config['time']['month']; - echo("
+ echo(""); $graph_array['from'] = $config['time']['twomonth']; - echo("
+ echo(""); $graph_array['from'] = $config['time']['year']; - echo("
+ echo("