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