From 545630731576c69e4a270ce4af7379cee77cd96c Mon Sep 17 00:00:00 2001 From: erickson Date: Fri, 8 May 2009 20:43:22 +0000 Subject: [PATCH] moved vandelay into the new TT infrastructure. still using dtd for now. git-svn-id: svn://svn.open-ils.org/ILS/trunk@13109 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- .../{vandelay => css/skin/default}/vandelay.css | 2 +- .../web/{ => js/ui/default}/vandelay/vandelay.js | 4 +- .../default/vandelay/inc/attrs.tt2} | 0 .../default/vandelay/inc/export.tt2} | 0 .../default/vandelay/inc/marchtml.tt2} | 0 .../default/vandelay/inc/matches.tt2} | 0 .../default/vandelay/inc/progress.tt2} | 0 .../default/vandelay/inc/queue.tt2} | 0 .../default/vandelay/inc/queueselect.tt2} | 0 .../default/vandelay/inc/toolbar.tt2} | 0 .../default/vandelay/inc/upload.tt2} | 0 .../web/templates/default/vandelay/vandelay.tt2 | 41 +++++++++++++++ Open-ILS/web/vandelay/vandelay.xml | 61 ---------------------- 13 files changed, 44 insertions(+), 64 deletions(-) rename Open-ILS/web/{vandelay => css/skin/default}/vandelay.css (97%) rename Open-ILS/web/{ => js/ui/default}/vandelay/vandelay.js (99%) rename Open-ILS/web/{vandelay/inc/attrs.xml => templates/default/vandelay/inc/attrs.tt2} (100%) rename Open-ILS/web/{vandelay/inc/export.xml => templates/default/vandelay/inc/export.tt2} (100%) rename Open-ILS/web/{vandelay/inc/marchtml.xml => templates/default/vandelay/inc/marchtml.tt2} (100%) rename Open-ILS/web/{vandelay/inc/matches.xml => templates/default/vandelay/inc/matches.tt2} (100%) rename Open-ILS/web/{vandelay/inc/progress.xml => templates/default/vandelay/inc/progress.tt2} (100%) rename Open-ILS/web/{vandelay/inc/queue.xml => templates/default/vandelay/inc/queue.tt2} (100%) rename Open-ILS/web/{vandelay/inc/queueselect.xml => templates/default/vandelay/inc/queueselect.tt2} (100%) rename Open-ILS/web/{vandelay/inc/toolbar.xml => templates/default/vandelay/inc/toolbar.tt2} (100%) rename Open-ILS/web/{vandelay/inc/upload.xml => templates/default/vandelay/inc/upload.tt2} (100%) create mode 100644 Open-ILS/web/templates/default/vandelay/vandelay.tt2 delete mode 100644 Open-ILS/web/vandelay/vandelay.xml diff --git a/Open-ILS/web/vandelay/vandelay.css b/Open-ILS/web/css/skin/default/vandelay.css similarity index 97% rename from Open-ILS/web/vandelay/vandelay.css rename to Open-ILS/web/css/skin/default/vandelay.css index 8296037a7..40cae5587 100644 --- a/Open-ILS/web/vandelay/vandelay.css +++ b/Open-ILS/web/css/skin/default/vandelay.css @@ -22,7 +22,7 @@ table.dijitTooltipTable { border-collapse: separate; } color: red; font-weight:bold; } -.tall { height:100%; } +.tall { height:600px; } .wide { width:100%; } .hidden { display: none; } #toolbar { margin-top: 0px; } diff --git a/Open-ILS/web/vandelay/vandelay.js b/Open-ILS/web/js/ui/default/vandelay/vandelay.js similarity index 99% rename from Open-ILS/web/vandelay/vandelay.js rename to Open-ILS/web/js/ui/default/vandelay/vandelay.js index ef249b685..5a8ed0631 100644 --- a/Open-ILS/web/vandelay/vandelay.js +++ b/Open-ILS/web/js/ui/default/vandelay/vandelay.js @@ -82,7 +82,7 @@ var vlBibSources = []; * Grab initial data */ function vlInit() { - authtoken = dojo.cookie('ses') || cgi.param('ses'); + authtoken = openils.User.authtoken; var initNeeded = 5; // how many async responses do we need before we're init'd var initCount = 0; // how many async reponses we've received @@ -137,7 +137,7 @@ function vlInit() { } -dojo.addOnLoad(vlInit); +openils.Util.addOnLoad(vlInit); // fetch the bib and authority attribute definitions diff --git a/Open-ILS/web/vandelay/inc/attrs.xml b/Open-ILS/web/templates/default/vandelay/inc/attrs.tt2 similarity index 100% rename from Open-ILS/web/vandelay/inc/attrs.xml rename to Open-ILS/web/templates/default/vandelay/inc/attrs.tt2 diff --git a/Open-ILS/web/vandelay/inc/export.xml b/Open-ILS/web/templates/default/vandelay/inc/export.tt2 similarity index 100% rename from Open-ILS/web/vandelay/inc/export.xml rename to Open-ILS/web/templates/default/vandelay/inc/export.tt2 diff --git a/Open-ILS/web/vandelay/inc/marchtml.xml b/Open-ILS/web/templates/default/vandelay/inc/marchtml.tt2 similarity index 100% rename from Open-ILS/web/vandelay/inc/marchtml.xml rename to Open-ILS/web/templates/default/vandelay/inc/marchtml.tt2 diff --git a/Open-ILS/web/vandelay/inc/matches.xml b/Open-ILS/web/templates/default/vandelay/inc/matches.tt2 similarity index 100% rename from Open-ILS/web/vandelay/inc/matches.xml rename to Open-ILS/web/templates/default/vandelay/inc/matches.tt2 diff --git a/Open-ILS/web/vandelay/inc/progress.xml b/Open-ILS/web/templates/default/vandelay/inc/progress.tt2 similarity index 100% rename from Open-ILS/web/vandelay/inc/progress.xml rename to Open-ILS/web/templates/default/vandelay/inc/progress.tt2 diff --git a/Open-ILS/web/vandelay/inc/queue.xml b/Open-ILS/web/templates/default/vandelay/inc/queue.tt2 similarity index 100% rename from Open-ILS/web/vandelay/inc/queue.xml rename to Open-ILS/web/templates/default/vandelay/inc/queue.tt2 diff --git a/Open-ILS/web/vandelay/inc/queueselect.xml b/Open-ILS/web/templates/default/vandelay/inc/queueselect.tt2 similarity index 100% rename from Open-ILS/web/vandelay/inc/queueselect.xml rename to Open-ILS/web/templates/default/vandelay/inc/queueselect.tt2 diff --git a/Open-ILS/web/vandelay/inc/toolbar.xml b/Open-ILS/web/templates/default/vandelay/inc/toolbar.tt2 similarity index 100% rename from Open-ILS/web/vandelay/inc/toolbar.xml rename to Open-ILS/web/templates/default/vandelay/inc/toolbar.tt2 diff --git a/Open-ILS/web/vandelay/inc/upload.xml b/Open-ILS/web/templates/default/vandelay/inc/upload.tt2 similarity index 100% rename from Open-ILS/web/vandelay/inc/upload.xml rename to Open-ILS/web/templates/default/vandelay/inc/upload.tt2 diff --git a/Open-ILS/web/templates/default/vandelay/vandelay.tt2 b/Open-ILS/web/templates/default/vandelay/vandelay.tt2 new file mode 100644 index 000000000..e0d2f0420 --- /dev/null +++ b/Open-ILS/web/templates/default/vandelay/vandelay.tt2 @@ -0,0 +1,41 @@ +[% WRAPPER 'default/base.tt2' %] +[% ctx.page_title = 'MARC Import/Export' %] +[% ctx.dtd = '' %] + + + + + + +
+ +
+ [% INCLUDE 'default/vandelay/inc/progress.tt2' %] +
+ + + + + + + +
+ +[% END %] diff --git a/Open-ILS/web/vandelay/vandelay.xml b/Open-ILS/web/vandelay/vandelay.xml deleted file mode 100644 index 15307491a..000000000 --- a/Open-ILS/web/vandelay/vandelay.xml +++ /dev/null @@ -1,61 +0,0 @@ - - - -]> - - - - &vandelay.vandelay; - - - - - - -
- -
- -
- - - - - - - -
- - -- 2.11.0