1
0
mirror of https://codeberg.org/nobody/LocalCDN.git synced 2024-12-23 00:25:15 +01:00

Added Bootstrap Datepicker JS and CSS v1.9.0

This commit is contained in:
nobody 2020-05-22 11:32:29 +02:00
parent 6339f66bdd
commit 14c0adc281
No known key found for this signature in database
GPG Key ID: 8F6DE3D614FCFD7A
7 changed files with 40 additions and 2 deletions

View File

@ -157,6 +157,10 @@ var files = {
// Bootstrap Daterangepicker
'resources/bootstrap-daterangepicker/2.1.27/daterangepicker.min.jsm': true,
// Bootstrap Datepicker
'resources/bootstrap-datepicker/1.9.0/js/bootstrap-datepicker.min.jsm': true,
'resources/bootstrap-datepicker/1.9.0/css/bootstrap-datepicker.standalone.min.css': true,
// clipboard.js
'resources/clipboard.js/2.0.6/clipboard.min.jsm': true,

View File

@ -105,6 +105,9 @@ var mappings = {
'backbone.js/{version}/backbone.': resources.backbone,
'backbone.js/{version}/backbone-min.': resources.backbone,
'bootstrap-daterangepicker/{version}/daterangepicker.': resources.bootstrapDaterangepicker,
'bootstrap-datepicker/{version}/js/bootstrap-datepicker.': resources.bootstrapDatepickerJS,
'bootstrap-datepicker/{version}/css/bootstrap-datepicker.': resources.bootstrapDatepickerCSS,
'bootstrap-datepicker/{version}/css/datepicker.': resources.bootstrapDatepickerCSS,
'bootstrap-select/{version}/css/bootstrap-select.': resources.bootstrapSelectCSS,
'bootstrap-select/{version}/js/bootstrap-select.': resources.bootstrapSelectJS,
'bootstrap-slider/{version}/css/bootstrap-slider.min.css': resources.bootstrapSliderCSS,

View File

@ -156,11 +156,20 @@ var resources = {
'path': 'resources/bootstrap.css/{version}/bootstrap.min.css',
'type': 'text/css'
},
// Bootstrap Datepicker
// Bootstrap Daterangepicker
'bootstrapDaterangepicker': {
'path': 'resources/bootstrap-daterangepicker/{version}/daterangepicker.min.jsm',
'type': 'application/javascript'
},
// Bootstrap Datepicker
'bootstrapDatepickerCSS': {
'path': 'resources/bootstrap-datepicker/{version}/css/bootstrap-datepicker.standalone.min.css',
'type': 'text/css'
},
'bootstrapDatepickerJS': {
'path': 'resources/bootstrap-datepicker/{version}/js/bootstrap-datepicker.min.jsm',
'type': 'application/javascript'
},
// Bootstrap-select
'bootstrapSelectCSS': {
'path': 'resources/bootstrap-select/{version}/css/bootstrap-select.min.css',

View File

@ -265,7 +265,11 @@ helpers.determineResourceName = function (filename) {
case 'bootstrap.min.jsm':
return 'Bootstrap JS';
case 'daterangepicker.min.jsm':
return 'Bootstrap Datepicker';
return 'Bootstrap Daterangepicker';
case 'bootstrap-datepicker.min.jsm':
return 'Bootstrap Datepicker JS';
case 'bootstrap-datepicker.standalone.min.css':
return 'Bootstrap Datepicker CSS';
case 'bootstrap-select.min.css':
return 'Bootstrap-select CSS';
case 'bootstrap-select.min.jsm':
@ -506,6 +510,8 @@ helpers.setLastVersion = function (type, version) {
version = '4.4.1';
} else if (type.includes('/bootstrap-daterangepicker/2.')) {
version = '2.1.27';
} else if (type.includes('/bootstrap-datepicker/1.')) {
version = '1.9.0';
} else if (type.includes('/bootstrap-slider/10.')) {
version = '10.6.2';
} else if (type.includes('/bootstrap-select/1.')) {

View File

@ -31,6 +31,7 @@
<li>Updated: Bootstrap-Select CSS to v1.13.17</li>
<li>Added: Bootstrap-Select JS v1.13.17</li>
<li>Added: Angular Sanitize v1.7.9</li>
<li>Added: Bootstrap Datepicker JS and CSS v1.9.0</li>
</ul>
<div class="topic-label">

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long