]> git.evergreen-ils.org Git - working/Evergreen.git/blob - Open-ILS/web/templates/default/actor/user/register.tt2
added onchange to copy new barcodes into usrname field
[working/Evergreen.git] / Open-ILS / web / templates / default / actor / user / register.tt2
1 [% ctx.page_title = 'User Editor' %]
2 [% WRAPPER default/base.tt2 %]
3 <script src='[% ctx.media_prefix %]/js/ui/default/actor/user/register.js'> </script>
4
5 <style>
6
7     /* XXX Move me into the CSS tree XXX */
8
9     #uedit-tbody tr td {
10         padding: 5px;
11         text-align: left;
12     }
13
14
15     #uedit-save-div {
16         position: fixed;
17         top:40px;
18         right:30px;
19         width:300px;
20         border:2px solid #d9e8f9;
21         -moz-border-radius: 10px;
22         font-weight: bold;
23         padding: 12px;
24         text-align:center;
25         vertical-align:middle;
26     }
27
28     #uedit-help-div {
29         position: fixed;
30         top:124px;
31         right:30px;
32         width:300px;
33         border:2px dashed #d9e8f9;
34         -moz-border-radius: 10px;
35         font-weight: bold;
36         padding: 20px;
37     }
38     .uedit-help {
39         width: 25px;
40         border:1px solid #e0e0e0;
41         text-align:center;
42         vertical-align:middle;
43     }
44     .divider td {
45         min-height:10px;
46         background-color: #e0e0e0;
47     }
48
49     .divider span { padding: 0px 5px 0px 5px; }
50
51     .newaddr-row td {
52         text-align: right;
53         border-top:1px dashed #d9e8f9;
54     }
55     .newaddr-row td:last-child {
56         border-right:1px dashed #d9e8f9;
57     }
58
59     .uedit-addr-del-button {margin-left: 10px; color:red;}
60
61 </style>
62
63 <table>
64     <tbody id='uedit-tbody'>
65         <tr fmclass='ac' fmfield='barcode'/>
66         <tr fmclass='au' fmfield='usrname'/>
67         <tr fmclass='au' fmfield='passwd'/>
68         <tr fmclass='au' fmfield='passwd'><td/><td>Verify Password</td><td/></tr>
69         <tr fmclass='au' fmfield='first_given_name'/>
70         <tr fmclass='au' fmfield='second_given_name'/>
71         <tr fmclass='au' fmfield='family_name'/>
72         <tr fmclass='au' fmfield='suffix'/>
73         <tr fmclass='au' fmfield='alias'/>
74         <tr fmclass='au' fmfield='dob'/>
75         <tr fmclass='au' fmfield='juvenile'/>
76         <tr fmclass='au' fmfield='ident_type'/>
77         <tr fmclass='au' fmfield='ident_value'/>
78         <tr fmclass='au' fmfield='email'/>
79         <tr fmclass='au' fmfield='day_phone'/>
80         <tr fmclass='au' fmfield='evening_phone'/>
81         <tr fmclass='au' fmfield='other_phone'/>
82         <tr fmclass='au' fmfield='home_ou'/>
83         <tr fmclass='au' fmfield='profile'/>
84         <tr fmclass='au' fmfield='expire_date'/>
85         <tr fmclass='au' fmfield='net_access_level'/>
86         <tr fmclass='au' fmfield='active'/>
87         <tr fmclass='au' fmfield='barred'/>
88         <tr fmclass='au' fmfield='master_account'/>
89         <tr fmclass='au' fmfield='claims_returned_count'/>
90         <tr fmclass='au' fmfield='alert_message' wclass='dijit.form.Textarea' wstyle='height:5em'/>
91
92         <!-- Address -->
93         <tr name='uedit-addr-divider' class='divider' type='addr-template'>
94             <td colspan='2'>Address</td>
95             <td>
96                 <span>Mailing</span><input type='radio' name='mailing_address'>
97                 <span>Billing</span><input type='radio' name='billing_address'>
98                 <button name='delete-button' class='uedit-addr-del-button'>X</button>
99             </td>
100         </tr>
101         <tr fmclass='aua' fmfield='address_type' type='addr-template'/>
102         <tr fmclass='aua' fmfield='post_code' type='addr-template'/>
103         <tr fmclass='aua' fmfield='street1' type='addr-template'/>
104         <tr fmclass='aua' fmfield='street2' type='addr-template'/>
105         <tr fmclass='aua' fmfield='city' type='addr-template'/>
106         <tr fmclass='aua' fmfield='county' type='addr-template'/>
107         <tr fmclass='aua' fmfield='state' type='addr-template'/>
108         <tr fmclass='aua' fmfield='country' type='addr-template'/>
109         <tr fmclass='aua' fmfield='valid' type='addr-template'/>
110         <tr fmclass='aua' fmfield='within_city_limits' type='addr-template'/>
111
112         <tr id='new-addr-row' class='newaddr-row'>
113             <td colspan='0' style='text-align:center;'>
114                 <button dojoType='dijit.form.Button' onClick='uEditNewAddr'>New Address</button>
115             </td>
116         </tr>
117
118         <!-- stat cats -->
119         <tr class='divider' id='stat-cat-divider'><td colspan='0'>Statistical Categories</td></tr>
120         <tr id='stat-cat-row-template'><td class='uedit-help'/><td name='name'/><td name='widget'/></tr>
121
122         <!-- surveys -->
123         <tr id='survey-row-template' class='divider'><td colspan='0' name='name'/></tr>
124         <tr id='survey-question-row-template'><td class='uedit-help'/><td name='question'/><td name='answers'/></tr>
125     </tbody>
126 </table>
127
128 <div id='uedit-save-div'>
129     <button dojoType='dijit.form.Button' jsId='saveButton' onClick='uEditSave'>Save</button>
130     <button dojoType='dijit.form.Button' jsId='saveCloneButton' onClick='uEditSaveClone'>Save &amp; Clone</button>
131 </div>
132
133 <!-- context help widget -->
134 <a class='hidden' id='uedit-help-template'><img src='/opac/images/advancedsearch-icon.png'></img></a>
135 <fieldset id='uedit-help-div' class='hidden'>
136     <legend id='uedit-help-field'/>
137     <div id='uedit-help-text'/>
138 </fieldset>
139
140 [% END %]
141