[Checkins] SVN: z3c.securitytool/trunk/src/z3c/securitytool/browser/ Added description to securityMatrix.html and fixed some styles

Daniel Blackburn blackburnd at gmail.com
Sun Feb 3 00:51:07 EST 2008


Log message for revision 83439:
  Added description to securityMatrix.html and fixed some styles

Changed:
  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/securitytool.css
===================================================================
--- z3c.securitytool/trunk/src/z3c/securitytool/browser/securitytool.css	2008-02-03 05:35:58 UTC (rev 83438)
+++ z3c.securitytool/trunk/src/z3c/securitytool/browser/securitytool.css	2008-02-03 05:51:07 UTC (rev 83439)
@@ -117,7 +117,24 @@
 
 }
 
+.description {
+    margin-right: 35%;
+    margin-left: 3em;
 
+}
+
+.matrix_body {
+    margin-left: 3em;
+}
+
+.matrix_table {
+    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:35:58 UTC (rev 83438)
+++ z3c.securitytool/trunk/src/z3c/securitytool/browser/viewprincipalmatrix.pt	2008-02-03 05:51:07 UTC (rev 83439)
@@ -6,9 +6,18 @@
 <body>
    <h1>Security Checking Tool</h1>
    <h2>View User Matrix</h2>
+   <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
+provide a matrix of users and their effective permissions for all available
+views for any given component and context. We also provide two further
+levels of detail. You can view the details of how a user came to have
+the permission on a given view, by clicking on the permission in the
+matrix, or by discriminating by a specific skin.
+</p>
    <form action="." method="POST"
              tal:attributes="action request/URL">
-      <p>Select a skin:
+      <p class="matrix_body">Select a skin:
          <select name="selectedSkin">
             <option value="SkinType"
                tal:repeat="skinName view/skinTypes"
@@ -18,7 +27,7 @@
                tal:content="skinName">SkinName</option>
          </select>
       </p>
-      <p>Filter by permission:   
+      <p class="matrix_body">Filter by permission:   
          <select name="selectedPermission">
             <option value="None">---</option>
             <option value="Permission"
@@ -34,7 +43,7 @@
       </p>
    </form>
    <br />
-   <table tal:define="urlViewName view/urlEncodedViewName" >
+   <table class="matrix_table" tal:define="urlViewName view/urlEncodedViewName" >
        <th class="headings">&nbsp</th>
        <th class="headings"
            tal:repeat="principal view/viewMatrix">



More information about the Checkins mailing list