From 2bf6bd35abd5db676b82d54d054136b43762d35e Mon Sep 17 00:00:00 2001 From: rjy7 Date: Fri, 26 Mar 2010 23:06:38 +0000 Subject: [PATCH] NIHVIVO-193 Tweaks to styles of position history form (view 1) --- .../edit/forms/css/personHasPositionHistory.css | 14 ++++++++++++++ .../forms/js}/personHasPositionHistory.js | 2 ++ .../edit/forms/personHasPositionHistory.jsp | 7 +++++-- 3 files changed, 21 insertions(+), 2 deletions(-) create mode 100644 productMods/edit/forms/css/personHasPositionHistory.css rename productMods/{js/customForms => edit/forms/js}/personHasPositionHistory.js (74%) diff --git a/productMods/edit/forms/css/personHasPositionHistory.css b/productMods/edit/forms/css/personHasPositionHistory.css new file mode 100644 index 00000000..87539499 --- /dev/null +++ b/productMods/edit/forms/css/personHasPositionHistory.css @@ -0,0 +1,14 @@ +/* $This file is distributed under the terms of the license in /doc/license.txt$ */ + +#content form { + width: 50%; +} + +#orgNotListed { + float: right; + margin-right: 20em; + width: 200px; + padding: 10px 0px 10px 16px; + border: 1px solid #9c9c9c; + +} \ No newline at end of file diff --git a/productMods/js/customForms/personHasPositionHistory.js b/productMods/edit/forms/js/personHasPositionHistory.js similarity index 74% rename from productMods/js/customForms/personHasPositionHistory.js rename to productMods/edit/forms/js/personHasPositionHistory.js index acdc908c..88326740 100644 --- a/productMods/js/customForms/personHasPositionHistory.js +++ b/productMods/edit/forms/js/personHasPositionHistory.js @@ -1,3 +1,5 @@ +/* $This file is distributed under the terms of the license in /doc/license.txt$ */ + var personHasPositionHistory = { onLoad: function() { diff --git a/productMods/edit/forms/personHasPositionHistory.jsp b/productMods/edit/forms/personHasPositionHistory.jsp index ca6a77e9..dffbf0b1 100644 --- a/productMods/edit/forms/personHasPositionHistory.jsp +++ b/productMods/edit/forms/personHasPositionHistory.jsp @@ -230,8 +230,11 @@ submitLabel = "Create new position history entry"; } - List customJs = new ArrayList(Arrays.asList("../js/customForms/personHasPositionHistory.js")); + List customJs = new ArrayList(Arrays.asList("forms/js/personHasPositionHistory.js")); request.setAttribute("customJs", customJs); + + List customCss = new ArrayList(Arrays.asList("forms/css/personHasPositionHistory.css")); + request.setAttribute("customCss", customCss); %> @@ -240,7 +243,7 @@
" >
- If your organization is not listed, please add a new organization + If your organization is not listed, please add a new organization.