changeset 182:f97c3bdd9818

tables now with scrollbar
author fknauft
date Fri, 11 Feb 2011 15:23:36 +0100
parents b51bef861494
children a4cbe5e71bda
files gis_gui/blocks/table gis_gui/blocks/table.css gis_gui/lib/blocks.css
diffstat 3 files changed, 27 insertions(+), 23 deletions(-) [+]
line wrap: on
line diff
--- a/gis_gui/blocks/table	Tue Feb 08 14:02:05 2011 +0100
+++ b/gis_gui/blocks/table	Fri Feb 11 15:23:36 2011 +0100
@@ -21,7 +21,7 @@
     <div id="table_container" class="table_container" tal:attributes="table table">
       <!--  <tal:block tal:replace="structure here/dummy_table"/> -->
       <div id="table_wrapper">
-        <table cellpadding="1" cellspacing="1" width="100%" class="datatable" id="dummy_table" border rules="all">
+        <table cellpadding="1" cellspacing="1" class="datatable" id="dummy_table" border rules="all"  >
           <tr><td>table loading...</td></tr>
         </table>
       </div>
--- a/gis_gui/blocks/table.css	Tue Feb 08 14:02:05 2011 +0100
+++ b/gis_gui/blocks/table.css	Fri Feb 11 15:23:36 2011 +0100
@@ -1,28 +1,28 @@
 div.content div.table_container {
     background-color: #ffffff;
-    width:80%;
-
+    width:90%;
     position:relative;
-    left: 80px;
+    left: 50px;
     margin-top:40px;
+    height:350px;
 }
 
 
 .compacted{
-max-width: 80px;
-white-space: nowrap;
-overflow: hidden;
+	max-width: 80px;
+	white-space: nowrap;
+	overflow: hidden;
 }
 
 .paginate_enabled_next, .paginate_enabled_previous, span.paginate_button {
-margin: 10px;
-color: #0000bb;
-text-decoration: underline;
+	margin: 10px;
+	color: #0000bb;
+	text-decoration: underline;
 }
 
 .hidden {
 /*background-color: #bbbbbb;*/
-text-decoration: line-through;
+	text-decoration: line-through;
 }
 
 .dataTables_paginate {
@@ -31,17 +31,21 @@
 }
 
 .dataTables_length {
-width: 45%;
-float:left;
-clear:none;
+	width: 45%;
+	float:left;
+	clear:none;
+}
+
+.dataTables_wrapper {
+	 overflow:auto;
 }
 
 .dataTables_filter {
-width: 45%;
-float:right;
-text-align: right;
-clear:none;
-margin-bottom:5px;
+	width: 45%;
+	float:right;
+	text-align: right;
+	clear:none;
+	margin-bottom:5px;
 }
 
 .datatable {
--- a/gis_gui/lib/blocks.css	Tue Feb 08 14:02:05 2011 +0100
+++ b/gis_gui/lib/blocks.css	Fri Feb 11 15:23:36 2011 +0100
@@ -134,8 +134,8 @@
     align: center;
     height:1000px;
     padding:10px;
-    margin-left:50px;
-    margin-right:50px;
+    margin-left:0px;
+    margin-right:0px;
 
 }
 
@@ -143,7 +143,7 @@
     margin:3px;
     padding: 2px;
     position: relative;
-    left: 15px;
+    left: 45px;
     width: 400px;
     height: 150px;    
     background-color:#bbbbff;
@@ -154,7 +154,7 @@
     margin:3px;
     padding: 2px;
     position: relative;
-    right: -460px;
+    left: 530px;
     top: -157px;    
     width: 400px;
     height: 150px;