routeSQL : two panes by top/bottom bar to align the modules on left and right

git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2013 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
This commit is contained in:
2015-03-11 21:19:53 +00:00
parent 23102f3cac
commit 3e72a3189c

View File

@@ -299,6 +299,7 @@ class routeSQL
"?page=$maxPage&num=$num&search=$search", ""); "?page=$maxPage&num=$num&search=$search", "");
} }
$content = ""; $content = "";
// Internal CSS // Internal CSS
if ($this->enableInternalCSS === true) if ($this->enableInternalCSS === true)
@@ -307,7 +308,11 @@ class routeSQL
$content .= ".routeSQL { width:95%; margin-left:auto; margin-right:auto; }\n"; $content .= ".routeSQL { width:95%; margin-left:auto; margin-right:auto; }\n";
$content .= ".routeSQL a { text-decoration:none; }\n"; $content .= ".routeSQL a { text-decoration:none; }\n";
$content .= ".routeSQL .topBar { display: block; overflow: auto; }\n"; $content .= ".routeSQL .topBar { display: block; overflow: auto; }\n";
$content .= ".routeSQL .topBar .topleft { display: inline; float:left; }\n";
$content .= ".routeSQL .topBar .topright { display: inline; float:right; }\n";
$content .= ".routeSQL .bottomBar { display: block; overflow: auto; }\n"; $content .= ".routeSQL .bottomBar { display: block; overflow: auto; }\n";
$content .= ".routeSQL .bottomBar .bottomleft { display: inline; float:left; }\n";
$content .= ".routeSQL .bottomBar .bottomright { display: inline; float:right; }\n";
$content .= ".routeSQL .actionExtern { border:1px solid #ddd; border-radius:5px; padding:10px; margin:3px; float:left; }\n"; $content .= ".routeSQL .actionExtern { border:1px solid #ddd; border-radius:5px; padding:10px; margin:3px; float:left; }\n";
$content .= ".routeSQL .listNumberDisplayedEntries { border:1px solid #ddd; border-radius:5px; padding:10px; margin:3px; float:left; }\n"; $content .= ".routeSQL .listNumberDisplayedEntries { border:1px solid #ddd; border-radius:5px; padding:10px; margin:3px; float:left; }\n";
$content .= ".routeSQL .searchArea { border:1px solid #ddd; border-radius:5px; padding:10px; margin:3px; float:left; }\n"; $content .= ".routeSQL .searchArea { border:1px solid #ddd; border-radius:5px; padding:10px; margin:3px; float:left; }\n";
@@ -328,7 +333,6 @@ class routeSQL
$content .= ".routeSQL table .odd { background-color:#f9f9f9; }\n"; $content .= ".routeSQL table .odd { background-color:#f9f9f9; }\n";
$content .= "</style>\n"; $content .= "</style>\n";
} }
$content .= "<div class='routeSQL'>\n"; $content .= "<div class='routeSQL'>\n";
$content .= $this->showflash (); $content .= $this->showflash ();
$content .= " <div class='topBar'>\n"; $content .= " <div class='topBar'>\n";