Author: jmorliaguet
Date: Sat Jul  1 16:02:03 2006
New Revision: 3580

Modified:
   
cpsskins/branches/paris-sprint-2006/ui/screens/sitemanager/negotiation_section.pt
   cpsskins/branches/paris-sprint-2006/ui/screens/sitemanager/presets_section.pt
   cpsskins/branches/paris-sprint-2006/ui/screens/sitemanager/site_manager.css

Log:

- cosmetic



Modified: 
cpsskins/branches/paris-sprint-2006/ui/screens/sitemanager/negotiation_section.pt
==============================================================================
--- 
cpsskins/branches/paris-sprint-2006/ui/screens/sitemanager/negotiation_section.pt
   (original)
+++ 
cpsskins/branches/paris-sprint-2006/ui/screens/sitemanager/negotiation_section.pt
   Sat Jul  1 16:02:03 2006
@@ -7,11 +7,12 @@
 
 <form action="@@submitLocation" method="post">
 
-  <table style="width: 100%, border-bottom: 1px solid #ccc" class="items">
+  <table style="width: 100%; border-bottom: 1px solid #ccc" class="items">
     <tr>
       <th style="width: 30%">path</th>
       <th style="width: 30%">scope</th>
-      <th style="width: 40%">data</th>
+      <th style="width: 30%">data</th>
+      <th style="width: 10%"></th>
     </tr>
     <tr tal:repeat="path infos">
       <tal:block define="location python:infos[path];
@@ -27,35 +28,38 @@
         <tal:block condition="edit">
           <tal:block define="widgets nocall:context/@@getLocationWidgets"
                      repeat="widget python: widgets(location_path, section)">
-            <td style="padding-top: 5px; padding-bottom: 5px; 
background-color: #efc" tal:content="structure widget" />
+            <td tal:content="structure widget" />
           </tal:block>
         </tal:block>
 
+        <td>
+          <a class="button" style="float: right" tal:condition="edited"
+             tal:attributes="href 
string:@@submitLocation?root=$section&location_path=$location_path&action=delete">
+          [delete]
+          </a>
+        </td>
+
       </tal:block>
     </tr>
   </table>
 
-  <div style="margin-top: 10px" tal:condition="not:edited">
-    <input type="hidden" name="root" tal:attributes="value section" />
-    <input type="hidden" name="action" value="add" />
-    <input type="text" name="location_path" value="/" />
-    <input class="submit default" type="submit" value="add" />
-  </div>
+  <div style="margin-top: 10px">
+    <tal:block condition="not:edited">
+      <input type="hidden" name="root" tal:attributes="value section" />
+      <input type="hidden" name="action" value="add" />
+      <input type="text" name="location_path" value="/" />
+      <input class="submit" type="submit" value="[add]" />
+    </tal:block>
 
-  <div style="margin-top: 10px; float: right" tal:condition="edited">
-    <a class="button"
-       tal:attributes="href 
string:@@submitLocation?root=$section&location_path=$edited&action=delete">
-       delete
-    </a>
-  </div>
 
-  <div tal:condition="edited" style="margin-top: 10px">
-    <input type="hidden" name="action" value="edit" />
-    <input type="hidden" name="root" tal:attributes="value section" />
-    <input type="hidden" name="location_path" tal:attributes="value edited" />
-    <input class="submit default" type="submit" value="save" />
-    <a class="button" i18n:translate=""
+    <tal:block condition="edited">
+      <input type="hidden" name="action" value="edit" />
+      <input type="hidden" name="root" tal:attributes="value section" />
+      <input type="hidden" name="location_path" tal:attributes="value edited" 
/>
+      <input class="submit" type="submit" value="[save]" />
+      <a class="button" i18n:translate=""
        tal:attributes="href 
string:javascript:CPSSkins.getModelById('negotiation-section').setData({'form': 
{'section': '$section'}})">cancel</a>
+    </tal:block>
   </div>
 
 </form>

Modified: 
cpsskins/branches/paris-sprint-2006/ui/screens/sitemanager/presets_section.pt
==============================================================================
--- 
cpsskins/branches/paris-sprint-2006/ui/screens/sitemanager/presets_section.pt   
    (original)
+++ 
cpsskins/branches/paris-sprint-2006/ui/screens/sitemanager/presets_section.pt   
    Sat Jul  1 16:02:03 2006
@@ -8,9 +8,11 @@
       <tal:block define="name info/name;
                          uri info/uri;
                          readonly info/readonly">
-        <a tal:attributes="href string:@@removePreset?uri=$uri"
+        <a class="button"
+           tal:attributes="href string:@@removePreset?uri=$uri"
            tal:condition="not:readonly">[remove]</a>
-        <a href="javascript:void(0)"
+        <a class="button"
+           href="javascript:void(0)"
            tal:attributes="onclick string:editPreset('$uri')"
            tal:condition="not:readonly">[edit]</a>
       </tal:block>
@@ -22,7 +24,7 @@
   <form action="@@addPreset" method="post">
     <input type="hidden" name="type_name" tal:attributes="value section" />
     <input type="text" name="name" value="" />
-    <input class="submit default" type="submit" value="add" />
+    <input class="submit" type="submit" value="[add]" />
   </form>
 
 </div>

Modified: 
cpsskins/branches/paris-sprint-2006/ui/screens/sitemanager/site_manager.css
==============================================================================
--- cpsskins/branches/paris-sprint-2006/ui/screens/sitemanager/site_manager.css 
(original)
+++ cpsskins/branches/paris-sprint-2006/ui/screens/sitemanager/site_manager.css 
Sat Jul  1 16:02:03 2006
@@ -114,11 +114,16 @@
 .sections table.items th {
   text-align: left;
   border-bottom: 1px solid #ccc;
+  background-color: #f3f3f3;
 }
 
 .sections table.items td {
   margin: 0;
-  padding: 0;
+  padding: 0.1em;
+}
+
+.sections table.items a {
+  color: #333;
 }
 
 form {
@@ -140,20 +145,17 @@
 }
 
 select, option, input {
-  font-size: 0.8em;
+  font-family: arial;
 }
 
 a.button, input.submit, button.submit {
   border: none;
   background-color: #fff;
-  color: #009;
-  margin: 0 0.5em;
+  color: #009 !important;
+  margin: 0 0.1em;
   font-size: 1em;
-}
-
-input.default, button.default {
-  border-bottom: 1px dotted #99f;
-  color: #009;
+  font-family: arial;
   cursor: pointer;
 }
 
+
-- 
http://lists.nuxeo.com/mailman/listinfo/z3lab-checkins

Reply via email to