switch to toast notifications everywhere
This commit is contained in:
parent
8b66b40f0d
commit
fa93b59a8c
|
@ -24,7 +24,7 @@
|
||||||
|
|
||||||
{% block body %}
|
{% block body %}
|
||||||
<div class="toast-notifications-list-pf">
|
<div class="toast-notifications-list-pf">
|
||||||
{% include 'partials/messages.html' with toast=True %}
|
{% include 'partials/messages.html' %}
|
||||||
</div>
|
</div>
|
||||||
<div class="login-pf-page">
|
<div class="login-pf-page">
|
||||||
<div class="container-fluid">
|
<div class="container-fluid">
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
|
|
||||||
{% block body %}
|
{% block body %}
|
||||||
<div class="toast-notifications-list-pf">
|
<div class="toast-notifications-list-pf">
|
||||||
{% include 'partials/messages.html' with toast=True %}
|
{% include 'partials/messages.html' %}
|
||||||
</div>
|
</div>
|
||||||
<div class="login-pf-page login-pf-page-accounts">
|
<div class="login-pf-page login-pf-page-accounts">
|
||||||
<header class="login-pf-page-header">
|
<header class="login-pf-page-header">
|
||||||
|
|
|
@ -5,6 +5,9 @@
|
||||||
{% load is_active %}
|
{% load is_active %}
|
||||||
|
|
||||||
{% block body %}
|
{% block body %}
|
||||||
|
<div class="toast-notifications-list-pf">
|
||||||
|
{% include 'partials/messages.html' %}
|
||||||
|
</div>
|
||||||
<nav class="navbar navbar-default navbar-pf" role="navigation">
|
<nav class="navbar navbar-default navbar-pf" role="navigation">
|
||||||
<div class="navbar-header">
|
<div class="navbar-header">
|
||||||
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse-1">
|
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse-1">
|
||||||
|
@ -20,8 +23,8 @@
|
||||||
<div class="collapse navbar-collapse navbar-collapse-1">
|
<div class="collapse navbar-collapse navbar-collapse-1">
|
||||||
<ul class="nav navbar-nav navbar-utility">
|
<ul class="nav navbar-nav navbar-utility">
|
||||||
<li class="dropdown">
|
<li class="dropdown">
|
||||||
<button class="btn btn-link nav-item-iconic" id="horizontalDropdownMenu1" data-toggle="dropdown" aria-haspopup="true"
|
<button class="btn btn-link nav-item-iconic" id="horizontalDropdownMenu1" data-toggle="dropdown"
|
||||||
aria-expanded="true">
|
aria-haspopup="true" aria-expanded="true">
|
||||||
<span title="Help" class="fa pficon-help dropdown-title"></span>
|
<span title="Help" class="fa pficon-help dropdown-title"></span>
|
||||||
</button>
|
</button>
|
||||||
<ul class="dropdown-menu" aria-labelledby="horizontalDropdownMenu1">
|
<ul class="dropdown-menu" aria-labelledby="horizontalDropdownMenu1">
|
||||||
|
@ -66,9 +69,6 @@
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
<div class="container-fluid container-cards-pf">
|
<div class="container-fluid container-cards-pf">
|
||||||
<div class="container">
|
|
||||||
{% include 'partials/messages.html' %}
|
|
||||||
</div>
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{% if messages %}
|
{% if messages %}
|
||||||
{% for msg in messages %}
|
{% for msg in messages %}
|
||||||
<div class="{% if toast %}toast-pf{% endif %} alert alert-{{ msg.level_tag }}">
|
<div class="toast-pf alert alert-dismissable alert-{{ msg.level_tag }}">
|
||||||
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
|
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
|
||||||
<span class="pficon pficon-close"></span>
|
<span class="pficon pficon-close"></span>
|
||||||
</button>
|
</button>
|
||||||
|
@ -13,7 +13,7 @@
|
||||||
{% elif msg.level_tag == 'info' %}
|
{% elif msg.level_tag == 'info' %}
|
||||||
<span class="pficon pficon-info"></span>
|
<span class="pficon pficon-info"></span>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<strong>{{ msg.message|safe }}</strong>
|
{{ msg.message|safe }}
|
||||||
</div>
|
</div>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
Reference in New Issue