You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@archiva.apache.org by ol...@apache.org on 2012/02/09 00:57:07 UTC

svn commit: r1242186 - /archiva/trunk/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/templates/proxy-connectors.html

Author: olamy
Date: Wed Feb  8 23:57:06 2012
New Revision: 1242186

URL: http://svn.apache.org/viewvc?rev=1242186&view=rev
Log:
[MRM-1576] rewrite proxies connector page
magnify tables :-)

Modified:
    archiva/trunk/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/templates/proxy-connectors.html

Modified: archiva/trunk/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/templates/proxy-connectors.html
URL: http://svn.apache.org/viewvc/archiva/trunk/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/templates/proxy-connectors.html?rev=1242186&r1=1242185&r2=1242186&view=diff
==============================================================================
--- archiva/trunk/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/templates/proxy-connectors.html (original)
+++ archiva/trunk/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/templates/proxy-connectors.html Wed Feb  8 23:57:06 2012
@@ -151,18 +151,14 @@
             </table>
         </div>
         <div class="control-group span6">
-            <table>
-                <thead>
-                  <th colspan="3" class="pull-left">${$.i18n.prop('proxy-connector.properties')}</th>
-                </thead>
-                <tr>
-                  <td><input type="text" id="property-key"/></td>
-                  <td><input type="text" id="property-value"/></td>
-                  <td><a href="#" data-bind="click: function(){ addProperty() }">${$.i18n.prop('add')}</a></td>
-                </tr>
-            </table>
+          <h4>${$.i18n.prop('proxy-connector.properties')}</h4>
 
             <table class="table">
+              <thead>
+                <th><input type="text" id="property-key"/></th>
+                <th><input type="text" id="property-value"/></th>
+                <th><a href="#" data-bind="click: function(){ addProperty() }">${$.i18n.prop('add')}</a></th>
+              </thead>
               <tbody data-bind="foreach: proxyConnector.properties">
                 <tr>
                   <td data-bind="text: key"></td>
@@ -174,17 +170,12 @@
         </div>
 
         <div class="control-group span6">
-            <table>
-                <thead>
-                  <th colspan="2" class="pull-left">${$.i18n.prop('proxy-connector.blacklist')}</th>
-                </thead>
-                <tr>
-                  <td><input type="text" id="blacklist-value"/></td>
-                  <td><a href="#" data-bind="click: function(){ addBlacklistPattern() }">${$.i18n.prop('add')}</a></td>
-                </tr>
-            </table>
-
+            <h4>${$.i18n.prop('proxy-connector.blacklist')}</h4>
             <table class="table">
+              <thead>
+                <th><input type="text" id="blacklist-value"/></th>
+                <th><a href="#" data-bind="click: function(){ addBlacklistPattern() }">${$.i18n.prop('add')}</a></th>
+              </thead>
               <tbody data-bind="foreach: proxyConnector.blackListPatterns">
                 <tr>
                   <td data-bind="text: $data"></td>
@@ -196,17 +187,12 @@
 
 
           <div class="control-group span6">
-            <table>
-                <thead>
-                  <th colspan="2" class="pull-left">${$.i18n.prop('proxy-connector.whitelist')}</th>
-                </thead>
-                <tr>
-                  <td><input type="text" id="whitelist-value"/></td>
-                  <td><a href="#" data-bind="click: function(){ addWhitelistPattern() }">${$.i18n.prop('add')}</a></td>
-                </tr>
-            </table>
-
+            <h4>${$.i18n.prop('proxy-connector.whitelist')}</h4>
             <table class="table">
+              <thead>
+                <th><input type="text" id="whitelist-value"/></th>
+                <th><a href="#" data-bind="click: function(){ addWhitelistPattern() }">${$.i18n.prop('add')}</a></th>
+              </thead>
               <tbody data-bind="foreach: proxyConnector.whiteListPatterns">
                 <tr>
                   <td data-bind="text: $data"></td>