Skip to content

Commit

Permalink
Move bootstrap to vendor folder.
Browse files Browse the repository at this point in the history
  • Loading branch information
edmondas committed Oct 12, 2023
1 parent 52dd7e6 commit ef957aa
Show file tree
Hide file tree
Showing 4,948 changed files with 203,604 additions and 16 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
4 changes: 3 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@
"twig/twig": "^v3.7.1",
"vlucas/valitron": "^v1.4.11",
"symfony/twig-bridge": "^v6.3.5",
"symfony/translation": "^v6.3.3"
"symfony/translation": "^v6.3.3",
"twbs/bootstrap": "^5.3",
"twbs/bootstrap-icons": "^1.11"
},
"autoload": {
"psr-4": {
Expand Down
91 changes: 90 additions & 1 deletion composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 1 addition & 3 deletions install/templates/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,7 @@
</div>
</footer>

<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/js/bootstrap.bundle.min.js"
integrity="sha384-kenU1KFdBIe4zVF0s0G1M5b4hcpxyD9F7jL+jjXkk+Q2h455rYXK/7HAuoJl+0I4"
crossorigin="anonymous"></script>
<script src="vendor/twbs/bootstrap/dist/js/bootstrap.bundle.min.js"></script>

<script>
(function () {
Expand Down
5 changes: 2 additions & 3 deletions install/templates/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,8 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Poweradmin</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-rbsA2VBKQhggwzxH7pPCaAqO46MgnOM80zW1RWuH61DGLwZJEdK2Kadq2F9CUG65" crossorigin="anonymous">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.2/font/bootstrap-icons.css">
<link href="../vendor/twbs/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet">
<link rel="stylesheet" href="../vendor/twbs/bootstrap-icons/font/bootstrap-icons.css">
<link rel=stylesheet href="../style/ignite.css?time={{ file_version }}" type="text/css">
<script type="text/javascript" src="includes/helper.js?time={{ file_version }}"></script>
</head>
Expand Down
4 changes: 1 addition & 3 deletions templates/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,7 @@
{% if display_stats %}
{{ display_stats | raw }}
{% endif %}
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/js/bootstrap.bundle.min.js"
integrity="sha384-kenU1KFdBIe4zVF0s0G1M5b4hcpxyD9F7jL+jjXkk+Q2h455rYXK/7HAuoJl+0I4"
crossorigin="anonymous"></script>
<script src="vendor/twbs/bootstrap/dist/js/bootstrap.bundle.min.js"></script>

<script>
const tooltipTriggerList = document.querySelectorAll('[data-bs-toggle="tooltip"]');
Expand Down
5 changes: 2 additions & 3 deletions templates/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,8 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>{{ iface_title }}</title>
<!-- CSS only -->
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-rbsA2VBKQhggwzxH7pPCaAqO46MgnOM80zW1RWuH61DGLwZJEdK2Kadq2F9CUG65" crossorigin="anonymous">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.2/font/bootstrap-icons.css">
<link href="vendor/twbs/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet">
<link rel="stylesheet" href="vendor/twbs/bootstrap-icons/font/bootstrap-icons.css">
<link rel="stylesheet" href="style/{{ iface_style }}.css?time={{ file_version }}" type="text/css">
<script type="text/javascript" src="inc/helper.js?time={{ file_version }}"></script>
</head>
Expand Down
95 changes: 95 additions & 0 deletions vendor/composer/installed.json
Original file line number Diff line number Diff line change
Expand Up @@ -2222,6 +2222,101 @@
],
"install-path": "../theseer/tokenizer"
},
{
"name": "twbs/bootstrap",
"version": "v5.3.2",
"version_normalized": "5.3.2.0",
"source": {
"type": "git",
"url": "https://github.com/twbs/bootstrap.git",
"reference": "344e912d04b5b6a04482113eff20ab416ff01048"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/twbs/bootstrap/zipball/344e912d04b5b6a04482113eff20ab416ff01048",
"reference": "344e912d04b5b6a04482113eff20ab416ff01048",
"shasum": ""
},
"replace": {
"twitter/bootstrap": "self.version"
},
"time": "2023-09-14T14:19:27+00:00",
"type": "library",
"installation-source": "dist",
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Mark Otto",
"email": "markdotto@gmail.com"
},
{
"name": "Jacob Thornton",
"email": "jacobthornton@gmail.com"
}
],
"description": "The most popular front-end framework for developing responsive, mobile first projects on the web.",
"homepage": "https://getbootstrap.com/",
"keywords": [
"JS",
"css",
"framework",
"front-end",
"mobile-first",
"responsive",
"sass",
"web"
],
"support": {
"issues": "https://github.com/twbs/bootstrap/issues",
"source": "https://github.com/twbs/bootstrap/tree/v5.3.2"
},
"install-path": "../twbs/bootstrap"
},
{
"name": "twbs/bootstrap-icons",
"version": "v1.11.1",
"version_normalized": "1.11.1.0",
"source": {
"type": "git",
"url": "https://github.com/twbs/icons.git",
"reference": "8d7bc695fb407627378cb184976b348e6a128d59"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/twbs/icons/zipball/8d7bc695fb407627378cb184976b348e6a128d59",
"reference": "8d7bc695fb407627378cb184976b348e6a128d59",
"shasum": ""
},
"time": "2023-09-17T14:09:28+00:00",
"type": "library",
"installation-source": "dist",
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Mark Otto",
"email": "markdotto@gmail.com"
}
],
"description": "Official open source SVG icon library for Bootstrap",
"homepage": "https://icons.getbootstrap.com/",
"keywords": [
"bootstrap",
"icon font",
"icons",
"svg"
],
"support": {
"issues": "https://github.com/twbs/icons/issues",
"source": "https://github.com/twbs/icons/tree/v1.11.1"
},
"install-path": "../twbs/bootstrap-icons"
},
{
"name": "twig/twig",
"version": "v3.7.1",
Expand Down
28 changes: 26 additions & 2 deletions vendor/composer/installed.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
'name' => 'poweradmin/poweradmin',
'pretty_version' => 'dev-master',
'version' => 'dev-master',
'reference' => '22fa1db649e5a836decf69d71fbb3d12f44b5c20',
'reference' => '5de90c5001be880adfd6b5a339f16c2194a530ca',
'type' => 'project',
'install_path' => __DIR__ . '/../../',
'aliases' => array(),
Expand Down Expand Up @@ -103,7 +103,7 @@
'poweradmin/poweradmin' => array(
'pretty_version' => 'dev-master',
'version' => 'dev-master',
'reference' => '22fa1db649e5a836decf69d71fbb3d12f44b5c20',
'reference' => '5de90c5001be880adfd6b5a339f16c2194a530ca',
'type' => 'project',
'install_path' => __DIR__ . '/../../',
'aliases' => array(),
Expand Down Expand Up @@ -313,6 +313,24 @@
'aliases' => array(),
'dev_requirement' => true,
),
'twbs/bootstrap' => array(
'pretty_version' => 'v5.3.2',
'version' => '5.3.2.0',
'reference' => '344e912d04b5b6a04482113eff20ab416ff01048',
'type' => 'library',
'install_path' => __DIR__ . '/../twbs/bootstrap',
'aliases' => array(),
'dev_requirement' => false,
),
'twbs/bootstrap-icons' => array(
'pretty_version' => 'v1.11.1',
'version' => '1.11.1.0',
'reference' => '8d7bc695fb407627378cb184976b348e6a128d59',
'type' => 'library',
'install_path' => __DIR__ . '/../twbs/bootstrap-icons',
'aliases' => array(),
'dev_requirement' => false,
),
'twig/twig' => array(
'pretty_version' => 'v3.7.1',
'version' => '3.7.1.0',
Expand All @@ -322,6 +340,12 @@
'aliases' => array(),
'dev_requirement' => false,
),
'twitter/bootstrap' => array(
'dev_requirement' => false,
'replaced' => array(
0 => 'v5.3.2',
),
),
'vlucas/valitron' => array(
'pretty_version' => 'v1.4.11',
'version' => '1.4.11.0',
Expand Down
11 changes: 11 additions & 0 deletions vendor/twbs/bootstrap-icons/.browserslistrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# https://github.com/browserslist/browserslist#readme

>= 0.5%
last 2 major versions
not dead
Chrome >= 60
Firefox >= 60
Firefox ESR
iOS >= 12
Safari >= 12
not Explorer <= 11
11 changes: 11 additions & 0 deletions vendor/twbs/bootstrap-icons/.editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# editorconfig.org

root = true

[*]
charset = utf-8
end_of_line = lf
indent_size = 2
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true
4 changes: 4 additions & 0 deletions vendor/twbs/bootstrap-icons/.eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
**/*.min.js
**/dist/
**/vendor/
/_site/
34 changes: 34 additions & 0 deletions vendor/twbs/bootstrap-icons/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"root": true,
"env": {
"es6": true,
"node": true
},
"parserOptions": {
"ecmaVersion": 2020,
"sourceType": "module"
},
"extends": "eslint:recommended",
"rules": {
"no-return-await": "error",
"object-curly-spacing": [
"error",
"always"
],
"prefer-template": "error",
"semi": [
"error",
"never"
],
"strict": "error"
},
"overrides": [
{
"files": "docs/assets/js/**",
"env": {
"browser": true,
"node": false
}
}
]
}

0 comments on commit ef957aa

Please sign in to comment.