~fabrixxm/activist

40e947b61546c6644b15e8a0141af3586ec94551 — fabrixxm a month ago abc4d7e
ui: Close modals with link to "#" instead of "#close"
M activist/templates/admin/task-modal.tpl.j2 => activist/templates/admin/task-modal.tpl.j2 +2 -2
@@ 1,8 1,8 @@
<div class="modal modal-lg" id="task-detail-modal">
    <a href="#close" class="modal-overlay" aria-label="Close"></a>
    <a href="#" class="modal-overlay" aria-label="Close"></a>
    <div class="modal-container">
        <div class="modal-header">
            <a href="#close" class="btn btn-clear float-right" aria-label="Close"></a>
            <a href="#" class="btn btn-clear float-right" aria-label="Close"></a>
            <div class="modal-title h5">Details</div>
        </div>
        <div class="modal-body">

M activist/templates/base.html.j2 => activist/templates/base.html.j2 +3 -3
@@ 57,10 57,10 @@
<!-- modale login -->
{% if not g.user %}
<div class="modal" id="login-modal">
    <a href="#close" class="modal-overlay" aria-label="Close"></a>
    <a href="#" class="modal-overlay" aria-label="Close"></a>
    <form class="modal-container" method="post" action="{{ url_for('login') }}">
        <div class="modal-header">
            <a href="#close" class="btn btn-clear float-right" aria-label="Close"></a>
            <a href="#" class="btn btn-clear float-right" aria-label="Close"></a>
            <div class="modal-title h5">Login</div>
        </div>
        <div class="modal-body">


@@ 78,7 78,7 @@
</div>
{% else %}
<div class="modal" id="new-modal">
    <a href="#close" class="modal-overlay" aria-label="Close"></a>
    <a href="#" class="modal-overlay" aria-label="Close"></a>
    <div class="modal-container">
        <div class="modal-body">
            

M activist/templates/f/new/post.tpl.j2 => activist/templates/f/new/post.tpl.j2 +2 -2
@@ 1,6 1,6 @@
<form method="POST" action="{{ url_for('action') }}" class="modal-container" id="new-form">
    <div class="modal-header">
        <a href="#close" class="btn btn-clear float-right" title="Close"></a>
        <a href="#" class="btn btn-clear float-right" title="Close"></a>
        {%if inReplyTo %}
            <h6 class="modal-title">Reply to {{ inReplyTo.attributedTo.data.name }}'s {{ inReplyTo.type|lower }}</h6>
        {% else %}


@@ 21,7 21,7 @@
        })();</script>
    </div>
    <div class="modal-footer">
        <a href="#close" class="btn">Cancel</a>
        <a href="#" class="btn">Cancel</a>
        <button class="btn btn-primary" type="submit" name="action" value="{{ tab }}">Post</button>
    </div>
</form>
\ No newline at end of file