~fabrixxm/activist

ad611feb5002567e579e47fcd88dde06bb0563b3 — fabrixxm 7 months ago 9341c4c
UI: contacts view is public
2 files changed, 7 insertions(+), 2 deletions(-)

M activist/templates/f/footer-mobile.tpl.j2
M activist/templates/f/navbar-desktop.tpl.j2
M activist/templates/f/footer-mobile.tpl.j2 => activist/templates/f/footer-mobile.tpl.j2 +6 -0
@@ 15,6 15,12 @@
            <i class="icon i-log-out"></i>
        </a>
    {% else %}
        <span></span>
        
        <a href="{{ url_for('contacts') }}" class="btn btn-link {{ class({'active':request.endpoint == 'contacts'}) }}" title="Contacts">
            <i class="icon i-users"></i>
        </a>

        <a href="#login-modal" class="btn btn-lg btn-link" title="Login">
            <i class="icon i-key-round"></i>
        </a>

M activist/templates/f/navbar-desktop.tpl.j2 => activist/templates/f/navbar-desktop.tpl.j2 +1 -2
@@ 18,9 18,8 @@
        </form>
    </section>
    <section class="navbar-section">
        {% if g.user %}
            <a href="{{ url_for('contacts') }}" class="btn btn-link {{ class({'active':request.endpoint == 'contacts'}) }}">Contacts</a>

        {% if g.user %}
            <a href="{{ url_for('network') }}" class="btn btn-link {{ class({'active':request.endpoint == 'network'}) }}">Network</a>
            <a href="/logout" class="btn btn-link">Logout</a>