lenya-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From andr...@apache.org
Subject svn commit: r509501 - in /lenya/trunk/src/modules-core/administration/usecases: groups.jx ipRanges.jx users.jx
Date Tue, 20 Feb 2007 10:40:46 GMT
Author: andreas
Date: Tue Feb 20 02:40:45 2007
New Revision: 509501

URL: http://svn.apache.org/viewvc?view=rev&rev=509501
Log:
Added some missing usecase headlines, refined layout

Modified:
    lenya/trunk/src/modules-core/administration/usecases/groups.jx
    lenya/trunk/src/modules-core/administration/usecases/ipRanges.jx
    lenya/trunk/src/modules-core/administration/usecases/users.jx

Modified: lenya/trunk/src/modules-core/administration/usecases/groups.jx
URL: http://svn.apache.org/viewvc/lenya/trunk/src/modules-core/administration/usecases/groups.jx?view=diff&rev=509501&r1=509500&r2=509501
==============================================================================
--- lenya/trunk/src/modules-core/administration/usecases/groups.jx (original)
+++ lenya/trunk/src/modules-core/administration/usecases/groups.jx Tue Feb 20 02:40:45 2007
@@ -27,6 +27,8 @@
   <page:body>
     <jx:import uri="fallback://lenya/modules/usecase/templates/tabs.jx"/>
     <div id="contentblock1" class="lenya-tab">
+      
+      <h1><i18n:text>Groups</i18n:text></h1>
     
       <table class="lenya-table-noborder">
         <tr>
@@ -39,7 +41,7 @@
       <div style="margin: 10px 0px">
         <table class="lenya-table-noborder">
       	  <tr>
-            <td>
+            <td style="padding: 0px">
               <form method="GET" id="form-add_group">
                 <input type="hidden" name="lenya.usecase" value="admin.addGroup"/>
                 <input i18n:attr="value" type="submit" value="Add Group" name="input-add_group"/>
@@ -49,7 +51,7 @@
         </table>
       </div>
       
-      <table cellspacing="0" class="lenya-table">
+      <table cellspacing="0" class="lenya-table-list">
         <tr>
           <th><i18n:text>Group ID</i18n:text></th>
           <th><i18n:text>Name</i18n:text></th>

Modified: lenya/trunk/src/modules-core/administration/usecases/ipRanges.jx
URL: http://svn.apache.org/viewvc/lenya/trunk/src/modules-core/administration/usecases/ipRanges.jx?view=diff&rev=509501&r1=509500&r2=509501
==============================================================================
--- lenya/trunk/src/modules-core/administration/usecases/ipRanges.jx (original)
+++ lenya/trunk/src/modules-core/administration/usecases/ipRanges.jx Tue Feb 20 02:40:45 2007
@@ -27,6 +27,8 @@
   <page:body>
     <jx:import uri="fallback://lenya/modules/usecase/templates/tabs.jx"/>
     <div id="contentblock1" class="lenya-tab">
+      
+      <h1><i18n:text>IP Ranges</i18n:text></h1>
     
       <table class="lenya-table-noborder">
         <tr>

Modified: lenya/trunk/src/modules-core/administration/usecases/users.jx
URL: http://svn.apache.org/viewvc/lenya/trunk/src/modules-core/administration/usecases/users.jx?view=diff&rev=509501&r1=509500&r2=509501
==============================================================================
--- lenya/trunk/src/modules-core/administration/usecases/users.jx (original)
+++ lenya/trunk/src/modules-core/administration/usecases/users.jx Tue Feb 20 02:40:45 2007
@@ -25,6 +25,8 @@
   <page:body>
     <jx:import uri="fallback://lenya/modules/usecase/templates/tabs.jx"/>
     <div id="contentblock1" class="lenya-tab">
+      
+      <h1><i18n:text>Users</i18n:text></h1>
     
       <table class="lenya-table-noborder">
         <tr>
@@ -34,14 +36,14 @@
         </tr>
       </table>
       
-      <div style="margin: 10px 0px">
+      <div style="margin: 10px 0;">
         <table class="lenya-table-noborder">
       	  <tr>
-    	    <td>
+      	    <td style="padding: 0; margin: 0 10px 0 0;">
       		  <i18n:text>Add User</i18n:text>:&#160;
     	    </td>
     	    <jx:forEach var="type" items="${usecase.getParameter('userTypes')}">
-    	      <td>
+    	      <td style="padding: 0; margin: 0 10px 0 0;">
     	        <form method="GET" id="form-add_user">
                 <input type="hidden" name="lenya.usecase" value="admin.addUser"/>
                 <input type="hidden" name="className" value="${type.getClassName()}"/>
@@ -54,7 +56,7 @@
         </table>
       </div>
       
-      <table cellspacing="0" class="lenya-table">
+      <table cellspacing="0" class="lenya-table-list">
         <tr>
           <th><i18n:text>User ID</i18n:text></th>
           <th><i18n:text>Full Name</i18n:text></th>
@@ -70,9 +72,9 @@
               <jx:out value="${user.getName()}"/>
             </td>
             <td>
-              <jx:forEach var="group" items="${user.getGroups()}">
-                <a href="${request.requestURI}?lenya.usecase=admin.groupProfile&amp;groupId=${group.getId()}"><jx:out
value="${group.getId()}"/></a>
-              </jx:forEach>
+              <jx:set var="groups" value="${user.getGroups()}"/>
+              <jx:forEach var="group" items="${groups}"><jx:if test="${group !=
groups[0]}">, </jx:if>
+                <a href="${request.requestURI}?lenya.usecase=admin.groupProfile&amp;groupId=${group.getId()}"><jx:out
value="${group.getId()}"/></a></jx:forEach>
             </td>
             <td style="vertical-align: middle">
               <form method="GET" id="form-delete_user">



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org


Mime
View raw message