[Zope3-checkins] CVS: Zope3/src/zope/app/browser/skins/rotterdam - template.pt:1.8 zope3.css:1.8

Stephan Richter srichter@cbu.edu
Tue, 7 Jan 2003 07:28:19 -0500


Update of /cvs-repository/Zope3/src/zope/app/browser/skins/rotterdam
In directory cvs.zope.org:/tmp/cvs-serv14439/app/browser/skins/rotterdam

Modified Files:
	template.pt zope3.css 
Log Message:
Implementation of the OnlineHelp proposal. Since we do not have STX yet,
it works only with regular Text or HTML files at the moment. 

I added a box to the Rotterdam skin which shows all relevant Help Topics.
Currently you can only see a Help Topic for the File Upload screen. 

To Do:

  - Clean up code a bit.

  - Write Documentation (ZCML, Recipe, ...)

  - Implement STX or ReST support.

  - Writing Help File for the various screens!


=== Zope3/src/zope/app/browser/skins/rotterdam/template.pt 1.7 => 1.8 ===
--- Zope3/src/zope/app/browser/skins/rotterdam/template.pt:1.7	Mon Dec 30 16:43:07 2002
+++ Zope3/src/zope/app/browser/skins/rotterdam/template.pt	Tue Jan  7 07:27:45 2003
@@ -244,7 +244,8 @@
              tal:repeat="info actions"
              >
             <div tal:define="oddrow repeat/info/odd"
-                tal:attributes="class python:oddrow and 'even' or 'odd'; value info/id|default"
+                tal:attributes="class python:oddrow and 'even' or 'odd'; 
+                                value info/id|default"
                  tal:content="info/title">Do something
             </div>
           </a>
@@ -252,6 +253,23 @@
         </div>
 
       </div>
+
+        <div class="box" id="help" 
+	     tal:define="results view/@@find_help_topics"
+             tal:condition="results">
+          <h4>Online Help</h4>
+          <div class="body">
+            <a href="#" 
+                tal:repeat="entry results"
+		tal:attributes="href entry/url">
+              <div tal:define="oddrow repeat/entry/odd"
+                  tal:attributes="class python:oddrow and 'even' or 'odd'"
+                  tal:content="entry/topic/title">Topic Title
+              </div>
+            </a>
+          </div>
+        </div>
+
 </div>
 
     </div>


=== Zope3/src/zope/app/browser/skins/rotterdam/zope3.css 1.7 => 1.8 ===
--- Zope3/src/zope/app/browser/skins/rotterdam/zope3.css:1.7	Tue Jan  7 04:34:37 2003
+++ Zope3/src/zope/app/browser/skins/rotterdam/zope3.css	Tue Jan  7 07:27:45 2003
@@ -115,7 +115,7 @@
 
 ul { 
     line-height: 1.5em;
-    list-style-image: url("bullet.gif"); 
+    /* list-style-image: url("bullet.gif"); */
     margin-left: 2em;
     padding:0;
 }