# context additions:
# user : au object, fleshed
sub load_myopac {
+ # XXX This crashes on session timeout, so somewhere around here we need to
+ # add handling for that
my $self = shift;
$self->ctx->{page} = 'myopac';
--- /dev/null
+[% BLOCK html_head %]
+<style>
+ table { width: 100%; text-align: center; padding: 20px; margin-top: 30px; }
+ table { border-collapse: collapse; }
+ table { padding: 3px; border-bottom: 1px solid #ddd; text-align: left;}
+ table tr:nth-child(odd) { background-color:#ded; }
+</style>
+[% END %]
+
+[% WRAPPER "default/opac/base.tt2" %]
+[% INCLUDE "default/opac/myopac/_links.tt2" myopac_page = "bookbags" %]
+<p><em>XXX TODO</em></p>
+
+[% END %]
--- /dev/null
+[% BLOCK html_head %]
+<style>
+ table { width: 100%; text-align: center; padding: 20px; margin-top: 30px; }
+ table { border-collapse: collapse; }
+ table { padding: 3px; border-bottom: 1px solid #ddd; text-align: left;}
+ table tr:nth-child(odd) { background-color:#ded; }
+</style>
+[% END %]
+
+[% WRAPPER "default/opac/base.tt2" %]
+[% INCLUDE "default/opac/myopac/_links.tt2" myopac_page = "fines" %]
+<table>
+ <thead>
+ <tr>
+ <th>Total Owed</th>
+ <th>Total Paid</th>
+ <th>Balance Owed</th>
+ </tr>
+ </thead>
+</table>
+
+[% END %]
--- /dev/null
+[% BLOCK html_head %]
+<style>
+ table { width: 100%; text-align: center; padding: 20px; margin-top: 30px; }
+ table { border-collapse: collapse; }
+ table { padding: 3px; border-bottom: 1px solid #ddd; text-align: left;}
+ table tr:nth-child(odd) { background-color:#ded; }
+</style>
+[% END %]
+
+[% WRAPPER "default/opac/base.tt2" %]
+[% INCLUDE "default/opac/myopac/_links.tt2" myopac_page = "items_held" %]
+<table>
+ <thead>
+ <tr>
+ <th>Title</th>
+ <th>Author</th>
+ <th>Formats</th>
+ <th>Pickup Location</th>
+ <th>Status</th>
+ <th>Active</th>
+ <th>Activate on...</th>
+ <th>Expiration Date</th>
+ <th>Select</th>
+ <th>Edit</th>
+ </tr>
+ </thead>
+</table>
+
+[% END %]
--- /dev/null
+[% BLOCK html_head %]
+<style>
+ table { width: 100%; text-align: center; padding: 20px; margin-top: 30px; }
+ table { border-collapse: collapse; }
+ table { padding: 3px; border-bottom: 1px solid #ddd; text-align: left;}
+ table tr:nth-child(odd) { background-color:#ded; }
+</style>
+[% END %]
+
+[% WRAPPER "default/opac/base.tt2" %]
+[% INCLUDE "default/opac/myopac/_links.tt2" myopac_page = "items_out" %]
+<table>
+ <thead>
+ <tr>
+ <th>Title</th>
+ <th>Author</th>
+ <th>Due Date</th>
+ <th>Renewals Remaining</th>
+ <th>Renewals Remaining</th>
+ </tr>
+ </thead>
+</table>
+
+[% END %]
--- /dev/null
+[% BLOCK html_head %]
+<style>
+ table { width: 100%; text-align: center; padding: 20px; margin-top: 30px; }
+ table { border-collapse: collapse; }
+ table { padding: 3px; border-bottom: 1px solid #ddd; text-align: left;}
+ table tr:nth-child(odd) { background-color:#ded; }
+</style>
+[% END %]
+
+[% WRAPPER "default/opac/base.tt2" %]
+[% INCLUDE "default/opac/myopac/_links.tt2" myopac_page = "prefs" %]
+<p><em>XXX TODO Need to find out whether the list of pref fields can/should be generated
+ from db entries or something.</em></p>
+
+[% END %]