-
Notifications
You must be signed in to change notification settings - Fork 840
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
30 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,17 +7,22 @@ | |
{% endblock %} | ||
<title>Title</title> | ||
{% load static %} | ||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" integrity="sha384-xOolHFLEh07PJGoPkLv1IbcEPTNtaed2xpHsD9ESMhqIYd0nLMwNLD69Npy4HI+N" crossorigin="anonymous"> | ||
<link rel="stylesheet" href="{% static 'css/style.css'%}"> | ||
</head> | ||
<body> | ||
<div class="sidebar"> | ||
{% block sidebar %} | ||
{% include "includes/sidebar.html" %} | ||
{% endblock %} | ||
</div> | ||
<div class="content"> | ||
{% block content %} | ||
{% endblock %} | ||
<div class="container-fluid"> | ||
<div class="row"> | ||
<div class="col-sm-3"> | ||
{% block sidebar %} | ||
{% include "includes/sidebar.html" %} | ||
{% endblock %} | ||
</div> | ||
<div class="col-sm-9"> | ||
{% block content %} | ||
{% endblock %} | ||
</div> | ||
</div> | ||
</div> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
<ul> | ||
<li> | ||
<a href="#">Home page</a> | ||
</li> | ||
<li> | ||
<a href="#">Manufacturers</a> | ||
</li> | ||
<li> | ||
<a href="#">Cars</a> | ||
</li> | ||
<li> | ||
<a href="#">Drivers</a> | ||
</li> | ||
<li> | ||
<a href="#">Home page</a> | ||
</li> | ||
<li> | ||
<a href="#">Manufacturers</a> | ||
</li> | ||
<li> | ||
<a href="#">Cars</a> | ||
</li> | ||
<li> | ||
<a href="#">Drivers</a> | ||
</li> | ||
</ul> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
{% extends "base.html" %} | ||
{% block content %} | ||
<ul> | ||
<li>Number of cars: {{ num_cars }}</li> | ||
<li>Number of drivers: {{ num_divers }}</li> | ||
<li>Number of manufacturers: {{ num_manufacturers }}</li> | ||
</ul> | ||
<ul> | ||
<li>Number of cars: {{ num_cars }}</li> | ||
<li>Number of drivers: {{ num_divers }}</li> | ||
<li>Number of manufacturers: {{ num_manufacturers }}</li> | ||
</ul> | ||
{% endblock %} |