]> source.dussan.org Git - archiva.git/commitdiff
fix modified css for bulk save due to bootstrap 2.0 upgrade
authorOlivier Lamy <olamy@apache.org>
Fri, 3 Feb 2012 18:06:55 +0000 (18:06 +0000)
committerOlivier Lamy <olamy@apache.org>
Fri, 3 Feb 2012 18:06:55 +0000 (18:06 +0000)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1240269 13f79535-47bb-0310-9956-ffa450edef68

archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/css/archiva.css
archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/templates/network-proxies.html
archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/templates/topbar.html

index 7671fa1c8aec3b348313286b21539fe0924e2e25..ef2c891d462e238b5fcdfab59496d4b6de6ef9d1 100644 (file)
@@ -43,4 +43,9 @@
 
 .modified {
     border:2px solid #fbc7c6;
+}
+
+.modified td{
+    border-top:2px solid #fbc7c6;
+    border:2px solid #fbc7c6;
 }
\ No newline at end of file
index 1d2b1c375b83f051f7b43668985050aa44666306..7164a178323dd49ee6673a73516a77f386c211b5 100644 (file)
     </thead>
     <tbody>
     {{each(i, row) itemsOnCurrentPage()}}
-      <tr>
+      <tr data-bind="css:{ 'modified': row.modified()}">
         {{each(j, columnDefinition) columns}}
         {{var val = (typeof columnDefinition.rowText == 'function' ? columnDefinition.rowText(row) : row[columnDefinition.rowText])}}
-          <td data-bind="css:{ 'modified': row.modified()}">
+          <td>
               ${val}
           </td>
         {{/each}}
         {{if row.password()}}
-          <td data-bind="css:{ 'modified': row.modified()}">*****</td>
+          <td>*****</td>
         {{else}}
-          <td data-bind="css:{ 'modified': row.modified()}"></td>
+          <td></td>
         {{/if}}
-        <td data-bind="css:{ 'modified': row.modified()}">
+        <td>
             <a href="#" data-bind="click: function(){ editNetworkProxy(row) }">${$.i18n.prop('edit')}</a>
         </td>
-        <td data-bind="css:{ 'modified': row.modified()}">
+        <td>
             <a href="#" data-bind="click: function(){ removeNetworkProxy(row) }">
               <img src="images/edit-cut.png" title="${$.i18n.prop('delete')}"/>
             </a>
         </td>
         {{if row.modified()}}
-          <td data-bind="css:{ 'modified': row.modified()}">
+          <td>
             <a href="#" data-bind="click: function(){ updateNetworkProxy(row) }">${$.i18n.prop('save')}</a>
           </td>
         {{else}}
index 7530b772208b3693473624c5d81072b83699aaad..e70b514e8ee37f5a0b0d5739bd1f1a7a3cb9d3fc 100644 (file)
@@ -48,7 +48,7 @@
           </a>
         </li>
         <li class="pull-right">
-            <form class="pull-right" action="">
+            <form class="form-search pull-right" action="">
               <input type="text" placeholder="Search" />
             </form>
         </li>