Author: jmorliaguet
Date: Sat May 20 17:18:49 2006
New Revision: 3175

Modified:
   cpsskins/branches/paris-sprint-2006/ui/panels/settings.pt
   cpsskins/branches/paris-sprint-2006/ui/panels/settings_section.pt
   cpsskins/branches/paris-sprint-2006/ui/screens/sitemanager/site_manager.css

Log:

- cosmetic



Modified: cpsskins/branches/paris-sprint-2006/ui/panels/settings.pt
==============================================================================
--- cpsskins/branches/paris-sprint-2006/ui/panels/settings.pt   (original)
+++ cpsskins/branches/paris-sprint-2006/ui/panels/settings.pt   Sat May 20 
17:18:49 2006
@@ -1,16 +1,20 @@
 
 <table class="panel" cellpadding="0" cellspacing="0"
        tal:define="info context/@@getSettingInfo">
+  <tr class="header">
+    <th style="width: 50px"></th>
+    <th style="width: 150px">Categories</th>
+    <th>Settings</th>
+  </tr>
   <tr>
     <td class="icon">
       <img src="++resource++settings-48.png" />
     </td>
     <td class="section">
       <div class="sections">
-        <span class="description">manage settings ...</span>
-        <ul>
+        <ul class="items">
           <li tal:repeat="section python: ['perspective', 'widget', 'style', 
'color']">
-            <a class="section" tal:attributes="href 
string:javascript:CPSSkins.getModelById('settings-section').setData({'form': 
{'section': '$section'}})" tal:content="section">SECTION</a></li>
+            <a tal:attributes="href 
string:javascript:CPSSkins.getModelById('settings-section').setData({'form': 
{'section': '$section'}})" tal:content="section">SECTION</a></li>
         </ul>
         <br style="clear:both"/>
       </div>

Modified: cpsskins/branches/paris-sprint-2006/ui/panels/settings_section.pt
==============================================================================
--- cpsskins/branches/paris-sprint-2006/ui/panels/settings_section.pt   
(original)
+++ cpsskins/branches/paris-sprint-2006/ui/panels/settings_section.pt   Sat May 
20 17:18:49 2006
@@ -1,8 +1,8 @@
 <div class="sections" tal:define="section request/form/section|nothing">
   <div tal:condition="section">
-    <ul tal:define="setting_info context/@@getSettingInfo">
+    <ul class="items" tal:define="setting_info context/@@getSettingInfo">
       <li tal:repeat="info setting_info/?section|nothing">
-        <tal:block content="info/setting/title" />
+        <a tal:attributes="href string:" tal:content="info/setting/title" />
         <tal:block define="name info/name;
                            uri info/uri;
                            readonly info/readonly;
@@ -15,9 +15,6 @@
              tal:condition="custom">[remove customization]</a>
         </tal:block>
       </li>
-      <li>
-        <a tal:attributes="href string:@@refreshSettings">[refresh]</a>
-      </li>
     </ul>
   </div>
   <div tal:condition="not:section">

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 May 20 17:18:49 2006
@@ -46,10 +46,13 @@
   margin: 2px 2px 2px 0;
 }
 
-.sections .section {
-  font: 13px Arial, sans-serif;
+.sections a {
+  font: 12px Arial, sans-serif;
 }
 
+.sections a:hover {
+  background-color: #eee;
+}
 
 a, a:visited, a:hover {
   color: #204a87;
@@ -69,6 +72,17 @@
   width: 100%;
 }
 
+table.panel .header{
+  background-color: #eee;
+  text-align: left;
+  font-size: 90%;
+  color: #666;
+}
+
+table.panel .header th {
+  padding: 0.2em;
+}
+
 table.panel td {
   vertical-align:top;
   padding-top: 0.2em;
@@ -85,3 +99,9 @@
 table.panel td.icon {
   padding: 1em;
 }
+
+.sections .items li {
+  border-bottom: 1px solid #eee;
+  padding: 0.2em;
+}
+
-- 
http://lists.nuxeo.com/mailman/listinfo/z3lab-checkins

Reply via email to