From 9c83125f8ccfb94c2b35bebdfda76e934f68a605 Mon Sep 17 00:00:00 2001 From: Olivier Lamy Date: Tue, 31 Jan 2012 10:17:28 +0000 Subject: [PATCH] use a css class to mark modified lines git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1238360 13f79535-47bb-0310-9956-ffa450edef68 --- .../src/main/webapp/css/archiva.css | 4 ++++ .../js/archiva/templates/network-proxies.html | 21 ++++++++++--------- 2 files changed, 15 insertions(+), 10 deletions(-) diff --git a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/css/archiva.css b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/css/archiva.css index 945a119ff..a0bc8403b 100644 --- a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/css/archiva.css +++ b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/css/archiva.css @@ -41,4 +41,8 @@ .ar-multiselect-right { margin-left: 2em +} + +.modified { + border:2px solid #fbc7c6; } \ No newline at end of file diff --git a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/templates/network-proxies.html b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/templates/network-proxies.html index 1401a5314..5ffaa4051 100644 --- a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/templates/network-proxies.html +++ b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/templates/network-proxies.html @@ -57,27 +57,28 @@ {{each(i, row) itemsOnCurrentPage()}} {{each(j, columnDefinition) columns}} - {{var val = (typeof columnDefinition.rowText == 'function' ? columnDefinition.rowText(row) : - row[columnDefinition.rowText])}} - -
${val}
- + {{var val = (typeof columnDefinition.rowText == 'function' ? columnDefinition.rowText(row) : row[columnDefinition.rowText])}} + + ${val} + {{/each}} {{if row.password()}} - ***** + ***** {{else}} - + {{/if}} - + ${$.i18n.prop('edit')} - + {{if row.modified()}} - ${$.i18n.prop('save')} + + ${$.i18n.prop('save')} + {{else}} {{/if}} -- 2.39.5