You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
780 B
HTML
26 lines
780 B
HTML
|
|
<script src="/static/js/main.js"></script>
|
|
{% include 'includes/web3.html' %}
|
|
{% if not current_user.is_authenticated %}
|
|
<script src="/static/js/vendor/metamask-onboarding-1.0.1.bundle.js"></script>
|
|
<script src="/static/js/metamask.js"></script>
|
|
{% endif %}
|
|
|
|
{% with messages = get_flashed_messages(with_categories=true) %}
|
|
{% if messages %}
|
|
<script src="/static/js/vendor/noty-3.2.0.js"></script>
|
|
<script type="text/javascript">
|
|
{% for category, message in messages %}
|
|
{% if category == None %}{% set category = 'info' %}{% endif %}
|
|
new Noty({
|
|
type: '{{ category }}',
|
|
theme: 'relax',
|
|
layout: 'topCenter',
|
|
text: '{{ message }}',
|
|
timeout: 4500
|
|
}).show();
|
|
{% endfor %}
|
|
</script>
|
|
{% endif %}
|
|
{% endwith %}
|