-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
- Loading branch information
1 parent
e7ac7ff
commit a023afa
Showing
11 changed files
with
34 additions
and
0 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
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,12 +1,15 @@ | ||
{% extends "base.html" %} | ||
|
||
{% load django_simple_nav %} | ||
|
||
{% block extra_head %} | ||
<style> | ||
.active { | ||
font-weight: bold; | ||
} | ||
</style> | ||
{% endblock extra_head %} | ||
|
||
{% block nav %} | ||
{% django_simple_nav "navigation.BasicNav" %} | ||
{% endblock nav %} |
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,5 +1,7 @@ | ||
{% extends "base.html" %} | ||
|
||
{% load django_simple_nav %} | ||
|
||
{% block extra_head %} | ||
<link rel="stylesheet" | ||
href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" | ||
|
@@ -15,6 +17,7 @@ | |
integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" | ||
crossorigin="anonymous"></script> | ||
{% endblock extra_head %} | ||
|
||
{% block nav %} | ||
{% django_simple_nav "navigation.Bootstrap4Nav" %} | ||
{% endblock nav %} |
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,5 +1,7 @@ | ||
{% extends "base.html" %} | ||
|
||
{% load django_simple_nav %} | ||
|
||
{% block extra_head %} | ||
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" | ||
rel="stylesheet" | ||
|
@@ -9,6 +11,7 @@ | |
integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz" | ||
crossorigin="anonymous"></script> | ||
{% endblock extra_head %} | ||
|
||
{% block nav %} | ||
{% django_simple_nav "navigation.Bootstrap5Nav" "navs/bootstrap5.html" %} | ||
{% endblock nav %} |
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,12 +1,15 @@ | ||
{% extends "base.html" %} | ||
|
||
{% load django_simple_nav %} | ||
|
||
{% block extra_head %} | ||
<style> | ||
[data-foo="bar"] { | ||
background-color: red; | ||
} | ||
</style> | ||
{% endblock extra_head %} | ||
|
||
{% block nav %} | ||
{% django_simple_nav "navigation.ExtraContextNav" %} | ||
{% endblock nav %} |
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,4 +1,5 @@ | ||
{% load django_simple_nav %} | ||
|
||
<nav> | ||
<ul> | ||
{% for item in items %} | ||
|
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
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,12 +1,15 @@ | ||
{% extends "base.html" %} | ||
|
||
{% load django_simple_nav %} | ||
|
||
{% block extra_head %} | ||
<style> | ||
.active { | ||
font-weight: bold; | ||
} | ||
</style> | ||
{% endblock extra_head %} | ||
|
||
{% block nav %} | ||
{% django_simple_nav "navigation.NestedNav" %} | ||
{% endblock nav %} |
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
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,9 +1,12 @@ | ||
{% extends "base.html" %} | ||
|
||
{% load django_simple_nav %} | ||
|
||
{% block extra_head %} | ||
<link rel="stylesheet" | ||
href="https://cdn.jsdelivr.net/npm/@picocss/pico@2/css/pico.min.css" /> | ||
{% endblock extra_head %} | ||
|
||
{% block nav %} | ||
{% django_simple_nav "navigation.PicoCSSNav" "navs/picocss.html" %} | ||
{% endblock nav %} |
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,5 +1,7 @@ | ||
{% extends "base.html" %} | ||
|
||
{% load django_simple_nav %} | ||
|
||
{% block nav %} | ||
{% django_simple_nav "navigation.TailwindMainNav" %} | ||
{% endblock nav %} |