forked from PodcasterDJ/Podcaster
-
Notifications
You must be signed in to change notification settings - Fork 0
/
header.html
67 lines (59 loc) · 2.13 KB
/
header.html
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
{% load static %}
{% load i18n %}
{% load l10n %}
<!-- Header -->
<header class="header trans_400">
<!-- Logo -->
<div class="logo">
<a href="/">{% for el in page_description %}{% if el.name == 'title' %}{{el.content}}{% endif %}{% endfor %} </i></a>
</div>
<div class="container">
{% if messages %}
<ul class="messages">
{% for message in messages %}
<li {% if message.tags %} class="{{ message.tags }}"{% endif %}>
<div class="alert alert-success" role="alert">
{{message}}
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
</li>
{% endfor %}
</ul>
{% endif %}
<div class="row">
<div class="col">
<div class="header_content d-flex flex-row align-items-center justify-content-between trans_400">
<nav class="main_nav">
<ul class="d-flex flex-row align-items-end justify-content-end">
<li><a href="/">Home</a></li>
<li><a href="/podcasts">{% trans "Podcasts" %}</a></li>
<li><a href="/blog">{% trans "Blog" %}</a></li>
<li><a href="/about">{% trans "About" %}</a></li>
</ul>
</nav>
<nav class="main_nav">
<ul class="d-flex flex-row align-items-end justify-content-end">
<li><a class="lang_icon" href="/en-us/home"><img src="{% static 'icons/en.svg' %}" width="20px" /> {% trans "English" %}</a></li>
<li><a class="lang_icon" href="/es-es/home"><img src="{% static 'icons/es.svg' %}" width="20px" /> {% trans "Spanish" %}</a></li>
</ul>
</nav>
</div>
</div>
</div>
</div>
<!-- Submit & Social -->
<div class="header_right d-flex flex-row align-items-start justify-content-start">
<!-- Social -->
<div class="social">
<ul class="d-flex flex-row align-items-start justify-content-start">
{% for el in social_media %}
<li><a href="{{el.link}}"><i class="fa fa-{{el.name}}" aria-hidden="true"></i></a></li>
{% endfor %}
</ul>
</div>
<!-- Hamburger -->
<div class="hamburger"><i class="fa fa-bars" aria-hidden="true"></i></div>
</div>
</header>