cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From t..@apache.org
Subject svn commit: r151061 - in cocoon/trunk/src/blocks/forms/samples/swan: index.xml resources/css/swan.css resources/css/swan_sections.css resources/js/ resources/js/swan_textareas.js resources/swan.xsl
Date Wed, 02 Feb 2005 21:33:34 GMT
Author: tim
Date: Wed Feb  2 13:33:33 2005
New Revision: 151061

URL: http://svn.apache.org/viewcvs?view=rev&rev=151061
Log:
Merge trivial swan changes from whiteboard/forms.

Added:
    cocoon/trunk/src/blocks/forms/samples/swan/resources/css/swan_sections.css
      - copied, changed from r151052, cocoon/trunk/src/blocks/forms/samples/swan/resources/css/swan.css
    cocoon/trunk/src/blocks/forms/samples/swan/resources/js/
    cocoon/trunk/src/blocks/forms/samples/swan/resources/js/swan_textareas.js
      - copied unchanged from r151057, cocoon/whiteboard/forms/samples/swan/resources/js/swan_textareas.js
Removed:
    cocoon/trunk/src/blocks/forms/samples/swan/resources/css/swan.css
Modified:
    cocoon/trunk/src/blocks/forms/samples/swan/index.xml
    cocoon/trunk/src/blocks/forms/samples/swan/resources/swan.xsl

Modified: cocoon/trunk/src/blocks/forms/samples/swan/index.xml
URL: http://svn.apache.org/viewcvs/cocoon/trunk/src/blocks/forms/samples/swan/index.xml?view=diff&r1=151060&r2=151061
==============================================================================
--- cocoon/trunk/src/blocks/forms/samples/swan/index.xml (original)
+++ cocoon/trunk/src/blocks/forms/samples/swan/index.xml Wed Feb  2 13:33:33 2005
@@ -18,39 +18,7 @@
 <html>
   <head>
 
-    <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>
+    <link rel="stylesheet" type="text/css" href="swan/resources/css/swan_sections.css"
/>
 
     <title>Swan: CForms-based XML Editor Demo</title>
     <h2>Swan: CForms-based XML Editor Demo</h2>
@@ -65,14 +33,14 @@
       <b>Sample xReport</b>
       <div class="section">
         <b>xReport:</b>
-        <a href="xreport.flow?file=report1.xml">report</a><br/>
+        <a href="xreport.flow?file=report1.xml">report</a>
       </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/>
+        <a href="sitemap.flow?file=sitemap.xmap">sitemap</a>
       </div>
     </div>
     <div class="section">
@@ -81,22 +49,22 @@
       <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/>
+        <a href="template.flow?file=sample_form_1_template.xml">template</a>
       </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/>
+        <a href="template.flow?file=sample_form_2_template.xml">template</a>
       </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/>
+        <a href="template.flow?file=form_model_gui_template_data.xml">template</a>
       </div>
     </div>
-    <a href="profile.html">Profiling Data</a><br/>
+    <a href="profile.html">Profiling Data</a>
   </body>
 </html>
 

Copied: cocoon/trunk/src/blocks/forms/samples/swan/resources/css/swan_sections.css (from r151052,
cocoon/trunk/src/blocks/forms/samples/swan/resources/css/swan.css)
URL: http://svn.apache.org/viewcvs/cocoon/trunk/src/blocks/forms/samples/swan/resources/css/swan_sections.css?view=diff&rev=151061&p1=cocoon/trunk/src/blocks/forms/samples/swan/resources/css/swan.css&r1=151052&p2=cocoon/trunk/src/blocks/forms/samples/swan/resources/css/swan_sections.css&r2=151061
==============================================================================
--- cocoon/trunk/src/blocks/forms/samples/swan/resources/css/swan.css (original)
+++ cocoon/trunk/src/blocks/forms/samples/swan/resources/css/swan_sections.css Wed Feb  2
13:33:33 2005
@@ -35,7 +35,7 @@
 
 /* Indent sub-sections (recursively) */
 div.section div.section {
-  margin-left: 3em;
+  margin-left: 1em;
   border-right: none;
 }
 
@@ -44,3 +44,6 @@
 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;
}
+div.section div.section div.section div.section div.section div.section { background-color:
#D0D0D0; }
+div.section div.section div.section div.section div.section div.section div.section { background-color:
#E0E0E0; }
+div.section div.section div.section div.section div.section div.section div.section div.section
{ background-color: #F0F0F0; }

Modified: cocoon/trunk/src/blocks/forms/samples/swan/resources/swan.xsl
URL: http://svn.apache.org/viewcvs/cocoon/trunk/src/blocks/forms/samples/swan/resources/swan.xsl?view=diff&r1=151060&r2=151061
==============================================================================
--- cocoon/trunk/src/blocks/forms/samples/swan/resources/swan.xsl (original)
+++ cocoon/trunk/src/blocks/forms/samples/swan/resources/swan.xsl Wed Feb  2 13:33:33 2005
@@ -26,7 +26,8 @@
       <xsl:apply-templates/>
       <xsl:apply-templates select="." mode="forms-page"/>
       <xsl:apply-templates select="." mode="forms-field"/>
-      <link href="swan/resources/css/swan.css" type="text/css" rel="stylesheet"/>
+      <link href="swan/resources/css/swan_sections.css" type="text/css" rel="stylesheet"/>
+      <script src="swan/resources/js/swan_textareas.js" type="text/javascript"></script>
     </head>
   </xsl:template>
 



Mime
View raw message