github.com/anth0d/nomad@v0.0.0-20221214183521-ae3a0a2cad06/website/public/ie-warning.js (about) 1 !(function () { 2 'use strict' 3 4 const el = document.createElement('div'); 5 el.innerHTML = 6 '<div class="ie-warning">' + 7 ' <p class="ie-warning-description">' + 8 ' Internet Explorer is no longer supported.' + 9 ' <a href="https://support.hashicorp.com/hc/en-us/articles/4416485547795">' + 10 ' Learn more.' + 11 ' </a>' + 12 ' </p>' + 13 '</div>' + 14 '<style>' + 15 ' .ie-warning {' + 16 ' background-color: #FCF0F2;' + 17 ' border-bottom: 1px solid #FFD4D6;' + 18 ' color: #BA2226;' + 19 ' text-align: center;' + 20 ' font-family: "Segoe UI", sans-serif;' + 21 ' font-weight: bold;' + 22 ' }' + 23 ' .ie-warning-description {' + 24 ' padding: 16px 0;' + 25 ' margin: 0;' + 26 ' color: #BA2226;' + 27 ' }' + 28 '</style>'; 29 30 document.body.insertBefore(el, document.body.childNodes[0]); 31 })();