From 700d933b443993bbe08fb028cab072c3d5afbe59 Mon Sep 17 00:00:00 2001 From: erickson Date: Mon, 2 Mar 2009 19:50:40 +0000 Subject: [PATCH] moved CSS out to skin/them files git-svn-id: svn://svn.open-ils.org/ILS/trunk@12355 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- .../ui/default/conify/global/action/survey/edit.js | 12 ++++++------ .../default/conify/global/action/survey/edit.tt2 | 13 ++++++++----- 2 files changed, 14 insertions(+), 11 deletions(-) diff --git a/Open-ILS/web/js/ui/default/conify/global/action/survey/edit.js b/Open-ILS/web/js/ui/default/conify/global/action/survey/edit.js index 2b78e9e3e0..b24b9a3495 100644 --- a/Open-ILS/web/js/ui/default/conify/global/action/survey/edit.js +++ b/Open-ILS/web/js/ui/default/conify/global/action/survey/edit.js @@ -23,9 +23,9 @@ var localeStrings = dojo.i18n.getLocalization('openils.conify', 'conify'); function drawSurvey(svyId) { today = new Date(); var surveyTable = dojo.byId('edit-pane'); - var surveyHead = dojo.create('thead', {style: "background-color: #99CCFF"}, surveyTable); + var surveyHead = dojo.create('thead', {id: "survey_head"}, surveyTable); var headRow = dojo.create('tr', null, surveyHead); - var headCell = dojo.create('td', {innerHTML: "

" +dojo.string.substitute(localeStrings.SURVEY_ID, [svyId])+"

", style: "width: 100%"}, headRow); + var headCell = dojo.create('td', {id: "head_cell", innerHTML: "

" +dojo.string.substitute(localeStrings.SURVEY_ID, [svyId])+"

" }, headRow); var pcrud = new openils.PermaCrud(); var survey = pcrud.retrieve('asv', svyId); startDate = dojo.date.stamp.fromISOString(survey.start_date()); @@ -38,10 +38,10 @@ function drawSurvey(svyId) { pane.fieldOrder = ['id', 'name', 'description', 'owner', 'start_date', 'end_date']; pane.onCancel = cancelEdit; pane.startup(); - var surveyFoot = dojo.create('tfoot', {style: "background-color: #99CCFF"}, surveyTable); - var footRow = dojo.create('tr', { style: "width: 100%"}, surveyFoot); - var footLabel = dojo.create('td', {innerHTML: "

"+localeStrings.SURVEY_FOOT_LABEL+"

", style: "width: 100%"}, footRow); - var footCell = dojo.create('td', {innerHTML: "
", style: "width: 100%"}, footRow); + var surveyFoot = dojo.create('tfoot', { id: "survey_foot"}, surveyTable); + var footRow = dojo.create('tr', {id: "foot_row"}, surveyFoot); + var footLabel = dojo.create('td', {id: "foot_label", innerHTML: "

"+localeStrings.SURVEY_FOOT_LABEL+"

"}, footRow); + var footCell = dojo.create('td', {innerHTML: "
", id: "foot_cell"}, footRow); getQuestions(svyId, survey); } diff --git a/Open-ILS/web/templates/default/conify/global/action/survey/edit.tt2 b/Open-ILS/web/templates/default/conify/global/action/survey/edit.tt2 index 3a446263ec..40f57a79fc 100644 --- a/Open-ILS/web/templates/default/conify/global/action/survey/edit.tt2 +++ b/Open-ILS/web/templates/default/conify/global/action/survey/edit.tt2 @@ -1,10 +1,13 @@ [% WRAPPER 'default/base.tt2' %] - - -- 2.43.2