Added: Bootstrap (only CSS) v2.3.2 (#350)

This commit is contained in:
nobody 2021-04-05 07:41:56 +02:00
parent 072d525341
commit 4ca677fa1f
No known key found for this signature in database
GPG Key ID: 8F6DE3D614FCFD7A
7 changed files with 750 additions and 1 deletions

View File

@ -1178,6 +1178,7 @@ https://cdn.jsdelivr.net/npm/urlize.js/urlize.js
https://cdn.jsdelivr.net/npm/videojs-seek-buttons@1.6.0/dist/videojs-seek-buttons.css
https://cdn.jsdelivr.net/npm/videojs-seek-buttons@1.6.0/dist/videojs-seek-buttons.min.js
https://fonts.gstatic.com/s/materialicons/v83/flUhRq6tzZclQEJ-Vdg-IuiaDsNc.woff2
https://netdna.bootstrapcdn.com/twitter-bootstrap/2.3.2/css/bootstrap-combined.no-icons.min.css
https://raw.githubusercontent.com/jquery-validation/jquery-validation/1.19.3/dist/jquery.validate.min.js
https://raw.githubusercontent.com/pagekit/vue-resource/1.5.2/dist/vue-resource.min.js
https://raw.githubusercontent.com/Templarian/MaterialDesign-Webfont/v2.8.94/css/materialdesignicons.min.css

View File

@ -73,6 +73,7 @@
readonly CLOUDFLARE="https://cdnjs.cloudflare.com/ajax/libs"
readonly CLOUDFLARE_AJAX="https://ajax.cloudflare.com/cdn-cgi/scripts"
readonly JSDELIVR="https://cdn.jsdelivr.net"
readonly NETDNA_BOOTSTRAPCDN="https://netdna.bootstrapcdn.com"
readonly GITHUB="https://raw.githubusercontent.com"
@ -494,7 +495,7 @@ function create_url() {
else
url="$CLOUDFLARE/$folder/$version/$jfile"
fi
elif [ "$folder" = "twitter-bootstrap" ]; then
elif [ "$folder" = "twitter-bootstrap" ] && [ "$version" != "2.3.2" ]; then
if [[ "$subfile" =~ \.css$ ]]; then
url="$CLOUDFLARE/$folder/$version/css/$subfile"
elif [[ "$subfile" =~ \.js$ ]]; then
@ -502,6 +503,10 @@ function create_url() {
elif [ "$subfile" = "glyphicons-halflings-regular.woff2" ]; then
url="$CLOUDFLARE/twitter-bootstrap/3.4.1/fonts/glyphicons-halflings-regular.woff2"
fi
elif [ "$folder" = "twitter-bootstrap" ] && [ "$version" = "2.3.2" ]; then
if [[ "$subfile" =~ \.css$ ]]; then
url="$NETDNA_BOOTSTRAPCDN/$folder/$version/css/bootstrap-combined.no-icons.min.css"
fi
elif [ "$folder" = "webcomponentsjs" ]; then
url="$CLOUDFLARE/$folder/2.5.0/webcomponents-loader.min.js"
elif [ "$folder" = "vue-i18n" ] && [ "$version" = "9.0.0" ]; then

View File

@ -914,6 +914,10 @@ mappings.cdn = {
},
'/font-awesome/': {
'{version}/css/font-awesome.': resources.fontawesome
},
'/twitter-bootstrap/': {
'{version}/css/bootstrap.': resources.bootstrapCSS,
'{version}/css/bootstrap-combined.': resources.bootstrapCSS
}
},
// Font Awesome CDN

View File

@ -174,6 +174,8 @@ targets.setLastVersion = function (type, version) {
return '4.4.0';
} else if (type.startsWith('/bootbox.js/5.')) {
return '5.5.2';
} else if (type.startsWith('/twitter-bootstrap/2.')) {
return '2.3.2';
} else if (type.startsWith('/twitter-bootstrap/3.')) {
if (helpers.compareVersion('3.0.0', version)) return '3.0.0'; // <= 3.0.0
else if (helpers.compareVersion('3.3.7', version)) return '3.3.7'; // <= 3.3.7

View File

@ -48,6 +48,7 @@
<li>Updated: Google Material Icons v82 -> v83 (<a href="https://codeberg.org/nobody/LocalCDN/issues/346">#346</a>)</li>
<li>Added: Chart.js v3.0.2 (<a href="https://codeberg.org/nobody/LocalCDN/issues/347">#347</a>)</li>
<li>Updated: highlight.js v10.7.1 -> v10.7.2 (<a href="https://codeberg.org/nobody/LocalCDN/issues/351">#351</a>)</li>
<li>Added: Bootstrap (only CSS) v2.3.2 (<a href="https://codeberg.org/nobody/LocalCDN/issues/350">#350</a>)</li>
</ul>
<div id="generator-section">
<div class="topic-label">

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,4 @@
In this directory the file was renamed.
Original: bootstrap-combined.no-icons.min
Now: bootstrap.min.css