0.7.7
links for footer
This commit is contained in:
@@ -12,6 +12,9 @@ urlpatterns = [
|
|||||||
path('chat/<int:user_id>/', chat_w_user_View, name='chat_w_user'),
|
path('chat/<int:user_id>/', chat_w_user_View, name='chat_w_user'),
|
||||||
path('chat/', chat_w_user_View, name='chat_w_user_wo_user_id'),
|
path('chat/', chat_w_user_View, name='chat_w_user_wo_user_id'),
|
||||||
|
|
||||||
|
path('create_route_for_customer/', create_route_for_customer_View, name='create_route_for_customer_View'),
|
||||||
|
path('create_route_for_mover/', create_route_for_mover_View, name='create_route_for_mover_View'),
|
||||||
|
|
||||||
path('login/', login_View, name='login_profile'),
|
path('login/', login_View, name='login_profile'),
|
||||||
path('logout/', logout_View, name='logout_profile'),
|
path('logout/', logout_View, name='logout_profile'),
|
||||||
|
|
||||||
|
|||||||
@@ -22,6 +22,17 @@ def registration_View(request):
|
|||||||
return HttpResponse(t.render(Dict, request))
|
return HttpResponse(t.render(Dict, request))
|
||||||
|
|
||||||
|
|
||||||
|
def create_route_for_customer_View(request):
|
||||||
|
Dict = {}
|
||||||
|
t = loader.get_template('pages/profile/p_user_profile.html')
|
||||||
|
return HttpResponse(t.render(Dict, request))
|
||||||
|
|
||||||
|
|
||||||
|
def create_route_for_mover_View(request):
|
||||||
|
Dict = {}
|
||||||
|
t = loader.get_template('pages/profile/p_user_profile.html')
|
||||||
|
return HttpResponse(t.render(Dict, request))
|
||||||
|
|
||||||
|
|
||||||
@login_required(login_url='/profile/login/')
|
@login_required(login_url='/profile/login/')
|
||||||
def chat_w_user_View(request, user_id=None):
|
def chat_w_user_View(request, user_id=None):
|
||||||
|
|||||||
@@ -12,6 +12,10 @@ from datetime import datetime
|
|||||||
from .funcs import *
|
from .funcs import *
|
||||||
from .forms import *
|
from .forms import *
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
def route_search_results_View(request):
|
def route_search_results_View(request):
|
||||||
|
|
||||||
Dict = {}
|
Dict = {}
|
||||||
|
|||||||
@@ -20,10 +20,10 @@
|
|||||||
<div>Информация</div>
|
<div>Информация</div>
|
||||||
<div>
|
<div>
|
||||||
<div>
|
<div>
|
||||||
<div><a href="#">Перевезти посылку</a></div>
|
<div><a href="{% url 'create_route_for_mover_View' %}">Перевезти посылку</a></div>
|
||||||
<div><a href="#">Отправить посылку</a></div>
|
<div><a href="{% url 'create_route_for_customer_View' %}">Отправить посылку</a></div>
|
||||||
<div><a href="#">Для отправителя</a></div>
|
<div><a href="{% url 'static_page' 'mover_search' %}">Для отправителя</a></div>
|
||||||
<div><a href="{% url 'static_page' 'mover_search' %}">Для перевозчика</a></div>
|
<div><a href="{% url 'static_page' 'customer_search' %}">Для перевозчика</a></div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -31,12 +31,12 @@
|
|||||||
|
|
||||||
<div class="right-column">
|
<div class="right-column">
|
||||||
<div class="third-column">
|
<div class="third-column">
|
||||||
<div><a href="#">О Trip With Bonus</a href="#"></div>
|
<div><a href="{% url "static_page" "about_service" %}">О Trip With Bonus</a></div>
|
||||||
<div><a href="#">Новости</a></div>
|
<div><a href="{% url "articles" %}">Новости</a></div>
|
||||||
<div><a href="#">Партнерам</a></div>
|
<div><a href="{% url "static_page" "partners" %}">Партнерам</a></div>
|
||||||
<div><a href="{% url 'static_page' 'advertisement' %}">Реклама</a></div>
|
<div><a href="{% url 'static_page' 'advertisement' %}">Реклама</a></div>
|
||||||
<div><a href="#">Служба поддержки</a></div>
|
<div><a href="{% url 'static_page' 'customer_service' %}">Служба поддержки</a></div>
|
||||||
<div><a href="#">Контакты</a></div>
|
<div><a href="{% url 'static_page' 'contacts' %}">Контакты</a></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="four-column">
|
<div class="four-column">
|
||||||
|
|||||||
Reference in New Issue
Block a user