[Commits] r1436 - in core/trunk/docsrc: . _theme/geoext/static

commits at geoext.org commits at geoext.org
Thu Oct 15 10:01:55 CEST 2009


Author: tschaub
Date: 2009-10-15 10:01:55 +0200 (Thu, 15 Oct 2009)
New Revision: 1436

Added:
   core/trunk/docsrc/examples.jst
Modified:
   core/trunk/docsrc/_theme/geoext/static/geoext.css
Log:
Adding template and some style for example page.

Modified: core/trunk/docsrc/_theme/geoext/static/geoext.css
===================================================================
--- core/trunk/docsrc/_theme/geoext/static/geoext.css	2009-10-15 08:00:34 UTC (rev 1435)
+++ core/trunk/docsrc/_theme/geoext/static/geoext.css	2009-10-15 08:01:55 UTC (rev 1436)
@@ -189,4 +189,15 @@
 /* execute button style */
 .x-btn.execute {
     margin: 1em;
-}
\ No newline at end of file
+}
+
+.exampleblock {
+    width: 225px;
+    float: left;
+    margin: 10px;
+    height: 130px;
+    overflow: auto;
+}
+.exampleblock h2 {
+    font-size: 1em;
+}

Added: core/trunk/docsrc/examples.jst
===================================================================
--- core/trunk/docsrc/examples.jst	                        (rev 0)
+++ core/trunk/docsrc/examples.jst	2009-10-15 08:01:55 UTC (rev 1436)
@@ -0,0 +1,15 @@
+{# This template is used to produce the examples.html page for the website. #}
+
+.. _examples
+
+Examples
+========
+
+{% for (name, desc) in example|dictsort %}
+.. _example.{{ name }}:
+
+.. cssclass:: exampleblock example-{{ name }}
+
+{{ desc }}
+
+{% endfor %}



More information about the Commits mailing list