Skip to content

Commit 62f1fc7

Browse files
author
Kristan Kenney
authored
Update default page templates - local CSS/JS libraries (hestiacp#196)
This removes the need to use external CSS/JS libraries throughout default page templates (fixes issues with LAN-only servers with no Internet connection) by providing a local copy of Bootstrap's CSS/JS and the Font Awesome libraries as part of the page templates.
1 parent 52e2f58 commit 62f1fc7

File tree

545 files changed

+306405
-250
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

545 files changed

+306405
-250
lines changed

install/debian/8/templates/web/skel/document_errors/403.html

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44
<meta charset="UTF-8">
55
<meta name="viewport" content="width=device-width, initial-scale=1.0">
66
<meta http-equiv="X-UA-Compatible" content="ie=edge">
7-
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.3.1/css/bootstrap.min.css">
8-
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.7.0/css/all.css">
9-
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.7.0/animate.min.css">
10-
<link rel="stylesheet" href="style.css">
7+
<link type="text/css" rel="stylesheet" href="css/bootstrap.min.css">
8+
<link type="text/css" rel="stylesheet" href="css/all.min.css">
9+
<link type="text/css" rel="stylesheet" href="css/animate.css">
10+
<link type="text/css" rel="stylesheet" href="css/style.css">
1111
<title>Access Denied</title>
1212
</head>
1313
<body>
@@ -27,8 +27,6 @@ <h1 class="animated fadeIn">Access Denied</h1>
2727
</div>
2828
</div>
2929

30-
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.slim.min.js"></script>
31-
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js"></script>
32-
<script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.3.1/js/bootstrap.min.js"></script>
30+
<script src="js/bootstrap.min.js"></script>
3331
</body>
3432
</html>

install/debian/8/templates/web/skel/document_errors/404.html

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44
<meta charset="UTF-8">
55
<meta name="viewport" content="width=device-width, initial-scale=1.0">
66
<meta http-equiv="X-UA-Compatible" content="ie=edge">
7-
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.3.1/css/bootstrap.min.css">
8-
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.7.0/css/all.css">
9-
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.7.0/animate.min.css">
10-
<link rel="stylesheet" href="style.css">
7+
<link type="text/css" rel="stylesheet" href="css/bootstrap.min.css">
8+
<link type="text/css" rel="stylesheet" href="css/all.min.css">
9+
<link type="text/css" rel="stylesheet" href="css/animate.css">
10+
<link type="text/css" rel="stylesheet" href="css/style.css">
1111
<title>Page Not Found</title>
1212
</head>
1313
<body>
@@ -27,8 +27,6 @@ <h1 class="animated fadeIn">Page Not Found</h1>
2727
</div>
2828
</div>
2929

30-
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.slim.min.js"></script>
31-
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js"></script>
32-
<script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.3.1/js/bootstrap.min.js"></script>
30+
<script src="js/bootstrap.min.js"></script>
3331
</body>
3432
</html>

install/debian/8/templates/web/skel/document_errors/50x.html

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44
<meta charset="UTF-8">
55
<meta name="viewport" content="width=device-width, initial-scale=1.0">
66
<meta http-equiv="X-UA-Compatible" content="ie=edge">
7-
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.3.1/css/bootstrap.min.css">
8-
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.7.0/css/all.css">
9-
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.7.0/animate.min.css">
10-
<link rel="stylesheet" href="style.css">
7+
<link type="text/css" rel="stylesheet" href="css/bootstrap.min.css">
8+
<link type="text/css" rel="stylesheet" href="css/all.min.css">
9+
<link type="text/css" rel="stylesheet" href="css/animate.css">
10+
<link type="text/css" rel="stylesheet" href="css/style.css">
1111
<title>Internal Server Error</title>
1212
</head>
1313
<body>
@@ -27,8 +27,6 @@ <h1 class="animated fadeIn">Internal Server Error</h1>
2727
</div>
2828
</div>
2929

30-
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.slim.min.js"></script>
31-
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js"></script>
32-
<script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.3.1/js/bootstrap.min.js"></script>
30+
<script src="js/bootstrap.min.js"></script>
3331
</body>
3432
</html>

install/debian/8/templates/web/skel/document_errors/css/all.min.css

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)