]> git.evergreen-ils.org Git - working/Evergreen.git/blob - Open-ILS/web/templates/default/actor/user/register.tt2
type is a required attributed for script and style tags.
[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 type="text/css">
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
39     #uedit-dupe-div {
40         position: fixed;
41         top:124px;
42         right:30px;
43         width:300px;
44         border:2px dashed #d9e8f9;
45         -moz-border-radius: 10px;
46         font-weight: bold;
47         padding: 20px;
48     }
49
50     .uedit-help {
51         width: 25px;
52         border:1px solid #e0e0e0;
53         text-align:center;
54         vertical-align:middle;
55     }
56     .divider td {
57         min-height:10px;
58         background-color: #e0e0e0;
59     }
60
61     .divider span { padding: 0px 5px 0px 5px; }
62
63     .newaddr-row td {
64         text-align: right;
65         border-top:1px dashed #d9e8f9;
66     }
67     .newaddr-row td:last-child {
68         border-right:1px dashed #d9e8f9;
69     }
70
71     .pending-addr-row td { border:1px solid #aaa; }
72
73     .uedit-addr-del-button {margin-left: 10px; color:red;}
74
75     .dijitTextBoxFocused, .dijitFocused { border:1px dashed #3e3e3e; color: #303030; font-weight:bold;}
76
77     .hide-non-required tr:not([required]) {
78         visibility:hidden;
79         display:none;
80     }
81
82     #require-toggle {
83         margin-top:10px;
84         margin-bottom:-5px;
85     }
86
87 </style>
88
89 <table>
90     [% INCLUDE default/actor/user/register_table.tt2 %]
91 </table>
92
93 <div id='uedit-save-div'>
94     <button dojoType='dijit.form.Button' jsId='saveButton' onClick='uEditSave'>Save</button>
95     <button dojoType='dijit.form.Button' jsId='saveCloneButton' onClick='uEditSaveClone'>Save &amp; Clone</button>
96     <div id='require-toggle'>
97         <a href='javascript:uEditToggleRequired();' id='uedit-show-required'>Show Only Required Fields</a>
98         <a href='javascript:uEditToggleRequired();' id='uedit-show-all' class='hidden'>Show All Fields</a>
99     </div>
100 </div>
101
102 <!-- context help widget -->
103 <a class='hidden' id='uedit-help-template'><img src='/opac/images/advancedsearch-icon.png'></img></a>
104 <fieldset id='uedit-help-div' class='hidden'>
105     <legend id='uedit-help-field'/>
106     <div id='uedit-help-text'/>
107 </fieldset>
108
109 <!-- duplicate patron search results -->
110 <div id='uedit-dupe-div' class='hidden'>
111     <div><a href='javascript:void(0);' id='uedit-dupe-names-link'></a></div>
112     <div><a href='javascript:void(0);' id='uedit-dupe-email-link'></a></div>
113     <div><a href='javascript:void(0);' id='uedit-dupe-ident-link'></a></div>
114     <div><a href='javascript:void(0);' id='uedit-dupe-phone-link'></a></div>
115     <div><a href='javascript:void(0);' id='uedit-dupe-address-link'></a></div>
116 </div>
117
118 <div class='hidden'>
119     <span id='true' style='color:green;'>&#x2713;</span>
120     <span id='false' style='color:red;'>&#x2717;</span>
121     <div dojoType='dijit.Dialog' jsId='allCardsDialog'>
122         <table class='oils-generic-table' style='margin:10px;'>
123             <thead>
124                 <tr>
125                     <th>Barcode</th>
126                     <th>Active</th>
127                 </tr>
128             </thead>
129             <tbody id='uedit-all-cards-tbody'>
130                 <tr id='uedit-all-cards-tr-template'>
131                     <td><div name='barcode'></div></td>
132                     <td><div name='active'></div></td>
133                 </tr>
134             </tbody>
135             <tbody>
136                 <tr>
137                     <td colspan='2' style='text-align:center;'>
138                         <button dojoType='dijit.form.Button' onClick='allCardsDialog.hide()'>Close</button>
139                     </td>
140                 </tr>
141             </tbody>
142         </table>
143     </div>
144 </div>
145
146
147 [% END %]
148