+++ /dev/null
-[% WRAPPER base.tt2 %]
-[% ctx.page_title = 'Flattener Test' %]
-<!--
- -->
-<script type="text/javascript">
- dojo.require("dijit.form.Button");
- dojo.require("openils.widget.FlattenerGrid");
-</script>
-<div dojoType="dijit.layout.ContentPane" layoutAlign="client">
- <div dojoType="dijit.layout.ContentPane"
- layoutAlign="top" class="oils-header-panel">
- <div>Flattener Test</div>
- <div>
- <button dojoType="dijit.form.Button"
- onClick="grid.showCreateDialog()">New Thing</button>
- <button dojoType="dijit.form.Button"
- onClick="grid.deleteSelected()">Delete Selected Thing</button>
- </div>
- </div>
- <!-- <div class="oils-acq-basic-roomy">
- blah, a dropdown or something here (optional; typical interfaces might
- have a filtering org select here. Then again, why not use
- showLoadFilter on the Grid instead?)
- </div> -->
- <table
- id="gridNode"
- jsid="grid"
- dojoType="openils.widget.FlattenerGrid"
- columnPersistKey='"conify.flattener_test"'
- autoHeight="10"
- editOnEnter="true"
- editStyle="pane"
- showLoadFilter="true"
- fmClass="'acp'"
- defaultSort="['call_number']"
- mapExtras="{copy_status: {path: 'status.name', filter: true}}"
- query="{'copy_status': ['Available','Reshelving','In process'],'circ_lib': 'BR1'}">
- <thead>
- <tr>
- <th field="barcode" fpath="barcode" ffilter="true">Barcode</th>
- <th field="circ_lib_name" fpath="circ_lib.name" ffilter="true">Circulation Library Name</th>
- <th field="circ_lib" fpath="circ_lib.shortname" ffilter="true">Circulation Library</th>
- <th field="call_number" fpath="call_number.label" ffilter="true"></th>
- <th field="shelving_loc" fpath="location.name" ffilter="true">Shelving Location</th>
- </tr>
- </thead>
- </table>
-</div>
-[% END %]
--- /dev/null
+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:
+////////////////////////
+
--- /dev/null
+[% WRAPPER base.tt2 %]
+[% ctx.page_title = 'Flattener Test' %]
+<!--
+ -->
+<script type="text/javascript">
+ dojo.require("dijit.form.Button");
+ dojo.require("openils.widget.FlattenerGrid");
+</script>
+<div dojoType="dijit.layout.ContentPane" layoutAlign="client">
+ <div dojoType="dijit.layout.ContentPane"
+ layoutAlign="top" class="oils-header-panel">
+ <div>Flattener Test</div>
+ <div>
+ <button dojoType="dijit.form.Button"
+ onClick="grid.showCreateDialog()">New Thing</button>
+ <button dojoType="dijit.form.Button"
+ onClick="grid.deleteSelected()">Delete Selected Thing</button>
+ </div>
+ </div>
+ <!-- <div class="oils-acq-basic-roomy">
+ blah, a dropdown or something here (optional; typical interfaces might
+ have a filtering org select here. Then again, why not use
+ showLoadFilter on the Grid instead?)
+ </div> -->
+ <table
+ id="gridNode"
+ jsid="grid"
+ dojoType="openils.widget.FlattenerGrid"
+ columnPersistKey='"conify.flattener_test"'
+ autoHeight="10"
+ editOnEnter="true"
+ editStyle="pane"
+ showLoadFilter="true"
+ fmClass="'acp'"
+ defaultSort="['call_number']"
+ mapExtras="{copy_status: {path: 'status.name', filter: true}}"
+ query="{'copy_status': ['Available','Reshelving','In process'],'circ_lib': 'BR1'}">
+ <thead>
+ <tr>
+ <th field="barcode" fpath="barcode" ffilter="true">Barcode</th>
+ <th field="circ_lib_name" fpath="circ_lib.name" ffilter="true">Circulation Library Name</th>
+ <th field="circ_lib" fpath="circ_lib.shortname" ffilter="true">Circulation Library</th>
+ <th field="call_number" fpath="call_number.label" ffilter="true"></th>
+ <th field="shelving_loc" fpath="location.name" ffilter="true">Shelving Location</th>
+ </tr>
+ </thead>
+ </table>
+</div>
+[% END %]