mirror of
https://github.com/bunkerity/bunkerized-nginx
synced 2023-12-13 21:30:18 +01:00
login now use local font
This commit is contained in:
parent
7553ffb632
commit
ad71be4608
8
src/ui/static/css/login.css
Normal file
8
src/ui/static/css/login.css
Normal file
|
@ -0,0 +1,8 @@
|
|||
@font-face {
|
||||
font-family: "Open Sans";
|
||||
src: url("../webfonts/OpenSans.ttf");
|
||||
}
|
||||
|
||||
* {
|
||||
font-family: "Open Sans", sans-serif !important;
|
||||
}
|
BIN
src/ui/static/webfonts/OpenSans.ttf
Normal file
BIN
src/ui/static/webfonts/OpenSans.ttf
Normal file
Binary file not shown.
|
@ -8,12 +8,8 @@
|
|||
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
|
||||
<title>BunkerWeb UI</title>
|
||||
<link href="images/favicon.ico" rel="icon" type="image/x-icon" />
|
||||
<!-- Fonts and icons -->
|
||||
<link
|
||||
href="https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700"
|
||||
rel="stylesheet"
|
||||
/>
|
||||
<link rel="stylesheet" href="css/dashboard.css" />
|
||||
<link rel="stylesheet" href="css/login.css" />
|
||||
</head>
|
||||
<body>
|
||||
<div
|
||||
|
@ -221,7 +217,9 @@
|
|||
window.addEventListener("click", (e) => {
|
||||
try {
|
||||
if (
|
||||
e.target.closest("button").hasAttribute("data-close-flash-message")
|
||||
e.target
|
||||
.closest("button")
|
||||
.hasAttribute("data-close-flash-message")
|
||||
) {
|
||||
const closeBtn = e.target.closest("button");
|
||||
const flashEl = closeBtn.closest("[data-flash-message]");
|
||||
|
|
Loading…
Reference in a new issue