aboutsummaryrefslogtreecommitdiffstats
path: root/src/templates/lfedge/base.html
blob: b8ed8c8b51f8e92914c9c8a21921df1f8bc30b27 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{% extends "base/base.html" %}
{% load staticfiles %}
{% block bgColor %}
<link rel="stylesheet" href="{% static "css/lfedge.css" %}">

<nav class="navbar navbar-light LFEdge navbar-fixed-top border-bottom py-0 mb-0" role="navigation">
{% endblock bgColor %}

{% block logo %}
<div class="barClamp col-12 col-sm order-1 order-sm-2 text-center text-lg-left">
    <a href="https://www.lfedge.org/" class="navbar-brand">
        <img src="{% static "img/lfedge-logo.png" %}" alt="lfedge logo">
    </a>

    <a class="wtext d-none d-lg-inline" href={% url 'dashboard:index' %}>
        Dashboard
    </a>
</div>
{% endblock logo %}
{% block userDropDownText %}
<a class="nav-link p-0 wtext p-2" data-toggle="dropdown" href="#">
    {% if request.user.username %}
        {{request.user.username}}
    {% else %}
        <i class="fas fa-user"></i>
    {% endif %}
    <i class="fas fa-caret-down rotate"></i>
</a>
{% endblock userDropDownText %}