Subversion Repositories SmartDukaan

Rev

Rev 37127 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 37127 Rev 37198
Line 53... Line 53...
53
	<div class="row">
53
	<div class="row">
54
		<div class="col-lg-6">
54
		<div class="col-lg-6">
55
			<h4>Bulk (dev/staging only)</h4>
55
			<h4>Bulk (dev/staging only)</h4>
56
			<p style="color:#94a3b8;font-size:12px;">Download the current test-updated passwords (cleartext), edit the <b>Password</b> column, and re-upload to apply. Columns: Type | Id | Identifier | Password.</p>
56
			<p style="color:#94a3b8;font-size:12px;">Download the current test-updated passwords (cleartext), edit the <b>Password</b> column, and re-upload to apply. Columns: Type | Id | Identifier | Password.</p>
57
			<div class="form-group">
57
			<div class="form-group">
58
				<a href="${rc.contextPath}/authUser/passwordOverride/download" class="btn btn-default">Download overrides (.xlsx)</a>
58
				<a href="${rc.contextPath}/passwordOverride/download" class="btn btn-default">Download overrides (.xlsx)</a>
59
			</div>
59
			</div>
60
			<div class="form-group">
60
			<div class="form-group">
61
				<input type="file" id="overrideFile" accept=".xlsx">
61
				<input type="file" id="overrideFile" accept=".xlsx">
62
			</div>
62
			</div>
63
			<div class="form-group">
63
			<div class="form-group">
Line 130... Line 130...
130
				return;
130
				return;
131
			}
131
			}
132
			var fd = new FormData();
132
			var fd = new FormData();
133
			fd.append('file', f.files[0]);
133
			fd.append('file', f.files[0]);
134
			$.ajax({
134
			$.ajax({
135
				url: context + "/authUser/passwordOverride/upload",
135
				url: context + "/passwordOverride/upload",
136
				type: 'POST',
136
				type: 'POST',
137
				data: fd,
137
				data: fd,
138
				processData: false,
138
				processData: false,
139
				contentType: false,
139
				contentType: false,
140
				success: function (response) {
140
				success: function (response) {