Author: jmorliaguet
Date: Mon Mar 20 17:20:19 2006
New Revision: 2672

Added:
   cpsskins/branches/jmo-perspectives/ui/screens/interactiondesigner/
   
cpsskins/branches/jmo-perspectives/ui/screens/interactiondesigner/__init__.py   
(contents, props changed)
   
cpsskins/branches/jmo-perspectives/ui/screens/interactiondesigner/configure.zcml
   (contents, props changed)
   
cpsskins/branches/jmo-perspectives/ui/screens/interactiondesigner/interaction_designer.css
   (contents, props changed)
   
cpsskins/branches/jmo-perspectives/ui/screens/interactiondesigner/interaction_designer.pt
   (contents, props changed)
   cpsskins/branches/jmo-perspectives/ui/screens/sitemanager/site_manager.css
      - copied unchanged from r2671, 
cpsskins/branches/jmo-perspectives/ui/screens/sitemanager/site_designer.css
   cpsskins/branches/jmo-perspectives/ui/screens/sitemanager/site_manager.pt
      - copied unchanged from r2671, 
cpsskins/branches/jmo-perspectives/ui/screens/sitemanager/site_designer.pt
Removed:
   cpsskins/branches/jmo-perspectives/ui/screens/sitemanager/site_designer.css
   cpsskins/branches/jmo-perspectives/ui/screens/sitemanager/site_designer.pt
Modified:
   cpsskins/branches/jmo-perspectives/ui/authoring/definitions.py
   cpsskins/branches/jmo-perspectives/ui/panels/action_pad.pt
   cpsskins/branches/jmo-perspectives/ui/panels/settings.pt
   cpsskins/branches/jmo-perspectives/ui/screens/configure.zcml
   cpsskins/branches/jmo-perspectives/ui/screens/editor.pt
Log:

- added an "interaction designer" screen (ajax stuff)



Modified: cpsskins/branches/jmo-perspectives/ui/authoring/definitions.py
==============================================================================
--- cpsskins/branches/jmo-perspectives/ui/authoring/definitions.py      
(original)
+++ cpsskins/branches/jmo-perspectives/ui/authoring/definitions.py      Mon Mar 
20 17:20:19 2006
@@ -63,6 +63,14 @@
         }
     },
 
+    'interaction-designer': {
+        'id': 'interaction-designer',
+        'data': {
+            'url': '@@interaction-designer.html',
+            'css': '/++skin++cpsskins/@@/++resource++interaction-designer.css',
+        }
+    },
+
     'site-manager': {
         'id': 'site-manager',
         'data': {
@@ -110,7 +118,7 @@
         },
         'model': 'action-pad',
         'perspectives': ['site-manager', 'page-designer', 'layout-designer',
-                         'content-author'],
+                         'interaction-designer', 'content-author'],
         'controllers': ['main-editor-perspectives'],
     },
 
@@ -196,6 +204,16 @@
         'controllers': ['main-editor-perspectives'],
     },
 
+    'interaction-designer': {
+        'id': 'interaction-designer',
+        'widget': {
+            'type': 'panel',
+        },
+        'model': 'interaction-designer',
+        'perspectives': ['interaction-designer'],
+        'controllers': ['main-editor-perspectives'],
+    },
+
     'content-author': {
         'id': 'content-author',
         'widget': {

Modified: cpsskins/branches/jmo-perspectives/ui/panels/action_pad.pt
==============================================================================
--- cpsskins/branches/jmo-perspectives/ui/panels/action_pad.pt  (original)
+++ cpsskins/branches/jmo-perspectives/ui/panels/action_pad.pt  Mon Mar 20 
17:20:19 2006
@@ -12,6 +12,10 @@
   <a 
onclick="CPSSkins.getControllerById('main-editor-perspectives').switchTo('page-designer')"
      href="javascript:void(0)">Page designer</a>
 
+  <ins class="model" cite="@@getHint?msgid=hint-interaction-designer"></ins>
+  <a 
onclick="CPSSkins.getControllerById('main-editor-perspectives').switchTo('interaction-designer')"
+     href="javascript:void(0)">Interaction designer</a>
+
   <ins class="model" cite="@@getHint?msgid=hint-content-author"></ins>
   <a 
onclick="CPSSkins.getControllerById('main-editor-perspectives').switchTo('content-author')"
      href="javascript:void(0)">Content author</a>

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    Mon Mar 20 
17:20:19 2006
@@ -29,7 +29,7 @@
        },
        "model": "settings-section",
        "perspectives": ["settings"],
-       "controllers": ["site-designer-perspectives", "settings-actions"]
+       "controllers": ["site-manager-perspectives", "settings-actions"]
       }
       </ins>
 

Modified: cpsskins/branches/jmo-perspectives/ui/screens/configure.zcml
==============================================================================
--- cpsskins/branches/jmo-perspectives/ui/screens/configure.zcml        
(original)
+++ cpsskins/branches/jmo-perspectives/ui/screens/configure.zcml        Mon Mar 
20 17:20:19 2006
@@ -19,6 +19,9 @@
   <!-- page designer -->
   <include package=".pagedesigner" />
 
+  <!-- interaction designer -->
+  <include package=".interactiondesigner" />
+
   <!-- content author -->
   <include package=".contentauthor" />
 

Modified: cpsskins/branches/jmo-perspectives/ui/screens/editor.pt
==============================================================================
--- cpsskins/branches/jmo-perspectives/ui/screens/editor.pt     (original)
+++ cpsskins/branches/jmo-perspectives/ui/screens/editor.pt     Mon Mar 20 
17:20:19 2006
@@ -56,9 +56,11 @@
 
     <!-- Main area for other screens -->
     <div id="mainArea">
-      <ins class="model" cite="@@getModel?id=site-designer"></ins>
-      <ins class="view" cite="@@getView?id=site-designer"></ins>
+      <ins class="model" cite="@@getModel?id=site-manager"></ins>
+      <ins class="view" cite="@@getView?id=site-manager"></ins>
 
+      <ins class="model" cite="@@getModel?id=interaction-designer"></ins>
+      <ins class="view" cite="@@getView?id=interaction-designer"></ins>
     </div>
 
     <!-- Bottom area -->

Added: 
cpsskins/branches/jmo-perspectives/ui/screens/interactiondesigner/__init__.py
==============================================================================
--- (empty file)
+++ 
cpsskins/branches/jmo-perspectives/ui/screens/interactiondesigner/__init__.py   
    Mon Mar 20 17:20:19 2006
@@ -0,0 +1,18 @@
+##############################################################################
+#
+# Copyright (c) 2005 Nuxeo and Contributors.
+# All Rights Reserved.
+#
+# This software is subject to the provisions of the Zope Public License,
+# Version 2.1 (ZPL).  A copy of the ZPL should accompany this distribution.
+# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
+# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
+# FOR A PARTICULAR PURPOSE.
+#
+##############################################################################
+"""
+
+$Id$
+"""
+__docformat__ = "reStructuredText"

Added: 
cpsskins/branches/jmo-perspectives/ui/screens/interactiondesigner/configure.zcml
==============================================================================
--- (empty file)
+++ 
cpsskins/branches/jmo-perspectives/ui/screens/interactiondesigner/configure.zcml
    Mon Mar 20 17:20:19 2006
@@ -0,0 +1,20 @@
+<configure
+    xmlns="http://namespaces.zope.org/browser";>
+
+  <!-- Interaction designer -->
+
+  <page
+      layer="cpsskins.browser.skin.cpsskins"
+      for="*"
+      name="interaction-designer.html"
+      permission="zope.ManageContent"
+      template="interaction_designer.pt"
+  />
+
+  <resource
+      name="interaction-designer.css"
+      file="interaction_designer.css"
+      layer="cpsskins.browser.skin.cpsskins"
+  />
+
+</configure>

Added: 
cpsskins/branches/jmo-perspectives/ui/screens/interactiondesigner/interaction_designer.css
==============================================================================
--- (empty file)
+++ 
cpsskins/branches/jmo-perspectives/ui/screens/interactiondesigner/interaction_designer.css
  Mon Mar 20 17:20:19 2006
@@ -0,0 +1,23 @@
+
+h1 {
+  letter-spacing: -0.03em;
+  font-size: 160%;
+  font-weight: normal;
+  color: #000;
+  border-left: 7px solid #fcaf3e;
+  padding: 1px 2px 1px 8px;
+  margin: 0.5em 0 0.4em 0;
+}
+
+h2 {
+  font-size: 120%;
+  font-weight: bold;
+  color: #000;
+  padding: 1px 2px 1px 15px;
+  margin: 1.8em 2px 0em 0;
+  border-bottom: 1px solid #666;
+  background-color: #ccc;
+  cursor: pointer;
+}
+
+

Added: 
cpsskins/branches/jmo-perspectives/ui/screens/interactiondesigner/interaction_designer.pt
==============================================================================
--- (empty file)
+++ 
cpsskins/branches/jmo-perspectives/ui/screens/interactiondesigner/interaction_designer.pt
   Mon Mar 20 17:20:19 2006
@@ -0,0 +1,3 @@
+<h1>Interaction designer</h1>
+
+<p>AJAX stuff ...</p>
-- 
http://lists.nuxeo.com/mailman/listinfo/z3lab-checkins

Reply via email to