2550 Commits

Author SHA1 Message Date
2050460bb3 add modal system, added/removed managed by vue, appearence managed by bootstrap
Modal component is an hybrid solution between :
- Vue3 modal implementation
  => with 'v-if:showModal' directive:parameter, html scope is added/removed not just shown/hidden
  => with slot we can pass content from parent component
  => some classes are passed from parent component
- Bootstrap 4.4 _modal.scss module
  => using bootstrap css classes, the modal have a responsive behaviour,
  => modal design can be configured using css classes (size, scroll)

See
* https://v3.vuejs.org/examples/modal.html#modal-component
* https://github.com/bootstrap-vue/bootstrap-vue/issues/5196
2021-04-29 12:40:28 +02:00
e1dbfdafd7 test modals with vue and modals with bootstrap 2021-04-28 22:01:05 +02:00
cab3b1059d ChillMainBundle: use localize function 2021-04-28 15:56:50 +02:00
7596bd5a06 fix tests for chill main 2021-04-27 16:33:44 +02:00
66426f5102 serializer on accompanying course
Two new routes:

* `GET /{_locale}/person/api/1.0/accompanying-course/{parcours_id}/show.json`: get a json representation for a course
* `POST /{_locale}/person/api/1.0/accompanying-course/{parcours_id}/participation.json`:
add a particitipation to course. Usage:

    `curl -v --cookie "PHPSESSID=fed98aa23e40cb36e630f84155aea3bb;" -X
POST --data '{ "id": 481 }'
http://localhost:8001/fr/person/api/1.0/accompanying-course/270/participation.json`

    Will add the person with id "481" to the course.
2021-04-26 17:01:22 +02:00
3445335b2d Merge branch 'master' of gitlab.com:Chill-Projet/chill-bundles 2021-04-26 13:38:21 +02:00
b1207cbd3e Merge branch 'master' into _31_interface_creation_parcours 2021-04-26 13:18:26 +02:00
Pol Dellaiera
09ed671734 fix: Simplify statements and fix syntax.
To make sure that PHP CS Fixer do not fails.
2021-04-26 13:06:40 +02:00
28e4b2abaf test vue app 2021-04-23 13:13:57 +02:00
2de8338651 webpack alias + move vues firsts files in better place 2021-04-22 14:13:47 +02:00
e7df62b373 A first VueJS component, get api datas, a simple button add person
* !! composer require serializer !!
* see: http://localhost:8001/fr/parcours/861/show
2021-04-21 08:53:51 +02:00
e98a5b88aa fix some tests in main bundle 2021-04-20 17:21:39 +02:00
69ea88a4d5 Merge branch 'master' into _31_interface_creation_parcours 2021-04-19 19:19:19 +02:00
9566ea89b1 fix stylesheets locations, in chill-bundles or in project files 2021-04-15 20:51:04 +02:00
425d51649f vuejs hello world component 2021-04-15 17:14:35 +02:00
c32f730713 add vuejs npm packages and configure webpack 2021-04-15 17:04:49 +02:00
985f067387 fix migration namespace 2021-04-14 13:25:08 +02:00
083f56bff0 Merge branch 'master' into _bootstrap_modal 2021-04-14 10:46:27 +02:00
f526453ba3 enable bootstrap assets for modals features 2021-04-13 19:37:02 +02:00
36cdf4c220 Merge branch 'add-wysiwyg' into 'master'
Applique l'éditeur de texte sur plusieurs instances + rendu des "Comment Embeddable"

See merge request Chill-Projet/chill-bundles!7
2021-04-02 12:11:39 +00:00
34e5fbedf2 Merge branch 'features/new-phones' into 'master'
Features/new phones

See merge request Chill-Projet/chill-bundles!5
2021-04-02 12:11:20 +00:00
Jean-Francois Monfort
27c680bb03 Features/new phones 2021-04-02 12:11:20 +00:00
3a50aea138 fix service dependency injection for validatorInterface 2021-03-30 11:13:36 +02:00
ae81e7be31 add documentation for render and embeddable comments 2021-03-25 22:45:01 +01:00
b79ec18a38 apply ckeditor on multiple entities
Apply ckeditor into:

* activity;
* task;
* document;
* accompanying periods
2021-03-25 22:01:17 +01:00
66e590972a Improve Embeddable Comment Render
* render embeddable comment into twig template;
* add some style
2021-03-25 22:01:17 +01:00
b8b509b6b3 remove unnecessary comment line 2021-03-23 15:48:43 +01:00
11e6efee68 fix comments 2021-03-23 15:46:46 +01:00
03b94c05b8 Apply 1 suggestion(s) to 1 file(s) 2021-03-23 14:39:07 +00:00
9612f23d9c mark class for ChillTextareaType as final 2021-03-23 14:28:09 +00:00
5d533103dc clean ckeditor file 2021-03-22 17:49:21 +01:00
527b658ca0 [ckeditor][markdown] introduce twig filter chill_markdown_to_html 2021-03-22 17:32:57 +01:00
f619171120 set minimum size in ckeditor 2021-03-22 13:45:38 +01:00
28a2c0ea0b use ckeditor in custom type 2021-03-22 13:45:16 +01:00
89d95a0eae bootstrap, enable only conflicts assets (><scratch) 2021-03-21 15:09:08 +01:00
7a0f7a4933 webpack, ckeditor build in a function 2021-03-21 15:09:08 +01:00
6bcdbaf668 separate scratch from chill entrypoint, and move it into a specific module 2021-03-21 15:09:08 +01:00
0a0895584c remove button bourbon hack 2021-03-21 15:09:08 +01:00
43a8373a7c ckeditor improve textarea detection 2021-03-21 15:09:08 +01:00
d7d8f2a60a enable bootstrap, disable ckeditor 2021-03-21 15:09:08 +01:00
142f8bdfb5 add setting in chill.yaml to enable or disable new assets (bootstrap, ckeditor and forkawesome) 2021-03-21 15:09:08 +01:00
cb712f4814 try to make ckeditor lighter, disabling features 2021-03-21 15:09:08 +01:00
cf27c2cb79 ckeditor5, it works ! compiled by webpack encore, and display on textarea 2021-03-21 15:09:08 +01:00
dc1f8e9533 webpack installation of ckeditor5 2021-03-21 15:09:08 +01:00
18fec8c491 webpack, add new entrypoint for bootstrap 2021-03-21 15:09:08 +01:00
3182c3607c remove unused files: css/select2 and css/scratch 2021-03-21 15:09:08 +01:00
e78855fe0c check webpack assets entrypoints 2021-03-21 15:09:08 +01:00
6efa795f2a replace fontawesome by forkawesome 2021-03-21 15:09:08 +01:00
371da5d9bf remove bower and grunt js 2021-03-21 15:09:08 +01:00
eaa0ad925f fix folder name 2021-03-18 13:37:13 +01:00