'Airgapping' web assets for security and preventing breakage (#227)

This commit is contained in:
Chris F Ravenscroft
2021-10-20 12:07:42 -07:00
committed by GitHub
parent 7faac6df69
commit de3d1cec1c
10 changed files with 67 additions and 9 deletions
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -3,5 +3,5 @@ package assets
import "embed"
// Content is the embedded assets.
//go:embed *.tgz glauth.* *.html
//go:embed *.tgz js/* css/* *.html
var Content embed.FS
+8 -8
View File
@@ -9,9 +9,9 @@
<title>GLAuth Status</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap-theme.min.css">
<link rel="stylesheet" href="assets/glauth.css">
<link rel="stylesheet" href="assets/css/bootstrap.min.css">
<link rel="stylesheet" href="assets/css/bootstrap-theme.min.css">
<link rel="stylesheet" href="assets/css/glauth.css">
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
@@ -92,10 +92,10 @@
<tbody>
</script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/handlebars.js/2.0.0/handlebars.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.8.3/moment-with-locales.min.js"></script>
<script src="assets/glauth.js"></script>
<script src="assets/js/jquery.min.js"></script>
<script src="assets/js/bootstrap.min.js"></script>
<script src="assets/js/handlebars.min.js"></script>
<script src="assets/js/moment-with-locales.min.js"></script>
<script src="assets/js/glauth.js"></script>
</body>
</html>
File diff suppressed because one or more lines are too long
+28
View File
File diff suppressed because one or more lines are too long
+4
View File
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long