You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by ti...@apache.org on 2004/11/10 19:56:13 UTC

svn commit: rev 57349 - cocoon/trunk/src/blocks/forms/samples/swan

Author: tim
Date: Wed Nov 10 10:56:13 2004
New Revision: 57349

Modified:
   cocoon/trunk/src/blocks/forms/samples/swan/index.xml
Log:
Swan: Clean up intro page.

Modified: cocoon/trunk/src/blocks/forms/samples/swan/index.xml
==============================================================================
--- cocoon/trunk/src/blocks/forms/samples/swan/index.xml	(original)
+++ cocoon/trunk/src/blocks/forms/samples/swan/index.xml	Wed Nov 10 10:56:13 2004
@@ -17,32 +17,87 @@
 <!-- $Id$-->
 <html>
   <head>
-    <title>Hello</title>
+
+    <style type="text/css">
+      li {
+        list-style-type: none
+      }
+ 
+      /* The actions buttons, placed on the right */
+      .actions {
+        float: right;
+        padding-top: 0.2em;
+      }
+ 
+      /* A "section" contains stuff, related actions and substuff */
+      div.section {
+        padding-top: 0.4em;
+        padding-bottom: 0.4em;
+        padding-left: 0.4em;
+        border: 1px dotted black;
+        mmargin-top: 0.4em;
+        margin-bottom: -1px;
+      }
+ 
+      /* Indent sub-sections (recursively) */
+      div.section div.section {
+        margin-left: 3em;
+        border-right: none;
+      }
+ 
+      /* Change bg color depending on nesting depth */
+      div.section div.section { background-color: #F0F0F0; }
+      div.section div.section div.section { background-color: #E0E0E0; }
+      div.section div.section div.section div.section { background-color: #D0D0D0; }
+      div.section div.section div.section div.section div.section { background-color: #C0C0C0; }
+    </style>
+
+    <title>Swan: CForms-based XML Editor Demo</title>
+    <h2>Swan: CForms-based XML Editor Demo</h2>
+
   </head>
   <body>
-    <h3>== Note ==</h3>
-    This is a work-in-progress with a nice sprinkling of bugs.
+    This is a work-in-progress, do not trust it with your own precious files quite yet...<br/>
+    <p>
+    <b>Try editing a few test files:</b>
+    </p>
+    <div class="section">
+      <b>Sample xReport</b>
+      <div class="section">
+        <b>xReport:</b>
+        <a href="xreport.flow?file=report1.xml">report</a><br/>
+      </div>
+    </div>
+    <div class="section">
+      <b>Sample Sitemap</b>
+      <div class="section">
+        <b>Sitemap:</b>
+        <a href="sitemap.flow?file=sitemap.xmap">sitemap</a><br/>
+      </div>
+    </div>
+    <div class="section">
+      <b>Sample Forms</b>
+      <div class="section">
+      <b>Simple:</b>
+        <a href="binding.flow?file=sample_form_1.xml">binding</a>
+        <a href="model.flow?file=sample_form_1.xml">model</a>
+        <a href="template.flow?file=sample_form_1_template.xml">template</a><br/>
+      </div>
+      <div class="section">
+      <b>Medium:</b>
+        <a href="binding.flow?file=sample_form_2.xml">binding</a>
+        <a href="model.flow?file=sample_form_2.xml">model</a>
+        <a href="template.flow?file=sample_form_2_template.xml">template</a><br/>
+      </div>
+      <div class="section">
+        <b>Complex:</b>
+        <a href="binding.flow?file=form_model_gui_binding.xml">binding</a>
+        <a href="model.flow?file=form_model_gui_data.xml">model</a>
+        <a href="template.flow?file=form_model_gui_template_data.xml">template</a><br/>
+      </div>
+    </div>
     <h3>== Profiling Data ==</h3>
     <a href="profile.html">profile.html</a><br/>
-    <h3>== Edit xReports ==</h3>
-    <b>xReport:</b><br/>
-    <a href="xreport.flow?file=report1.xml">report1.xml</a><br/>
-    <h3>== Edit Sitemaps ==</h3>
-    <b>Sitemap:</b><br/>
-    <a href="sitemap.flow?file=sitemap.xmap">sitemap.xmap</a><br/>
-    <h3>== Edit Forms ==</h3>
-    <b>Binding:</b><br/>
-    <a href="binding.flow?file=form_model_gui_binding.xml">form_model_gui_data.xml</a><br/>
-    <a href="binding.flow?file=sample_form_1.xml">sample_form_1.xml</a><br/>
-    <a href="binding.flow?file=sample_form_2.xml">sample_form_2.xml</a><br/>
-    <b>Model:</b><br/>
-    <a href="model.flow?file=form_model_gui_data.xml">form_model_gui_data.xml</a><br/>
-    <a href="model.flow?file=sample_form_1.xml">sample_form_1.xml</a><br/>
-    <a href="model.flow?file=sample_form_2.xml">sample_form_2.xml</a><br/>
-    <b>Template:</b><br/>
-    <a href="template.flow?file=form_model_gui_template_data.xml">form_model_gui_template_data.xml</a><br/>
-    <a href="template.flow?file=sample_form_1_template.xml">sample_form_1_template.xml</a><br/>
-    <a href="template.flow?file=sample_form_2_template.xml">sample_form_2_template.xml</a><br/>
   </body>
 </html>