-
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.
Merge pull request #125 from forza-mor-rotterdam/develop
develop -> main
- Loading branch information
Showing
57 changed files
with
10,876 additions
and
5,121 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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"ignore": "H006, H013, H023" | ||
} |
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 @@ | ||
ENVIRONMENT=development | ||
APP_ENV=productie | ||
|
||
DJANGO_SECRET_KEY=secret_key | ||
|
||
|
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,26 +1,52 @@ | ||
repos: | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v4.5.0 | ||
hooks: | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v4.5.0 | ||
hooks: | ||
- id: check-yaml | ||
- id: end-of-file-fixer | ||
- id: trailing-whitespace | ||
- id: detect-private-key | ||
- repo: https://github.com/humitos/mirrors-autoflake.git | ||
rev: v1.1 | ||
hooks: | ||
- repo: https://github.com/humitos/mirrors-autoflake.git | ||
rev: v1.1 | ||
hooks: | ||
- id: autoflake | ||
args: ['--in-place', '--remove-all-unused-imports', '--remove-unused-variable'] | ||
- repo: https://github.com/timothycrosley/isort | ||
rev: '5.12.0' | ||
hooks: | ||
args: | ||
[ | ||
"--in-place", | ||
"--remove-all-unused-imports", | ||
"--remove-unused-variable", | ||
] | ||
- repo: https://github.com/timothycrosley/isort | ||
rev: "5.13.2" | ||
hooks: | ||
- id: isort | ||
- repo: https://github.com/ambv/black | ||
rev: '23.10.1' | ||
hooks: | ||
- repo: https://github.com/ambv/black | ||
rev: "23.10.1" | ||
hooks: | ||
- id: black | ||
language_version: python3 | ||
- repo: https://github.com/pycqa/flake8 | ||
rev: '6.1.0' | ||
hooks: | ||
- repo: https://github.com/pycqa/flake8 | ||
rev: "6.1.0" | ||
hooks: | ||
- id: flake8 | ||
- repo: https://github.com/pre-commit/mirrors-prettier | ||
rev: "v3.0.3" | ||
hooks: | ||
- id: prettier | ||
additional_dependencies: | ||
- prettier@3.0.3 | ||
files: '\.(js|ts|jsx|tsx|scss|css)$' | ||
- repo: https://github.com/djlint/djLint | ||
rev: v1.34.1 | ||
hooks: | ||
- id: djlint-reformat-django | ||
- id: djlint-django | ||
args: ["--ignore", "H006,H013,H023"] | ||
- repo: https://github.com/pre-commit/mirrors-eslint | ||
rev: 'v8.56.0' | ||
hooks: | ||
- id: eslint | ||
additional_dependencies: | ||
- eslint@8.57.0 | ||
- eslint-config-prettier@9.1.0 | ||
- eslint-plugin-prettier@5.1.3 |
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 |
---|---|---|
@@ -0,0 +1,94 @@ | ||
<!DOCTYPE html> | ||
<html lang="nl"> | ||
<head> | ||
<title> | ||
{% block title %} | ||
System status | ||
{% endblock title %} | ||
</title> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
<meta name="description" | ||
content="Serviceformulier voor Begraven en Cremeren meldingen op de MOR-keten"> | ||
<meta name="keywords" | ||
content="MOR, Meldingen openbare ruimte, gemeente Rotterdam, MBC, begraven en cremeren"> | ||
<meta name="robots" content="noindex"> | ||
<style> | ||
html, body { | ||
margin: 0 auto; | ||
font-family: sans-serif; | ||
line-height: 1.5; | ||
max-width: 900px; | ||
} | ||
|
||
h1 { | ||
text-align: center; | ||
margin: 10px; | ||
font-weight: lighter; | ||
} | ||
|
||
table { | ||
border-collapse: collapse; | ||
width: 100%; | ||
text-align: left; | ||
} | ||
|
||
table tr:nth-child(2n) { | ||
background-color: #f1f1f1; | ||
} | ||
|
||
td, th { | ||
padding: 8px; | ||
} | ||
|
||
.align-right { | ||
text-align: right; | ||
} | ||
|
||
table thead { | ||
background-color: lightskyblue; | ||
} | ||
|
||
table .icons { | ||
text-align: center; | ||
width: 50px; | ||
} | ||
</style> | ||
{% block extra_head %} | ||
{% endblock extra_head %} | ||
</head> | ||
<body> | ||
{% block content %} | ||
<h1>System status</h1> | ||
<small>Git sha: {{ GIT_SHA }}</small> | ||
{% if DEPLOY_DATE %} | ||
<br /> | ||
<small>Deploy date: {{ DEPLOY_DATE }}</small> | ||
{% endif %} | ||
<table> | ||
<thead> | ||
<th colspan="2">Service</th> | ||
<th>Status</th> | ||
<th class="align-right">Time Taken</th> | ||
</thead> | ||
<tbody> | ||
{% for plugin in plugins %} | ||
<tr> | ||
<td class="icons"> | ||
<span aria-hidden="true"> | ||
{% if plugin.status %} | ||
✅ | ||
{% else %} | ||
❌ | ||
{% endif %} | ||
</span> | ||
</td> | ||
<td>{{ plugin.identifier }}</td> | ||
<td>{{ plugin.pretty_status | linebreaks }}</td> | ||
<td class="align-right">{{ plugin.time_taken|floatformat:4 }} seconds</td> | ||
</tr> | ||
{% endfor %} | ||
</tbody> | ||
</table> | ||
{% endblock content %} | ||
</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
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,17 +1,16 @@ | ||
{% extends 'base.html' %} | ||
{% block title %}404 Pagina niet gevonden{% endblock %} | ||
|
||
{% extends "base.html" %} | ||
{% block title %} | ||
404 Pagina niet gevonden | ||
{% endblock title %} | ||
{% block javascripts %} | ||
{% endblock %} | ||
|
||
{% endblock javascripts %} | ||
{% block body %} | ||
<div> | ||
<section class="section--seperated"> | ||
<div class="container__details"> | ||
<h1>De pagina is niet gevonden</h1> | ||
<strong>404</strong> | ||
</div> | ||
</section> | ||
|
||
</div> | ||
{% endblock %} | ||
<div> | ||
<section class="section--seperated"> | ||
<div class="container__details"> | ||
<h1>De pagina is niet gevonden</h1> | ||
<strong>404</strong> | ||
</div> | ||
</section> | ||
</div> | ||
{% endblock body %} |
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,17 +1,16 @@ | ||
{% extends 'base.html' %} | ||
{% block title %}500 Er ging iets mis{% endblock %} | ||
|
||
{% extends "base.html" %} | ||
{% block title %} | ||
500 Er ging iets mis | ||
{% endblock title %} | ||
{% block javascripts %} | ||
{% endblock %} | ||
|
||
{% endblock javascripts %} | ||
{% block body %} | ||
<div> | ||
<section class="section--seperated"> | ||
<div class="container__details"> | ||
<h1>Er ging iets mis!</h1> | ||
<strong>500</strong> | ||
</div> | ||
</section> | ||
|
||
</div> | ||
{% endblock %} | ||
<div> | ||
<section class="section--seperated"> | ||
<div class="container__details"> | ||
<h1>Er ging iets mis!</h1> | ||
<strong>500</strong> | ||
</div> | ||
</section> | ||
</div> | ||
{% endblock body %} |
Oops, something went wrong.