svn commit: r738145 - /lenya/trunk/src/modules-core/administration/usecases/ipRanges.jx

[email protected]
Newsgroups gmane.comp.cms.lenya.cvs
Message-ID <[email protected]>
Author: andreas
Date: Tue Jan 27 16:56:40 2009
New Revision: 738145

URL: http://svn.apache.org/viewvc?rev=738145&view=rev
Log:
Use grey text for buttons.

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

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?rev=738145&r1=738144&r2=738145&view=diff
==============================================================================
--- lenya/trunk/src/modules-core/administration/usecases/ipRanges.jx (original)
+++ lenya/trunk/src/modules-core/administration/usecases/ipRanges.jx Tue Jan 27 16:56:40 2009
@@ -24,26 +24,25 @@
   xmlns:i18n="http://apache.org/cocoon/i18n/2.1"    
   >
   
+  <page:head>
+    <link rel="stylesheet" type="text/css" href="/modules/gui/css/lenya.css"/>
+  </page:head>
+  
   <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>
-          <td colspan="2">
-            <jx:import uri="fallback://lenya/modules/usecase/templates/messages.jx"/>
-          </td>
-        </tr>
-      </table>
+      <p>
+        <jx:import uri="fallback://lenya/modules/usecase/templates/messages.jx"/>
+      </p>
       
-      <div style="margin-bottom: 10px">
-        <form method="get" id="form-add_iprange" action="${usecase.getSourceURL()}">
-          <input type="hidden" name="lenya.usecase" value="admin.addIPRange"/>
-          <input i18n:attr="value" type="submit" value="Add IP Range" name="input-add_iprange"/>
-        </form>
-      </div>
+      <p>
+        <a class="lenyaButton" href="${usecase.getSourceURL()}?lenya.usecase=admin.addIPRange">
+          <i18n:text>Add IP Range</i18n:text>
+        </a>
+      </p>
       
       <table cellspacing="0" class="lenya-table-list-noborder">
         <tr>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.