/
base.html
179 lines (153 loc) · 6.44 KB
/
base.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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
{% load static %}
{% load i18n %}
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="keywords" content="Help people, animals and nature">
<meta name="description" content="The website is about people, animals and nature living together">
<meta property="og:url" content="https://kedi.uz/">
<meta property="og:site_name" content="kedi.uz">
<meta property="og:type" content="website" />
<meta name="twitter:site" content="@ubuntu" />
{% block meta %} {% endblock %}
<link rel="shortcut icon" type="image/png" href="{% static 'assets/images/favicon.png' %}" />
<link rel="stylesheet" href="{% static 'main.css' %}" />
<!-- Bootstrap -->
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-T3c6CoIi6uLrA9TneNEoa7RxnatzjcDSCmG1MXxSR1GAsXEV/Dwwykc2MPK8M2HN" crossorigin="anonymous">
{% block link_and_scripts %} {% endblock %}
<!-- Title -->
<title> {% block title%} Pro Sidebar {% endblock %} </title>
{% block style %} {% endblock %}
</head>
<body style="font-family: source sans pro,sans-serif;">
<nav class="navbar navbar-expand-lg navbar-light bg-light">
<div class="container-fluid">
<a class="navbar-brand" href="{% url 'common:home' %}">kedi.uz</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNavDropdown"
aria-controls="navbarNavDropdown" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarNavDropdown">
<ul class="navbar-nav">
<li class="nav-item">
<a class="nav-link active" aria-current="page" href="{% url 'common:home' %}">{% trans 'Home' %}</a>
</li>
<li class="nav-item">
<a class="nav-link" href="{% url 'common:about' %}">{% trans 'About' %}</a>
</li>
<li class="nav-item">
<a class="nav-link" href="{% url 'common:event' %}">{% trans 'Event' %}</a>
</li>
<form action="{% url 'set_language' %}" method="post">{% csrf_token %}
<input name="next" type="hidden" value="{{ redirect_to }}">
<select name="language">
{% get_current_language as LANGUAGE_CODE %}
{% get_available_languages as LANGUAGES %}
{% get_language_info_list for LANGUAGES as languages %}
{% for language in languages %}
<option value="{{ language.code }}" {% if language.code == LANGUAGE_CODE %} selected{% endif %}>
{{ language.name_local }} ({{ language.code }})
</option>
{% endfor %}
</select>
<input type="submit" value="Go">
</form>
</ul>
</div>
</div>
</nav>
{% block content %}
{% endblock %}
<footer class="text-center text-lg-start text-white" style="background-color: #45526e">
<!-- Grid container -->
<div class="container p-4 pb-0">
<!-- Section: Links -->
<section class="">
<!--Grid row-->
<div class="row">
<!-- Grid column -->
<div class="col-md-3 col-lg-3 col-xl-3 mx-auto mt-3">
<h6 class="text-uppercase mb-4 font-weight-bold">
Kedi.uz
</h6>
<p>
Find positions of cats that need your help
</p>
</div>
<!-- Grid column -->
<hr class="w-100 clearfix d-md-none" />
<!-- Grid column -->
<div class="col-md-2 col-lg-2 col-xl-2 mx-auto mt-3">
<h6 class="text-uppercase mb-4 font-weight-bold">Pages</h6>
<p>
<a class="nav-link" href="{% url 'common:home' %}">{% trans 'Home' %}</a>
</p>
<p>
<a class="nav-link" href="{% url 'common:about' %}">{% trans 'About' %}</a>
</p>
<p>
<a class="nav-link" href="{% url 'common:event' %}">{% trans 'Event' %}</a>
</p>
</div>
<!-- Grid column -->
<hr class="w-100 clearfix d-md-none" />
<!-- Grid column -->
<div class="col-md-3 col-lg-2 col-xl-2 mx-auto mt-3">
<h6 class="text-uppercase mb-4 font-weight-bold">
Useful links
</h6>
<p>
<a class="text-white" href="https://t.me/kediuz">Telegram Group</a>
</p>
</div>
<!-- Grid column -->
<hr class="w-100 clearfix d-md-none" />
<!-- Grid column -->
<!-- <div class="col-md-4 col-lg-3 col-xl-3 mx-auto mt-3">
<h6 class="text-uppercase mb-4 font-weight-bold">Contact</h6>
<p><i class="fas fa-home mr-3"></i> New York, NY 10012, US</p>
<p><i class="fas fa-envelope mr-3"></i> info@gmail.com</p>
<p><i class="fas fa-phone mr-3"></i> + 01 234 567 88</p>
<p><i class="fas fa-print mr-3"></i> + 01 234 567 89</p>
</div> -->
<!-- Grid column -->
</div>
<!--Grid row-->
</section>
<!-- Section: Links -->
<hr class="my-3">
<!-- Section: Copyright -->
<section class="p-3 pt-0">
<div class="row d-flex align-items-center">
<!-- Grid column -->
<div class="col-md-7 col-lg-8 text-center text-md-start">
<!-- Copyright -->
<div class="p-3">
© 2024 Copyright:
</div>
<!-- Copyright -->
</div>
<!-- Grid column -->
<!-- Grid column -->
<div class="col-md-5 col-lg-4 ml-lg-0 text-center text-md-end">
<!-- Telegram -->
<a class="btn btn-outline-light btn-floating m-1" class="text-white" role="button"
href="https://t.me/kediuz"><i class="fab fa-telegram"></i></a>
</div>
<!-- Grid column -->
</div>
</section>
<!-- Section: Copyright -->
</div>
<!-- Grid container -->
</footer>
</body>
<script src="{% static 'main.js' %}"></script>
<!-- Bootstrap JS -->
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js"
integrity="sha384-C6RzsynM9kWDrMNeT87bh95OGNyZPhcTNXj1NW7RuBCsyN/o0jlpcV8Qyq46cDfL" crossorigin="anonymous"></script>
<script src="https://kit.fontawesome.com/0e35ab6147.js" crossorigin="anonymous"></script>
</html>