From: Bill Erickson Date: Mon, 16 Apr 2012 15:51:36 +0000 (-0400) Subject: Created examples web dir X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=4f3184d25fc9e57c83e6bd40ab4ac871b7d5a8d2;p=evergreen%2Fmasslnc.git Created examples web dir Created Open-ILS/examples/web for storing example templates and sample template overrides and their associated resources (js, css, images). Moved the sample flattener_test.tt2 into the new web/templates dir. Added a simple README exaplaining the purpose of the directory. Signed-off-by: Bill Erickson Signed-off-by: Mike Rylander --- diff --git a/Open-ILS/examples/tt2/flattener_test.tt2 b/Open-ILS/examples/tt2/flattener_test.tt2 deleted file mode 100644 index 8f610f646d..0000000000 --- a/Open-ILS/examples/tt2/flattener_test.tt2 +++ /dev/null @@ -1,49 +0,0 @@ -[% WRAPPER base.tt2 %] -[% ctx.page_title = 'Flattener Test' %] - - -
-
-
Flattener Test
-
- - -
-
- - - - - - - - - - - -
BarcodeCirculation Library NameCirculation LibraryShelving Location
-
-[% END %] diff --git a/Open-ILS/examples/web/README b/Open-ILS/examples/web/README new file mode 100644 index 0000000000..ff1096fd55 --- /dev/null +++ b/Open-ILS/examples/web/README @@ -0,0 +1,27 @@ +README for Evergreen example web +================================ + +What's Here +----------- + +Here lie example templates for testing and examples of template +overrides and their associated resources (js, css, images). + +Installation +------------ + + * To install all example files. + * Templates assume a local override directory of "templates_local" + +[source, bash] +------------------------------------------------------------------------------ +cp -r js/* /openils/var/web/js/ +cp -r css/* /openils/var/web/css/ +cp -r images/* /openils/var/web/images/ +cp -r templates/* /openils/var/templates_local +------------------------------------------------------------------------------ + +//////////////////////// +vim:set syntax=asciidoc: +//////////////////////// + diff --git a/Open-ILS/examples/web/templates/flattener_test.tt2 b/Open-ILS/examples/web/templates/flattener_test.tt2 new file mode 100644 index 0000000000..8f610f646d --- /dev/null +++ b/Open-ILS/examples/web/templates/flattener_test.tt2 @@ -0,0 +1,49 @@ +[% WRAPPER base.tt2 %] +[% ctx.page_title = 'Flattener Test' %] + + +
+
+
Flattener Test
+
+ + +
+
+ + + + + + + + + + + +
BarcodeCirculation Library NameCirculation LibraryShelving Location
+
+[% END %]