]> source.dussan.org Git - archiva.git/commitdiff
[MRM-1576] rewrite proxies connector page
authorOlivier Lamy <olamy@apache.org>
Wed, 8 Feb 2012 23:57:06 +0000 (23:57 +0000)
committerOlivier Lamy <olamy@apache.org>
Wed, 8 Feb 2012 23:57:06 +0000 (23:57 +0000)
magnify tables :-)

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1242186 13f79535-47bb-0310-9956-ffa450edef68

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

index 3d707fb1210d55c374e46df6283cc0ce695845ba..d92395448c30a45d834bec652798baf1b71a1766 100644 (file)
             </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>
         </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>
 
 
           <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>