From 0b9c87dc2fc87537e591ebe4cd1009c34e8e29a7 Mon Sep 17 00:00:00 2001 From: vKham Date: Tue, 29 Nov 2011 17:42:38 +0000 Subject: [PATCH] // new layout page stats, substitute fieldset by div, legend by h2, delete stylesheet on html --- admin-dev/themes/default/admin.css | 10 ++++ admin-dev/themes/template/header.tpl | 4 +- .../themes/template/products/informations.tpl | 28 +++++++--- admin-dev/themes/template/stats/calendar.tpl | 20 ++----- admin-dev/themes/template/stats/menu.tpl | 19 +++---- admin-dev/themes/template/stats/stats.tpl | 6 ++- controllers/admin/AdminStatsTabController.php | 5 +- js/jquery/ui/themes/base/jquery.ui.theme.css | 3 +- modules/statsforecast/statsforecast.php | 52 +++++++++---------- 9 files changed, 81 insertions(+), 66 deletions(-) diff --git a/admin-dev/themes/default/admin.css b/admin-dev/themes/default/admin.css index 47b3d57af..1223a8f3a 100644 --- a/admin-dev/themes/default/admin.css +++ b/admin-dev/themes/default/admin.css @@ -229,6 +229,7 @@ form#product_form h4 { font-size:18px; font-weight:normal;} /*SIDEBAR*/ .sidebar { position:relative; float:left; width:220px; display:inline;} .sidebar h3 { background-color:#ebedf4; font-weight:bold; display:block; padding:5px;} +.sidebar.navigation h3 {margin:0;} .sidebar .subHeadline { font-weight:bold; float:right; margin-top:-28px; margin-right:5px;} .sidebar ul.categorieList {} .sidebar ul.categorieList li { border-top:1px solid #ccc; position:relative; line-height:20px;} @@ -238,6 +239,15 @@ form#product_form h4 { font-size:18px; font-weight:normal;} .sidebar ul.categorieList li div.count{ position:absolute; top:0; right:5px;} .sidebar .categorieStatus { display:none;} +/*STATCONTAINER*/ +#statsContainer {margin-left:220px; padding:0 0 0 20px;} +#statsContainer #calendar { background-color: #EBEDF4;border: 1px solid #C2C4D9; display: block; margin: 10px 0;min-height: 25px; padding: 10px;} +#statsContainer #calendar input, #statsContainer #calendar p { float:left; margin-right:5px;} +#statsContainer .blocStats { background-color: #EBEDF4;border: 1px solid #C2C4D9; display: block; position:relative; padding: 10px;} +#statsContainer .blocStats h2 { font-weight:normal; margin:0;} +#statsContainer .blocStats form { position:absolute; top:10px; right:5px;} + + /*MODULECONTAINER*/ #moduleContainer { margin-left:220px; padding:13px 0 0 20px;} #moduleContainer .table tr th { height:40px;} diff --git a/admin-dev/themes/template/header.tpl b/admin-dev/themes/template/header.tpl index bf48f9418..33e2458d3 100644 --- a/admin-dev/themes/template/header.tpl +++ b/admin-dev/themes/template/header.tpl @@ -155,8 +155,8 @@ - - + + diff --git a/admin-dev/themes/template/products/informations.tpl b/admin-dev/themes/template/products/informations.tpl index 9ef2e7853..977372597 100644 --- a/admin-dev/themes/template/products/informations.tpl +++ b/admin-dev/themes/template/products/informations.tpl @@ -133,7 +133,8 @@ active}checked="checked" {/if} /> -