| 30601 |
amit.gupta |
1 |
<style>
|
|
|
2 |
.row {
|
|
|
3 |
margin: 0 auto;
|
|
|
4 |
}
|
| 24011 |
tejbeer |
5 |
|
| 30601 |
amit.gupta |
6 |
.modal-content {
|
|
|
7 |
background: white;
|
|
|
8 |
}
|
| 24011 |
tejbeer |
9 |
|
| 30601 |
amit.gupta |
10 |
.modelHeaderCustom {
|
|
|
11 |
font-size: 14px;
|
|
|
12 |
font-weight: bold;
|
|
|
13 |
}
|
| 24011 |
tejbeer |
14 |
|
| 30601 |
amit.gupta |
15 |
.border-highlight {
|
|
|
16 |
border: 3px solid red;
|
|
|
17 |
}
|
| 24011 |
tejbeer |
18 |
|
| 30601 |
amit.gupta |
19 |
hr {
|
|
|
20 |
background-color: #007aff;
|
|
|
21 |
border: none;
|
|
|
22 |
height: 1px;
|
|
|
23 |
background: #007aff;
|
|
|
24 |
}
|
|
|
25 |
|
|
|
26 |
.control-label {
|
|
|
27 |
margin-top: 0;
|
|
|
28 |
margin-bottom: 0;
|
|
|
29 |
padding-top: 7px;
|
|
|
30 |
font-weight: bold;
|
|
|
31 |
font-size: 14px;
|
|
|
32 |
}
|
|
|
33 |
|
|
|
34 |
.form-group {
|
|
|
35 |
border-bottom: 1px solid #eff2f7;
|
|
|
36 |
padding-bottom: 15px;
|
|
|
37 |
margin-bottom: 15px;
|
|
|
38 |
}
|
|
|
39 |
|
|
|
40 |
.right {
|
|
|
41 |
float: right;
|
|
|
42 |
}
|
|
|
43 |
|
|
|
44 |
.form-control {
|
|
|
45 |
color: black;
|
|
|
46 |
|
|
|
47 |
}
|
|
|
48 |
|
|
|
49 |
.table-align-center {
|
|
|
50 |
text-align: center;
|
|
|
51 |
}
|
|
|
52 |
|
| 24011 |
tejbeer |
53 |
</style>
|
|
|
54 |
|
|
|
55 |
<script>
|
| 30601 |
amit.gupta |
56 |
|
|
|
57 |
$(document).ready(function () {
|
| 24011 |
tejbeer |
58 |
$('#fofo-users').multiselect({
|
| 30601 |
amit.gupta |
59 |
includeSelectAllOption: true,
|
|
|
60 |
multiple: true,
|
|
|
61 |
maxHeight: 200,
|
|
|
62 |
buttonWidth: '180px',
|
|
|
63 |
numberDisplayed: 1,
|
|
|
64 |
nonSelectedText: 'Users',
|
|
|
65 |
nSelectedText: ' - Users Selected',
|
|
|
66 |
allSelectedText: 'All Users Selected',
|
|
|
67 |
enableFiltering: true,
|
|
|
68 |
enableCaseInsensitiveFiltering: true
|
| 24011 |
tejbeer |
69 |
});
|
| 30601 |
amit.gupta |
70 |
|
| 29201 |
manish |
71 |
$('#state-users').multiselect({
|
| 30601 |
amit.gupta |
72 |
includeSelectAllOption: true,
|
|
|
73 |
multiple: true,
|
|
|
74 |
maxHeight: 200,
|
|
|
75 |
buttonWidth: '180px',
|
|
|
76 |
numberDisplayed: 1,
|
|
|
77 |
nonSelectedText: 'Users',
|
|
|
78 |
nSelectedText: ' - Users Selected',
|
|
|
79 |
allSelectedText: 'All Users Selected',
|
|
|
80 |
enableFiltering: true,
|
|
|
81 |
enableCaseInsensitiveFiltering: true
|
| 29201 |
manish |
82 |
});
|
| 30601 |
amit.gupta |
83 |
|
|
|
84 |
$('#internal-users').multiselect({
|
|
|
85 |
includeSelectAllOption: true,
|
|
|
86 |
multiple: true,
|
|
|
87 |
maxHeight: 200,
|
|
|
88 |
buttonWidth: '180px',
|
|
|
89 |
numberDisplayed: 1,
|
|
|
90 |
nonSelectedText: 'Users',
|
|
|
91 |
nSelectedText: ' - Users Selected',
|
|
|
92 |
allSelectedText: 'All Users Selected',
|
|
|
93 |
enableFiltering: true,
|
|
|
94 |
enableCaseInsensitiveFiltering: true
|
| 25383 |
tejbeer |
95 |
});
|
| 24011 |
tejbeer |
96 |
});
|
|
|
97 |
|
|
|
98 |
|
| 30601 |
amit.gupta |
99 |
$(function () {
|
|
|
100 |
let pickerElement = $('input[name="dateTime"]');
|
|
|
101 |
pickerElement.daterangepicker(getSingleDatePicker());
|
|
|
102 |
});
|
|
|
103 |
|
|
|
104 |
</script>
|
|
|
105 |
|
| 24011 |
tejbeer |
106 |
<section class="wrapper">
|
| 30601 |
amit.gupta |
107 |
<div class="row">
|
|
|
108 |
<div class="col-lg-12">
|
|
|
109 |
<h3 class="page-header"><i class="icon_document_alt"></i>RETAILER</h3>
|
|
|
110 |
<ol class="breadcrumb">
|
|
|
111 |
<li><i class="fa fa-home"></i><a href="${rc.contextPath}/dashboard">Home</a></li>
|
|
|
112 |
<li><i class="icon_document_alt"></i>SEND NOTIFICATION</li>
|
|
|
113 |
</ol>
|
|
|
114 |
</div>
|
|
|
115 |
</div>
|
| 25759 |
tejbeer |
116 |
|
| 30601 |
amit.gupta |
117 |
<div class="row" style="background:white;background-color:white;padding:10px;">
|
|
|
118 |
<h4 class="modelHeaderCustom" style="font-size:22px;padding-bottom:2%">Enter Message</h4>
|
|
|
119 |
<form id="create-recharge-form">
|
|
|
120 |
<div class="col-lg-4">
|
|
|
121 |
|
|
|
122 |
<div class="row">
|
|
|
123 |
<div class="col-lg-5 form-group">
|
|
|
124 |
<p class="bold-details">Partner Name</p>
|
|
|
125 |
</div>
|
|
|
126 |
<div class="col-lg-6 form-group">
|
|
|
127 |
<select class="form-control input-sm" id="fofo-users" name="fofo-users" placeholder="Partners"
|
|
|
128 |
multiple="multiple">
|
|
|
129 |
<option value="" disabled selected>Partners</option>
|
|
|
130 |
#foreach($fofoId in $customRetailersMap.keySet())
|
|
|
131 |
<option value="$fofoId">$customRetailersMap.get($fofoId).getBusinessName()</option>
|
|
|
132 |
#end
|
|
|
133 |
</select>
|
|
|
134 |
</div>
|
|
|
135 |
</div>
|
|
|
136 |
|
|
|
137 |
<div class="row">
|
|
|
138 |
<div class="col-lg-5 form-group">
|
|
|
139 |
<p class="bold-details">State Name</p>
|
|
|
140 |
</div>
|
|
|
141 |
<div class="col-lg-6 form-group">
|
|
|
142 |
<select class="form-control input-sm" id="state-users" name="state-users" placeholder="State"
|
|
|
143 |
multiple="multiple">
|
|
|
144 |
<option value="" disabled selected>State</option>
|
|
|
145 |
#foreach($warehouseMap in $warehouseMap.entrySet())
|
|
|
146 |
<option value="$warehouseMap.getKey()">$warehouseMap.getValue()</option>
|
|
|
147 |
#end
|
|
|
148 |
</select>
|
|
|
149 |
</div>
|
|
|
150 |
</div>
|
|
|
151 |
|
|
|
152 |
<div class="row">
|
|
|
153 |
<div class="col-lg-5 form-group">
|
|
|
154 |
<p class="bold-details">Internal User</p>
|
|
|
155 |
</div>
|
|
|
156 |
<div class="col-lg-6 form-group">
|
|
|
157 |
<select class="form-control input-sm" id="internal-users" name="internal-users"
|
|
|
158 |
placeholder="Users" multiple="multiple">
|
|
|
159 |
<option value="" disabled selected>Users</option>
|
|
|
160 |
#foreach($userId in $userMap.keySet())
|
|
|
161 |
<option value="$userId">$userMap.get($userId).getEmailId()</option>
|
|
|
162 |
#end
|
|
|
163 |
</select>
|
|
|
164 |
</div>
|
|
|
165 |
</div>
|
|
|
166 |
|
|
|
167 |
<div class="row">
|
|
|
168 |
<div class="col-lg-5 form-group">
|
|
|
169 |
<p class="bold-details">Campaign Name</p>
|
|
|
170 |
</div>
|
|
|
171 |
<div class="col-lg-6 form-group">
|
|
|
172 |
<input placeholder="Campaign Name" id="campaignName" name="campaignName" type="text" value=""
|
|
|
173 |
class="form-control input-sm">
|
|
|
174 |
</div>
|
|
|
175 |
</div>
|
|
|
176 |
|
|
|
177 |
<div class="row">
|
|
|
178 |
<div class="col-lg-5 form-group">
|
|
|
179 |
<p class="bold-details">Title</p>
|
|
|
180 |
</div>
|
|
|
181 |
<div class="col-lg-6 form-group">
|
|
|
182 |
<input placeholder="Title" id="title" name="title" type="text" value=""
|
|
|
183 |
class="form-control input-sm">
|
|
|
184 |
</div>
|
|
|
185 |
</div>
|
|
|
186 |
|
|
|
187 |
|
|
|
188 |
<div class="row">
|
|
|
189 |
<div class="col-lg-5 form-group">
|
|
|
190 |
<p class="bold-details">Message</p>
|
|
|
191 |
</div>
|
|
|
192 |
<div class="col-lg-6 form-group">
|
|
|
193 |
<textarea rows="3" cols="90" placeholder="Message" id="message" name="message" type="text"
|
|
|
194 |
value="" class="form-control input-sm"></textarea>
|
|
|
195 |
</div>
|
|
|
196 |
</div>
|
|
|
197 |
|
|
|
198 |
|
|
|
199 |
</div>
|
|
|
200 |
|
|
|
201 |
<div class="col-lg-4">
|
|
|
202 |
|
|
|
203 |
<div class="row">
|
|
|
204 |
<div class="col-lg-5 form-group">
|
|
|
205 |
<p class="bold-details">Type</p>
|
|
|
206 |
</div>
|
|
|
207 |
<div class="col-lg-6 form-group">
|
|
|
208 |
<select id="type" name="type" class="form-control input-sm">
|
|
|
209 |
<option value="url">Url</option>
|
|
|
210 |
<option value="native">Native</option>
|
|
|
211 |
<option value="update">Update</option>
|
|
|
212 |
</select>
|
|
|
213 |
</div>
|
|
|
214 |
</div>
|
|
|
215 |
|
|
|
216 |
<div class="row">
|
|
|
217 |
<div class="col-lg-5 form-group">
|
|
|
218 |
<p class="bold-details">Url</p>
|
|
|
219 |
</div>
|
|
|
220 |
|
|
|
221 |
|
|
|
222 |
<div class="col-lg-6 form-group">
|
|
|
223 |
|
|
|
224 |
<select class='form-control input-sm' id='selectedUrl' onchange="changeUrl()">
|
|
|
225 |
<option selected disabled>Url</option>
|
|
|
226 |
<option value='https://app.smartdukaan.com/pages/home/dashboard'>
|
|
|
227 |
http://app.smartdukaan.com/pages/home/dashboard
|
|
|
228 |
</option>
|
|
|
229 |
<option value='https://app.smartdukaan.com/pages/home/notifications'>
|
|
|
230 |
http://app.smartdukaan.com/pages/home/notifications
|
|
|
231 |
</option>
|
|
|
232 |
<option value='https://app.smartdukaan.com/pages/home/services'>
|
|
|
233 |
http://app.smartdukaan.com/pages/home/services
|
|
|
234 |
</option>
|
|
|
235 |
<option value='https://app.smartdukaan.com/pages/home/recharge'>
|
|
|
236 |
http://app.smartdukaan.com/pages/home/recharge
|
|
|
237 |
</option>
|
|
|
238 |
<option value='https://app.smartdukaan.com/pages/home/damageProtectioninfo'>
|
|
|
239 |
http://app.smartdukaan.com/pages/home/damageProtectioninfo
|
|
|
240 |
</option>
|
|
|
241 |
<option value='other'>other</option>
|
|
|
242 |
</select>
|
|
|
243 |
<br>
|
|
|
244 |
<input placeholder="Url" id="url" name="url" type="text" value="" class="form-control input-sm">
|
|
|
245 |
</div>
|
|
|
246 |
</div>
|
|
|
247 |
|
|
|
248 |
|
|
|
249 |
<div class="row">
|
|
|
250 |
<div class="col-lg-5 form-group">
|
|
|
251 |
<p class="bold-details">DOCUMENT</p>
|
|
|
252 |
</div>
|
|
|
253 |
<div class="col-lg-6 form-group">
|
|
|
254 |
<label class="btn btn-file">
|
|
|
255 |
|
|
|
256 |
Browse<input type="file" id="notifyDocument" name="notifyDocument" style="display:none">
|
|
|
257 |
|
|
|
258 |
</label>
|
|
|
259 |
</div>
|
|
|
260 |
</div>
|
|
|
261 |
|
|
|
262 |
<div class="row">
|
|
|
263 |
<div class="col-lg-5 form-group">
|
|
|
264 |
<p class="bold-details">Image Url</p>
|
|
|
265 |
</div>
|
|
|
266 |
<div class="col-lg-6 form-group">
|
|
|
267 |
<input placeholder="Image Url" id="imageUrl" name="imageUrl" type="text" value=""
|
|
|
268 |
class="form-control input-sm">
|
|
|
269 |
</div>
|
|
|
270 |
</div>
|
|
|
271 |
|
|
|
272 |
<div class="row">
|
|
|
273 |
<div class="col-lg-5 form-group">
|
|
|
274 |
<input style="zoom:1.3;" type="checkbox" name="showImage" id="showImage" value="false">
|
|
|
275 |
<span style="font-size:14px;" class="bold-details">Show Image</span>
|
|
|
276 |
</div>
|
|
|
277 |
</div>
|
|
|
278 |
</div>
|
|
|
279 |
|
|
|
280 |
|
|
|
281 |
<div class="col-lg-4">
|
|
|
282 |
|
|
|
283 |
<div class="row">
|
|
|
284 |
<div class="col-lg-5 form-group">
|
|
|
285 |
<p class="bold-details">Expiresat</p>
|
|
|
286 |
</div>
|
|
|
287 |
<div class="col-lg-6 form-group">
|
|
|
288 |
<input id="expireSat" name="dateTime" type="text" value="" class="form-control input-sm">
|
|
|
289 |
</div>
|
|
|
290 |
|
|
|
291 |
<div class="col-lg-5 form-group">
|
|
|
292 |
<p class="bold-details">Message Type</p>
|
|
|
293 |
</div>
|
|
|
294 |
<div class="col-lg-6 form-group">
|
|
|
295 |
<select id="messageType" name="messageType" class="form-control input-sm">
|
|
|
296 |
<option selected disabled>Message Type</option>
|
|
|
297 |
<option value="notification">Notification</option>
|
|
|
298 |
<option value="announcement">Announcement</option>
|
|
|
299 |
<option value="scheme">Scheme</option>
|
|
|
300 |
<option value="marketing">Marketing</option>
|
|
|
301 |
</select>
|
|
|
302 |
</div>
|
|
|
303 |
</div>
|
|
|
304 |
|
|
|
305 |
|
|
|
306 |
<div class="row">
|
|
|
307 |
|
|
|
308 |
<input class="btn btn-primary create-notification-button" type="button" value="Send Notification">
|
|
|
309 |
</div>
|
|
|
310 |
|
|
|
311 |
</div>
|
|
|
312 |
</form>
|
|
|
313 |
</div>
|
| 24011 |
tejbeer |
314 |
</section>
|
|
|
315 |
|