Proyectos de Subversion LeadersLinked - Backend

Rev

| Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
16844 efrain 1
<!DOCTYPE html>
2
<html lang="en">
3
    <head>
4
 
5
        <meta charset="utf-8">
6
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
7
 
8
        <title>Date Range Picker &mdash; JavaScript Date &amp; Time Picker Library</title>
9
 
10
        <script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
11
        <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.0/umd/popper.min.js" integrity="sha384-cs/chFZiN24E4KMATLdqdvsezGxaGsi4hLGOzlXwp5UZB1LY//20VyM2taTB4QvJ" crossorigin="anonymous"></script>
12
        <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.0/js/bootstrap.min.js" integrity="sha384-uefMccjFJAIv6A+rW+L4AHf99KvxDjWSu1z9VI8SKNVmz4sk7buKt/6v9KI65qnm" crossorigin="anonymous"></script>
13
 
14
        <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.22.1/moment.min.js"></script>
15
        <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/trianglify/0.2.1/trianglify.min.js"></script>
16
 
17
        <script type="text/javascript" src="daterangepicker.js"></script>
18
        <link rel="stylesheet" type="text/css" href="daterangepicker.css" />
19
 
20
        <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.0/css/bootstrap.min.css" integrity="sha384-9gVQ4dYFwwWSjIDZnLEWnxCjeSWFphJiwGPXr1jddIhOegiu1FwO5qRGvFXOdJZ4" crossorigin="anonymous">
21
 
22
        <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.0.10/css/all.css" integrity="sha384-+d0P83n9kaQMCwj8F4RJB66tzIwOKmrdb46+porD/OvrJ+37WqIM7UoBtwHO6Nlg" crossorigin="anonymous">
23
 
24
        <script src="website.js"></script>
25
        <link rel="stylesheet" type="text/css" href="website.css" />
26
 
27
        <meta name="google-site-verification" content="1fP-Eo9i1ozV4MUlqZv2vsLv1r7tvYutUb6i38v0_vg" />
28
    </head>
29
    <body>
30
 
31
        <nav class="navbar navbar-expand-sm navbar-dark bg-dark" style="padding: 0; justify-content: space-between">
32
            <div class="container">
33
                <ul class="navbar-nav">
34
                    <li class="nav-item" style="padding-left: 0"><a class="nav-link" href="/" style="color: #eeeeee"><i class="fa fa-calendar"></i>&nbsp; Date Range Picker</a></li>
35
                </ul>
36
                <ul class="navbar-nav">
37
                    <li class="nav-item"><a class="nav-link" href="https://www.improvely.com" style="color: #33beff"><i class="fa fa-chart-bar"></i>&nbsp; Improvely</a></li>
38
                    <li class="nav-item"><a class="nav-link" href="https://www.w3counter.com" style="color: #ff9999"><i class="fa fa-chart-pie"></i>&nbsp; W3Counter</a></li>
39
                    <li class="nav-item"><a class="nav-link" href="https://www.websitegoodies.com" style="color: #f49a16"><i class="fa fa-wrench"></i>&nbsp; Website Goodies</a></li>
40
                </ul>
41
            </div>
42
        </nav>
43
 
44
        <div id="jumbo">
45
            <div class="container">
46
                <div class="row">
47
                    <div class="col-md-6 col-sm-12">
48
 
49
                        <h1 style="margin: 0 0 10px 0">Date Range Picker</h1>
50
                        <p style="font-size: 18px; margin-bottom: 0">
51
                            A JavaScript component for choosing date ranges,
52
                            dates and times.
53
                        </p>
54
 
55
                    </div>
56
                    <div class="col-md-6 col-sm-12" style="text-align: right; padding-right: 0">
57
 
58
                        <div style="margin-bottom: 10px; margin-right: 15px">
59
                            <a href="https://github.com/dangrossman/daterangepicker" class="btn btn-light"><i class="fab fa-github-alt"></i>&nbsp; View on GitHub</a>
60
 
61
                            &nbsp;
62
 
63
                            <a href="https://github.com/dangrossman/daterangepicker/archive/master.zip" class="btn btn-success"><i class="fas fa-download"></i>&nbsp; Download ZIP</a>
64
                        </div>
65
 
66
                        <div style="margin-right: 0px">
67
                            <iframe src="https://ghbtns.com/github-btn.html?user=dangrossman&repo=daterangepicker&type=star&count=true&size=large" frameborder="0" scrolling="0" width="160px" height="30px"></iframe>
68
 
69
                            <iframe src="https://ghbtns.com/github-btn.html?user=dangrossman&repo=daterangepicker&type=watch&count=true&size=large&v=2" frameborder="0" scrolling="0" width="160px" height="30px"></iframe>
70
 
71
                            <iframe src="https://ghbtns.com/github-btn.html?user=dangrossman&repo=daterangepicker&type=fork&count=true&size=large" frameborder="0" scrolling="0" width="160px" height="30px"></iframe>
72
                        </div>
73
 
74
                    </div>
75
                </div>
76
            </div>
77
        </div>
78
 
79
        <div class="container" style="padding: 0 30px" id="main">
80
            <div class="row">
81
                <div class="leftcol d-none d-lg-block d-xl-block">
82
                    <div id="menu" class="list-group" style="margin-bottom: 10px">
83
                        <a class="list-group-item" href="#usage">Getting Started</a>
84
                        <a class="list-group-item" href="#examples">Examples</a>
85
                        <a class="list-group-item" href="#options">Options, Methods &amp; Events</a>
86
                        <a class="list-group-item" href="#config">Configuration Generator</a>
87
                        <a class="list-group-item" href="#license">License &amp; Comments</a>
88
                    </div>
89
 
90
                    <div style="width: 300px; min-width: 300px">
91
                        <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
92
                        <!-- DRP Responsive -->
93
                        <ins class="adsbygoogle"
94
                             style="display:block"
95
                             data-ad-client="ca-pub-9095657276960731"
96
                             data-ad-slot="8963174596"
97
                             data-ad-format="auto"></ins>
98
                        <script>
99
                        (adsbygoogle = window.adsbygoogle || []).push({});
100
                        </script>
101
                    </div>
102
 
103
                </div>
104
                <div class="rightcol">
105
 
106
                    <p>Originally created for reports at <a href="https://www.improvely.com">Improvely</a>, the Date Range Picker can be attached to any webpage element to pop up two calendars for selecting dates, times, or predefined ranges like "Last 30 Days".</p>
107
 
108
                    <a style="display: block; height: 300px; background: url('drp.png') top right no-repeat; background-size: cover; border: 1px solid #ccc; margin-bottom: 30px" href="https://awio.iljmp.com/5/drpdemo" title="Click for a Live Demo"></a>
109
 
110
                    <h1><a id="usage" href="#usage">Getting Started</a></h1>
111
 
112
                    <p>
113
                        To get started, include jQuery, Moment.js and Date Range Picker's files in your webpage:
114
                    </p>
115
 
116
                    <script src="https://gist.github.com/dangrossman/4879503153c6a7a0b3b6ebd64e0383b7.js"></script>
117
 
118
                    <p style="margin-bottom: 10px">
119
                        Then attach a date range picker to whatever you want to trigger it:
120
                    </p>
121
 
122
                    <div class="row">
123
                        <div class="col-8">
124
                            <label>Code:</label>
125
                            <script src="https://gist.github.com/dangrossman/f460cf1243d8ffb08c749730e89c2f3d.js"></script>
126
                        </div>
127
                        <div class="col-4">
128
                            <label>Produces:</label>
129
                            <input type="text" name="dates" class="form-control pull-right" />
130
                            <script>
131
                                $(function() {
132
                                    $('input[name="dates"]').daterangepicker({ startDate: moment(), endDate: moment().add(2, 'day')});
133
                                })
134
                            </script>
135
                        </div>
136
                    </div>
137
 
138
                    <p>
139
                        You can customize Date Range Picker with options, and get notified when the user chooses new dates by providing a callback function.
140
                    </p>
141
 
142
                    <h1><a id="examples" href="#examples">Examples</a></h1>
143
 
144
                    <!-- Example 1 -->
145
                    <h2><a data-toggle="nothing" href="#example1">Simple Date Range Picker With a Callback</a></h2>
146
                    <div class="collapsable" id="example1">
147
                        <div class="row">
148
                            <div class="col-8">
149
                                <label>Code:</label>
150
                                <script src="https://gist.github.com/dangrossman/e118af4dbadc5177d7494dba9d3295d1.js"></script>
151
                            </div>
152
                            <div class="col-4">
153
                                <label>Produces:</label>
154
                                <input type="text" name="daterange" class="form-control" value="1/01/2018 - 01/15/2018" />
155
 
156
                                <script>
157
                                $(function() {
158
                                  $('input[name="daterange"]').daterangepicker({
159
                                    opens: 'left'
160
                                  }, function(start, end, label) {
161
                                    console.log("A new date selection was made: " + start.format('YYYY-MM-DD') + ' to ' + end.format('YYYY-MM-DD'));
162
                                  });
163
                                });
164
                                </script>
165
                            </div>
166
                        </div>
167
                    </div>
168
 
169
                    <!-- Example 2 -->
170
                    <h2><a data-toggle="nothing" href="#example2">Date Range Picker With Times</a></h2>
171
                    <div class="collapsable" id="example2">
172
                        <div class="row">
173
                            <div class="col-8">
174
                                <label>Code:</label>
175
                                <script src="https://gist.github.com/dangrossman/14db17599e24652db7401ed2448eb91a.js"></script>
176
                            </div>
177
                            <div class="col-4">
178
                                <label>Produces:</label>
179
                                <input type="text" name="datetimes" class="form-control pull-right" />
180
 
181
                                <script>
182
                                $(function() {
183
                                  $('input[name="datetimes"]').daterangepicker({
184
                                    timePicker: true,
185
                                    startDate: moment().startOf('hour'),
186
                                    endDate: moment().startOf('hour').add(32, 'hour'),
187
                                    locale: {
188
                                      format: 'M/DD hh:mm A'
189
                                    }
190
                                  });
191
                                });
192
                                </script>
193
                            </div>
194
                        </div>
195
                    </div>
196
 
197
                    <!-- Example 3 -->
198
                    <h2><a data-toggle="nothing" href="#example3">Single Date Picker</a></h2>
199
                    <div class="collapsable" id="example3">
200
                        <div class="row">
201
                            <div class="col-8">
202
                                <label>Code:</label>
203
                                <script src="https://gist.github.com/dangrossman/98d8f1c304328c191b1ad33ac21354fd.js"></script>
204
                            </div>
205
                            <div class="col-4">
206
                                <label>Produces:</label>
207
                                <input type="text" name="birthday" class="form-control pull-right" value="10/24/1984" />
208
 
209
                                <script>
210
                                $(function() {
211
                                  $('input[name="birthday"]').daterangepicker({
212
                                    singleDatePicker: true,
213
                                    showDropdowns: true,
214
                                    minYear: 1901,
215
                                    maxYear: parseInt(moment().format('YYYY'),10)
216
                                  }, function(start, end, label) {
217
                                    var years = moment().diff(start, 'years');
218
                                    alert("You are " + years + " years old!");
219
                                  });
220
                                });
221
                                </script>
222
                            </div>
223
                        </div>
224
                    </div>
225
 
226
                    <!-- Example 4 -->
227
                    <h2><a data-toggle="nothing" href="#example4">Predefined Date Ranges</a></h2>
228
                    <div class="collapsable" id="example4">
229
                        <div class="row">
230
                            <div class="col-8">
231
                                <label>Code:</label>
232
                                <script src="https://gist.github.com/dangrossman/8c6747b82572bc860364f17258004dbb.js"></script>
233
                            </div>
234
                            <div class="col-4">
235
                                <label>Produces:</label>
236
 
237
                                <div id="reportrange" class="pull-right" style="background: #fff; cursor: pointer; padding: 5px 10px; border: 1px solid #ccc; width: 100%">
238
                                    <i class="fa fa-calendar"></i>&nbsp;
239
                                    <span></span> <i class="fa fa-caret-down"></i>
240
                                </div>
241
 
242
                                <script type="text/javascript">
243
                                $(function() {
244
 
245
                                    var start = moment().subtract(29, 'days');
246
                                    var end = moment();
247
 
248
                                    function cb(start, end) {
249
                                        $('#reportrange span').html(start.format('MMMM D, YYYY') + ' - ' + end.format('MMMM D, YYYY'));
250
                                    }
251
 
252
                                    $('#reportrange').daterangepicker({
253
                                        startDate: start,
254
                                        endDate: end,
255
                                        ranges: {
256
                                           'Today': [moment(), moment()],
257
                                           'Yesterday': [moment().subtract(1, 'days'), moment().subtract(1, 'days')],
258
                                           'Last 7 Days': [moment().subtract(6, 'days'), moment()],
259
                                           'Last 30 Days': [moment().subtract(29, 'days'), moment()],
260
                                           'This Month': [moment().startOf('month'), moment().endOf('month')],
261
                                           'Last Month': [moment().subtract(1, 'month').startOf('month'), moment().subtract(1, 'month').endOf('month')]
262
                                        }
263
                                    }, cb);
264
 
265
                                    cb(start, end);
266
 
267
                                });
268
                                </script>
269
 
270
                            </div>
271
                        </div>
272
                    </div>
273
 
274
                    <!-- Example 5 -->
275
                    <h2><a data-toggle="nothing" href="#example5">Input Initially Empty</a></h2>
276
                    <div class="collapsable" id="example5">
277
                        <div class="row">
278
                            <div class="col-8">
279
                                <label>Code:</label>
280
                                <script src="https://gist.github.com/dangrossman/d50376f3467f69e7fb5570afd07dc921.js"></script>
281
                            </div>
282
                            <div class="col-4">
283
                                <label>Produces:</label>
284
                                <input type="text" name="datefilter" class="form-control pull-right" value="" />
285
 
286
                                <script type="text/javascript">
287
                                $(function() {
288
 
289
                                  $('input[name="datefilter"]').daterangepicker({
290
                                      autoUpdateInput: false,
291
                                      locale: {
292
                                          cancelLabel: 'Clear'
293
                                      }
294
                                  });
295
 
296
                                  $('input[name="datefilter"]').on('apply.daterangepicker', function(ev, picker) {
297
                                      $(this).val(picker.startDate.format('MM/DD/YYYY') + ' - ' + picker.endDate.format('MM/DD/YYYY'));
298
                                  });
299
 
300
                                  $('input[name="datefilter"]').on('cancel.daterangepicker', function(ev, picker) {
301
                                      $(this).val('');
302
                                  });
303
 
304
                                });
305
                                </script>
306
                            </div>
307
                        </div>
308
                    </div>
309
 
310
                    <h1 style="margin-top: 30px"><a id="options" href="#options">Options</a></h1>
311
 
312
                    <ul class="nobullets">
313
                        <li>
314
                            <code>startDate</code> (Date or string) The beginning date of the initially selected date range. If you provide a string, it must match the date format string set in your <code>locale</code> setting.
315
                        </li>
316
                        <li>
317
                            <code>endDate</code>: (Date or string) The end date of the initially selected date range.
318
                        </li>
319
                        <li>
320
                            <code>minDate</code>: (Date or string) The earliest date a user may select.
321
                        </li>
322
                        <li>
323
                            <code>maxDate</code>: (Date or string) The latest date a user may select.
324
                        </li>
325
                        <li>
326
                            <code>maxSpan</code>: (object) The maximum span between the selected start and end dates. Check off <code>maxSpan</code> in the configuration generator for an example of how to use this. You can provide any object the <code>moment</code> library would let you add to a date.
327
                        </li>
328
                        <li>
329
                            <code>showDropdowns</code>: (true/false) Show year and month select boxes above calendars to jump to a specific month and year.
330
                        </li>
331
                        <li>
332
                            <code>minYear</code>: (number) The minimum year shown in the dropdowns when <code>showDropdowns</code> is set to true.
333
                        </li>
334
                        <li>
335
                            <code>maxYear</code>: (number) The maximum year shown in the dropdowns when <code>showDropdowns</code> is set to true.
336
                        </li>
337
                        <li>
338
                            <code>showWeekNumbers</code>: (true/false) Show localized week numbers at the start of each week on the calendars.
339
                        </li>
340
                        <li>
341
                            <code>showISOWeekNumbers</code>: (true/false) Show ISO week numbers at the start of each week on the calendars.
342
                        </li>
343
                        <li>
344
                            <code>timePicker</code>: (true/false) Adds select boxes to choose times in addition to dates.
345
                        </li>
346
                        <li>
347
                            <code>timePickerIncrement</code>: (number) Increment of the minutes selection list for times (i.e. 30 to allow only selection of times ending in 0 or 30).
348
                        </li>
349
                        <li>
350
                            <code>timePicker24Hour</code>: (true/false) Use 24-hour instead of 12-hour times, removing the AM/PM selection.
351
                        </li>
352
                        <li>
353
                            <code>timePickerSeconds</code>: (true/false) Show seconds in the timePicker.
354
                        </li>
355
                        <li>
356
                            <code>ranges</code>: (object) Set predefined date ranges the user can select from. Each key is the label for the range, and its value an array with two dates representing the bounds of the range. Click <code>ranges</code> in the configuration generator for examples.
357
                        </li>
358
                        <li>
359
                            <code>showCustomRangeLabel</code>: (true/false) Displays "Custom Range" at
360
                            the end of the list of predefined ranges, when the <code>ranges</code> option is used.
361
                            This option will be highlighted whenever the current date range selection does not match one of the predefined ranges. Clicking it will display the calendars to select a new range.
362
                        </li>
363
                        <li>
364
                            <code>alwaysShowCalendars</code>: (true/false) Normally, if you use the <code>ranges</code> option to specify pre-defined date ranges, calendars for choosing a custom date range are not shown until the user clicks "Custom Range". When this option is set to true, the calendars for choosing a custom date range are always shown instead.
365
                        </li>
366
                        <li>
367
                            <code>opens</code>: ('left'/'right'/'center') Whether the picker appears aligned to the left, to the right, or centered under the HTML element it's attached to.
368
                        </li>
369
                        <li>
370
                            <code>drops</code>: ('down'/'up'/'auto') Whether the picker appears below (default) or above the HTML element it's attached to.
371
                        </li>
372
                        <li>
373
                            <code>buttonClasses</code>: (string) CSS class names that will be added to both the apply and cancel buttons.
374
                        </li>
375
                        <li>
376
                            <code>applyButtonClasses</code>: (string) CSS class names that will be added only to the apply button.
377
                        </li>
378
                        <li>
379
                            <code>cancelButtonClasses</code>: (string) CSS class names that will be added only to the cancel button.
380
                        </li>
381
                        <li>
382
                            <code>locale</code>: (object) Allows you to provide localized strings for buttons and labels, customize the date format, and change the first day of week for the calendars.
383
                            Check off <code>locale</code> in the configuration generator to see how
384
                            to customize these options.
385
                        </li>
386
                        <li>
387
                            <code>singleDatePicker</code>: (true/false) Show only a single calendar to choose one date, instead of a range picker with two calendars. The start and end dates provided to your callback will be the same single date chosen.
388
                        </li>
389
                        <li>
390
                            <code>autoApply</code>: (true/false) Hide the apply and cancel buttons, and automatically apply a new date range as soon as two dates are clicked.
391
                        </li>
392
                        <li>
393
                            <code>linkedCalendars</code>: (true/false) When enabled, the two calendars displayed will always be for two sequential months (i.e. January and February), and both will be advanced when clicking the left or right arrows above the calendars. When disabled, the two calendars can be individually advanced and display any month/year.
394
                        </li>
395
                        <li>
396
                            <code>isInvalidDate</code>: (function) A function that is passed each date in the two
397
                            calendars before they are displayed, and may return true or false to indicate whether
398
                            that date should be available for selection or not.
399
                        </li>
400
                        <li>
401
                            <code>isCustomDate</code>: (function) A function that is passed each date in the two
402
                            calendars before they are displayed, and may return a string or array of CSS class names
403
                            to apply to that date's calendar cell.
404
                        </li>
405
                        <li>
406
                            <code>autoUpdateInput</code>: (true/false) Indicates whether the date range picker should
407
                            automatically update the value of the <code>&lt;input&gt;</code> element it's attached to at initialization and when the selected dates change.
408
                        </li>
409
                        <li>
410
                            <code>parentEl</code>: (string) jQuery selector of the parent element that the date range picker will be added to, if not provided this will be 'body'
411
                        </li>
412
                    </ul>
413
 
414
                    <h1 style="margin-top: 30px"><a id="methods" href="#methods">Methods</a></h1>
415
 
416
                    <p>
417
                        You can programmatically update the <code>startDate</code> and <code>endDate</code>
418
                        in the picker using the <code>setStartDate</code> and <code>setEndDate</code> methods.
419
                        You can access the Date Range Picker object and its functions and properties through
420
                        data properties of the element you attached it to.
421
                    </p>
422
 
423
                    <script src="https://gist.github.com/dangrossman/8ff9b1220c9b5682e8bd.js"></script>
424
 
425
                    <br/>
426
 
427
                    <ul class="nobullets">
428
                        <li>
429
                            <code>setStartDate(Date or string)</code>: Sets the date range picker's currently selected start date to the provided date
430
                        </li>
431
                        <li>
432
                            <code>setEndDate(Date or string)</code>: Sets the date range picker's currently selected end date to the provided date
433
                        </li>
434
                    </ul>
435
 
436
                    <p style="margin: 0"><b>Example usage:</b></p>
437
 
438
                    <script src="https://gist.github.com/dangrossman/e1a8effbaeacb50a1e31.js"></script>
439
 
440
                    <h1 style="margin-top: 30px"><a id="events" href="#events">Events</a></h1>
441
 
442
                    <p>
443
                        Several events are triggered on the element you attach the picker to, which you can listen for.
444
                    </p>
445
 
446
                    <ul class="nobullets">
447
                        <li>
448
                            <code>show.daterangepicker</code>: Triggered when the picker is shown
449
                        </li>
450
                        <li>
451
                            <code>hide.daterangepicker</code>: Triggered when the picker is hidden
452
                        </li>
453
                        <li>
454
                            <code>showCalendar.daterangepicker</code>: Triggered when the calendar(s) are shown
455
                        </li>
456
                        <li>
457
                            <code>hideCalendar.daterangepicker</code>: Triggered when the calendar(s) are hidden
458
                        </li>
459
                        <li>
460
                            <code>apply.daterangepicker</code>: Triggered when the apply button is clicked,
461
                            or when a predefined range is clicked
462
                        </li>
463
                        <li>
464
                            <code>cancel.daterangepicker</code>: Triggered when the cancel button is clicked
465
                        </li>
466
                    </ul>
467
 
468
                    <p>
469
                        Some applications need a "clear" instead of a "cancel" functionality, which can be achieved by changing the button label and watching for the cancel event:
470
                    </p>
471
 
472
                    <script src="https://gist.github.com/dangrossman/1bea78da703f2896564d.js"></script>
473
 
474
                    <br/>
475
 
476
                    <p>
477
                        While passing in a callback to the constructor is the easiest way to listen for changes in the selected date range, you can also do something every time the apply button is clicked even if the selection hasn't changed:
478
                    </p>
479
 
480
                    <script src="https://gist.github.com/dangrossman/0c6c911fea1459b5fd13.js"></script>
481
 
482
                    <h1 style="margin-top: 30px"><a id="config" href="#config">Configuration Generator</a></h1>
483
 
484
                    <div class="well configurator">
485
 
486
                      <form>
487
                          <div class="row">
488
 
489
                            <div class="col-md-4">
490
 
491
                              <div class="form-group">
492
                                <label for="parentEl">parentEl</label>
493
                                <input type="text" class="form-control" id="parentEl" value="" placeholder="body">
494
                              </div>
495
 
496
                              <div class="form-group">
497
                                <label for="startDate">startDate</label>
498
                                <input type="text" class="form-control" id="startDate" value="07/01/2017">
499
                              </div>
500
 
501
                              <div class="form-group">
502
                                <label for="endDate">endDate</label>
503
                                <input type="text" class="form-control" id="endDate" value="07/15/2017">
504
                              </div>
505
 
506
                              <div class="form-group">
507
                                <label for="minDate">minDate</label>
508
                                <input type="text" class="form-control" id="minDate" value="" placeholder="MM/DD/YYYY">
509
                              </div>
510
 
511
                              <div class="form-group">
512
                                <label for="maxDate">maxDate</label>
513
                                <input type="text" class="form-control" id="maxDate" value="" placeholder="MM/DD/YYYY">
514
                              </div>
515
 
516
                              <div class="form-group">
517
                                <label for="opens">opens</label>
518
                                <select id="opens" class="form-control">
519
                                  <option value="right" selected>right</option>
520
                                  <option value="left">left</option>
521
                                  <option value="center">center</option>
522
                                </select>
523
                              </div>
524
 
525
                              <div class="form-group">
526
                                <label for="drops">drops</label>
527
                                <select id="drops" class="form-control">
528
                                  <option value="down" selected>down</option>
529
                                  <option value="up">up</option>
530
                                  <option value="auto">auto</option>
531
                                </select>
532
                              </div>
533
 
534
                            </div>
535
                            <div class="col-md-4">
536
 
537
                              <div class="checkbox">
538
                                <label>
539
                                  <input type="checkbox" id="showDropdowns"> showDropdowns
540
                                </label>
541
                              </div>
542
 
543
                              <div class="form-group">
544
                                <label for="minYear">minYear</label>
545
                                <input type="text" class="form-control" id="minYear" value="">
546
                              </div>
547
 
548
                              <div class="form-group">
549
                                <label for="maxYear">maxYear</label>
550
                                <input type="text" class="form-control" id="maxYear" value="">
551
                              </div>
552
 
553
                              <div class="checkbox">
554
                                <label>
555
                                  <input type="checkbox" id="showWeekNumbers"> showWeekNumbers
556
                                </label>
557
                              </div>
558
 
559
                              <div class="checkbox">
560
                                <label>
561
                                  <input type="checkbox" id="showISOWeekNumbers"> showISOWeekNumbers
562
                                </label>
563
                              </div>
564
 
565
                              <div class="checkbox">
566
                                <label>
567
                                  <input type="checkbox" id="singleDatePicker"> singleDatePicker
568
                                </label>
569
                              </div>
570
 
571
                              <div class="checkbox">
572
                                <label>
573
                                  <input type="checkbox" id="timePicker"> timePicker
574
                                </label>
575
                              </div>
576
 
577
                              <div class="checkbox">
578
                                <label>
579
                                  <input type="checkbox" id="timePicker24Hour"> timePicker24Hour
580
                                </label>
581
                              </div>
582
 
583
                              <div class="form-group">
584
                                <label for="timePickerIncrement">timePickerIncrement (in minutes)</label>
585
                                <input type="text" class="form-control" id="timePickerIncrement" value="1">
586
                              </div>
587
 
588
                              <div class="checkbox">
589
                                <label>
590
                                  <input type="checkbox" id="timePickerSeconds"> timePickerSeconds
591
                                </label>
592
                              </div>
593
 
594
                              <div class="checkbox">
595
                                <label>
596
                                  <input type="checkbox" id="maxSpan"> maxSpan (example value)
597
                                </label>
598
                              </div>
599
 
600
                              <div class="checkbox">
601
                                <label>
602
                                  <input type="checkbox" id="locale"> locale (example settings)
603
                                </label>
604
                              </div>
605
 
606
                              <div class="checkbox">
607
                                <label>
608
                                  <input type="checkbox" id="autoApply"> autoApply
609
                                </label>
610
                              </div>
611
 
612
                            </div>
613
                            <div class="col-md-4">
614
 
615
                              <div class="form-group">
616
                                <label for="buttonClasses">buttonClasses</label>
617
                                <input type="text" class="form-control" id="buttonClasses" value="btn btn-sm">
618
                              </div>
619
 
620
                              <div class="form-group">
621
                                <label for="applyButtonClasses">applyButtonClasses</label>
622
                                <input type="text" class="form-control" id="applyButtonClasses" value="btn-primary">
623
                              </div>
624
 
625
                              <div class="form-group">
626
                                <label for="cancelButtonClasses">cancelButtonClasses</label>
627
                                <input type="text" class="form-control" id="cancelButtonClasses" value="btn-default">
628
                              </div>
629
 
630
                              <div class="checkbox">
631
                                <label>
632
                                  <input type="checkbox" id="ranges"> ranges (with example predefined ranges)
633
                                </label>
634
                              </div>
635
 
636
                              <div class="checkbox">
637
                                <label>
638
                                  <input type="checkbox" id="alwaysShowCalendars"> alwaysShowCalendars
639
                                </label>
640
                              </div>
641
 
642
                              <div class="checkbox">
643
                                <label>
644
                                  <input type="checkbox" id="showCustomRangeLabel" checked="checked"> showCustomRangeLabel
645
                                </label>
646
                              </div>
647
 
648
                              <div class="checkbox">
649
                                <label>
650
                                  <input type="checkbox" id="linkedCalendars" checked="checked"> linkedCalendars
651
                                </label>
652
                              </div>
653
 
654
                              <div class="checkbox">
655
                                <label>
656
                                  <input type="checkbox" id="autoUpdateInput" checked="checked"> autoUpdateInput
657
                                </label>
658
                              </div>
659
 
660
                            </div>
661
 
662
                          </div>
663
                      </form>
664
 
665
                    </div>
666
 
667
                    <div class="row">
668
 
669
                      <div class="col-4 demo">
670
                        <div style="position: relative">
671
                            <h2 style="margin-bottom: 15px">Your Date Range Picker</h2>
672
                            <input type="text" id="config-demo" class="form-control">
673
                        </div>
674
                      </div>
675
 
676
                      <div class="col-8">
677
                        <h2 style="margin-bottom: 15px">Your Configuration to Copy</h2>
678
 
679
                        <div class="well">
680
                          <textarea id="config-text" style="height: 300px; width: 100%; padding: 10px"></textarea>
681
                        </div>
682
                      </div>
683
 
684
                    </div>
685
 
686
                    <!-- License -->
687
 
688
                    <h1 style="margin-top: 30px"><a id="license" href="#license">License</a></h1>
689
 
690
                    <p>The MIT License (MIT)</p>
691
 
692
                    <p>Copyright (c) 2012-2019 <a href="http://www.dangrossman.info">Dan Grossman</a></p>
693
 
694
                    <p>
695
                        Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
696
                    </p>
697
 
698
                    <p>
699
                        The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
700
                    </p>
701
 
702
                    <p>
703
                        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
704
                    </p>
705
 
706
                    <h1 style="margin-top: 30px"><a id="config" href="#comments">Comments</a></h1>
707
 
708
                    <div id="disqus_thread"></div>
709
                    <script type="text/javascript">
710
                        /* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */
711
                        var disqus_url = 'http://www.dangrossman.info/2012/08/20/a-date-range-picker-for-twitter-bootstrap/';
712
                        var disqus_identifier = '1045 http://www.dangrossman.info/?p=1045';
713
                        var disqus_container_id = 'disqus_thread';
714
                        var disqus_shortname = 'dangrossman';
715
                        var disqus_title = "A Date Range Picker for Bootstrap";
716
 
717
                        /* * * DON'T EDIT BELOW THIS LINE * * */
718
                        (function() {
719
                            var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
720
                            dsq.src = 'https://' + disqus_shortname + '.disqus.com/embed.js';
721
                            (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
722
                        })();
723
                    </script>
724
                    <noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
725
 
726
                </div>
727
            </div>
728
        </div>
729
 
730
        <!-- Begin W3Counter Tracking Code -->
731
        <script type="text/javascript" src="https://www.w3counter.com/tracker.js?id=90840"></script>
732
        <!-- End W3Counter Tracking Code -->
733
 
734
        <script type="text/javascript">
735
        var im_domain = 'awio';
736
        var im_project_id = 48;
737
        (function(e,t){window._improvely=[];var n=e.getElementsByTagName("script")[0];var r=e.createElement("script");r.type="text/javascript";r.src="https://"+im_domain+".iljmp.com/improvely.js";r.async=true;n.parentNode.insertBefore(r,n);if(typeof t.init=="undefined"){t.init=function(e,t){window._improvely.push(["init",e,t])};t.goal=function(e){window._improvely.push(["goal",e])};t.conversion=function(e){window._improvely.push(["conversion",e])};t.label=function(e){window._improvely.push(["label",e])}}window.improvely=t;t.init(im_domain,im_project_id)})(document,window.improvely||[])
738
        </script>
739
 
740
        <div id="footer">
741
            Copyright &copy; 2012-2018 <a href="http://www.dangrossman.info/">Dan Grossman</a>.
742
        </div>
743
 
744
    </body>
745
</html>