Summary Files Commits Branches @commit @diff @stats
path: root / public / security-headers.html
diff options
context:
space:
mode:
Commit8341db30cae82f48eb46d3980c8694e20a17e4b5 (patch)
Author
 Syndamia <kamen@syndamia.com>
2023-01-17 18:29:33 +0200
Committer
 Syndamia <kamen@syndamia.com>
2023-01-17 18:29:33 +0200
Files99886004107467d89ba243fbf6078da0436489e7 /public/security-headers.html
web-buttons-8341db30cae82f48eb46d3980c8694e20a17e4b5.tar
web-buttons-8341db30cae82f48eb46d3980c8694e20a17e4b5.tar.gz
web-buttons-8341db30cae82f48eb46d3980c8694e20a17e4b5.zip
Parent9c644b0ed556614ed1f5b04d63e47d1a8bc2ca87 (diff)
[sh] Added security headers with rating A+
1 files changed, 53 insertions, 0 deletions
-rw-r--r--public/security-headers.html53
diff --git a/public/security-headers.html b/public/security-headers.html
new file mode 100644
index 0000000..bf3931e
--- /dev/null
+++ b/public/security-headers.html
@@ -0,0 +1,53 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <title>Security Headers button</title>
+ <link rel="stylesheet" href="https://syndamia.gitlab.io/web-buttons/common-styles.css" crossorigin="anonymous">
+<style>
+* {
+}
+#button {
+ background: #DEF;
+ border: 2px outset #A8C0C1;
+ width: 100px;
+ padding: 2px;
+}
+#button > * {
+ height: 31px;
+}
+#sh-title {
+ float: left;
+ font: 12px sans-serif;
+ color: #444;
+ font-weight: 700;
+ padding: 2px;
+}
+#score {
+ color: white;
+ background-color: #34af00;
+ float: right;
+ font: 18px Arial;
+ font-weight: 700 !important;
+ height: 31px;
+ width: 31px;
+ text-align: center;
+ padding-top: 4px;
+ border-radius: 5px;
+ border: 2px solid #309d00;
+}
+</style>
+ </head>
+ <body>
+ <div id="button" class="button-x39">
+ <div id="sh-title">
+ Security<br>Headers
+ </div>
+ <div id="score">
+ A+
+ </div>
+ </div>
+ <br>
+ <script src="./dom-to-image/src/dom-to-image.js"></script>
+ <script src="./simple-image.js"></script>
+ </body>
+</html>