diff --git a/README.md b/README.md index 6793394..3362b5c 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ L'instance Geonature-Citizen de Champs-Libres. -# Installation développeur : +## Installation $ git submodule update --init --recursive $ docker-compose up -d @@ -10,22 +10,22 @@ L'instance Geonature-Citizen de Champs-Libres. note: les credentials pour accéder au backend se trouvent dans /home/appuser/citizen/config -# Mise à jour de GeoNature +## Mise à jour de GeoNature Certaines modifications sont faites sur le fork de GeoNature-citizen. Pour télécharger la dernièer version, faire: $ git submodule foreach git pull git@github.com:Champs-Libres/GeoNature-citizen.git champs-libres -# Remise en route du service +## Remise en route du service $ docker-compose up -d $ docker-compose exec citizen sh install/restart.sh -# Documentation : +## Documentation $ make doc -# Builder le front (pour production) +## Builder le front (pour production) ``` $ docker-compose exec citizen bash @@ -34,12 +34,18 @@ appuser@ab136184159a:~/citizen/frontend$ npm run ng build -- --configuration=fr ``` -# Modifier la config du front end +## Modifier la config du front end -- faire des modifications dans patches/frontend/conf +- faire des modifications dans `patches/frontend/conf` - Builder le front (cfr commande ci-dessus) - remise en route du service (cfr commande ci-desssus) -# Modifier l'image de fond +## Modifier les images (e.g., image de fond) -Il semble qu'un rebuild du container soit nécessaire!? \ No newline at end of file +- changer les fichiers dans `patches/frontend/src/assets/` +- copier ces fichiers dans le dossier `media` + +``` +$ docker-compose exec citizen bash +appuser@ab136184159a:~/citizen/$ cp -r frontend/src/assets/* media +``` diff --git a/docker-compose.override.yml b/docker-compose.override.yml index 35c4fb1..ba94a76 100644 --- a/docker-compose.override.yml +++ b/docker-compose.override.yml @@ -7,4 +7,5 @@ services: - ./vendor/GeoNature-citizen/frontend:/home/appuser/citizen/frontend - ./vendor/GeoNature-citizen/backend:/home/appuser/citizen/backend - ./restart.sh:/home/appuser/citizen/install/restart.sh - - ./patches/frontend/conf:/home/appuser/citizen/frontend/src/conf + - ./patches/frontend/src/conf:/home/appuser/citizen/frontend/src/conf + - ./patches/frontend/src/assets:/home/appuser/citizen/frontend/src/assets diff --git a/patches/frontend/src/assets/Satisfy-Regular.ttf b/patches/frontend/src/assets/Satisfy-Regular.ttf new file mode 100644 index 0000000..f8469a7 Binary files /dev/null and b/patches/frontend/src/assets/Satisfy-Regular.ttf differ diff --git a/patches/frontend/src/assets/background.jpg b/patches/frontend/src/assets/background.jpg new file mode 100644 index 0000000..8009692 Binary files /dev/null and b/patches/frontend/src/assets/background.jpg differ diff --git a/patches/frontend/src/assets/badges_Confirme.svg b/patches/frontend/src/assets/badges_Confirme.svg new file mode 100644 index 0000000..f287cb6 --- /dev/null +++ b/patches/frontend/src/assets/badges_Confirme.svg @@ -0,0 +1,245 @@ + + + + + + + + badges + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/patches/frontend/src/assets/badges_Expert.svg b/patches/frontend/src/assets/badges_Expert.svg new file mode 100644 index 0000000..0c94c28 --- /dev/null +++ b/patches/frontend/src/assets/badges_Expert.svg @@ -0,0 +1,221 @@ + + + + + badges + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/patches/frontend/src/assets/badges_Grand-mam.svg b/patches/frontend/src/assets/badges_Grand-mam.svg new file mode 100644 index 0000000..d065517 --- /dev/null +++ b/patches/frontend/src/assets/badges_Grand-mam.svg @@ -0,0 +1,421 @@ + + + + + badges + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/patches/frontend/src/assets/badges_Humide.svg b/patches/frontend/src/assets/badges_Humide.svg new file mode 100644 index 0000000..7183d19 --- /dev/null +++ b/patches/frontend/src/assets/badges_Humide.svg @@ -0,0 +1,453 @@ + + + + + + + + + + + badges + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/patches/frontend/src/assets/badges_Insecte.svg b/patches/frontend/src/assets/badges_Insecte.svg new file mode 100644 index 0000000..8139681 --- /dev/null +++ b/patches/frontend/src/assets/badges_Insecte.svg @@ -0,0 +1,287 @@ + + + + + badges + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/patches/frontend/src/assets/badges_Montagne.svg b/patches/frontend/src/assets/badges_Montagne.svg new file mode 100644 index 0000000..fd04aa5 --- /dev/null +++ b/patches/frontend/src/assets/badges_Montagne.svg @@ -0,0 +1,354 @@ + + + + + + + + badges + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/patches/frontend/src/assets/badges_Novice.svg b/patches/frontend/src/assets/badges_Novice.svg new file mode 100644 index 0000000..8b0a10f --- /dev/null +++ b/patches/frontend/src/assets/badges_Novice.svg @@ -0,0 +1,224 @@ + + + + + badges + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/patches/frontend/src/assets/badges_Oiseau-proie.svg b/patches/frontend/src/assets/badges_Oiseau-proie.svg new file mode 100644 index 0000000..20f0fee --- /dev/null +++ b/patches/frontend/src/assets/badges_Oiseau-proie.svg @@ -0,0 +1,522 @@ + + + + + badges + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/patches/frontend/src/assets/badges_Oiseau.svg b/patches/frontend/src/assets/badges_Oiseau.svg new file mode 100644 index 0000000..6cfe434 --- /dev/null +++ b/patches/frontend/src/assets/badges_Oiseau.svg @@ -0,0 +1,267 @@ + + + + + badges + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/patches/frontend/src/assets/badges_Petit-mam.svg b/patches/frontend/src/assets/badges_Petit-mam.svg new file mode 100644 index 0000000..39b3089 --- /dev/null +++ b/patches/frontend/src/assets/badges_Petit-mam.svg @@ -0,0 +1,349 @@ + + + + + badges + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/patches/frontend/src/assets/badges_Plante.svg b/patches/frontend/src/assets/badges_Plante.svg new file mode 100644 index 0000000..dcb5b90 --- /dev/null +++ b/patches/frontend/src/assets/badges_Plante.svg @@ -0,0 +1,321 @@ + + + + + badges + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/patches/frontend/src/assets/badges_Vallee.svg b/patches/frontend/src/assets/badges_Vallee.svg new file mode 100644 index 0000000..81178ff --- /dev/null +++ b/patches/frontend/src/assets/badges_Vallee.svg @@ -0,0 +1,465 @@ + + + + + + + + + + + + + + badges + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/patches/frontend/src/assets/binoculars.png b/patches/frontend/src/assets/binoculars.png new file mode 100644 index 0000000..a01feda Binary files /dev/null and b/patches/frontend/src/assets/binoculars.png differ diff --git a/patches/frontend/src/assets/binoculars.svg b/patches/frontend/src/assets/binoculars.svg new file mode 100644 index 0000000..b377a09 --- /dev/null +++ b/patches/frontend/src/assets/binoculars.svg @@ -0,0 +1 @@ +100allCreated by Kiranfrom the Noun Project \ No newline at end of file diff --git a/patches/frontend/src/assets/cgu.pdf b/patches/frontend/src/assets/cgu.pdf new file mode 100644 index 0000000..74024e5 Binary files /dev/null and b/patches/frontend/src/assets/cgu.pdf differ diff --git a/patches/frontend/src/assets/css/material.css b/patches/frontend/src/assets/css/material.css new file mode 100644 index 0000000..8fb527b --- /dev/null +++ b/patches/frontend/src/assets/css/material.css @@ -0,0 +1,419 @@ +/* + This stylesheet uses scss valiables for most of the colors / background-colors of the table + to enable the customization of the displayed table without cloning the stylesheet into the + own application. + + To modify table colors, add the following lines to the scss file of your application + (this example modifies the color of the selected row - selectionType = single, multi or multiClick): + + $ngx-datatable-selected-active-background: yellow; + $ngx-datatable-selected-active-background-hover: rgba(yellow, 0.2); + + @import '~@swimlane/ngx-datatable/index.css'; + @import '~@swimlane/ngx-datatable/themes/material.scss'; + @import '~@swimlane/ngx-datatable/assets/icons.css'; + +That's all. +*/ +.ngx-datatable.material { + background: #fff; + box-shadow: 0 5px 5px -3px rgba(0, 0, 0, 0.2), + 0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12); + /** + * Shared Styles + */ + /** + * Global Row Styles + */ + /** + * Header Styles + */ + /** + * Body Styles + */ + /** + * Footer Styles + */ +} +.ngx-datatable.material.striped .datatable-row-odd { + background: #eee; +} +.ngx-datatable.material.single-selection .datatable-body-row.active, +.ngx-datatable.material.single-selection + .datatable-body-row.active + .datatable-row-group, +.ngx-datatable.material.multi-selection .datatable-body-row.active, +.ngx-datatable.material.multi-selection + .datatable-body-row.active + .datatable-row-group, +.ngx-datatable.material.multi-click-selection .datatable-body-row.active, +.ngx-datatable.material.multi-click-selection + .datatable-body-row.active + .datatable-row-group { + background-color: none; + color: #fff; +} +.ngx-datatable.material.single-selection .datatable-body-row.active:hover, +.ngx-datatable.material.single-selection + .datatable-body-row.active:hover + .datatable-row-group, +.ngx-datatable.material.multi-selection .datatable-body-row.active:hover, +.ngx-datatable.material.multi-selection + .datatable-body-row.active:hover + .datatable-row-group, +.ngx-datatable.material.multi-click-selection .datatable-body-row.active:hover, +.ngx-datatable.material.multi-click-selection + .datatable-body-row.active:hover + .datatable-row-group { + background-color: none; + color: #fff; +} +.ngx-datatable.material.single-selection .datatable-body-row.active:focus, +.ngx-datatable.material.single-selection + .datatable-body-row.active:focus + .datatable-row-group, +.ngx-datatable.material.multi-selection .datatable-body-row.active:focus, +.ngx-datatable.material.multi-selection + .datatable-body-row.active:focus + .datatable-row-group, +.ngx-datatable.material.multi-click-selection .datatable-body-row.active:focus, +.ngx-datatable.material.multi-click-selection + .datatable-body-row.active:focus + .datatable-row-group { + background-color: none; + color: #fff; +} +.ngx-datatable.material:not(.cell-selection) .datatable-body-row:hover, +.ngx-datatable.material:not(.cell-selection) + .datatable-body-row:hover + .datatable-row-group { + background-color: #eee; + transition-property: background; + transition-duration: 0.3s; + transition-timing-function: linear; +} +.ngx-datatable.material:not(.cell-selection) .datatable-body-row:focus, +.ngx-datatable.material:not(.cell-selection) + .datatable-body-row:focus + .datatable-row-group { + background-color: #ddd; +} +.ngx-datatable.material.cell-selection .datatable-body-cell:hover, +.ngx-datatable.material.cell-selection + .datatable-body-cell:hover + .datatable-row-group { + background-color: #eee; + transition-property: background; + transition-duration: 0.3s; + transition-timing-function: linear; +} +.ngx-datatable.material.cell-selection .datatable-body-cell:focus, +.ngx-datatable.material.cell-selection + .datatable-body-cell:focus + .datatable-row-group { + background-color: #ddd; +} +.ngx-datatable.material.cell-selection .datatable-body-cell.active, +.ngx-datatable.material.cell-selection + .datatable-body-cell.active + .datatable-row-group { + background-color: #ddd; + color: #fff; +} +.ngx-datatable.material.cell-selection .datatable-body-cell.active:hover, +.ngx-datatable.material.cell-selection + .datatable-body-cell.active:hover + .datatable-row-group { + background-color: #ddd; + color: #fff; +} +.ngx-datatable.material.cell-selection .datatable-body-cell.active:focus, +.ngx-datatable.material.cell-selection + .datatable-body-cell.active:focus + .datatable-row-group { + background-color: #ddd; + color: #fff; +} +.ngx-datatable.material .empty-row { + height: 50px; + text-align: left; + padding: 0.5rem 1.2rem; + vertical-align: top; + border-top: 0; +} +.ngx-datatable.material .loading-row { + text-align: left; + padding: 0.5rem 1.2rem; + vertical-align: top; + border-top: 0; +} +.ngx-datatable.material .datatable-header .datatable-row-left, +.ngx-datatable.material .datatable-body .datatable-row-left { + background-color: #fff; + background-position: 100% 0; + background-repeat: repeat-y; + background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAABCAYAAAD5PA/NAAAAFklEQVQIHWPSkNeSBmJhTQVtbiDNCgASagIIuJX8OgAAAABJRU5ErkJggg==); +} +.ngx-datatable.material .datatable-header .datatable-row-right, +.ngx-datatable.material .datatable-body .datatable-row-right { + background-position: 0 0; + background-color: #fff; + background-repeat: repeat-y; + background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAABCAYAAAD5PA/NAAAAFklEQVQI12PQkNdi1VTQ5gbSwkAsDQARLAIGtOSFUAAAAABJRU5ErkJggg==); +} +.ngx-datatable.material .datatable-header { + border-bottom: 1px solid rgba(0, 0, 0, 0.12); +} +.ngx-datatable.material .datatable-header .datatable-header-cell { + text-align: left; + padding: 0.9rem 1.2rem; + font-weight: 400; + background-color: #fff; + color: rgba(0, 0, 0, 0.54); + vertical-align: bottom; + font-size: 12px; + font-weight: 500; +} +.ngx-datatable.material + .datatable-header + .datatable-header-cell + .datatable-header-cell-wrapper { + position: relative; +} +.ngx-datatable.material + .datatable-header + .datatable-header-cell.longpress + .draggable::after { + transition: transform 400ms ease, opacity 400ms ease; + opacity: 0.5; + transform: scale(1); +} +.ngx-datatable.material + .datatable-header + .datatable-header-cell + .draggable::after { + content: ' '; + position: absolute; + top: 50%; + left: 50%; + margin: -30px 0 0 -30px; + height: 60px; + width: 60px; + background: #eee; + border-radius: 100%; + opacity: 1; + filter: none; + transform: scale(0); + z-index: 9999; + pointer-events: none; +} +.ngx-datatable.material + .datatable-header + .datatable-header-cell.dragging + .resize-handle { + border-right: none; +} +.ngx-datatable.material .datatable-header .resize-handle { + border-right: solid 1px #eee; +} +.ngx-datatable.material .datatable-body .datatable-row-detail { + background: #f5f5f5; + padding: 10px; +} +.ngx-datatable.material .datatable-body .datatable-group-header { + background: #f5f5f5; + border-bottom: solid 1px #d9d8d9; + border-top: solid 1px #d9d8d9; +} +.ngx-datatable.material + .datatable-body + .datatable-body-row + .datatable-body-cell { + text-align: left; + padding: 0.9rem 1.2rem; + vertical-align: top; + border-top: 0; + color: rgba(0, 0, 0, 0.87); + transition: width 0.3s ease; + font-size: 14px; + font-weight: 400; +} +.ngx-datatable.material + .datatable-body + .datatable-body-row + .datatable-body-group-cell { + text-align: left; + padding: 0.9rem 1.2rem; + vertical-align: top; + border-top: 0; + color: rgba(0, 0, 0, 0.87); + transition: width 0.3s ease; + font-size: 14px; + font-weight: 400; +} +.ngx-datatable.material .datatable-body .progress-linear { + display: block; + position: relative; + width: 100%; + height: 5px; + padding: 0; + margin: 0; + position: absolute; +} +.ngx-datatable.material .datatable-body .progress-linear .container { + display: block; + position: relative; + overflow: hidden; + width: 100%; + height: 5px; + -webkit-transform: translate(0, 0) scale(1, 1); + transform: translate(0, 0) scale(1, 1); + background-color: #aad1f9; +} +.ngx-datatable.material .datatable-body .progress-linear .container .bar { + transition: all 0.2s linear; + -webkit-animation: query 0.8s infinite cubic-bezier(0.39, 0.575, 0.565, 1); + animation: query 0.8s infinite cubic-bezier(0.39, 0.575, 0.565, 1); + transition: -webkit-transform 0.2s linear; + transition: transform 0.2s linear; + background-color: #106cc8; + position: absolute; + left: 0; + top: 0; + bottom: 0; + width: 100%; + height: 5px; +} +.ngx-datatable.material .datatable-footer { + border-top: 1px solid rgba(0, 0, 0, 0.12); + font-size: 12px; + font-weight: 400; + color: rgba(0, 0, 0, 0.54); +} +.ngx-datatable.material .datatable-footer .page-count { + line-height: 50px; + height: 50px; + padding: 0 1.2rem; +} +.ngx-datatable.material .datatable-footer .datatable-pager { + margin: 0 10px; +} +.ngx-datatable.material .datatable-footer .datatable-pager li { + vertical-align: middle; +} +.ngx-datatable.material .datatable-footer .datatable-pager li.disabled a { + color: rgba(0, 0, 0, 0.26) !important; + background-color: transparent !important; +} +.ngx-datatable.material .datatable-footer .datatable-pager li.active a { + background-color: rgba(158, 158, 158, 0.2); + font-weight: bold; +} +.ngx-datatable.material .datatable-footer .datatable-pager a { + height: 22px; + min-width: 24px; + line-height: 22px; + padding: 0 6px; + border-radius: 3px; + margin: 6px 3px; + text-align: center; + vertical-align: top; + color: rgba(0, 0, 0, 0.54); + text-decoration: none; + vertical-align: bottom; +} +.ngx-datatable.material .datatable-footer .datatable-pager a:hover { + color: rgba(0, 0, 0, 0.75); + background-color: rgba(158, 158, 158, 0.2); +} +.ngx-datatable.material .datatable-footer .datatable-pager .datatable-icon-left, +.ngx-datatable.material .datatable-footer .datatable-pager .datatable-icon-skip, +.ngx-datatable.material + .datatable-footer + .datatable-pager + .datatable-icon-right, +.ngx-datatable.material + .datatable-footer + .datatable-pager + .datatable-icon-prev { + font-size: 20px; + line-height: 20px; + padding: 0 3px; +} +.ngx-datatable.material .datatable-summary-row .datatable-body-row { + background-color: #ddd; +} +.ngx-datatable.material .datatable-summary-row .datatable-body-row:hover { + background-color: #ddd; +} +.ngx-datatable.material + .datatable-summary-row + .datatable-body-row + .datatable-body-cell { + font-weight: bold; +} + +/** + * Checkboxes +**/ +.datatable-checkbox { + position: relative; + margin: 0; + cursor: pointer; + vertical-align: middle; + display: inline-block; + box-sizing: border-box; + padding: 0; +} +.datatable-checkbox input[type='checkbox'] { + position: relative; + margin: 0 1rem 0 0; + cursor: pointer; + outline: none; +} +.datatable-checkbox input[type='checkbox']:before { + -webkit-transition: all 0.3s ease-in-out; + -moz-transition: all 0.3s ease-in-out; + transition: all 0.3s ease-in-out; + content: ''; + position: absolute; + left: 0; + z-index: 1; + width: 1rem; + height: 1rem; + border: 2px solid #f2f2f2; +} +.datatable-checkbox input[type='checkbox']:checked:before { + -webkit-transform: rotate(-45deg); + -moz-transform: rotate(-45deg); + -ms-transform: rotate(-45deg); + transform: rotate(-45deg); + height: 0.5rem; + border-color: #009688; + border-top-style: none; + border-right-style: none; +} +.datatable-checkbox input[type='checkbox']:after { + content: ''; + position: absolute; + top: 0; + left: 0; + width: 1rem; + height: 1rem; + background: #fff; + cursor: pointer; +} + +/** + * Progress bar animations + */ +@keyframes query { + 0% { + opacity: 1; + transform: translateX(35%) scale(0.3, 1); + } + 100% { + opacity: 0; + transform: translateX(-50%) scale(0, 1); + } +} diff --git a/patches/frontend/src/assets/d6537db628_117396_08-785.jpg b/patches/frontend/src/assets/d6537db628_117396_08-785.jpg new file mode 100644 index 0000000..dff6cf5 Binary files /dev/null and b/patches/frontend/src/assets/d6537db628_117396_08-785.jpg differ diff --git a/patches/frontend/src/assets/default_image.png b/patches/frontend/src/assets/default_image.png new file mode 100644 index 0000000..0b3df42 Binary files /dev/null and b/patches/frontend/src/assets/default_image.png differ diff --git a/patches/frontend/src/assets/default_program.jpg b/patches/frontend/src/assets/default_program.jpg new file mode 100644 index 0000000..e90a4c9 Binary files /dev/null and b/patches/frontend/src/assets/default_program.jpg differ diff --git a/patches/frontend/src/assets/faune-mercantour.jpg b/patches/frontend/src/assets/faune-mercantour.jpg new file mode 100644 index 0000000..f45e992 Binary files /dev/null and b/patches/frontend/src/assets/faune-mercantour.jpg differ diff --git a/patches/frontend/src/assets/flamant_rose.jpg b/patches/frontend/src/assets/flamant_rose.jpg new file mode 100644 index 0000000..34660bf Binary files /dev/null and b/patches/frontend/src/assets/flamant_rose.jpg differ diff --git a/patches/frontend/src/assets/logo.png b/patches/frontend/src/assets/logo.png new file mode 100644 index 0000000..71889e0 Binary files /dev/null and b/patches/frontend/src/assets/logo.png differ diff --git a/patches/frontend/src/assets/logo.svg b/patches/frontend/src/assets/logo.svg new file mode 100644 index 0000000..b665e40 --- /dev/null +++ b/patches/frontend/src/assets/logo.svg @@ -0,0 +1,213 @@ + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/patches/frontend/src/assets/marker2.svg b/patches/frontend/src/assets/marker2.svg new file mode 100644 index 0000000..4f1c7b7 --- /dev/null +++ b/patches/frontend/src/assets/marker2.svg @@ -0,0 +1 @@ +marker2 \ No newline at end of file diff --git a/patches/frontend/src/assets/no_photo.png b/patches/frontend/src/assets/no_photo.png new file mode 100644 index 0000000..42d84cf Binary files /dev/null and b/patches/frontend/src/assets/no_photo.png differ diff --git a/patches/frontend/src/assets/no_photo_light.png b/patches/frontend/src/assets/no_photo_light.png new file mode 100644 index 0000000..d3644b7 Binary files /dev/null and b/patches/frontend/src/assets/no_photo_light.png differ diff --git a/patches/frontend/src/assets/pointer-blue.svg b/patches/frontend/src/assets/pointer-blue.svg new file mode 100644 index 0000000..cb2a107 --- /dev/null +++ b/patches/frontend/src/assets/pointer-blue.svg @@ -0,0 +1,22 @@ + + + + +pointer-blue + + + + + diff --git a/patches/frontend/src/assets/pointer-blue2.png b/patches/frontend/src/assets/pointer-blue2.png new file mode 100644 index 0000000..33c7560 Binary files /dev/null and b/patches/frontend/src/assets/pointer-blue2.png differ diff --git a/patches/frontend/src/assets/pointer-green.png b/patches/frontend/src/assets/pointer-green.png new file mode 100644 index 0000000..01509d1 Binary files /dev/null and b/patches/frontend/src/assets/pointer-green.png differ diff --git a/patches/frontend/src/assets/pointer-green.svg b/patches/frontend/src/assets/pointer-green.svg new file mode 100644 index 0000000..35344c5 --- /dev/null +++ b/patches/frontend/src/assets/pointer-green.svg @@ -0,0 +1,22 @@ + + + + + +pointer-green + + + + diff --git a/patches/frontend/src/assets/pointer-white.png b/patches/frontend/src/assets/pointer-white.png new file mode 100644 index 0000000..9ea3f62 Binary files /dev/null and b/patches/frontend/src/assets/pointer-white.png differ diff --git a/patches/frontend/src/assets/pointer-white.svg b/patches/frontend/src/assets/pointer-white.svg new file mode 100644 index 0000000..8fedd53 --- /dev/null +++ b/patches/frontend/src/assets/pointer-white.svg @@ -0,0 +1,21 @@ + + + + + +pointer-green + + + + diff --git a/patches/frontend/src/assets/prog1.jpg b/patches/frontend/src/assets/prog1.jpg new file mode 100644 index 0000000..36b19f5 Binary files /dev/null and b/patches/frontend/src/assets/prog1.jpg differ diff --git a/patches/frontend/src/assets/prog2.jpg b/patches/frontend/src/assets/prog2.jpg new file mode 100644 index 0000000..79773a2 Binary files /dev/null and b/patches/frontend/src/assets/prog2.jpg differ diff --git a/patches/frontend/src/assets/ragondin.jpg b/patches/frontend/src/assets/ragondin.jpg new file mode 100644 index 0000000..254bbf8 Binary files /dev/null and b/patches/frontend/src/assets/ragondin.jpg differ diff --git a/patches/frontend/src/assets/scroll.svg b/patches/frontend/src/assets/scroll.svg new file mode 100644 index 0000000..7b575ae --- /dev/null +++ b/patches/frontend/src/assets/scroll.svg @@ -0,0 +1 @@ +scroll \ No newline at end of file diff --git a/patches/frontend/src/assets/search.png b/patches/frontend/src/assets/search.png new file mode 100644 index 0000000..aacb3bc Binary files /dev/null and b/patches/frontend/src/assets/search.png differ diff --git a/patches/frontend/src/assets/termsOfUse.pdf b/patches/frontend/src/assets/termsOfUse.pdf new file mode 100644 index 0000000..9b084fd Binary files /dev/null and b/patches/frontend/src/assets/termsOfUse.pdf differ diff --git a/patches/frontend/conf/app.config.ts b/patches/frontend/src/conf/app.config.ts similarity index 100% rename from patches/frontend/conf/app.config.ts rename to patches/frontend/src/conf/app.config.ts diff --git a/patches/frontend/conf/map.config.ts b/patches/frontend/src/conf/map.config.ts similarity index 100% rename from patches/frontend/conf/map.config.ts rename to patches/frontend/src/conf/map.config.ts