mirror of
https://github.com/mCaptcha/mCaptcha.git
synced 2026-02-11 10:05:41 +00:00
clickable logo
This commit is contained in:
16
Cargo.lock
generated
16
Cargo.lock
generated
@@ -2884,18 +2884,18 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "thiserror"
|
name = "thiserror"
|
||||||
version = "1.0.25"
|
version = "1.0.26"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "fa6f76457f59514c7eeb4e59d891395fab0b2fd1d40723ae737d64153392e9c6"
|
checksum = "93119e4feac1cbe6c798c34d3a53ea0026b0b1de6a120deef895137c0529bfe2"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"thiserror-impl",
|
"thiserror-impl",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "thiserror-impl"
|
name = "thiserror-impl"
|
||||||
version = "1.0.25"
|
version = "1.0.26"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "8a36768c0fbf1bb15eca10defa29526bda730a2376c2ab4393ccfa16fb1a318d"
|
checksum = "060d69a0afe7796bf42e9e2ff91f5ee691fb15c53d38b4b62a9a53eb23164745"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"proc-macro2",
|
"proc-macro2",
|
||||||
"quote",
|
"quote",
|
||||||
@@ -2967,9 +2967,9 @@ checksum = "cda74da7e1a664f795bb1f8a87ec406fb89a02522cf6e50620d016add6dbbf5c"
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "tokio"
|
name = "tokio"
|
||||||
version = "1.7.1"
|
version = "1.8.0"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "5fb2ed024293bb19f7a5dc54fe83bf86532a44c12a2bb8ba40d64a4509395ca2"
|
checksum = "570c2eb13b3ab38208130eccd41be92520388791207fde783bda7c1e8ace28d4"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"autocfg",
|
"autocfg",
|
||||||
"bytes",
|
"bytes",
|
||||||
@@ -3094,9 +3094,9 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "unicode-segmentation"
|
name = "unicode-segmentation"
|
||||||
version = "1.7.1"
|
version = "1.8.0"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "bb0d2e7be6ae3a5fa87eed5fb451aff96f2573d2694942e40543ae0bbe19c796"
|
checksum = "8895849a949e7845e06bd6dc1aa51731a103c42707010a5b591c0038fb73385b"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "unicode-xid"
|
name = "unicode-xid"
|
||||||
|
|||||||
@@ -38,7 +38,7 @@ my-codegen = {package = "actix-web-codegen", git ="https://github.com/realaravin
|
|||||||
|
|
||||||
mime_guess = "2.0.3"
|
mime_guess = "2.0.3"
|
||||||
rust-embed = "5.9.0"
|
rust-embed = "5.9.0"
|
||||||
cache-buster = { version = "0.2.0", git = "https://github.com/realaravinth/cache-buster" }
|
cache-buster = { git = "https://github.com/realaravinth/cache-buster" }
|
||||||
|
|
||||||
futures = "0.3.15"
|
futures = "0.3.15"
|
||||||
|
|
||||||
|
|||||||
@@ -29,7 +29,7 @@ a {
|
|||||||
}
|
}
|
||||||
|
|
||||||
li {
|
li {
|
||||||
// list-style: none;
|
// list-style: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
html {
|
html {
|
||||||
|
|||||||
@@ -3,9 +3,7 @@
|
|||||||
<main class="auth-main">
|
<main class="auth-main">
|
||||||
<div class="auth-inner-container">
|
<div class="auth-inner-container">
|
||||||
|
|
||||||
<img src="<.=
|
<. include!("../logo.html"); .>
|
||||||
crate::FILES.get("./static/cache/img/icon-trans.png").unwrap().>"
|
|
||||||
class="auth__logo" alt="mcaptcha logo" />
|
|
||||||
|
|
||||||
<form
|
<form
|
||||||
class="sitekey-form"
|
class="sitekey-form"
|
||||||
|
|||||||
5
templates/auth/logo.html
Normal file
5
templates/auth/logo.html
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
<a href="/" >
|
||||||
|
<img src="<.=
|
||||||
|
crate::FILES.get("./static/cache/img/icon-trans.png").unwrap().>"
|
||||||
|
class="auth__logo" alt="mcaptcha logo" />
|
||||||
|
</a>
|
||||||
@@ -1,10 +1,12 @@
|
|||||||
<nav class="secondary-menu">
|
<nav class="secondary-menu">
|
||||||
<input type="checkbox" class="nav-toggle" id="nav-toggle" >
|
<input type="checkbox" class="nav-toggle" id="nav-toggle" >
|
||||||
<div class="secondary-menu__heading">
|
<div class="secondary-menu__heading">
|
||||||
|
<a class="novisit" href="/">
|
||||||
<img class="secondary-menu__logo" src="<.= crate::FILES.get("./static/cache/img/icon-trans.png").unwrap() .>" alt="Logo" />
|
<img class="secondary-menu__logo" src="<.= crate::FILES.get("./static/cache/img/icon-trans.png").unwrap() .>" alt="Logo" />
|
||||||
<div class="secondary-menu__brand-name">
|
</a>
|
||||||
|
<a href="/" class="secondary-menu__brand-name">
|
||||||
mCaptcha
|
mCaptcha
|
||||||
</div>
|
</a>
|
||||||
<label class="nav__hamburger-menu"for="nav-toggle">
|
<label class="nav__hamburger-menu"for="nav-toggle">
|
||||||
<span></span>
|
<span></span>
|
||||||
<span></span>
|
<span></span>
|
||||||
|
|||||||
@@ -71,6 +71,10 @@
|
|||||||
font-size: 1.5rem;
|
font-size: 1.5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.secondary-menu__brand-name:visited {
|
||||||
|
color: $light-text;
|
||||||
|
}
|
||||||
|
|
||||||
.secondary-menu__item {
|
.secondary-menu__item {
|
||||||
margin: auto;
|
margin: auto;
|
||||||
list-style: none;
|
list-style: none;
|
||||||
|
|||||||
Reference in New Issue
Block a user