Commit graph

645 commits

Author SHA1 Message Date
Mathieu Magnin
9c8061d5a4 Show pieces justificatives in messagerie 2017-09-13 16:27:08 +02:00
Mathieu Magnin
bdf754c0d8 Automatically scroll to the last message 2017-09-13 16:27:08 +02:00
Simon Lehericey
d9e532684f Login: fix remember me checkbox and forget password link 2017-09-08 11:52:30 +02:00
Simon Lehericey
e5150da6c3 Breadcrumbs: fix margin bottom 2017-09-08 11:29:12 +02:00
Simon Lehericey
c9f69e9693 Avis Style: replace bubble image tag by the i tag 2017-09-07 10:37:40 +02:00
Simon Lehericey
c93feb27f0 Avis style: extract class to avis.scss file for reuse in patron and avis 2017-09-07 10:36:25 +02:00
Simon Lehericey
bbb1f77ada Messagerie: extract css for reuse 2017-09-07 10:17:24 +02:00
Simon Lehericey
bd9536faac Header: improve padding 2017-09-07 10:10:03 +02:00
Simon Lehericey
62c893d704 Procedure Index: increase link size to the whole line and apply same style as the dossier index 2017-09-06 11:14:00 +02:00
Mathieu Magnin
feda7213f9 Action button for instruction state 2017-09-06 11:13:59 +02:00
Mathieu Magnin
059a0b961b Action button for construction state 2017-09-06 11:13:59 +02:00
Mathieu Magnin
c713518ac1 [Fix #494] If super-admin is connected, add an link in the header menu 2017-09-06 11:13:58 +02:00
Mathieu Magnin
485a1ceb00 [Fix #663] Menu header should be above every element 2017-09-06 11:13:57 +02:00
Simon Lehericey
fbd16b8c75 Procedure show: add notification icon 2017-09-06 11:11:47 +02:00
Simon Lehericey
3e93d21bf5 Procedure Index: add notification icon 2017-09-06 11:11:47 +02:00
Mathieu Magnin
3e4ba4715d Fix carte bug if user has not draw on map 2017-09-06 11:11:46 +02:00
Mathieu Magnin
7441410fff Hide outline on buttons 2017-09-06 11:11:45 +02:00
Mathieu Magnin
4a94ce1e16 Fix line-height for buttons 2017-09-06 11:11:45 +02:00
Mathieu Magnin
4716d40574 Resize icon in button does not apply on dropdown 2017-09-06 11:11:45 +02:00
Mathieu Magnin
10ce7ad9eb Merge pull request #679 from sgmap/new_icons_for_dossier_action_button
Add new icons for dossier action button
2017-09-06 11:11:44 +02:00
Mathieu Magnin
b531f85f97 Add new icons for dossier action button 2017-09-06 11:11:44 +02:00
Simon Lehericey
b8a75621e3 New_design: add design switch button 2017-09-06 11:11:43 +02:00
Mathieu Magnin
c74bf5dd8f Dossier index use .dossiers-table class 2017-09-06 11:11:42 +02:00
Mathieu Magnin
f5ca774e40 Add new style .dossiers-table 2017-09-06 11:11:42 +02:00
Mathieu Magnin
7e09bd71e4 Add hoverable tables 2017-09-06 11:11:42 +02:00
Mathieu Magnin
d268151e04 Improve default table style 2017-09-06 11:11:42 +02:00
Mathieu Magnin
9b95a4732f Add a .vertical class to tables because this is not the default layout 2017-09-06 11:11:41 +02:00
gregoirenovel
590c572106 Use .tabs instead of .dossier-categories in procedures#show 2017-09-06 11:11:39 +02:00
gregoirenovel
93cb2ec118 Add badge support to tabs 2017-09-06 11:11:39 +02:00
gregoirenovel
cc54fec629 Redesign the tabs so that they look more like tabs 2017-09-06 11:11:39 +02:00
gregoirenovel
7af3f90197 Rename header-left-menu to header-tabs 2017-09-06 11:11:38 +02:00
gregoirenovel
08aa2ac524 Redesign the tabs so that they look more like tabs 2017-09-06 11:11:38 +02:00
Simon Lehericey
b94fc7c132 NewDesign: list of avis 2017-09-06 11:11:37 +02:00
Simon Lehericey
2923d4448b NewDesign: can ask a new avis 2017-09-06 11:11:36 +02:00
Simon Lehericey
f03d8ef909 NewDesign: add dossier instruction view 2017-09-06 11:11:36 +02:00
Simon Lehericey
9d7066d3c3 Form: display mandatory star in red 2017-09-06 11:11:35 +02:00
Simon Lehericey
46c144146c Form: add description 2017-09-06 11:11:35 +02:00
Mathieu Magnin
c05c1ae72d Fix sticky footer 2017-09-06 11:11:34 +02:00
Mathieu Magnin
42a8792071 Add icons to patron + new icon folder 2017-09-06 11:11:33 +02:00
Mathieu Magnin
32c83dd7a5 Add label variations to /patron 2017-09-06 11:11:33 +02:00
Simon Lehericey
9f890d1ea7 Form: import dossier_link js in new design 2017-09-06 11:11:31 +02:00
Simon Lehericey
1b42766836 Form: add address auto complete 2017-09-06 11:11:31 +02:00
Simon Lehericey
80023e4f7f Form: remove form overflow to improve box shadow on input error 2017-09-06 11:11:30 +02:00
Simon Lehericey
2fd486c1a3 Form: add pseudo native form validation 2017-09-06 11:11:30 +02:00
Simon Lehericey
509b378567 Form: add select2 form multiple select 2017-09-06 11:11:30 +02:00
Simon Lehericey
e0bd42032a Form: style select 2017-09-06 11:11:29 +02:00
Simon Lehericey
9c2e71afa3 Form: add various champs html and style 2017-09-06 11:11:29 +02:00
Mathieu Magnin
bc07082d17 Init js namespace one time 2017-09-06 11:11:28 +02:00
Mathieu Magnin
373d9999fc Add map for gestionnaire 2017-09-06 11:11:28 +02:00
Mathieu Magnin
bdaa51c5cc Move old js in a directory to avoid conflicts with require_tree 2017-09-06 11:11:27 +02:00
Simon Lehericey
3b7244675d Css: add .width-100 utility class 2017-09-06 11:11:26 +02:00
Simon Lehericey
877f64599d Form: add send button on the right 2017-09-06 11:11:25 +02:00
Simon Lehericey
714b2a5f08 NewDesign: gestionnaire can add a new commentaire 2017-09-06 11:11:25 +02:00
Simon Lehericey
3ecc4f1327 NewDesign: add person icon to message 2017-09-06 11:11:24 +02:00
Simon Lehericey
3a8e84b128 NewDesign: add guest label to message 2017-09-06 11:11:24 +02:00
Simon Lehericey
497f898e1b NewDesign: add dossier messagerie show 2017-09-06 11:11:24 +02:00
Mathieu Magnin
8fdc16d89f Remove old font-size 2017-09-06 11:11:20 +02:00
Mathieu Magnin
73e6053c19 Fix input search margin in header 2017-09-06 11:11:20 +02:00
Mathieu Magnin
cbd9df8f0c [Fix #552] Disable default style for buttons on iOS 2017-09-06 11:11:20 +02:00
Mathieu Magnin
9731683b43 Use default-spacer in forms 2017-09-06 11:11:20 +02:00
Simon Lehericey
dfe36ceef7 NewDesign Form: unify body and input font 2017-09-06 11:11:19 +02:00
Simon Lehericey
2a8b8d4a01 NewDesign Form: apply design to textarea 2017-09-06 11:11:19 +02:00
Simon Lehericey
9753da8fdd NewDesign Form: move margin from label to input
provide beautiful layouts with or without label between inputs
2017-09-06 11:11:19 +02:00
Mathieu Magnin
f0777e166f Add sticky footer 2017-09-06 11:11:19 +02:00
Mathieu Magnin
7a0d6108e1 .footer -> %footer 2017-09-06 11:11:18 +02:00
Mathieu Magnin
cf63fd6b04 Add breadcrumbs 2017-09-06 11:11:17 +02:00
Mathieu Magnin
9aac9ba7cd use backoffice-header in views 2017-09-06 11:11:17 +02:00
Mathieu Magnin
c0eeec82c4 Add backoffice header to patron 2017-09-06 11:11:17 +02:00
Mathieu Magnin
2b0c0567b8 Add header section in form table 2017-09-06 11:11:16 +02:00
Mathieu Magnin
373447a19f Pieces justificatives on dossier page 2017-09-06 11:11:16 +02:00
Mathieu Magnin
f9f313e990 Add identité demandeur for entreprise on dossier detail page 2017-09-06 11:11:15 +02:00
Mathieu Magnin
1c7d9eaa69 Add table component to patron 2017-09-06 11:11:15 +02:00
Mathieu Magnin
dc00c10366 Add card component to patron 2017-09-06 11:11:14 +02:00
Simon Lehericey
8cb770dc7a NewDesign: new procedures index respects logo dimension ratio 2017-09-06 11:11:13 +02:00
Simon Lehericey
0d3c145ef3 NewDesign: procedure show add dossier actions 2017-09-06 11:11:12 +02:00
Simon Lehericey
013f2463d1 NewDesign: procedure show add dossier status 2017-09-06 11:11:12 +02:00
Simon Lehericey
ad1a11ab52 NewDesign: procedure show add dossier table 2017-09-06 11:11:11 +02:00
Simon Lehericey
b48af51ee9 NewDesign: procedure show only header 2017-09-06 11:11:11 +02:00
Mathieu Magnin
0528b83fcc Remove %page-width-container from common 2017-09-06 11:11:11 +02:00
Mathieu Magnin
e2735b4238 Remove %page-width-container from patron 2017-09-06 11:11:10 +02:00
Mathieu Magnin
b022649699 Remove %page-width-container from header 2017-09-06 11:11:10 +02:00
Mathieu Magnin
180044acff Remove %page-width-container from layouts 2017-09-06 11:11:10 +02:00
Mathieu Magnin
d0fa94fef0 Remove %page-width-container from footer 2017-09-06 11:11:10 +02:00
Mathieu Magnin
009a478526 Remove %page-width-container from landing 2017-09-06 11:11:09 +02:00
Mathieu Magnin
1d53214870 Add archived label on procedures list 2017-09-06 11:11:08 +02:00
Mathieu Magnin
29b201ad00 Add left menu in navbar 2017-09-06 11:11:08 +02:00
Mathieu Magnin
bc4e961200 Style backoffice title 2017-09-06 11:11:08 +02:00
Mathieu Magnin
622a170793 Add and design new #index on procedures for gestionnaires 2017-09-06 11:11:07 +02:00
Mathieu Magnin
ca94b2bfa4 Add generic .container class 2017-09-06 11:11:07 +02:00
Mathieu Magnin
810430de0e Add flexbox utility css classes 2017-09-06 11:11:07 +02:00
Mathieu Magnin
dcb3a48bd3 Tabs component in patron 2017-09-06 11:11:06 +02:00
Simon Lehericey
09ed947890 Accessibility: reenable :focus pseudo class
usefull when navigating using keyboard to highlight form send button
2017-07-26 11:17:40 +02:00
gregoirenovel
4ee17e44dc [Fix #529] Add missing JS file to new_design/application.js 2017-07-04 14:11:06 +02:00
Simon Lehericey
1d4a0dce56 Header: fix alignement in ff 2017-07-04 13:48:56 +02:00
Mathieu Magnin
dc4decc827 Add profile switcher in header 2017-07-03 14:34:31 +02:00
Mathieu Magnin
5d8c798369 Connexion button is a secondary button 2017-07-03 14:34:31 +02:00
Mathieu Magnin
33af09cae5 Account menu on header 2017-07-03 14:34:31 +02:00
Mathieu Magnin
b7dc511a7d Create a clean application.js file for new design 2017-07-03 14:34:31 +02:00
Mathieu Magnin
649af19443 Add search field in navbar 2017-07-03 14:34:30 +02:00
Simon Lehericey
689d0c2dd7 ProcedureOverview: add layout 2017-06-29 16:07:46 +02:00
Simon Lehericey
26afa24e49 [Fix #512] Crisp: add crisp to homepage 2017-06-29 14:35:24 +02:00
Mathieu Magnin
6777b51331 rename login css to auth, since it will also be used by sign up 2017-06-21 17:38:34 +02:00
Mathieu Magnin
482002fe79 Avis sign up should use generic layout 2017-06-20 13:56:49 +02:00
Mathieu Magnin
3f20d6fb9d login should use generic two columns layout 2017-06-20 11:42:54 +02:00
Mathieu Magnin
3388dc0e1f Create generic two-columns layout 2017-06-20 11:13:24 +02:00
Mathieu Magnin
a69915d8b5 standardize form title 2017-06-20 10:24:53 +02:00
Mathieu Magnin
f74462d826 Use generic css for avis_sign_up 2017-06-20 10:03:49 +02:00
Mathieu Magnin
c944088076 Add procedure overview on login 2017-06-19 18:21:15 +02:00
Mathieu Magnin
fb5c7e7d23 Make login responsive 2017-06-19 18:21:15 +02:00
Mathieu Magnin
b68a8b37e8 Redesign the login form 2017-06-19 18:21:15 +02:00
Mathieu Magnin
a82994f00f Add inputs & labels to patron 2017-06-19 18:21:15 +02:00
Mathieu Magnin
765be88d6d Add expand button on patron 2017-06-19 18:21:15 +02:00
Mathieu Magnin
90a643d4fb Add /patron page 🎨 2017-06-19 18:21:15 +02:00
Mathieu Magnin
624fb13964 Buttons style 2017-06-19 18:21:15 +02:00
Simon Lehericey
671a0575ce [Fix #196] Recapitulatif: user can download its attestation 2017-06-16 12:11:10 +02:00
Simon Lehericey
fdb4d15bcf [Fix #196] AttestationTemplate: add edition 2017-06-16 12:11:09 +02:00
gregoirenovel
b58c02180c [Fix #197] Allow a gestionnaire to add a motivation 2017-06-13 15:14:50 +02:00
gregoirenovel
0b6f5a9603 Remove bold weight on Avis sign up button 2017-06-08 12:24:07 +02:00
Simon Lehericey
b5f1b898c7 Add the weekly avis usage to Stats 2017-05-31 13:31:19 +02:00
gregoirenovel
f82533be19 Use the new_application layout for the Stats page 2017-05-29 15:46:54 +02:00
Simon Lehericey
aaf155df72 Avis: add sign_up logic for new tps gestionnaire 2017-05-29 11:44:28 +02:00
Simon Lehericey
8dabdcc6c4 GestionnaireMailer: add a last week report 2017-05-23 17:12:18 +02:00
Mathieu Magnin
8af72f7b9a Isolate new design stylesheets 2017-05-17 18:06:53 +02:00
Mathieu Magnin
14bfda2e26 [Fix #251] Fix landing page design on mobile (and add responsive) 2017-05-17 18:06:46 +02:00
Simon Lehericey
c6fd3045e4 Fix #261 : add link to return to dossier list. 2017-05-10 16:24:21 +02:00
Mathieu Magnin
054afb40a4 [Fix #50, fix #239] Install chartkick the right way 2017-05-10 09:28:13 +02:00
gregoirenovel
c6d0ea76bb [Fix #174] Make .default-data-block header titles take the full width 2017-05-09 14:36:33 +02:00
gregoirenovel
1a5f9fd067 [Fix #105] Show the pieces justificative’ descriptions 2017-05-09 12:47:21 +02:00
Simon Lehericey
5d915ada88 Css: add border on header and footer
Remove headers border on homepage
2017-05-09 12:38:57 +02:00
Simon Lehericey
029186fdf7 Css: fix color import 2017-05-09 12:18:52 +02:00
Simon Lehericey
bf68814f7a Css: add alert css to new style 2017-05-09 11:59:21 +02:00
Simon Lehericey
2668b036b4 Css: add center class in new style 2017-05-05 14:59:00 +02:00
Simon Lehericey
a26965f41b Cable: remove useless js logic 2017-05-05 14:37:59 +02:00
Simon Lehericey
9d16c0365a Notification: remove useless notification system 2017-05-05 14:08:36 +02:00
Simon Lehericey
dc371b83b8 CSS: add new application layout + CSS
Without bootstrap!
2017-05-04 18:24:57 +02:00
Simon Lehericey
aee17c5b19 CSS: CSS filenames should not contain dashes 2017-05-04 18:24:39 +02:00
Simon Lehericey
e7383c7c85 CSS: add Meyer's reset.scss 2017-05-04 18:24:14 +02:00
Simon Lehericey
38dcf5c74d Application.scss: replace require_tree by explicit import
Change needed for futur new_application.scss and corresponding style
2017-05-04 18:23:55 +02:00
gregoirenovel
f58a626648 [Fix #99] Improve the info message in _dossier_link.html.haml 2017-04-26 16:47:38 +02:00
gregoirenovel
6bb67d639c Use lowercase letters and dashes for CSS classes
As enforced by scss-lint
2017-04-25 15:59:03 +02:00
Mathieu Magnin
887512c26c Procedure path can contain dashes and can be longer 2017-04-21 16:32:48 +02:00
gregoirenovel
595ea9bb37 Add a “Call Us” CTA on the landing page 2017-04-21 14:57:54 +02:00
gregoirenovel
0ddd7ae639 Add the “CTA” part of the landing page 2017-04-20 12:38:00 +02:00
gregoirenovel
663b556766 Add the “Users” part of the landing page 2017-04-20 12:38:00 +02:00
gregoirenovel
f604ccb7d6 Add the “Numbers” part of the landing page 2017-04-20 12:37:59 +02:00
gregoirenovel
4b2baa25b7 Add the “Testimonials” part of the landing page 2017-04-20 12:37:58 +02:00
gregoirenovel
58a7f399c0 Add the “Features” part of the landing page 2017-04-20 12:18:18 +02:00
gregoirenovel
663cd18364 Change the landing page, add the “Hero” part 2017-04-20 12:18:17 +02:00
gregoirenovel
f9b4469660 Add the new footer 2017-04-20 12:18:16 +02:00
gregoirenovel
336e6120a6 Add the new header 2017-04-20 12:18:16 +02:00
gregoirenovel
5c1aad2e4f Add the placeholders stylesheet 2017-04-20 12:18:15 +02:00
gregoirenovel
8dcf0af56d Add the mixins stylesheet 2017-04-20 12:18:14 +02:00
gregoirenovel
3696d3613a Add the typography stylesheet 2017-04-20 12:18:14 +02:00
gregoirenovel
40d49aee1f Add the Muli Regular and Bold fonts 2017-04-20 12:18:14 +02:00
gregoirenovel
8f2ef4e254 Add the colors stylesheet 2017-04-20 10:41:03 +02:00
gregoirenovel
01f894316c Rename _variables.scss to _constants.scss 2017-04-20 10:41:02 +02:00
gregoirenovel
d8cc41140b Remove an unexpected blank line 2017-04-20 10:35:53 +02:00
gregoirenovel
5d4dcf8ec7 Don't use line blocks 2017-04-20 10:35:53 +02:00
gregoirenovel
c10c2fc31b Selectors must be written in lowercase with hyphens 2017-04-20 10:35:53 +02:00
gregoirenovel
73caee0ff3 Remove unused declarations 2017-04-20 10:05:59 +02:00
gregoirenovel
c32a2432c7 Don’t use vendor prefixes 2017-04-20 10:05:59 +02:00
gregoirenovel
e2bd606e49 Declarations must be terminated by a semicolon 2017-04-20 10:05:58 +02:00
gregoirenovel
0316bac137 Use double-quoted strings 2017-04-20 10:05:58 +02:00
gregoirenovel
11e5943989 Only one selector per line 2017-04-20 10:05:56 +02:00
gregoirenovel
5e1c99d642 Opening curly braces must be preceded by one single space 2017-04-19 17:05:57 +02:00
gregoirenovel
8cad7361cf An operator must be surrounded by single spaces 2017-04-19 17:05:57 +02:00
gregoirenovel
0789cfd311 Colons must be followed by a single space 2017-04-19 17:05:57 +02:00
gregoirenovel
8906801d6c Comment literals must be followed by a space 2017-04-19 17:05:57 +02:00
gregoirenovel
4b575bd386 Commas are followed by a space 2017-04-19 17:05:57 +02:00
gregoirenovel
4f0de677ab Begin pseudo elements with double colons 2017-04-19 17:05:57 +02:00
gregoirenovel
4b39e76c8a Use extend only with placeholders 2017-04-19 17:05:57 +02:00
gregoirenovel
f3ec7f1d42 Indent with two spaces 2017-04-19 17:05:57 +02:00
gregoirenovel
af7b611dd0 < 1 numbers must all have a leading zero 2017-04-19 17:05:57 +02:00
gregoirenovel
c9ff601b28 Hex colors must be written with uppercase letters 2017-04-19 17:05:57 +02:00
gregoirenovel
f519896e54 Hex colors must be 6 characters long 2017-04-19 17:05:57 +02:00
gregoirenovel
2cae8e751e Blocks must be separated by an empty line 2017-04-19 17:05:57 +02:00
gregoirenovel
0d5dd9d492 Remove empty rules 2017-04-19 17:05:57 +02:00
gregoirenovel
6a13e481fd Fix the declaration order 2017-04-19 17:05:57 +02:00
gregoirenovel
0ed13c9fe7 Remove duplicated properties 2017-04-19 17:05:56 +02:00
gregoirenovel
c5fc77b606 Change the comments style 2017-04-19 17:05:56 +02:00
gregoirenovel
bb02339183 Use border: none instead of border: 0 2017-04-19 17:05:56 +02:00
gregoirenovel
db331447e1 Use hex codes for colors 2017-04-19 17:05:55 +02:00
gregoirenovel
ddf02ccd6d Use a non-breaking space after the “numéro” contraction 2017-04-19 11:19:53 +02:00
gregoirenovel
ba4ee68019 Use masculine ordinal indicator instead of the degree sign
It’s the right way to contract “numéro”

We should use the superscript lowercase o but
it’s hard to do in places where only raw text is
available
2017-04-19 11:19:53 +02:00
Simon Lehericey
e49ea2d0e0 PiecesJustificative: add field to set it mandatory
small css to align the fields
2017-04-18 17:48:03 +02:00
gregoirenovel
21ff863dab [Fix #112] Add favicons 2017-04-17 19:32:26 +02:00
gregoirenovel
11015787bf Add new total numbers to the Stats page 2017-04-11 16:51:38 +02:00
gregoirenovel
52ea4a1b8d Add new charts and a segmented control to the Stats page 2017-04-11 16:51:38 +02:00
gregoirenovel
9dc4901294 Change the template and style of the Stats page 2017-04-11 15:29:19 +02:00
gregoirenovel
f84cd7f11b Make Stats a public page 2017-04-11 15:29:18 +02:00
Simon Lehericey
3228737a87 DossierLink: add edition template 2017-04-11 13:54:33 +02:00
gregoirenovel
9c04d3ff93 All CSS declarations must end with a semi-colon 2017-04-10 17:55:55 +02:00
gregoirenovel
cb677dfb45 Indent using 2 spaces 2017-04-04 16:59:40 +02:00
gregoirenovel
d1e463b7ab Files should end with a single new line 2017-04-04 16:59:39 +02:00
gregoirenovel
d5e7bbd80d Files should end with a new line 2017-04-04 16:59:38 +02:00
Mathieu Magnin
08442e64a3 Update turbolinks 2017-04-03 15:43:41 +02:00
gregoirenovel
28747a951f Delete unused assets 2017-04-03 13:25:19 +02:00
Mathieu Magnin
096f1e7198 Imageoptim on assets saved 400 ko 2017-03-30 15:51:39 +02:00
Simon Lehericey
1fa1e9e8e8 select_multiple: add select2 2017-03-15 17:51:34 +01:00
Simon Lehericey
657ce53a60 select_multiple: add multiple_drop_down_list type 2017-03-15 17:51:34 +01:00