]> git.evergreen-ils.org Git - working/Evergreen.git/blob - Open-ILS/src/templates/actor/user/register.tt2
Merge branch 'master' of git.evergreen-ils.org:Evergreen into template-toolkit-opac...
[working/Evergreen.git] / Open-ILS / src / templates / actor / user / register.tt2
1 [% ctx.page_title = 'User Editor' %]
2 [% WRAPPER base.tt2 %]
3 <script type="text/javascript" src='[% ctx.media_prefix %]/js/ui/default/actor/user/register.js'></script>
4 <link rel="stylesheet" type="text/css" href="[% ctx.media_prefix %]/css/skin/[% ctx.skin %]/register.css" />
5
6 <div dojoType="dijit.form.Form" id="myForm" jsId="myForm" encType="multipart/form-data" action="" method="">
7     <script type="dojo/method" event="onSubmit">
8         /* we don't want to use the form action, but uEditSave and UEditSaveClone from the Save buttons.  We
9             do want to use the Form's validation features, which we do from within UEditSave, etc. */
10         return false;
11     </script>
12     <table>
13         [% INCLUDE actor/user/register_table.tt2 %]
14     </table>
15 </div>
16
17 <div id='uedit-save-div'>
18     <button dojoType='dijit.form.Button' jsId='saveButton' onClick='uEditSave' scrollOnFocus='false'></button>
19     <button dojoType='dijit.form.Button' jsId='saveCloneButton' onClick='uEditSaveClone' scrollOnFocus='false'></button>
20     <div id='require-toggle'>
21         <a href='javascript:uEditToggleRequired(1);' id='uedit-show-required'>Show Only Required Fields</a><br id='uedit-show-required-br'/>
22         <a href='javascript:uEditToggleRequired(2);' id='uedit-show-suggested'>Show Suggested Fields</a><br id='uedit-show-suggested-br'/>
23         <a href='javascript:uEditToggleRequired(0);' id='uedit-show-all' class='hidden'>Show All Fields</a>
24     </div>
25 </div>
26
27 <!-- context help widget -->
28 <a class='hidden' id='uedit-help-template'><img src='/opac/images/advancedsearch-icon.png'></img></a>
29 <fieldset id='uedit-help-div' class='hidden'>
30     <legend id='uedit-help-field'/>
31     <div id='uedit-help-text'/>
32 </fieldset>
33
34 <!-- duplicate patron search results -->
35 <div id='uedit-dupe-div' class='hidden'>
36     <div><a href='javascript:void(0);' id='uedit-dupe-names-link'></a></div>
37     <div><a href='javascript:void(0);' id='uedit-dupe-email-link'></a></div>
38     <div><a href='javascript:void(0);' id='uedit-dupe-ident-link'></a></div>
39     <div><a href='javascript:void(0);' id='uedit-dupe-phone-link'></a></div>
40     <div><a href='javascript:void(0);' id='uedit-dupe-address-link'></a></div>
41 </div>
42
43 <div class='hidden'>
44     <span id='true' style='color:green;'>&#x2713;</span>
45     <span id='false' style='color:red;'>&#x2717;</span>
46     <div dojoType='dijit.Dialog' jsId='allCardsDialog'>
47         <table class='oils-generic-table' style='margin:10px;'>
48             <thead>
49                 <tr>
50                     <th>Barcode</th>
51                     <th>Active</th>
52                 </tr>
53             </thead>
54             <tbody id='uedit-all-cards-tbody'>
55                 <tr id='uedit-all-cards-tr-template'>
56                     <td><div name='barcode'></div></td>
57                     <td><div name='active'></div></td>
58                 </tr>
59             </tbody>
60             <tbody>
61                 <tr>
62                     <td colspan='2' style='text-align:center;'>
63                         <button dojoType='dijit.form.Button' onClick='allCardsDialog.hide()' scrollOnFocus='false'>Close</button>
64                     </td>
65                 </tr>
66             </tbody>
67         </table>
68     </div>
69 </div>
70
71
72 [% END %]
73