Commit cc8bea74 authored by Leila's avatar Leila
Browse files

🚧

parent 1cba07a1
Pipeline #327 skipped
......@@ -5183,6 +5183,10 @@ button.close {
display: none !important; } }
.navbar-fixed-top {
background-color: #56CEE9; }
.navbar-fixed-top .navbar-header img {
float: left;
width: 50px;
height: 50px; }
.navbar-fixed-top .navbar-header a {
color: #fff; }
.navbar-fixed-top .navbar-header a:hover, .navbar-fixed-top .navbar-header a:focus {
......
......@@ -32,6 +32,7 @@
<nav class="navbar navbar-fixed-top">
<div class="container">
<div class="navbar-header">
<img class="logo-top" src="../static/img/logo.png">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
......@@ -44,13 +45,16 @@
<ul class="menu nav navbar-nav">
<li class="active"><a href="/">Home</a></li>
<li class="active"><a href="/">Post List</a></li>
<li class="active"><a href="/">Contact</a></li>
<li class="active"><a href="{% url 'contact' %}">Contact</a></li>
<li class="active"><a href="/">News</a></li>
</ul>
</div><!--/.nav-collapse -->
</div>
</nav>
{% block content %}
{% endblock %}
<footer class=" footer nav navbar-fixed-bottom">
<p>Designed by &nbsp <a href="http://levit.be">LevIT</a></p>
</footer>
......
{% extends "base.html" %}
{% load crispy_forms_tags %}
{% load staticfiles %}
{% block content %}
<div class="container">
<div class="contactus">
{% include 'jean_yves/ajax-contact.html' %}
</div>
</div>
{% endblock %}
\ No newline at end of file
......@@ -2,6 +2,13 @@
background-color: $brand-primary;
.navbar-header {
img {
float: left;
width: 50px;
height: 50px;
}
a {
color: $white;
}
......@@ -22,6 +29,7 @@
}
}
.footer {
height: 40px;
background-color: $brand-primary;
......
@import "../variables";
@import "bootstrap";
@import "custom";
@import "contact";
from django.conf.urls import include, url
from django.contrib import admin
from django.views.generic import TemplateView
from cuisine_entre_amis.views import ContactView
# from cuisine_entre_amis.views import HomeView
......@@ -11,4 +12,5 @@ urlpatterns = [
url(r'^$', TemplateView.as_view(template_name='base.html'), name='home'),
url(r'^admin/', include(admin.site.urls)),
url(r'^contact/$', ContactView.as_view(template_name='cuisine_entre_amis/contact.html'), name='contact'),
]
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment