Revision: 1884
http://mrbs.svn.sourceforge.net/mrbs/?rev=1884&view=rev
Author: cimorrison
Date: 2011-08-24 14:56:54 +0000 (Wed, 24 Aug 2011)
Log Message:
-----------
Tidied up layout
Modified Paths:
--------------
mrbs/branches/datatables/web/Themes/default/header.inc
mrbs/branches/datatables/web/jquery/datatables/css/mrbs-table.css
mrbs/branches/datatables/web/mrbs.css.php
mrbs/branches/datatables/web/report.php
Modified: mrbs/branches/datatables/web/Themes/default/header.inc
===================================================================
--- mrbs/branches/datatables/web/Themes/default/header.inc 2011-08-24
10:21:44 UTC (rev 1883)
+++ mrbs/branches/datatables/web/Themes/default/header.inc 2011-08-24
14:56:54 UTC (rev 1884)
@@ -1128,6 +1128,7 @@
tableOptions.fnInitComplete = function(){
new FixedColumns(reportTable, {"iLeftColumns": 2});
};
+
<?php
// Remove the first two columns from the column visibility
// list because these two are fixed
Modified: mrbs/branches/datatables/web/jquery/datatables/css/mrbs-table.css
===================================================================
--- mrbs/branches/datatables/web/jquery/datatables/css/mrbs-table.css
2011-08-24 10:21:44 UTC (rev 1883)
+++ mrbs/branches/datatables/web/jquery/datatables/css/mrbs-table.css
2011-08-24 14:56:54 UTC (rev 1884)
@@ -113,9 +113,15 @@
* DataTables display
*/
table.display {
- margin: 0 auto;
+ margin: 0;
clear: both;
width: 100%;
+}
+
+.DTFC_LeftBodyWrapper table {
+ table-layout: fixed;
+}
+
/* Note Firefox 3.5 and before have a bug with border-collapse
* ( https://bugzilla.mozilla.org/show%5Fbug.cgi?id=155955 )
@@ -129,13 +135,14 @@
* If you want that effect I'd suggest setting a border-top/left on th/td's
and
* then filling in the gaps with other borders.
*/
-}
table.display th, table.display td {
height: 2em;
white-space: nowrap;
+ overflow: hidden;
}
+
table.display th {
padding: 3px 24px 3px 3px;
}
Modified: mrbs/branches/datatables/web/mrbs.css.php
===================================================================
--- mrbs/branches/datatables/web/mrbs.css.php 2011-08-24 10:21:44 UTC (rev
1883)
+++ mrbs/branches/datatables/web/mrbs.css.php 2011-08-24 14:56:54 UTC (rev
1884)
@@ -747,6 +747,7 @@
#div_summary td {text-align: right}
#div_summary tbody td:nth-child(even), #div_summary tfoot th:nth-child(even)
{border-right-width: 0}
#div_summary td:first-child {font-weight: bold}
+div#report_output {width: 98%}
p.report_entries {font-weight: bold}
.report .form_general fieldset fieldset {padding-top: 0.5em; padding-bottom:
0.5em}
.report .form_general fieldset fieldset legend {font-size: small; font-style:
italic; font-weight: normal}
Modified: mrbs/branches/datatables/web/report.php
===================================================================
--- mrbs/branches/datatables/web/report.php 2011-08-24 10:21:44 UTC (rev
1883)
+++ mrbs/branches/datatables/web/report.php 2011-08-24 14:56:54 UTC (rev
1884)
@@ -152,7 +152,8 @@
if ($output_as_html)
{
- echo "<table class=\"admin_general display\" id=\"report_table\">\n";
+ echo "<div id=\"report_output\">\n";
+ echo "<table class=\"admin_table display\" id=\"report_table\">\n";
}
report_header();
}
@@ -164,7 +165,9 @@
if ($output_as_html)
{
- echo "</tbody>\n</table>\n";
+ echo "</tbody>\n";
+ echo "</table>\n";
+ echo "</div>\n";
}
}
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
EMC VNX: the world's simplest storage, starting under $10K
The only unified storage solution that offers unified management
Up to 160% more powerful than alternatives and 25% more efficient.
Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev
_______________________________________________
Mrbs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mrbs-commits