Author: jmorliaguet
Date: Wed Nov 16 00:58:54 2005
New Revision: 1823

Added:
   cpsskins/branches/jmo-perspectives/engines/authoring/icons/management-48.png 
  (contents, props changed)
   cpsskins/branches/jmo-perspectives/engines/authoring/icons/settings-48.png   
(contents, props changed)
   
cpsskins/branches/jmo-perspectives/engines/authoring/icons/site-structure-48.png
   (contents, props changed)
Modified:
   cpsskins/branches/jmo-perspectives/engines/authoring/icons/configure.zcml
   cpsskins/branches/jmo-perspectives/engines/sitedesigner/site_designer.css
   cpsskins/branches/jmo-perspectives/engines/sitedesigner/site_designer.pt
Log:

- updated the site designer screen:

  - settings (perspectives, styles, images, ...)

  - site structure (local themes, perspectives, ...)

  - management (import, export ...)



Modified: 
cpsskins/branches/jmo-perspectives/engines/authoring/icons/configure.zcml
==============================================================================
--- cpsskins/branches/jmo-perspectives/engines/authoring/icons/configure.zcml   
(original)
+++ cpsskins/branches/jmo-perspectives/engines/authoring/icons/configure.zcml   
Wed Nov 16 00:58:54 2005
@@ -46,4 +46,16 @@
       name="remove-16.png" file="remove-16.png"
       layer="cpsskins" />
 
+  <resource
+      name="settings-48.png" file="settings-48.png"
+      layer="cpsskins" />
+
+  <resource
+      name="site-structure-48.png" file="site-structure-48.png"
+      layer="cpsskins" />
+
+  <resource
+      name="management-48.png" file="management-48.png"
+      layer="cpsskins" />
+
 </configure>

Added: 
cpsskins/branches/jmo-perspectives/engines/authoring/icons/management-48.png
==============================================================================
Binary file. No diff available.

Added: 
cpsskins/branches/jmo-perspectives/engines/authoring/icons/settings-48.png
==============================================================================
Binary file. No diff available.

Added: 
cpsskins/branches/jmo-perspectives/engines/authoring/icons/site-structure-48.png
==============================================================================
Binary file. No diff available.

Modified: 
cpsskins/branches/jmo-perspectives/engines/sitedesigner/site_designer.css
==============================================================================
--- cpsskins/branches/jmo-perspectives/engines/sitedesigner/site_designer.css   
(original)
+++ cpsskins/branches/jmo-perspectives/engines/sitedesigner/site_designer.css   
Wed Nov 16 00:58:54 2005
@@ -1,27 +1,51 @@
 
 .editArea {
-  font: 11px Arial, sans-serif;
+  font: 12px Arial, sans-serif;
   padding: 1em;
 }
 
 h1 {
   letter-spacing: -0.03em;
-  font-size: 180%;
+  font-size: 160%;
   font-weight: normal;
   color: #000;
   border-left: 7px solid #fcaf3e;
   padding: 1px 2px 1px 8px;
-  margin: 0.4em 0 1em 0;
-  background-color: #ffc;
+  margin: 0.5em 0 1.2em 0;
 }
 
 h2 {
-  font-size: 150%;
+  font-size: 145%;
   font-weight: normal;
   color: #000;
-  padding-bottom: 0.5em;
-  padding: 1px 2px 1px 0px;
-  margin: 0.4em 0 1em 8px;
+  padding: 1px 2px 1px 8px;
+  margin: 0.8em 0 1em 8px;
   border-bottom: 1px solid #eee;
+  background-color: #efc;
+}
+
+.description {
+  color: #333;
+  margin-top: -3em;
+  float: right;
+  font-style: italic;
+}
+
+.sections {
+  padding: 0em 0em 1.5em 0.5em;
+}
+
+.sections .section {
+  font: 13px Arial, sans-serif;
+}
+
+.icon {
+  padding-right: 1.5em;
+  padding-left: 0.5em;
+  float: left;
+}
+
+ul {
+  list-style: none;
 }
 

Modified: 
cpsskins/branches/jmo-perspectives/engines/sitedesigner/site_designer.pt
==============================================================================
--- cpsskins/branches/jmo-perspectives/engines/sitedesigner/site_designer.pt    
(original)
+++ cpsskins/branches/jmo-perspectives/engines/sitedesigner/site_designer.pt    
Wed Nov 16 00:58:54 2005
@@ -1,4 +1,5 @@
-<tal:block define="engine string:site-designer">
+<tal:block define="engine string:site-designer;
+                   current_type context/@@get|nothing">
 
 <metal:block use-macro="context/@@authoring_macros/editor">
 
@@ -16,19 +17,37 @@
 
     <div class="editArea">
 
-      <h1>Settings</h1>
+      <h1>Site designer</h1>
 
-      <tal:block define="info context/@@getSettingInfo"
-                 repeat="type info">
-
-        <h2 tal:content="type" i18n:translate="" />
-
-        <ul>
-          <li tal:repeat="setting info/?type"
-              tal:content="setting/title" />
-        </ul>
-
-      </tal:block>
+      <h2>Settings</h2>
+      <span class="description">Perspectives, styles, images, ...</span>
+      <div class="sections">
+        <img class="icon"
+             src="/++skin++cpsskins/@@/++resource++settings-48.png" />
+        <tal:block define="info context/@@getSettingInfo"
+                   repeat="type info">
+          <a class="section" href="" tal:content="type" i18n:translate="" />
+          <div tal:repeat="setting info/?type"
+               tal:content="setting/title" />
+        </tal:block>
+        <br style="clear:both"/>
+      </div>
+
+      <h2>Site structure</h2>
+      <span class="description">Local themes, perspectives, ...</span>
+      <div class="sections">
+        <img class="icon"
+             src="/++skin++cpsskins/@@/++resource++site-structure-48.png" />
+        <br style="clear:both"/>
+      </div>
+
+      <h2>Management</h2>
+      <span class="description">Import, export ...</span>
+      <div class="sections">
+        <img class="icon"
+             src="/++skin++cpsskins/@@/++resource++management-48.png" />
+        <br style="clear:both"/>
+      </div>
 
     </div>
 
-- 
http://lists.nuxeo.com/mailman/listinfo/z3lab-checkins

Reply via email to