This repository has been archived by the owner on Jun 24, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9
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
25 changed files
with
161 additions
and
78 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 |
---|---|---|
|
@@ -8,7 +8,7 @@ jobs: | |
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/checkout@v3 | ||
|
||
- name: "Lint Code" | ||
uses: pre-commit/[email protected] | ||
|
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,22 +1,45 @@ | ||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> | ||
<html lang="fr"> | ||
<head> | ||
{% load static %} | ||
{% load i18n %} | ||
<meta http-equiv="content-type" content="text/html; charset=utf-8"> | ||
<title>Geocity</title> | ||
{% block stylesheets%} | ||
<link rel="stylesheet" type="text/css" href="{% static 'css/main.css' %}"> | ||
{% endblock %} | ||
</head> | ||
<body> | ||
<div class="error-page"> | ||
<p> | ||
<head> | ||
{% load static %} | ||
{% load i18n %} | ||
{% load bootstrap4 %} | ||
{% bootstrap_css %} | ||
<meta http-equiv="content-type" content="text/html; charset=utf-8"> | ||
<title>Geocity</title> | ||
{% block stylesheets%} | ||
<link rel="stylesheet" type="text/css" href="{% static 'css/main.css' %}"> | ||
{% endblock %} | ||
</head> | ||
<body class="d-flex flex-column min-vh-100"> | ||
<div class="container"> | ||
<p> | ||
<h1>Geocity</h1> | ||
<h2>{% trans "Trop de tentatives de connexion!" %}</h2> | ||
<h3>{% trans "Votre compte a été vérouillé par mesure de sécurité. Merci de contacter l'administrateur pour résoudre le problème" %}</h3> | ||
</p> | ||
<img src="{% static 'images/errors/lockout.svg'%}" type="image/gif"> | ||
<h3>{% trans "Votre compte a été verrouillé par mesure de sécurité. Merci de contacter l'administrateur pour résoudre le problème." %}</h3> | ||
</p> | ||
<img src="{% static 'images/errors/lockout.svg'%}" class="img-fluid" type="image/gif"> | ||
</div> | ||
</body> | ||
<footer class="flex-shrink-0 py-2 bg-light text-dark mt-auto"> | ||
<div class="container text-center"> | ||
<small> | ||
© {% now "Y" %} Geocity | ||
| | ||
<a href="https://geocity.ch/about" target="_blank" rel="noreferrer">{% trans "A propos" %}</a> | ||
{% if config.CONTACT_URL %} | ||
| | ||
<a href="{{ config.CONTACT_URL }}" target="_blank" rel="noreferrer">{% trans "Contact" %}</a> | ||
{% endif %} | ||
{% if config.GENERAL_CONDITIONS_URL %} | ||
| | ||
<a href="{{ config.GENERAL_CONDITIONS_URL }}" target="_blank" rel="noreferrer">{% trans "Conditions" %}</a> | ||
{% endif %} | ||
{% if config.PRIVACY_POLICY_URL %} | ||
| | ||
<a href="{{ config.PRIVACY_POLICY_URL }}" target="_blank" rel="noreferrer">{% trans "Confidentialité" %}</a> | ||
{% endif %} | ||
</small> | ||
</div> | ||
</footer> | ||
</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
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
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,8 @@ | ||
const button = document.getElementById("user_profile_edit"); | ||
const checkbox = document.getElementById("chk_accept_policy"); | ||
|
||
checkbox.addEventListener("click", () => { | ||
button.toggleAttribute("disabled"); | ||
}); | ||
|
||
button.toggleAttribute("disabled"); |
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
22 changes: 22 additions & 0 deletions
22
geocity/apps/reports/migrations/0022_alter_sectionparagraph_content.py
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,22 @@ | ||
# Generated by Django 4.1.7 on 2023-03-29 08:42 | ||
|
||
import ckeditor.fields | ||
from django.db import migrations | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("reports", "0021_remove_section_padding_top_and_more"), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name="sectionparagraph", | ||
name="content", | ||
field=ckeditor.fields.RichTextField( | ||
help_text='Il est possible d\'inclure des variables et de la logique avec la <a href="https://jinja.palletsprojects.com/en/3.1.x/templates/" target="_blank">syntaxe Jinja</a>. Les variables de la demande sont accessible dans `{{request_data}}`, celles du formulaire dans `{{form_data}}`, celles des transactions dans `{{transaction_data}}`.', | ||
verbose_name="Contenu", | ||
), | ||
), | ||
] |
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
Oops, something went wrong.