2
0
forked from Wavyzz/dolibarr

Fix: Some fix in layouts

This commit is contained in:
Laurent Destailleur
2011-07-06 11:40:21 +00:00
parent c704383c48
commit baae17ab55
8 changed files with 4398 additions and 42 deletions

View File

@@ -21,7 +21,7 @@
* \file htdocs/ecm/index.php
* \ingroup ecm
* \brief Main page for ECM section area
* \version $Id$
* \version $Id: index.php,v 1.99 2011/07/06 11:40:21 eldy Exp $
* \author Laurent Destailleur
*/
@@ -298,27 +298,19 @@ if (GETPOST("action") == 'refreshmanual')
//print "xx".$_SESSION["dol_screenheight"];
$maxheightwin=(isset($_SESSION["dol_screenheight"]) && $_SESSION["dol_screenheight"] > 500)?($_SESSION["dol_screenheight"]-166):660;
$morehead="<style type=\"text/css\">
html, body {
width: 100%;
height: 100%;
padding: 0;
margin: 0;
overflow: auto; /* when page gets too small */
}
$morecss="
<!-- dol_screenheight=".$_SESSION["dol_screenheight"]." -->
<style type=\"text/css\">
#containerlayout {
background: #999;
height: ".$maxheightwin."px;
margin: 0 auto;
width: 100%;
min-width: 700px;
_width: 700px; /* min-width for IE6 */
}
.pane {
display: none; /* will appear when layout inits */
}
</style>
<SCRIPT type=\"text/javascript\">
</style>";
$morejs="
<script type=\"text/javascript\">
jQuery(document).ready(function () {
jQuery('#containerlayout').layout({
name: \"ecmlayout\"
@@ -346,9 +338,10 @@ html, body {
, south__closable: false
});
});
</SCRIPT>";
</script>";
llxHeader($morecss.$morejs,$langs->trans("ECM"),'','','','','','',0,0);
llxHeader($morehead,$langs->trans("ECM"),'','','','','','',0,0);
// Ajout rubriques automatiques
$rowspan=0;
@@ -382,7 +375,7 @@ if (GETPOST('action') == 'delete')
if ($mesg) { print $mesg."<br>"; }
// Toolbar
$head = ecm_prepare_head_fm($fac);
//$head = ecm_prepare_head_fm($fac);
//dol_fiche_head($head, 'file_manager', '', 1);
@@ -393,7 +386,7 @@ if ($conf->use_javascript_ajax)
{
?>
<div id="containerlayout"> <!-- begin div id="containerlayout" -->
<div id="ecm-layout-north" class="pane toolbar">
<div id="ecm-layout-north" class="toolbar">
<?php
}
else
@@ -433,7 +426,7 @@ if ($conf->use_javascript_ajax)
?>
</div>
<div id="ecm-layout-west" class="pane">
<div id="ecm-layout-west" class="hidden">
<?php
}
else
@@ -795,7 +788,7 @@ if ($conf->use_javascript_ajax)
?>
</div>
<div id="ecm-layout-center" class="pane layout-with-no-border">
<div id="ecm-layout-center" class="hidden">
<div class="pane-in ecm-in-layout-center">
<?php
@@ -878,10 +871,6 @@ if ($conf->use_javascript_ajax)
</div>
</div>
<!-- <div id="ecm-layout-east" class="pane"></div> -->
<!-- <div id="ecm-layout-south" class="pane"></div> -->
</div> <!-- end div id="containerlayout" -->
@@ -898,5 +887,5 @@ else
// End of page
$db->close();
llxFooter('$Date$ - $Revision$');
llxFooter('$Date: 2011/07/06 11:40:21 $ - $Revision: 1.99 $');
?>

File diff suppressed because it is too large Load Diff

View File

@@ -21,7 +21,7 @@
/**
* \file htdocs/theme/auguria/style.css.php
* \brief Fichier de style CSS du theme auguria
* \version $Id: style.css.php,v 1.86 2011/07/06 09:42:55 eldy Exp $
* \version $Id: style.css.php,v 1.87 2011/07/06 11:40:21 eldy Exp $
*/
//if (! defined('NOREQUIREUSER')) define('NOREQUIREUSER','1'); // Not disabled cause need to load personalized language
@@ -672,6 +672,7 @@ td.photo {
.toolbar {
background-image: url(<?php echo DOL_URL_ROOT.'/theme/'.$conf->theme.'/img/tmenu2.jpg' ?>) !important;
background-repeat: repeat-x !important;
border: 1px solid #BBB !important;
}
.toolbarbutton {
@@ -688,17 +689,16 @@ td.photo {
/* Panes for ECM or Filemanager */
/* ============================================================================== */
/*
#containerlayout .layout-with-no-border {
border: 0 !important;
border-width: 0 !important;
}
*/
#containerlayout .layout-padding {
padding: 2px !important;
}
/*
* PANES and CONTENT-DIVs
*/

View File

@@ -23,7 +23,7 @@
/**
* \file htdocs/theme/bureau2crea/style.css.php
* \brief Fichier de style CSS du theme bureau2crea
* \version $Id: style.css.php,v 1.37 2011/07/06 09:42:55 eldy Exp $
* \version $Id: style.css.php,v 1.38 2011/07/06 11:40:21 eldy Exp $
*/
//if (! defined('NOREQUIREUSER')) define('NOREQUIREUSER','1'); // Not disabled cause need to load personalized language
@@ -788,6 +788,7 @@ td.photo {
.toolbar {
background-image: url(<?php echo DOL_URL_ROOT.'/theme/'.$conf->theme.'/img/tmenu2.png' ?>) !important;
background-repeat: repeat-x !important;
border: 1px solid #BBB !important;
}
.toolbarbutton {
@@ -804,6 +805,15 @@ td.photo {
/* Panes for ECM or Filemanager */
/* ============================================================================== */
#containerlayout .layout-with-no-border {
border: 0 !important;
border-width: 0 !important;
}
#containerlayout .layout-padding {
padding: 2px !important;
}
/*
* PANES and CONTENT-DIVs
*/

View File

@@ -23,7 +23,7 @@
/**
* \file htdocs/theme/eldy/style.css.php
* \brief Fichier de style CSS du theme Cameleo
* \version $Id: style.css.php,v 1.5 2011/07/06 09:42:55 eldy Exp $
* \version $Id: style.css.php,v 1.6 2011/07/06 11:40:22 eldy Exp $
*/
//if (! defined('NOREQUIREUSER')) define('NOREQUIREUSER','1'); // Not disabled cause need to load personalized language
@@ -809,6 +809,7 @@ td.photo {
.toolbar {
background-image: url(<?php echo DOL_URL_ROOT.'/theme/'.$conf->theme.'/img/tmenu2.png' ?>) !important;
background-repeat: repeat-x !important;
border: 1px solid #BBB !important;
}
.toolbarbutton {
@@ -937,13 +938,13 @@ td.photo {
padding-bottom: 0.35ex; /* to 'vertically center' text inside text-span */
}
.ui-in-layout-center {
.ecm-in-layout-center {
border-left: 0px !important;
border-right: 0px !important;
border-top: 0px !important;
}
.ui-in-layout-south {
.ecm-in-layout-south {
border-left: 0px !important;
border-right: 0px !important;
border-bottom: 0px !important;

View File

@@ -21,7 +21,7 @@
/**
* \file htdocs/theme/eldy/style.css.php
* \brief Fichier de style CSS du theme Eldy
* \version $Id: style.css.php,v 1.83 2011/07/06 10:22:56 eldy Exp $
* \version $Id: style.css.php,v 1.84 2011/07/06 11:40:22 eldy Exp $
*/
//if (! defined('NOREQUIREUSER')) define('NOREQUIREUSER','1'); // Not disabled cause need to load personalized language
@@ -655,6 +655,7 @@ td.photo {
.toolbar {
background-image: url(<?php echo DOL_URL_ROOT.'/theme/'.$conf->theme.'/img/tmenu2.jpg' ?>) !important;
background-repeat: repeat-x !important;
border: 1px solid #BBB !important;
}
.toolbarbutton {
@@ -783,13 +784,13 @@ td.photo {
padding-bottom: 0.35ex; /* to 'vertically center' text inside text-span */
}
.ui-in-layout-center {
.ecm-in-layout-center {
border-left: 0px !important;
border-right: 0px !important;
border-top: 0px !important;
}
.ui-in-layout-south {
.ecm-in-layout-south {
border-left: 0px !important;
border-right: 0px !important;
border-bottom: 0px !important;

View File

@@ -20,7 +20,7 @@
/**
* \file htdocs/theme/freelug/style.css.php
* \brief Fichier de style CSS du theme Freelug
* \version $Id: style.css.php,v 1.40 2011/07/06 09:42:55 eldy Exp $
* \version $Id: style.css.php,v 1.41 2011/07/06 11:40:22 eldy Exp $
*/
//if (! defined('NOREQUIREUSER')) define('NOREQUIREUSER','1'); // Not disabled cause need to load personalized language
@@ -531,6 +531,7 @@ td.photo {
.toolbar {
background-image: url(<?php echo DOL_URL_ROOT.'/theme/'.$conf->theme.'/img/tmenu2.png' ?>) !important;
background-repeat: repeat-x !important;
border: 1px solid #BBB !important;
}
.toolbarbutton {
@@ -658,13 +659,13 @@ td.photo {
padding-bottom: 0.35ex; /* to 'vertically center' text inside text-span */
}
.ui-in-layout-center {
.ecm-in-layout-center {
border-left: 0px !important;
border-right: 0px !important;
border-top: 0px !important;
}
.ui-in-layout-south {
.ecm-in-layout-south {
border-left: 0px !important;
border-right: 0px !important;
border-bottom: 0px !important;

View File

@@ -20,7 +20,7 @@
/**
* \file htdocs/theme/yellow/style.css.php
* \brief Fichier de style CSS du theme Yellow
* \version $Id: style.css.php,v 1.41 2011/07/06 09:42:55 eldy Exp $
* \version $Id: style.css.php,v 1.42 2011/07/06 11:40:21 eldy Exp $
*/
//if (! defined('NOREQUIREUSER')) define('NOREQUIREUSER','1'); // Not disabled cause need to load personalized language
@@ -525,6 +525,7 @@ td.photo {
.toolbar {
background-image: url(<?php echo DOL_URL_ROOT.'/theme/'.$conf->theme.'/img/tmenu2.png' ?>) !important;
background-repeat: repeat-x !important;
border: 1px solid #BBB !important;
}
.toolbarbutton {
@@ -652,13 +653,13 @@ td.photo {
padding-bottom: 0.35ex; /* to 'vertically center' text inside text-span */
}
.ui-in-layout-center {
.ecm-in-layout-center {
border-left: 0px !important;
border-right: 0px !important;
border-top: 0px !important;
}
.ui-in-layout-south {
.ecm-in-layout-south {
border-left: 0px !important;
border-right: 0px !important;
border-bottom: 0px !important;