[Checkins] SVN: z3c.securitytool/trunk/src/z3c/securitytool/browser/ And some more UI cleanup

Daniel Blackburn blackburnd at gmail.com
Sun Feb 3 01:50:07 EST 2008


Log message for revision 83440:
  And some more UI cleanup

Changed:
  U   z3c.securitytool/trunk/src/z3c/securitytool/browser/permdetails.pt
  U   z3c.securitytool/trunk/src/z3c/securitytool/browser/principalinfo.pt
  U   z3c.securitytool/trunk/src/z3c/securitytool/browser/securitytool.css
  U   z3c.securitytool/trunk/src/z3c/securitytool/browser/viewprincipalmatrix.pt

-=-
Modified: z3c.securitytool/trunk/src/z3c/securitytool/browser/permdetails.pt
===================================================================
--- z3c.securitytool/trunk/src/z3c/securitytool/browser/permdetails.pt	2008-02-03 05:51:07 UTC (rev 83439)
+++ z3c.securitytool/trunk/src/z3c/securitytool/browser/permdetails.pt	2008-02-03 06:50:07 UTC (rev 83440)
@@ -5,7 +5,21 @@
 </head>
 <body>
    <h1>Security Checking Tool</h1>
-    <div class="sub_heading"  tal:content="structure view/message">This permission details for the user</div>
+   <div class="top_nav">
+     <span class="top_nav_val"  onclick="javascript:history.back()"><u>Security Matrix</u>&nbsp|&nbsp</span>
+     <span class="top_nav_val">Permission Settings </span>
+   </div>
+   <p class="description"> The permission settings for the
+   intersection of the view and principal are displayed here. This
+   view displays the permissions, roles, and groups applied to the
+   view and principal previously selected on the securityMatrix.html page. You
+   can go back to the securityMatrix page by selecting the `Security
+   Matrix` link above. </p>
+   <h1 class="just_border">&nbsp</h1>
+    <div class="sub_heading">
+      <span  tal:content="structure view/message">This permission details
+	for the user </span>
+    </div>
     <div class="legend"  
          tal:condition="view/legend" 
          tal:content="structure view/legend"/>

Modified: z3c.securitytool/trunk/src/z3c/securitytool/browser/principalinfo.pt
===================================================================
--- z3c.securitytool/trunk/src/z3c/securitytool/browser/principalinfo.pt	2008-02-03 05:51:07 UTC (rev 83439)
+++ z3c.securitytool/trunk/src/z3c/securitytool/browser/principalinfo.pt	2008-02-03 06:50:07 UTC (rev 83440)
@@ -5,6 +5,18 @@
     </head>
     <body>
        <h1>Security Checking Tool</h1>
+
+       <div class="top_nav">
+         <span class="top_nav_val"  onclick="javascript:history.back()"><u>Security Matrix</u>&nbsp|&nbsp</span>
+         <span class="top_nav_val">Principal Settings </span>
+       </div>
+       <p class="description"> The detailed permissions, groups and
+         roles for the selected principal are listed below. These are
+         all the settings applied to the principal in the system
+         regardless of the context or view. The settings Allow or Deny
+         are also listed next to each permission.
+       </p>
+       <h1 class="just_border">&nbsp</h1>
        <div class="sub_heading">Permission settings for principal <em tal:content="view/principal"></em></div>
        <div class="legend" tal:condition="view/legend" tal:content="structure view/legend"/>
         <metal:block define-macro="user-details" 

Modified: z3c.securitytool/trunk/src/z3c/securitytool/browser/securitytool.css
===================================================================
--- z3c.securitytool/trunk/src/z3c/securitytool/browser/securitytool.css	2008-02-03 05:51:07 UTC (rev 83439)
+++ z3c.securitytool/trunk/src/z3c/securitytool/browser/securitytool.css	2008-02-03 06:50:07 UTC (rev 83440)
@@ -33,6 +33,9 @@
     border-bottom: 1px solid #ccc;
 }
 
+.just_border { 
+    padding: 0px 20px;
+}
 h2 {
     font-size: 110%;
     font-weight: bold;
@@ -120,9 +123,19 @@
 .description {
     margin-right: 35%;
     margin-left: 3em;
+}
 
+.top_nav {
+    margin-top: 5px;
+    margin-left: 2em;
+    margin-bottom: 10px;
 }
 
+.top_nav_val {
+    font-weight: bold;
+    font-size: 115%;
+}
+
 .matrix_body {
     margin-left: 3em;
 }
@@ -131,10 +144,6 @@
     margin-left: 40px;
 }
 
-
-
-
-
 .headings {
     background-color: #999;
 }

Modified: z3c.securitytool/trunk/src/z3c/securitytool/browser/viewprincipalmatrix.pt
===================================================================
--- z3c.securitytool/trunk/src/z3c/securitytool/browser/viewprincipalmatrix.pt	2008-02-03 05:51:07 UTC (rev 83439)
+++ z3c.securitytool/trunk/src/z3c/securitytool/browser/viewprincipalmatrix.pt	2008-02-03 06:50:07 UTC (rev 83440)
@@ -5,7 +5,9 @@
     </head>
 <body>
    <h1>Security Checking Tool</h1>
-   <h2>View User Matrix</h2>
+   <div class="top_nav">
+       <span class="top_nav_val">Security Matrix</span>
+   </div>
    <p class="description"> z3c.securitytool is a Zope3 package aimed at providing component level
 security information to assist in analyzing security problems and to
 potentially expose weaknesses. The goal of the security tool is to



More information about the Checkins mailing list