Index: openacs-4/packages/layout-manager/catalog/layout-manager.en_US.ISO-8859-1.xml
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/layout-manager/catalog/layout-manager.en_US.ISO-8859-1.xml,v
diff -u -r1.7 -r1.8
--- openacs-4/packages/layout-manager/catalog/layout-manager.en_US.ISO-8859-1.xml 1 Sep 2010 20:14:37 -0000 1.7
+++ openacs-4/packages/layout-manager/catalog/layout-manager.en_US.ISO-8859-1.xml 16 Dec 2010 22:25:27 -0000 1.8
@@ -6,6 +6,7 @@
Configure
Left and right sidebars
Left sidebar plus two columns
+ Thick/thin, two column
Left sidebar
No elements on this page
Page
Index: openacs-4/packages/layout-manager/tcl/apm-callback-procs.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/layout-manager/tcl/apm-callback-procs.tcl,v
diff -u -r1.7 -r1.8
--- openacs-4/packages/layout-manager/tcl/apm-callback-procs.tcl 4 Sep 2010 15:24:20 -0000 1.7
+++ openacs-4/packages/layout-manager/tcl/apm-callback-procs.tcl 16 Dec 2010 22:25:27 -0000 1.8
@@ -48,7 +48,13 @@
-columns 3 \
-description #layout-manager.left_sidebar_plus_2column_layout_description# \
-template /packages/layout-manager/lib/page-templates/simple
-
+
+ layout::page_template::new \
+ -name thick_thin \
+ -columns 2 \
+ -description #layout-manager.thick_thin_2column_layout_description# \
+ -template /packages/layout-manager/lib/page-templates/simple
+
# And some themes
layout::theme::new \
@@ -92,5 +98,12 @@
-description #layout-manager.left_sidebar_plus_2column_layout_description# \
-template /packages/layout-manager/lib/page-templates/simple
}
+ 1.1.0d3 1.1.0d4 {
+ layout::page_template::new \
+ -name thick_thin \
+ -columns 2 \
+ -description #layout-manager.thick_thin_2column_layout_description# \
+ -template /packages/layout-manager/lib/page-templates/simple
+ }
}
}
Index: openacs-4/packages/layout-manager/www/resources/page-templates/thick_thin.css
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/layout-manager/www/resources/page-templates/thick_thin.css,v
diff -u
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ openacs-4/packages/layout-manager/www/resources/page-templates/thick_thin.css 16 Dec 2010 22:25:27 -0000 1.1
@@ -0,0 +1,26 @@
+#sidebar-1 {
+ float: right;
+ width: 33%;
+}
+
+#main-content {
+ float: left;
+ width: 66%;
+}
+
+#sidebar-2 {
+ float: right;
+ width: 33%;
+}
+
+.main-content-padding {
+ padding-left: 5px
+}
+
+.sidebar-1-padding {
+ padding-right: 5px;
+}
+
+.sidebar-2-padding {
+ padding-right: 5px;
+}
\ No newline at end of file