This is an automated email from the ASF dual-hosted git repository.

gstein pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/steve.git


The following commit(s) were added to refs/heads/trunk by this push:
     new b394b22  fetch bootstrap so we can serve it
b394b22 is described below

commit b394b22670042173ef2fb5ab8e206605bdc17a03
Author: Greg Stein <[email protected]>
AuthorDate: Fri Aug 29 10:21:02 2025 -0500

    fetch bootstrap so we can serve it
---
 v3/bin/fetch-bootstrap.sh                       | 45 +++++++++++++++++++++++++
 v3/server/static/css/bootstrap.min.css          |  6 ++++
 v3/server/static/css/bootstrap.min.css.map      |  1 +
 v3/server/static/js/bootstrap.bundle.min.js     |  7 ++++
 v3/server/static/js/bootstrap.bundle.min.js.map |  1 +
 5 files changed, 60 insertions(+)

diff --git a/v3/bin/fetch-bootstrap.sh b/v3/bin/fetch-bootstrap.sh
new file mode 100755
index 0000000..73e9359
--- /dev/null
+++ b/v3/bin/fetch-bootstrap.sh
@@ -0,0 +1,45 @@
+#!/bin/bash
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#      http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+#
+# Fetch latest bootstrap, and places files into our git working copy.
+#
+
+#set -x
+
+VERSION="5.3.1"
+DIST="bootstrap-${VERSION}-dist"
+B_URL="https://github.com/twbs/bootstrap/releases/download/v${VERSION}/${DIST}.zip";
+
+THIS_DIR=$(/bin/dirname "`realpath $0`")
+PARENT_DIR=$(/bin/dirname "$THIS_DIR")
+STATIC_DIR="${PARENT_DIR}/server/static"
+
+ZIPFILE="${THIS_DIR}/bs.zip"
+
+echo "Fetching: ${B_URL}"
+curl -q --location "${B_URL}" --output "${ZIPFILE}"
+
+echo "Extracting: bootstrap.min.css"
+unzip -joq "${ZIPFILE}" "${DIST}/css/bootstrap.min.css" -d "${STATIC_DIR}/css"
+echo "Extracting: bootstrap.min.css.map"
+unzip -joq "${ZIPFILE}" "${DIST}/css/bootstrap.min.css.map" -d 
"${STATIC_DIR}/css"
+echo "Extracting: bootstrap.bundle.min.js"
+unzip -joq "${ZIPFILE}" "${DIST}/js/bootstrap.bundle.min.js" -d 
"${STATIC_DIR}/js"
+echo "Extracting: bootstrap.bundle.min.js.map"
+unzip -joq "${ZIPFILE}" "${DIST}/js/bootstrap.bundle.min.js.map" -d 
"${STATIC_DIR}/js"
+
+echo "NOTE: zip can now be removed: ${ZIPFILE}"
diff --git a/v3/server/static/css/bootstrap.min.css 
b/v3/server/static/css/bootstrap.min.css
new file mode 100644
index 0000000..a89937c
--- /dev/null
+++ b/v3/server/static/css/bootstrap.min.css
@@ -0,0 +1,6 @@
+@charset "UTF-8";/*!
+ * Bootstrap  v5.3.1 (https://getbootstrap.com/)
+ * Copyright 2011-2023 The Bootstrap Authors
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
+ 
*/:root,[data-bs-theme=light]{--bs-blue:#0d6efd;--bs-indigo:#6610f2;--bs-purple:#6f42c1;--bs-pink:#d63384;--bs-red:#dc3545;--bs-orange:#fd7e14;--bs-yellow:#ffc107;--bs-green:#198754;--bs-teal:#20c997;--bs-cyan:#0dcaf0;--bs-black:#000;--bs-white:#fff;--bs-gray:#6c757d;--bs-gray-dark:#343a40;--bs-gray-100:#f8f9fa;--bs-gray-200:#e9ecef;--bs-gray-300:#dee2e6;--bs-gray-400:#ced4da;--bs-gray-500:#adb5bd;--bs-gray-600:#6c757d;--bs-gray-700:#495057;--bs-gray-800:#343a40;--bs-gray-900:#212529;--
 [...]
+/*# sourceMappingURL=bootstrap.min.css.map */
\ No newline at end of file
diff --git a/v3/server/static/css/bootstrap.min.css.map 
b/v3/server/static/css/bootstrap.min.css.map
new file mode 100644
index 0000000..816a51a
--- /dev/null
+++ b/v3/server/static/css/bootstrap.min.css.map
@@ -0,0 +1 @@
+{"version":3,"sources":["../../scss/mixins/_banner.scss","../../scss/_root.scss","dist/css/bootstrap.css","../../scss/vendor/_rfs.scss","../../scss/mixins/_color-mode.scss","../../scss/_reboot.scss","../../scss/mixins/_border-radius.scss","../../scss/_type.scss","../../scss/mixins/_lists.scss","../../scss/_images.scss","../../scss/mixins/_image.scss","../../scss/_containers.scss","../../scss/mixins/_container.scss","../../scss/mixins/_breakpoints.scss","../../scss/_grid.scss","../../scss
 [...]
\ No newline at end of file
diff --git a/v3/server/static/js/bootstrap.bundle.min.js 
b/v3/server/static/js/bootstrap.bundle.min.js
new file mode 100644
index 0000000..e8f21f7
--- /dev/null
+++ b/v3/server/static/js/bootstrap.bundle.min.js
@@ -0,0 +1,7 @@
+/*!
+  * Bootstrap v5.3.1 (https://getbootstrap.com/)
+  * Copyright 2011-2023 The Bootstrap Authors 
(https://github.com/twbs/bootstrap/graphs/contributors)
+  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
+  */
+!function(t,e){"object"==typeof exports&&"undefined"!=typeof 
module?module.exports=e():"function"==typeof 
define&&define.amd?define(e):(t="undefined"!=typeof 
globalThis?globalThis:t||self).bootstrap=e()}(this,(function(){"use 
strict";const t=new Map,e={set(e,i,n){t.has(e)||t.set(e,new Map);const 
s=t.get(e);s.has(i)||0===s.size?s.set(i,n):console.error(`Bootstrap doesn't 
allow more than one instance per element. Bound instance: 
${Array.from(s.keys())[0]}.`)},get:(e,i)=>t.has(e)&&t.get(e). [...]
+//# sourceMappingURL=bootstrap.bundle.min.js.map
\ No newline at end of file
diff --git a/v3/server/static/js/bootstrap.bundle.min.js.map 
b/v3/server/static/js/bootstrap.bundle.min.js.map
new file mode 100644
index 0000000..3863da8
--- /dev/null
+++ b/v3/server/static/js/bootstrap.bundle.min.js.map
@@ -0,0 +1 @@
+{"version":3,"names":["elementMap","Map","Data","set","element","key","instance","has","instanceMap","get","size","console","error","Array","from","keys","remove","delete","TRANSITION_END","parseSelector","selector","window","CSS","escape","replace","match","id","triggerTransitionEnd","dispatchEvent","Event","isElement","object","jquery","nodeType","getElement","length","document","querySelector","isVisible","getClientRects","elementIsVisible","getComputedStyle","getPropertyValue","close
 [...]
\ No newline at end of file

Reply via email to