Author: jmorliaguet
Date: Thu Mar  2 19:29:39 2006
New Revision: 2512

Modified:
   cpsskins/branches/jmo-perspectives/ui/panels/associations.pt
   cpsskins/branches/jmo-perspectives/ui/panels/management.pt
   cpsskins/branches/jmo-perspectives/ui/panels/settings.pt
   cpsskins/branches/jmo-perspectives/ui/panels/theme_tabs.pt
   cpsskins/branches/jmo-perspectives/ui/screens/sitedesigner/site_designer.pt
Log:

- UI: fixed navigation panels in the site designer screen



Modified: cpsskins/branches/jmo-perspectives/ui/panels/associations.pt
==============================================================================
--- cpsskins/branches/jmo-perspectives/ui/panels/associations.pt        
(original)
+++ cpsskins/branches/jmo-perspectives/ui/panels/associations.pt        Thu Mar 
 2 19:29:39 2006
@@ -1,5 +1,4 @@
 
-  <h2>Associations</h2>
   <div class="sections">
     <img class="icon"
          src="/++skin++cpsskins/@@/++resource++associations-48.png" />

Modified: cpsskins/branches/jmo-perspectives/ui/panels/management.pt
==============================================================================
--- cpsskins/branches/jmo-perspectives/ui/panels/management.pt  (original)
+++ cpsskins/branches/jmo-perspectives/ui/panels/management.pt  Thu Mar  2 
19:29:39 2006
@@ -1,5 +1,4 @@
 
-  <h2>Management</h2>
   <div class="sections">
     <img class="icon"
          src="/++skin++cpsskins/@@/++resource++management-48.png" />

Modified: cpsskins/branches/jmo-perspectives/ui/panels/settings.pt
==============================================================================
--- cpsskins/branches/jmo-perspectives/ui/panels/settings.pt    (original)
+++ cpsskins/branches/jmo-perspectives/ui/panels/settings.pt    Thu Mar  2 
19:29:39 2006
@@ -8,7 +8,6 @@
          tal:define="info context/@@getSettingInfo">
     <tr>
       <td class="first">
-        <h2>Settings</h2>
         <div class="sections">
           <img class="icon"
                src="/++skin++cpsskins/@@/++resource++settings-48.png" />

Modified: cpsskins/branches/jmo-perspectives/ui/panels/theme_tabs.pt
==============================================================================
--- cpsskins/branches/jmo-perspectives/ui/panels/theme_tabs.pt  (original)
+++ cpsskins/branches/jmo-perspectives/ui/panels/theme_tabs.pt  Thu Mar  2 
19:29:39 2006
@@ -11,9 +11,9 @@
                tal:attributes="src string:${context/++resource++ltab.png}" />
         </td>
         <td tal:attributes="class python: selected and 'tabselected' or 'tab'">
-          <a href=""
+          <a href="javascript:void(0)"
              tal:content="theme/title"
-             tal:attributes="href 
string:${theme/@@absolute_url}/@@editor.html" />
+             tal:attributes="onclick 
string:javascript:CPSSkins.getModelById('theme-perspectives').switchTo(${theme})"
 />
         </td>
         <td tal:attributes="class python: selected and 'rtabselected' or 
'rtab'">
           <img src="" alt="" width="5" height="5"

Modified: 
cpsskins/branches/jmo-perspectives/ui/screens/sitedesigner/site_designer.pt
==============================================================================
--- cpsskins/branches/jmo-perspectives/ui/screens/sitedesigner/site_designer.pt 
(original)
+++ cpsskins/branches/jmo-perspectives/ui/screens/sitedesigner/site_designer.pt 
Thu Mar  2 19:29:39 2006
@@ -1,17 +1,19 @@
 <h1>Site designer</h1>
 
-<a href="#" onclick="javascript: 
CPSSkins.getControllerById('site-designer-perspectives').switchTo('settings')">Settings</a>
 
-<a href="#" onclick="javascript: 
CPSSkins.getControllerById('site-designer-perspectives').switchTo('associations')">Associations</a>
 
-<a href="#" onclick="javascript: 
CPSSkins.getControllerById('site-designer-perspectives').switchTo('management')">Management</a>
 
-
 <ins class="controller" 
cite="@@getController?id=site-designer-perspectives"></ins>
 
+<h2 onclick="javascript: 
CPSSkins.getControllerById('site-designer-perspectives').switchTo('settings')">
+Settings</h2>
 <ins class="model" cite="@@getModel?id=settings"></ins>
 <ins class="view" cite="@@getView?id=settings"></ins>
 
+<h2 onclick="javascript: 
CPSSkins.getControllerById('site-designer-perspectives').switchTo('associations')">
+Associations</h2>
 <ins class="model" cite="@@getModel?id=associations"></ins>
 <ins class="view" cite="@@getView?id=associations"></ins>
 
+<h2 onclick="javascript: 
CPSSkins.getControllerById('site-designer-perspectives').switchTo('management')">
+Management</h2>
 <ins class="model" cite="@@getModel?id=management"></ins>
 <ins class="view" cite="@@getView?id=management"></ins>
 
-- 
http://lists.nuxeo.com/mailman/listinfo/z3lab-checkins

Reply via email to