mirror of
https://github.com/simple-login/app.git
synced 2025-02-24 07:43:54 +08:00
use bouncer on custom alias page
This commit is contained in:
parent
722e38deb1
commit
e5926978c8
3 changed files with 25 additions and 5 deletions
|
@ -104,6 +104,9 @@
|
||||||
|
|
||||||
{% block script %}
|
{% block script %}
|
||||||
<script>
|
<script>
|
||||||
|
// init bouncer
|
||||||
|
new Bouncer('form');
|
||||||
|
|
||||||
$('.mailbox-select').multipleSelect();
|
$('.mailbox-select').multipleSelect();
|
||||||
|
|
||||||
// Ctrl-enter submit the form
|
// Ctrl-enter submit the form
|
||||||
|
|
13
static/style.css
vendored
13
static/style.css
vendored
|
@ -91,3 +91,16 @@ em {
|
||||||
.dns-record {
|
.dns-record {
|
||||||
border: 1px dotted #E3156A;
|
border: 1px dotted #E3156A;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Form Validation Errors
|
||||||
|
*/
|
||||||
|
.error {
|
||||||
|
border-color: red;
|
||||||
|
}
|
||||||
|
|
||||||
|
.error-message {
|
||||||
|
color: red;
|
||||||
|
font-style: italic;
|
||||||
|
margin-bottom: 1em;
|
||||||
|
}
|
|
@ -18,12 +18,13 @@
|
||||||
<meta name="referrer" content="no-referrer">
|
<meta name="referrer" content="no-referrer">
|
||||||
|
|
||||||
<!-- Bing -->
|
<!-- Bing -->
|
||||||
<meta name="msvalidate.01" content="2A313A69CBFD1A378C3B91734DC221A8" />
|
<meta name="msvalidate.01" content="2A313A69CBFD1A378C3B91734DC221A8"/>
|
||||||
|
|
||||||
<!-- Yandex -->
|
<!-- Yandex -->
|
||||||
<meta name="yandex-verification" content="c9e5d4d68bc983a1" />
|
<meta name="yandex-verification" content="c9e5d4d68bc983a1"/>
|
||||||
|
|
||||||
<meta name="description" content="Protect your email address with email ALIAS. Create a different email alias for each website. No more phishing, spams.">
|
<meta name="description"
|
||||||
|
content="Protect your email address with email ALIAS. Create a different email alias for each website. No more phishing, spams.">
|
||||||
|
|
||||||
<link rel="icon" href="/static/favicon.ico" type="image/x-icon"/>
|
<link rel="icon" href="/static/favicon.ico" type="image/x-icon"/>
|
||||||
<link rel="shortcut icon" type="image/x-icon" href="/static/favicon.ico"/>
|
<link rel="shortcut icon" type="image/x-icon" href="/static/favicon.ico"/>
|
||||||
|
@ -76,10 +77,13 @@
|
||||||
<script
|
<script
|
||||||
src="{{ url_for('static', filename='node_modules/multiple-select/dist/multiple-select.min.js') }}"></script>
|
src="{{ url_for('static', filename='node_modules/multiple-select/dist/multiple-select.min.js') }}"></script>
|
||||||
|
|
||||||
|
<!-- bouncer library -->
|
||||||
|
<script src="{{ url_for('static', filename='node_modules/formbouncerjs/dist/bouncer.js') }}"></script>
|
||||||
|
|
||||||
|
|
||||||
{% if PLAUSIBLE_HOST and PLAUSIBLE_DOMAIN %}
|
{% if PLAUSIBLE_HOST and PLAUSIBLE_DOMAIN %}
|
||||||
<!-- Plausible Analytics library -->
|
<!-- Plausible Analytics library -->
|
||||||
<script async defer data-domain=”{{PLAUSIBLE_DOMAIN}}” src=”{{PLAUSIBLE_HOST}}/js/plausible.js”></script>
|
<script async defer data-domain=”{{ PLAUSIBLE_DOMAIN }}” src=”{{ PLAUSIBLE_HOST }}/js/plausible.js”></script>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<link rel="stylesheet" href="{{ url_for('static', filename='darkmode.css') }}?v={{ VERSION }}">
|
<link rel="stylesheet" href="{{ url_for('static', filename='darkmode.css') }}?v={{ VERSION }}">
|
||||||
|
|
Loading…
Reference in a new issue