Commit cd7c9e5d authored by Jakob Moser's avatar Jakob Moser
Browse files

Remove security status badge

parent bbd7c500
Loading
Loading
Loading
Loading
+0 −21
Original line number Diff line number Diff line
@@ -38,25 +38,6 @@
            <h1>Technik-Status</h1>
        </header>
        <div class="content">
            <label>
                <input type="checkbox" id="show-security-status"/>
                Sicherheits-Status anzeigen
            </label>
            <script>
                const securityCheckbox = document.getElementById("show-security-status")

                function updateSecurityShown() {
                    const article = document.querySelector("article")
                    if(securityCheckbox.checked) {
                        article.classList.add("security-shown")
                    } else {
                        article.classList.remove("security-shown")
                    }
                }
                securityCheckbox.oninput = updateSecurityShown
                updateSecurityShown()
            </script>

            <h2>Öffentliche Dienste</h2>
            <section id="public"></section>
           
@@ -132,8 +113,6 @@
            services.forEach(service => {
                const p = document.createElement("p")
                p.appendChild(createStatusBadge(service.prefix))
                p.append(" ")
                p.appendChild(createSecurityHeadersBadge(service.prefix))
                document.getElementById(service.category).appendChild(p)
            })
        </script>