mirror of
https://github.com/mCaptcha/mCaptcha.git
synced 2025-03-14 13:08:27 +03:00
clickable logo
This commit is contained in:
parent
791935f245
commit
e1e1040ca9
7 changed files with 25 additions and 16 deletions
16
Cargo.lock
generated
16
Cargo.lock
generated
|
@ -2884,18 +2884,18 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "thiserror"
|
||||
version = "1.0.25"
|
||||
version = "1.0.26"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "fa6f76457f59514c7eeb4e59d891395fab0b2fd1d40723ae737d64153392e9c6"
|
||||
checksum = "93119e4feac1cbe6c798c34d3a53ea0026b0b1de6a120deef895137c0529bfe2"
|
||||
dependencies = [
|
||||
"thiserror-impl",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "thiserror-impl"
|
||||
version = "1.0.25"
|
||||
version = "1.0.26"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "8a36768c0fbf1bb15eca10defa29526bda730a2376c2ab4393ccfa16fb1a318d"
|
||||
checksum = "060d69a0afe7796bf42e9e2ff91f5ee691fb15c53d38b4b62a9a53eb23164745"
|
||||
dependencies = [
|
||||
"proc-macro2",
|
||||
"quote",
|
||||
|
@ -2967,9 +2967,9 @@ checksum = "cda74da7e1a664f795bb1f8a87ec406fb89a02522cf6e50620d016add6dbbf5c"
|
|||
|
||||
[[package]]
|
||||
name = "tokio"
|
||||
version = "1.7.1"
|
||||
version = "1.8.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "5fb2ed024293bb19f7a5dc54fe83bf86532a44c12a2bb8ba40d64a4509395ca2"
|
||||
checksum = "570c2eb13b3ab38208130eccd41be92520388791207fde783bda7c1e8ace28d4"
|
||||
dependencies = [
|
||||
"autocfg",
|
||||
"bytes",
|
||||
|
@ -3094,9 +3094,9 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "unicode-segmentation"
|
||||
version = "1.7.1"
|
||||
version = "1.8.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "bb0d2e7be6ae3a5fa87eed5fb451aff96f2573d2694942e40543ae0bbe19c796"
|
||||
checksum = "8895849a949e7845e06bd6dc1aa51731a103c42707010a5b591c0038fb73385b"
|
||||
|
||||
[[package]]
|
||||
name = "unicode-xid"
|
||||
|
|
|
@ -38,7 +38,7 @@ my-codegen = {package = "actix-web-codegen", git ="https://github.com/realaravin
|
|||
|
||||
mime_guess = "2.0.3"
|
||||
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"
|
||||
|
||||
|
|
|
@ -29,7 +29,7 @@ a {
|
|||
}
|
||||
|
||||
li {
|
||||
// list-style: none;
|
||||
// list-style: none;
|
||||
}
|
||||
|
||||
html {
|
||||
|
|
|
@ -3,10 +3,8 @@
|
|||
<main class="auth-main">
|
||||
<div class="auth-inner-container">
|
||||
|
||||
<img src="<.=
|
||||
crate::FILES.get("./static/cache/img/icon-trans.png").unwrap().>"
|
||||
class="auth__logo" alt="mcaptcha logo" />
|
||||
|
||||
<. include!("../logo.html"); .>
|
||||
|
||||
<form
|
||||
class="sitekey-form"
|
||||
method="POST"
|
||||
|
|
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">
|
||||
<input type="checkbox" class="nav-toggle" id="nav-toggle" >
|
||||
<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" />
|
||||
<div class="secondary-menu__brand-name">
|
||||
</a>
|
||||
<a href="/" class="secondary-menu__brand-name">
|
||||
mCaptcha
|
||||
</div>
|
||||
</a>
|
||||
<label class="nav__hamburger-menu"for="nav-toggle">
|
||||
<span></span>
|
||||
<span></span>
|
||||
|
|
|
@ -71,6 +71,10 @@
|
|||
font-size: 1.5rem;
|
||||
}
|
||||
|
||||
.secondary-menu__brand-name:visited {
|
||||
color: $light-text;
|
||||
}
|
||||
|
||||
.secondary-menu__item {
|
||||
margin: auto;
|
||||
list-style: none;
|
||||
|
|
Loading…
Add table
Reference in a new issue