diff --git a/Dockerfile b/Dockerfile index 2251fe9..2372ab3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,6 +4,7 @@ COPY config/nginx.conf.template /etc/nginx/templates/ COPY ./html/ /usr/share/nginx/html/ ENV LKRP_UL_URL="https://lkrp-dev.micord.ru/ul/" -ENV LKRP_UL_LANDING="https://lkrp-dev.micord.ru/ul/home.html" +ENV LKRP_UL_LANDING="https://lkrp-dev.micord.ru/ul/home" ENV LKRP_FL_URL="https://lkrp-dev.micord.ru/fl/" -ENV LKRP_FL_LANDING="https://lkrp-dev.micord.ru/fl/home.html" +ENV LKRP_FL_LANDING="https://lkrp-dev.micord.ru/fl/home" +ENV LKRP_CRT_CHECK_URL="https://www.sberbank.ru/" diff --git a/html/browser_check.js b/html/browser_check.js deleted file mode 100644 index 7c4532b..0000000 --- a/html/browser_check.js +++ /dev/null @@ -1,3 +0,0 @@ -document.addEventListener("DOMContentLoaded", function(event) { - document.getElementById("browser-check-info").hidden = navigator.userAgent.indexOf("Chromium GOST") > -1 || navigator.userAgent.indexOf("YaBrowser") > -1; -}); diff --git a/html/css/inbox.css b/html/css/inbox.css index 9ed93db..72631a2 100644 --- a/html/css/inbox.css +++ b/html/css/inbox.css @@ -232,17 +232,17 @@ a.btn:is(:hover, :focus, :active) { margin-top: var(--indent-medium); } -.browser-check-content { +.cert-check-content { font-family: 'Golos'; font-size: var(--size-text-secondary); padding: var(--indent-mini) var(--w-screen) var(--indent-mini) calc(var(--w-screen) + 38px); background-color: var(--bg-warn); } -.browser-check-text { +.cert-check-text { position: relative; padding-left: 40px; } -.browser-check-text::before { +.cert-check-text::before { position: absolute; content: url(../img/svg/info.svg); left: 0; diff --git a/html/index.html b/html/index.html index 45e9a1d..c8a1569 100644 --- a/html/index.html +++ b/html/index.html @@ -7,7 +7,7 @@ - +
@@ -17,10 +17,10 @@