-
Notifications
You must be signed in to change notification settings - Fork 0
/
staplesCode.html
281 lines (229 loc) · 14.4 KB
/
staplesCode.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
<!DOCTYPE html>
<html lang="en">
<head>
<title>Staplespreferred.ca | Review Your Order</title>
<head>
<title>Staples Preferred</title>
<link rel="stylesheet" href="/pcam/js/lib/jquery-ui-1.12.1.custom/jquery-ui.min-tf2340160953.css" />
<link rel="stylesheet" href="/pcam/js/lib/jScrollPane-2.1.1/style/jquery.jscrollpane.min-tf1546984087.css" />
<link rel="stylesheet" href="/pcam/css/styles-tf1401465443.css" />
<link rel="stylesheet" href="/pcam/css/thor-styles-tf1566455397.css" />
<link rel="icon" type="image/x-icon" href="/pcam/img/favicon.ico" />
<link rel="shortcut icon" type="image/x-icon" href="/pcam/img/favicon.ico" />
<!--[if IE]>
<link rel="stylesheet" type="text/css" href="/pcam/css/ie-tf2192608670.css" />
<![endif]-->
<!--[if IE 8]>
<link rel="stylesheet" type="text/css" href="/pcam/css/ie8-tf1956639575.css" />
<![endif]-->
<!--[if lte IE 9]>
<link rel="stylesheet" type="text/css" href="/pcam/css/browse-products-ie8-ie9-tf1717709303.css" />
<![endif]-->
<!--[if IE 9]>
<link rel="stylesheet" type="text/css" href="/pcam/css/ie9-tf2364768423.css" />
<![endif]-->
<script type="text/javascript" src="/pcam/js/lib/jquery-3.3.1.min-a09e13ee94d51c524b7e2a728c7d4039.js"></script>
<script type="text/javascript" src="/pcam/js/lib/jquery-ui-1.12.1.custom/jquery-ui.min-194c092de86777bb8708d7b5927e5fe6.js"></script>
<script type="text/javascript" src="/pcam/js/lib/jCarousel-0.3.7/jquery.jcarousel.min-49280be44e447b378f21e2f0cbf5e39b.js"></script>
<script type="text/javascript" src="/pcam/js/lib/jquery-touchSwipe-1.6.18/jquery.touchSwipe.min-f60ff05469d1757996d85f4172d4ff4d.js"></script>
<script type="text/javascript" src="/pcam/js/lib/jquery-mousewheel-3.1.13/jquery.mousewheel.min-d5843dbdc71ff8014a5eafd346a262da.js"></script>
<!--for scrollpane with mouse wheel-->
<script type="text/javascript" src="/pcam/js/lib/jScrollPane-2.1.1/script/jquery.jscrollpane.min-feeb7fc09dd68ca122fbb8436bf64591.js"></script>
<script type="text/javascript" src="/pcam/js/scripts-fa11c69d3fc4b4ff8459e2d32a8a01ab.js"></script>
<script type="text/javascript" src="/pcam/js/BLC.js"></script>
<script type="text/javascript" src="/pcam/js/pcam-340d35b14a4baf0d405b5e84ad79326e.js"></script>
<script type="text/javascript" src="/pcam/js/place-holder-b8a2edb156c147c3164f7faf6efc9f44.js"></script>
<script type="text/javascript" src="/pcam/js/analytics-28da96bb63f18d8ce4eca73e61b6190d.js"></script>
<script type="text/javascript" src="/pcam/js/lib/jquery-validation-1.17.0/dist/jquery.validate.min-93c1dd8416ac2af1850652d5b620a142.js"></script>
<script type="text/javascript" src="https://nexus.ensighten.com/staplesprefcanada/dev/Bootstrap.js"></script>
<script type="text/javascript">
/*<![CDATA[*/
var bootstrap = document.createElement('script');
bootstrap.setAttribute('src', 'https://assets.adobedtm.com/launch-ENd7c69ee3259b467cb55025b208ece036.min.js');
document.getElementsByTagName('head')[0].appendChild(bootstrap);
/*]]>*/
</script>
<script type="text/javascript" src="/pcam/js/filter-3e6156d93822b081d5b8f24bbe76c25d.js"></script>
<script type="text/javascript">
/*<![CDATA[*/
var newrelic = document.createElement('script');
newrelic.setAttribute('src', '/pcam/js/newrelicBrowser.min-4c3a667e33fe1f89b380a32cba996cf5.js');
newrelic.setAttribute('type', "text/javascript");
document.head.appendChild(newrelic);
/*]]>*/
</script>
<script type="text/javascript">
/*<![CDATA[*/
!function(){var analytics=window.analytics=window.analytics||[];if(!analytics.initialize)if(analytics.invoked)window.console&&console.error&&console.error("Segment snippet included twice.");else{analytics.invoked=!0;analytics.methods=["trackSubmit","trackClick","trackLink","trackForm","pageview","identify","reset","group","track","ready","alias","debug","page","once","off","on","addSourceMiddleware","addIntegrationMiddleware"];analytics.factory=function(e){return function(){var t=Array.prototype.slice.call(arguments);t.unshift(e);analytics.push(t);return analytics}};for(var e=0;e<analytics.methods.length;e++){var t=analytics.methods[e];analytics[t]=analytics.factory(t)}analytics.load=function(e,t){var n=document.createElement("script");n.type="text/javascript";n.async=!0;n.src="https://cdn.segment.com/analytics.js/v1/"+e+"/analytics.min.js";var a=document.getElementsByTagName("script")[0];a.parentNode.insertBefore(n,a);analytics._loadOptions=t};analytics.SNIPPET_VERSION="4.1.0";
analytics.load("cHAKBpweBEHhArk4dEfoox5CkwfUbYFx");
analytics.page();
}}();
/*]]>*/
</script>
</head>
<script type="text/javascript" src="/pcam/js/phonenumber-ac0dbec07830add31f2f968507aec285.js"></script>
</head>
<body>
<div class="loadingPop"></div>
<div class="wrapper">
<!--ACCOUNT BAR refer to home.html for code-->
<div class="acct_bar clearfix">
<div class="col1">
<ul class="links_l">
</ul>
</div>
<div class="col1">
<ul class="links_l">
<li class="first nmenu"><span><span>Welcome,</span>
<span id="welcome-first-name">Kelvin</span>
<span id="welcome-first-name">Ng</span></span></li>
</ul>
</div>
<div class="col2">
<ul class="links_r">
<li class="dd last">
<div data-czid="Header_Help_Menu" class="content-zone-container">
<div>
<span class="menuHdr scTrack scNavLink" scNavType="header" scSticky="true" scType="scNavLink" scValue="Help" scParentValue="root">Help</span>
<ul class="submenu">
<li>
<a class="scTrack scNavLink" scType="scNavLink" scNavType="flyout" scParentValue="Help" scSticky="false" scValue="Contact Us" href="/pcam/help-centre/ContactUs">Contact Us</a>
</li>
<li>
<a class="scTrack scNavLink" scType="scNavLink" scNavType="flyout" scParentValue="Help" scSticky="false" scValue="Shipping" href="/pcam/help-centre/ShippingAndDelivery">Shipping</a>
</li>
<li>
<a class="scTrack scNavLink" scType="scNavLink" scNavType="flyout" scParentValue="Help" scSticky="false" scValue="Returns" href="/pcam/help-centre/ReturnsExchangeRefunds">Returns</a>
</li>
<li>
<a class="scTrack scNavLink" scType="scNavLink" scNavType="flyout" scParentValue="Help" scSticky="false" scValue="Help Centre" href="/pcam/help-centre/FAQ">Help Centre</a>
</li>
</ul>
</div></div>
</li>
<li>
<div class="col2 su-logout">
<button class="single" onClick="javascript:location.href = '/pcam/suloginlogout'; clearCookie();">Log out</button>
</div>
</li>
</ul>
</div>
<div>
<div style="display:none;" class="customerEmail">n/a for superuser</div>
<div style="display:none;" type="hidden" value="false">
<div>0</div>
<input style="display:none;" type="hidden" class="customerAir" value="" />
<div style="display:none;"></div>
<div style="display:none;" type="hidden" class="customerId">[email protected]</div>
</div>
</div>
</div>
<script type="text/javascript">
$( document ).ready(STAPLES.addPageLoadTask(function() {
STAPLES.util.init();
}));
</script>
<!--end acct_bar-->
<!--PAGE-->
<div class="page">
<div class="page-top-bar">
<div class="bc-bar clearfix">
<div class="col1 breadcrumb">
<a class="first" href="/pcam/sulogin/masterAccountDashboard"><span>Master Account Dashboard</span></a>
<a href="/pcam/sulogin/userManagement">User Management</a>
<span class="current">Create User Profile</span>
</div>
</div>
<div class="page-btns-top">
<a class="actLnk back" href="/pcam/sulogin/userManagement"> <div class="icons-arrowleftblue sprite"></div> Back to User Management</a>
</div>
<h1>Create User Profile</h1>
<div class="acct-desc">
<span>Create your user information including role assignments and Ship-to Location(s) authorizations.</span>
</div>
</div><!--end page-top-bar-->
<form class="gen-form" method="post">
<div class="formDiv">
<span class="required-txt">* Indicates required information.</span>
<label><span>* First Name</span></label>
<input type="text" name="firstName" class="field50" id="firstName" value="" />
<label><span>* Last Name</span></label>
<input type="text" name="lastName" class="field50" id="lastName" value="" />
<label><span>* Role</span></label>
<fieldset class="detailed-radios">
<div class="form-row">
<input class="input-radio" type="radio" name="roleName" id="roleBuyer" value="ROLE_ACCOUNT_BUYER" />
<label for="roleBuyer" class="radio-label detailed-radio"><span class="is-bold">Buyer</span> <span class="detailed-radio-desc">Can place orders.</span></label>
</div>
<div class="form-row">
<input class="input-radio" type="radio" name="roleName" id="roleApprover" value="ROLE_ACCOUNT_APPROVER" />
<label for="roleApprover" class="radio-label detailed-radio"><span class="is-bold">Order Approver</span> <span class="detailed-radio-desc">Can place and approve orders.</span></label>
</div>
<div class="form-row lastRadio">
<input class="input-radio" type="radio" name="roleName" id="roleAdministrator" value="ROLE_ACCOUNT_ADMINISTRATOR" />
<label for="roleAdministrator" class="radio-label detailed-radio"><span class="is-bold">Administrator</span> <span class="detailed-radio-desc">Can place and approve orders. Has top-level access to administrative functions and reports, and is authorized for all Ship-to Location(s).</span></label>
</div>
</fieldset>
<label><span>* Username</span></label>
<input type="text" name="userName" class="field50" id="userName" value="" />
<label><span>* Password</span></label>
<input type="password" name="password" class="field50" id="password" value="" />
<label>* Confirm Password</label>
<input type="password" name="confirmPassword" class="field50" id="confirmPassword" value="" />
<label><span>* Email</span></label>
<input type="text" name="email" class="field50" id="email" value="" />
<label><span>* Phone Number</span></label>
<input type="text" name="phoneNumber" class="field50" onkeydown="backspacerDOWN(this,event);" onkeyup="backspacerUP(this,event);" id="phoneNumber" value="" />
<label><span>Mobile Phone</span></label>
<input type="text" name="mobilePhone" class="field50" onkeydown="backspacerDOWN(this,event);" onkeyup="backspacerUP(this,event);" id="mobilePhone" value="" />
<label><span>Extension</span></label>
<input type="text" name="extension" maxlength="6" class="field50" onkeypress="validate(event)" id="extension" value="" />
<label><span>Fax Number</span></label>
<input type="text" name="faxNumber" class="field50" onkeydown="backspacerDOWN(this,event);" onkeyup="backspacerUP(this,event);" id="faxNumber" value="" />
<label><span>Department</span></label>
<input type="text" name="department" maxlength="255" id="department" value="" />
<label>Language</label>
<fieldset class="detailed-radios">
<div class="form-row">
<input class="input-radio " type="radio" name="language" id="localeEnglish" value="en_CA" />
<label for="localeEnglish" class="radio-label detailed-radio"><span>English</span></label>
</div>
<div class="form-row lastRadio">
<input class="input-radio" type="radio" name="language" id="localeFrench" value="fr_CA" />
<label for="localeFrench" class="radio-label detailed-radio"><span>Francais</span></label>
</div>
</fieldset>
<label>Approval Group</label>
<div class="styled-select">
<select id="selectedApprovalGroupIds" name="selectedApprovalGroupIds">
<option id="160716" value="160716" class="option1">All Approval Group</option>
<option id="160715" value="160715" class="option0">Default Approval Group</option>
</select>
</div>
<!--<span th:each="approvalGroup : ${approvalGroupList}">
<div>
<input type="checkbox" th:checked="${#strings.contains('__*{selectedApprovalGroupIds}__', '__${approvalGroup.id}__')}" class="input-checkbox js-selall-cbox" th:id="${approvalGroup.id}" name="selectedApprovalGroupIds" th:value="${approvalGroup.id}" />
<label th:for="${approvalGroup.id}" class="cbox-label" th:utext="${approvalGroup.approvalGroupName}"></label>
</div>
</span>-->
<div><p></p></div>
<input type="submit">
</div>
</div><!--end page-->
<!--START FOOTER FROM home.html, this is for demo only-->
<!--FOOTER-->
<!--<div class="staplesfooter" th:substituteby="layout/partials/staplesFooter"></div>-->
<div class="footer">
<div class="footer_links clearfix">
</div>
</div>
<!--end footer-->
<!--END FOOTER FROM home.html this is for demo only-->
</div><!--end wrapper-->
<script type="text/javascript">
$( document ).ready(STAPLES.addPageLoadTask(function() {
STAPLES.util.approvalGroupDropDown();
}));
</script>
</body>
</html>