Compare commits
6 Commits
bed2798751
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
| ca9641d378 | |||
| edd51efaeb | |||
| 2b997dcaeb | |||
| 17e1a87e89 | |||
| f68dbc91b9 | |||
| 096da141c3 |
@@ -2,6 +2,8 @@
|
||||
|
||||
Un set de composants utile pour les applications web.
|
||||
|
||||
Utilise bootstrap
|
||||
|
||||
---
|
||||
|
||||
## Installation
|
||||
|
||||
@@ -5,6 +5,7 @@ Dans le fichier template de base, ajouter :
|
||||
- `{% include 'orfeo_django_toolkit/orfeo_generic_confirmation_modal.html' %}`
|
||||
- `<script src="{% static 'orfeo_django_toolkit/js/orfeo_generic_confirmation_modal.js' %}"></script>`
|
||||
|
||||
Le script doit être importé après bootstrap
|
||||
|
||||
La modale générique peut maintenant être utilisé partout, avec des fonctions de cette forme :
|
||||
|
||||
|
||||
@@ -23,3 +23,9 @@ include-package-data = true
|
||||
|
||||
[tool.setuptools.packages.find]
|
||||
where = ["src"]
|
||||
|
||||
[tool.setuptools.package-data]
|
||||
orfeo_django_toolkit = [
|
||||
"templates/**/*",
|
||||
"static/**/*",
|
||||
]
|
||||
@@ -1,6 +1,6 @@
|
||||
from django.apps import AppConfig
|
||||
|
||||
|
||||
class appConfig(AppConfig):
|
||||
class OrfeoAppConfig(AppConfig):
|
||||
default_auto_field = "django.db.models.BigAutoField"
|
||||
name = "'orfeo_django_toolkit"
|
||||
name = "orfeo_django_toolkit"
|
||||
Reference in New Issue
Block a user