mirror of
https://github.com/mCaptcha/mCaptcha.git
synced 2026-02-11 10:05:41 +00:00
upgrading to actix-v4-beta
This commit is contained in:
59
templates/email/components/footer/index.html
Normal file
59
templates/email/components/footer/index.html
Normal file
@@ -0,0 +1,59 @@
|
||||
<div>
|
||||
<hr />
|
||||
</div>
|
||||
<footer role="contentinfo" class="details__container">
|
||||
<div class="details__row1">
|
||||
<p class="details__copyright-text">© mCaptcha developers</p>
|
||||
<ul class="details">
|
||||
<li class="details__copyright"></li>
|
||||
|
||||
<li class="details__item">
|
||||
<a class="details__link" href="<.= crate::PKG_HOMEPAGE .>">Homepage</a>
|
||||
</li>
|
||||
<li class="details__item">
|
||||
<a
|
||||
class="details__link"
|
||||
href="<.= crate::PKG_HOMEPAGE .><.= crate::PAGES.about .>"
|
||||
>About</a
|
||||
>
|
||||
</li>
|
||||
<li class="details__item">
|
||||
<a
|
||||
class="details__link"
|
||||
href="<.= crate::PKG_HOMEPAGE .><.= crate::PAGES.privacy .>"
|
||||
>Privacy</a
|
||||
>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<ul class="details">
|
||||
<li class="details__item">
|
||||
<a
|
||||
class="details__link"
|
||||
href="<.= crate::PKG_HOMEPAGE .><.= crate::PAGES.security .>"
|
||||
>Security</a
|
||||
>
|
||||
</li>
|
||||
<li class="details__item">
|
||||
<a
|
||||
class="details__link"
|
||||
href="<.= crate::PKG_HOMEPAGE .><.= crate::PAGES.donate .>"
|
||||
>Donate</a
|
||||
>
|
||||
</li>
|
||||
|
||||
<li class="details__item">
|
||||
<a
|
||||
class="details__link"
|
||||
href="<.= crate::PKG_HOMEPAGE .><.= crate::PAGES.thanks .>"
|
||||
>Thanks</a
|
||||
>
|
||||
</li>
|
||||
<li class="details__item">
|
||||
<a class="details__link" href="<.= &*crate::SOURCE_FILES_OF_INSTANCE .>">
|
||||
v<.= crate::VERSION .>-<.= crate::GIT_COMMIT_HASH[0..8] .>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</footer>
|
||||
38
templates/email/components/footer/main.css
Normal file
38
templates/email/components/footer/main.css
Normal file
@@ -0,0 +1,38 @@
|
||||
.details__container {
|
||||
display: flex;
|
||||
font-size: 14px;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.details__copyright {
|
||||
font-size: 14px;
|
||||
flex: 2;
|
||||
}
|
||||
|
||||
.details {
|
||||
list-style: none;
|
||||
bottom: 0px;
|
||||
box-sizing: border-box;
|
||||
display: flex;
|
||||
font-size: 14px;
|
||||
margin: auto;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.details__item {
|
||||
margin: auto 10px;
|
||||
list-style: none;
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.details__link {
|
||||
color: rgb(3, 102, 214);
|
||||
}
|
||||
|
||||
.details__row1 {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.details__row1 > .details {
|
||||
flex: 1;
|
||||
}
|
||||
15
templates/email/css/base.css
Normal file
15
templates/email/css/base.css
Normal file
@@ -0,0 +1,15 @@
|
||||
* {
|
||||
font-family: Arial, Helvetica, sans-serif;
|
||||
background-color: #f0f0f0;
|
||||
}
|
||||
|
||||
.container {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
max-width: 450px;
|
||||
margin: auto;
|
||||
}
|
||||
|
||||
h1 {
|
||||
align-self: center;
|
||||
}
|
||||
1
templates/email/css/message-text.css
Normal file
1
templates/email/css/message-text.css
Normal file
@@ -0,0 +1 @@
|
||||
font-size: 1.2rem; font-weight: 500;
|
||||
4
templates/email/verification/css/verification__link.css
Normal file
4
templates/email/verification/css/verification__link.css
Normal file
@@ -0,0 +1,4 @@
|
||||
.verification__link {
|
||||
align-self: center;
|
||||
font-size: 1.2rem;
|
||||
}
|
||||
50
templates/email/verification/index.html
Normal file
50
templates/email/verification/index.html
Normal file
@@ -0,0 +1,50 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title><.= PAGE .> | <.= crate::pages::NAME .></title>
|
||||
<style type="text/css" media="screen">
|
||||
<. include!("../components/footer/main.css"); .>
|
||||
<. include!("../css/base.css"); .>
|
||||
<. include!("../css/message-text.css"); .>
|
||||
<. include!("./css/verification__link.css"); .>;
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<h1>
|
||||
Welcome to mCaptcha!
|
||||
</h1>
|
||||
<p class="message__text">
|
||||
Please verify your email address to continue.
|
||||
</p>
|
||||
<button class="button">
|
||||
Click here to verify
|
||||
</button>
|
||||
|
||||
<p class="message__text">
|
||||
If you were not able to see the verification button, click the following
|
||||
link:
|
||||
</p>
|
||||
|
||||
<a
|
||||
class="verification__link"
|
||||
href="<.= verification_link .>"
|
||||
target="_blank"
|
||||
><.= verification_link .></a
|
||||
>
|
||||
|
||||
<p class="message__text">
|
||||
The link expires in 15 minutes. Please ignore this email if you weren't
|
||||
expecting it.
|
||||
</p>
|
||||
|
||||
<p class="message__text">
|
||||
With best regards,<br />
|
||||
Admin<br />
|
||||
</p>
|
||||
<. include!("../components/footer/index.html"); .>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user