diff --git a/README.md b/README.md index 996958ed5..2e693451d 100644 --- a/README.md +++ b/README.md @@ -20,6 +20,7 @@ Vous souhaitez y apporter des changements ou des améliorations ? Lisez notre [ #### Développement +- rbenv : voir https://github.com/rbenv/rbenv-installer#rbenv-installer--doctor-scripts - Yarn : voir https://yarnpkg.com/en/docs/install - Overmind : * Mac : `brew install overmind` @@ -52,7 +53,11 @@ Afin d'initialiser l'environnement de développement, exécutez la commande suiv overmind start -L'application tourne à l'adresse `http://localhost:3000`. Un utilisateur de test est disponible, avec les identifiants `test@exemple.fr`/`testpassword`. +L'application tourne à l'adresse `http://localhost:3000`. + +### Utilisateurs de test + +En local, un utilisateur de test est créé automatiquement, avec les identifiants `test@exemple.fr`/`this is a very complicated password !`. (voir [db/seeds.rb](https://github.com/betagouv/tps/blob/dev/db/seeds.rb)) ### Programmation des jobs diff --git a/app/assets/stylesheets/new_design/_colors.scss b/app/assets/stylesheets/new_design/_colors.scss index a437d8530..a31e51a75 100644 --- a/app/assets/stylesheets/new_design/_colors.scss +++ b/app/assets/stylesheets/new_design/_colors.scss @@ -2,6 +2,7 @@ $blue: #0069CC; $light-blue: #1C7EC9; $lighter-blue: #C3D9FF; $black: #333333; +$white: #FFFFFF; $grey: #999999; $light-grey: #F8F8F8; $border-grey: #CCCCCC; diff --git a/app/assets/stylesheets/new_design/common.scss b/app/assets/stylesheets/new_design/common.scss index e3b9975af..9e3d6a09f 100644 --- a/app/assets/stylesheets/new_design/common.scss +++ b/app/assets/stylesheets/new_design/common.scss @@ -53,6 +53,11 @@ strong { font-weight: bold; } +sup { + vertical-align: super; + font-size: 0.83em; +} + .container { @include horizontal-padding($default-padding); max-width: $page-width + 2 * $default-padding; diff --git a/app/assets/stylesheets/new_design/procedure_champs_editor.scss b/app/assets/stylesheets/new_design/procedure_champs_editor.scss index daa960e59..591eb48df 100644 --- a/app/assets/stylesheets/new_design/procedure_champs_editor.scss +++ b/app/assets/stylesheets/new_design/procedure_champs_editor.scss @@ -1,4 +1,5 @@ @import "colors"; +@import "constants"; #champs-editor { .spinner { @@ -111,10 +112,21 @@ } } -.header, .footer { + margin-bottom: 70px; +} + +.buttons { display: flex; justify-content: space-between; - margin-top: 30px; - margin-bottom: 30px; + margin: 0px; + position: fixed; + bottom: 0px; + background-color: $white; + max-width: $page-width; + width: 100%; + border: 1px solid $border-grey; + padding: 10px; + border-top-left-radius: 5px; + border-top-right-radius: 5px; } diff --git a/app/controllers/support_controller.rb b/app/controllers/support_controller.rb index b907e20a5..d69bb5444 100644 --- a/app/controllers/support_controller.rb +++ b/app/controllers/support_controller.rb @@ -53,7 +53,7 @@ class SupportController < ApplicationController phone: params[:phone], text: params[:text], file: params[:file], - dossier_id: dossier&.id, + dossier_id: params[:dossier_id], browser: browser_name, tags: tags ).send_form diff --git a/app/javascript/new_design/administrateur/DraggableList.vue b/app/javascript/new_design/administrateur/DraggableList.vue index 984909b5b..dd619994e 100644 --- a/app/javascript/new_design/administrateur/DraggableList.vue +++ b/app/javascript/new_design/administrateur/DraggableList.vue @@ -1,18 +1,5 @@