-
Notifications
You must be signed in to change notification settings - Fork 79
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add HTML linting to
pre-commit
(#968)
## Fixes issue #239 ## Description of Changes I added `djlint` linting to the `pre-commit` script and made the corresponding changes. ## Tests and linting - [x] This branch is up-to-date with the `develop` branch. - [x] `pytest` passes on my local development environment. - [x] `pre-commit` passes on my local development environment.
- Loading branch information
1 parent
7be3e2f
commit eb84c13
Showing
34 changed files
with
305 additions
and
283 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
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 |
---|---|---|
|
@@ -54,28 +54,28 @@ | |
<span class="icon-bar"></span> | ||
<span class="icon-bar"></span> | ||
</button> | ||
<a class="navbar-link navbar-brand" href="/">OpenOversight</a> | ||
<a class="navbar-link navbar-brand" href="{{ url_for("main.index") }}">OpenOversight</a> | ||
</div> | ||
<div id="navbar" class="navbar-collapse collapse"> | ||
<ul class="nav navbar-nav"> | ||
<li> | ||
<a class="navbar-link" href="/browse">Browse</a> | ||
<a class="navbar-link" href="{{ url_for("main.browse") }}">Browse</a> | ||
</li> | ||
<li> | ||
<a class="navbar-link" href="/find">Find an Officer</a> | ||
<a class="navbar-link" href="{{ url_for("main.get_officer") }}">Find an Officer</a> | ||
</li> | ||
<li> | ||
<a class="navbar-link" href="/submit">Submit Images</a> | ||
<a class="navbar-link" href="{{ url_for("main.submit_data") }}">Submit Images</a> | ||
</li> | ||
<li> | ||
<a class="navbar-link" href="/label">Volunteer</a> | ||
<a class="navbar-link" href="{{ url_for("main.get_started_labeling") }}">Volunteer</a> | ||
</li> | ||
<li> | ||
<a class="navbar-link" href="/about">About</a> | ||
<a class="navbar-link" href="{{ url_for("main.about_oo") }}">About</a> | ||
</li> | ||
{% if current_user and current_user.is_administrator %} | ||
<li> | ||
<a class="navbar-link" href="/auth/users">Users</a> | ||
<a class="navbar-link" href="{{ url_for("auth.get_users") }}">Users</a> | ||
</li> | ||
{% endif %} | ||
</ul> | ||
|
@@ -154,7 +154,7 @@ <h5>Contact</h5> | |
<a href="https://github.com/lucyparsons/openoversight"><i class="fa fa-github fa-3x social"></i></a> | ||
<a href="mailto:[email protected]"><i class="fa fa-envelope-square fa-3x social"></i></a> | ||
<br> | ||
<a href="/privacy" class="btn">Privacy Policy</a> | ||
<a href="{{ url_for("main.privacy_oo") }}" class="btn">Privacy Policy</a> | ||
</p> | ||
</div> | ||
<div class="col-sm-4"> | ||
|
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
Oops, something went wrong.