[kupu-checkins] r42344 - in kupu/trunk/kupu: doc plone

limi at codespeak.net limi at codespeak.net
Thu Apr 26 02:03:06 CEST 2007


Author: limi
Date: Thu Apr 26 02:03:06 2007
New Revision: 42344

Modified:
   kupu/trunk/kupu/doc/PLONE2.txt
   kupu/trunk/kupu/plone/kupu_config.pt
   kupu/trunk/kupu/plone/libraries.pt
   kupu/trunk/kupu/plone/resource_types.pt
   kupu/trunk/kupu/plone/zmi_docs.pt
   kupu/trunk/kupu/plone/zmi_toolbar.pt
Log:
Upgrading the configuration screens to match Plone 2.1 and up (I believe). Duncan, please help me test this on earlier versions of Plone, I don't have any Plone 2.0 or 2.1 instances handy.

Modified: kupu/trunk/kupu/doc/PLONE2.txt
==============================================================================
--- kupu/trunk/kupu/doc/PLONE2.txt	(original)
+++ kupu/trunk/kupu/doc/PLONE2.txt	Thu Apr 26 02:03:06 2007
@@ -1,6 +1,6 @@
-=========================
-Installing Kupu in Plone2
-=========================
+========================
+Installing Kupu in Plone
+========================
 
 .. contents:: Table of Contents
    :depth: 2

Modified: kupu/trunk/kupu/plone/kupu_config.pt
==============================================================================
--- kupu/trunk/kupu/plone/kupu_config.pt	(original)
+++ kupu/trunk/kupu/plone/kupu_config.pt	Thu Apr 26 02:03:06 2007
@@ -1,33 +1,23 @@
 <metal:page define-macro="master">
-<metal:master use-macro="here/main_template/macros/master"
+<metal:master use-macro="here/prefs_main_template/macros/master"
     i18n:domain="kupuconfig">
 
 <metal:block metal:fill-slot="top_slot" define-slot="top_slot"
              tal:define="dummy python:request.set('disable_border',1)" />
 
-<metal:fillbase fill-slot="base">
-  <metal:baseslot define-slot="base">
-    <base href="" tal:attributes="href template/absolute_url" />
-  </metal:baseslot>
-</metal:fillbase>
-
-    <metal:cssslot fill-slot="css_slot">
-      <!-- A slot where you can insert CSS in the header from a template -->
-      <metal:cssslot define-slot="css_slot" />
-    </metal:cssslot>
-
-    <metal:override fill-slot="portlets_one_slot">
-      <metal:prefs use-macro="here/portlet_prefs/macros/portlet" />
-    </metal:override>
+    <metal:fillbase fill-slot="base">
+      <metal:baseslot define-slot="base">
+        <base href="" tal:attributes="href template/absolute_url" />
+      </metal:baseslot>
+    </metal:fillbase>
+
 
     <metal:override fill-slot="column_two_slot" />
 
 <body>
-<div metal:fill-slot="main" metal:define-slot="prefs_configlet_main"
+<div metal:fill-slot="prefs_configlet_content" metal:define-slot="prefs_configlet_main"
     tal:define="errors python:request.get('errors', {});">
 
-<div class="configlet">
-
 <div class="documentEditable">
 
     <!-- simulating views -->
@@ -49,7 +39,8 @@
     </div>        
     <!-- End of tabs -->
     <div class="documentContent" metal:define-slot="kupu_content">
-<h3 i18n:translate="heading_configuration">Kupu Configuration</h3>
+<h1 class="documentFirstHeading"
+    i18n:translate="heading_configuration">Kupu Configuration</h1>
 <form action=""
     name="configure_kupu"
     method="post"
@@ -304,7 +295,6 @@
 </form>
     </div>
 
-</div>
 
 </div>
 

Modified: kupu/trunk/kupu/plone/libraries.pt
==============================================================================
--- kupu/trunk/kupu/plone/libraries.pt	(original)
+++ kupu/trunk/kupu/plone/libraries.pt	Thu Apr 26 02:03:06 2007
@@ -6,11 +6,11 @@
 <body>
 
     <div class="documentContent" metal:fill-slot="kupu_content">
-<h3 i18n:translate="heading_kupu_configuration">Kupu Configuration</h3>
-<h4 i18n:translate="label_manage_libraries">Manage libraries</h4>
+<h1 class="documentFirstHeading"
+    i18n:translate="heading_kupu_libraries">Kupu Libraries</h1>
 
 <p i18n:translate="text_kupu_drawers">In the below form, you may manage the list of drawer libraries for
-the kupu editor. Each property of a library is dynamically expanded at
+the Kupu editor. Each property of a library is dynamically expanded at
 execution time using TALES expressions. That way it is possible, to
 support libraries like <em>Current folder</em> or <em>My folder</em>
 very easily.</p>

Modified: kupu/trunk/kupu/plone/resource_types.pt
==============================================================================
--- kupu/trunk/kupu/plone/resource_types.pt	(original)
+++ kupu/trunk/kupu/plone/resource_types.pt	Thu Apr 26 02:03:06 2007
@@ -6,7 +6,8 @@
 <body>
 
     <div class="documentContent" metal:fill-slot="kupu_content">
-<h3 i18n:translate="heading_kupu_configuration">Kupu Configuration</h3>
+<h1 class="documentFirstHeading"
+    i18n:translate="heading_kupu_resource_types">Kupu Resource Types</h1>
 <form action="" method="post" tal:attributes="action here/absolute_url">
 <p i18n:translate="text_resource_types">While libraries provide abstract locations for objects of any type,
 Kupu distinguishes objects by resource type. For example, a user might

Modified: kupu/trunk/kupu/plone/zmi_docs.pt
==============================================================================
--- kupu/trunk/kupu/plone/zmi_docs.pt	(original)
+++ kupu/trunk/kupu/plone/zmi_docs.pt	Thu Apr 26 02:03:06 2007
@@ -3,244 +3,6 @@
     metal:use-macro="here/kupu_config/macros/master"
     i18n:domain="plone">
 
-<metal:cssslot fill-slot="css_slot">
-<style>
-/*
-:Author: David Goodger
-:Contact: goodger at users.sourceforge.net
-:date: $Date: 2004/06/23 13:31:26 $
-:version: $Revision: 1.37 $
-:copyright: This stylesheet has been placed in the public domain.
-
-Default cascading style sheet for the HTML output of Docutils.
-*/
-h3, h4, h5 { clear: none!IMPORTANT; }
-
-.first {
-  margin-top: 0 }
-
-.last {
-  margin-bottom: 0 }
-
-a.toc-backref {
-  text-decoration: none ;
-  color: black }
-
-blockquote.epigraph {
-  margin: 2em 5em ; }
-
-dd {
-  margin-bottom: 0.5em }
-
-/* Uncomment (& remove this text!) to get bold-faced definition list terms
-dt {
-  font-weight: bold }
-*/
-
-div.abstract {
-  margin: 2em 5em }
-
-div.abstract p.topic-title {
-  font-weight: bold ;
-  text-align: center }
-
-div.attention, div.caution, div.danger, div.error, div.hint,
-div.important, div.note, div.tip, div.warning, div.admonition {
-  margin: 2em ;
-  border: medium outset ;
-  padding: 1em }
-
-div.attention p.admonition-title, div.caution p.admonition-title,
-div.danger p.admonition-title, div.error p.admonition-title,
-div.warning p.admonition-title {
-  color: red ;
-  font-weight: bold ;
-  font-family: sans-serif }
-
-div.hint p.admonition-title, div.important p.admonition-title,
-div.note p.admonition-title, div.tip p.admonition-title,
-div.admonition p.admonition-title {
-  font-weight: bold ;
-  font-family: sans-serif }
-
-div.dedication {
-  margin: 2em 5em ;
-  text-align: center ;
-  font-style: italic }
-
-div.dedication p.topic-title {
-  font-weight: bold ;
-  font-style: normal }
-
-div.figure {
-  margin-left: 2em }
-
-div.footer, div.header {
-  font-size: smaller }
-
-div.sidebar, div.contents {
-  margin-left: 1em ;
-  border: medium outset ;
-  padding: 0em 1em ;
-  background-color: #ffffee ;
-  width: 40% ;
-  float: right ;
-  clear: right }
-
-div.sidebar p.rubric {
-  font-family: sans-serif ;
-  font-size: medium }
-
-div.system-messages {
-  margin: 5em }
-
-div.system-messages h1 {
-  color: red }
-
-div.system-message {
-  border: medium outset ;
-  padding: 1em }
-
-div.system-message p.system-message-title {
-  color: red ;
-  font-weight: bold }
-
-div.topic {
-  margin: 2em }
-
-h2.title {
-  background-image: url(kupuimages/kupu_icon.gif);
-  background-repeat: no-repeat;
-  background-position: center left;
-  padding-left: 32px; }
-
-hr {
-  width: 75% }
-
-ol.simple, ul.simple {
-  margin-bottom: 1em }
-
-ol.arabic {
-  list-style: decimal }
-
-ol.loweralpha {
-  list-style: lower-alpha }
-
-ol.upperalpha {
-  list-style: upper-alpha }
-
-ol.lowerroman {
-  list-style: lower-roman }
-
-ol.upperroman {
-  list-style: upper-roman }
-
-p.attribution {
-  text-align: right ;
-  margin-left: 50% }
-
-p.caption {
-  font-style: italic }
-
-p.credits {
-  font-style: italic ;
-  font-size: smaller }
-
-p.label {
-  white-space: nowrap }
-
-p.rubric {
-  font-weight: bold ;
-  font-size: larger ;
-  color: maroon ;
-  text-align: center }
-
-p.sidebar-title {
-  font-family: sans-serif ;
-  font-weight: bold ;
-  font-size: larger }
-
-p.sidebar-subtitle {
-  font-family: sans-serif ;
-  font-weight: bold }
-
-p.topic-title {
-  font-weight: bold }
-
-pre.address {
-  margin-bottom: 0 ;
-  margin-top: 0 ;
-  font-family: serif ;
-  font-size: 100% }
-
-pre.line-block {
-  font-family: serif ;
-  font-size: 100% }
-
-pre.literal-block, pre.doctest-block {
-  margin-left: 2em ;
-  margin-right: 2em ;
-  background-color: #eeeeee }
-
-span.classifier {
-  font-family: sans-serif ;
-  font-style: oblique }
-
-span.classifier-delimiter {
-  font-family: sans-serif ;
-  font-weight: bold }
-
-span.interpreted {
-  font-family: sans-serif }
-
-span.option {
-  white-space: nowrap }
-
-span.option-argument {
-  font-style: italic }
-
-span.pre {
-  white-space: nowrap }
-
-span.problematic {
-  color: red }
-
-table {
-  margin-top: 0.5em ;
-  margin-bottom: 0.5em }
-
-table.citation {
-  border-left: solid thin gray ;
-  padding-left: 0.5ex }
-
-table.docinfo {
-  margin: 2em 4em }
-
-table.footnote {
-  border-left: solid thin black ;
-  padding-left: 0.5ex }
-
-td, th {
-  padding-left: 0.5em ;
-  padding-right: 0.5em ;
-  vertical-align: top }
-
-th.docinfo-name, th.field-name {
-  font-weight: bold ;
-  text-align: left ;
-  white-space: nowrap }
-
-h1 tt, h2 tt, h3 tt, h4 tt, h5 tt, h6 tt {
-  font-size: 100% }
-
-tt {
-  background-color: #eeeeee }
-
-ul.auto-toc {
-  list-style-type: none; list-style-image: none;
-}
-</style>
-</metal:cssslot>
 <body>
 
     <div class="documentContent" metal:fill-slot="kupu_content"

Modified: kupu/trunk/kupu/plone/zmi_toolbar.pt
==============================================================================
--- kupu/trunk/kupu/plone/zmi_toolbar.pt	(original)
+++ kupu/trunk/kupu/plone/zmi_toolbar.pt	Thu Apr 26 02:03:06 2007
@@ -17,7 +17,8 @@
   <body>
 
     <div class="documentContent" metal:fill-slot="kupu_content">
-      <h3 i18n:translate="heading_configuration">Kupu Toolbar Configuration</h3>
+      <h1 class="documentFirstHeading"
+          i18n:translate="heading_configuration">Kupu Toolbar Configuration</h1>
       <form action=""
             name="configure_kupu_toolbar"
             method="post"


More information about the kupu-checkins mailing list