Commit Graph

137 Commits

Author SHA1 Message Date
artus
87b0b218a1 updates display of saved rencontres 2018-10-12 21:53:23 +02:00
artus
e4d3404f26 works on compterendu template 2018-10-12 12:39:57 +02:00
artus
b09aa6b692 fixes dashboard forms layout 2018-10-12 11:46:23 +02:00
artus
2f282f18e5 stuck on multiple forms on maraudes:index 2018-10-11 21:56:01 +02:00
artus
66ff93eb58 fix layout 2018-10-11 20:44:22 +02:00
artus
4f67398219 starts move to bootstrap4 2018-10-11 16:07:21 +02:00
artus
cb7e28990f fixes logout view 2018-10-11 15:09:45 +02:00
artus
8fa768cad5 fixes for django2 2018-10-11 14:35:31 +02:00
artus40
c753645193 cleans up code of 'website' module, replaces hardcoded 'year_of_bilan' value 2018-03-09 15:45:35 +01:00
artus40
8ae1c677f6 cleans up code of 'statistiques' module 2018-03-09 15:28:31 +01:00
artus40
2f9b987d1f uses ColumnWrapper and adds value labels on columns 2018-03-07 17:08:18 +01:00
artus40
7fdb7e9f31 cleaned up code for notes module 2018-03-02 14:50:41 +01:00
artus40
85f388aac2 cleaned up code 2018-03-01 19:10:01 +01:00
artus40
b68980f392 various and messy patchs... 2018-03-01 17:30:03 +01:00
artus40
0f7ed15d9b better spacing of labels 2018-01-09 20:57:05 +01:00
artus40
e88037f0ae better spacing of labels 2018-01-09 20:10:11 +01:00
artus40
f8e618e08a changes display of notes in tables (headers on the side)
corrects code for 'notes' modules according to PEP8 guidelines
2017-12-27 12:42:40 +01:00
artus40
8092859cb4 added linebreaks filter for all notes display 2017-10-26 16:47:17 +02:00
artus40
b4878b47c3 modification de la présentation d'accueil. 2017-10-25 17:31:34 +02:00
artus40
821732af1c added new graph : Rencontre par lieu to 'statistiques' module 2017-10-25 16:34:22 +02:00
artus40
569916abd0 added sujet list view filter to list Signalements 2017-10-24 13:30:08 +02:00
artus40
abc48874e7 added sujet list view filter to extract persons met in last 30 days 2017-10-24 13:20:34 +02:00
artus40
030f7021ee added feedback when send mail button is clicked 2017-10-18 17:25:58 +02:00
artus40
511bd63aa7 rewrote calculer_frequentation, added basic test for it. 2017-10-18 16:57:56 +02:00
artus40
47365f8da8 fixed non-working password change 2017-10-18 15:38:24 +02:00
artus40
dfc9a40800 minor color and layout changes in admin interface 2017-09-01 15:59:07 +02:00
artus40
f91d94685d customized admin styling, added get_absolute_url for Note model,
added inline in Sujet admin to show FicheStatistique
2017-08-31 19:57:55 +02:00
artus40
3cb6140417 better display of buttons in admin interface 2017-08-28 17:47:21 +02:00
artus40
0d3798f087 changed redirect_to_current_compterendu view to use Maraude manager's
get_in_progress(), which is now a method instead of cache property.
+ better display of admin panel's buttons in sujets detail views
2017-08-28 17:35:56 +02:00
artus40
67a04f1c18 fixed non-working update view (since last commit) 2017-08-19 18:15:53 +02:00
artus40
0bf2d9ff79 modified MultipleChartViews to instantiate only one chart.
added chart on index view
2017-08-19 18:00:49 +02:00
artus40
6d2ce7d7bc created MultipleChartsView 2017-08-18 14:00:59 +02:00
artus40
c8c59b92a2 début de réorganisation de la partie statistique 2017-08-14 19:12:18 +02:00
artus40
0c887afaa3 small code cleanups 2017-08-12 13:45:21 +02:00
agerbaud
a78df69762 Ajout d'un graphique sur la fréquentation en fonction de l'heure 2017-08-10 17:28:52 +02:00
agerbaud
34e2ac1183 moved filters admin module to sidebar block in website/base.html template 2017-08-04 15:58:43 +02:00
agerbaud
d258b6e869 Customized django admin styles for better coherence with bootstrap3 2017-08-04 15:44:26 +02:00
agerbaud
a600504785 Ajout de l'affichage des derniers sujets signalés, sur le modèle des derniers sujets rencontrés 2017-08-02 13:53:31 +02:00
agerbaud
ace8167fcb added some test charts 2017-08-02 12:54:02 +02:00
agerbaud
0ffc83e056 Fixed bug when prochaine_maraude variable is empty 2017-07-20 17:35:59 +02:00
agerbaud
63a1fac94a Cleanud up unused navbar template tags, restored active state on navbar main links 2017-07-20 17:33:34 +02:00
agerbaud
850c928dd8 Updated utilisateurs:details view 2017-07-20 17:28:41 +02:00
agerbaud
7b8f977f59 Created redirection view to make "Maraudes>Compte-rendu" link working everywhere 2017-07-20 14:59:47 +02:00
agerbaud
9d95266fad Moved sidebar block menu for 'maraudes' and 'notes' inside a dropdown in navbar 2017-07-20 14:44:33 +02:00
agerbaud
db79a48a9d Merge two panels in maraudes:index template 2017-07-20 14:21:18 +02:00
artus40
be087464fc Remaster (#38)
* setup new 'statistiques' module

* added 'graphos' package and created first test graph

* put graphos in requirements, deleted local folder

* added "load_csv" management command !

* added update of premiere_rencontre field in 'load_csv' management command

* added missing urls.py file

* added 'merge' action and view

* added 'info_completed' ratio

* linked sujets:merge views inside suivi:details

* added link to maraudes:details in notes table headers, if any

* Major reorganisation, moved 'suivi' and 'sujets' to 'notes', cleanup in 'maraudes', dropping 'website' mixins (mostly useless)

* small cleanup

* worked on Maraude and Sujet lists

* corrected missing line in notes.__init__

* restored 'details' view for maraudes and sujets insie 'notes' module

* worked on 'notes': added navigation between maraude's compte-rendu, right content in details, header to list tables

* changed queryset for CompteRenduDetailsView to all notes of same date, minor layout changes

* added right content to 'details-sujet', created 'statistiques' view and update templates

* restored 'statistiques' ajax view in 'details-sujet', fixed 'merge_two' util function

* added auto-creation of FicheStatistique (plus some tests), pagination for notes in 'details-sujet'

* added error-prone cases in paginator

* fixed non-working modals, added titles

* added UpdateStatistiques capacity in CompteRenduCreate view

* fixed missing AjaxTemplateMixin for CreateSujetView, worked on compte-rendu creation scripts

* fixed MaraudeManager.all_of() for common Maraudeurs, added color hints in planning

* re-instated statistiques module link and first test page

* added FinalizeView to send a mail before finalizing compte-rendu

* Added PieChart view for FicheStatistique fields

* small style updates, added 'age' and 'genre' fields from sujets in statistiques.PieChartView

* worked on statistiques, fixed small issues in 'notes' list views

* small theme change

* removed some dead code

* fixed notes.tests, fixed statistiques.info_completed display, added filter in SujetLisView

* added some tests

* added customised admin templates

* added authenticate in CustomAuthenticatationBackend, more verbose login thanks to messages

* added django-nose for test coverage

* Corrected raising exception on first migration

On first migration, qs.exists() would previously be called and raising an Exception, sot he migrations would fail.

* Better try block

* cleaned up custom settings.py, added some overrides of django base_settings

* corrected bad dictionnary key
2017-06-11 17:16:17 +02:00
artus40
0be59a61a7 Navbar (#31)
* started workin on 'navbar' module

* changed bootstrap theme to bootswatch/Simplex

* big work on navbar logic

* starting creating menus using navbar

* converted app views to new Wepage decorator, updated navbar

* reimplemented DernieresMaraudes as a dropdown instead of ContextMixin

* reorganised static files, minor code cleanups

* turned Link.href into lazy-evaluated property

* collapsed 'navbar' module into 'website', dynamic building of ApplicationMenu subclasses

* minor cleanup

* blah blah blah

* added way to add admin/non-admin links

* minor style change : red border for active page instead of all dropdowns

* deleted file

* prepare adding removing menu templates files, being replaced by code

* essayé de généraliser le code pour les modaux bootstrap, non testé git status

* more preparation and thinking on navbar app_menus logic...

* added LinkManager and DropdownManager, getting closer...

* small fix in DropdownManager.__get__

* boosted up work: keep it simple so it can be merged fast, major layout changes

* added month filter on maraudes:liste

* added 'as_icon' filter to display boolean/null values as bootstrap icons

* remove inactive user from planning selection

* removed all unused 'menu' templates

* set up django_select2 to use static files

* small fix after review
2017-02-11 18:20:13 +01:00
artus40
288ca2cc20 corrected issue with Select2 2016-12-29 16:51:29 +01:00
artus40
7cc362668e resolved #20, modified layout on 'suivi:details' 2016-12-29 15:20:16 +01:00
artus40
5884125015 ajout de la liste des derniers sujets rencontrés dans 'suivi' 2016-12-29 14:53:58 +01:00