Summary Files Commits Branches @commit @diff @stats
path: root / public / security-headers.html
diff options
context:
space:
mode:
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>