aboutsummaryrefslogtreecommitdiffstats
path: root/app/assets
AgeCommit message (Collapse)Author
2018-05-28Merge pull request #580 from af83/7031-fox-consolidated-viewLuc Donnet
7031 Css fixes on Consolidated view
2018-05-28Refs #6955 Add new translation + custom delete confirmation modalcedricnjanga
2018-05-22Refs #7031; Fix text overflow in stops nameZog
2018-05-17Refs #7031; Css fixes (safe)Zog
2018-05-16Merge pull request #562 from af83/6972-fix-consolidated-viewsAlban Peignier
Fix consolidated view when togglable elements are open. Fixes #6972
2018-05-11Make favicon transparent and retina compatible6627-favicon--make-transparent-and-retina-compatibleTeddy Wing
Use a transparent background version of the favicon instead of setting it on white as per the new requirements. Include both 16x16 and 32x32 sizes to support retina displays. I resized the `Logo_Chouette-256x256 transparent.png` logo in GIMP to 16x16 and 32x32 sizes using cubic interpolation. Then used Imagemagick to create the ICO file: $ convert \ Logo_Chouette-16x16\ transparent.png \ Logo_Chouette-32x32\ transparent.png \ favicon.ico Refs #6627
2018-05-11Refs #6973; Update consolidted views CSSZog
2018-05-11Refs #6972; Fix consolidated view when togglable elements are open6972-fix-consolidated-viewsZog
2018-05-10Merge pull request #555 from af83/6923-consolidated-offerAlban Peignier
Display consolidated offer. Fixes #6923
2018-05-07Rework imports to use Resources and make the a little more verboseZog
2018-05-07Refs #6321; :fire: commentsZog
2018-05-07Refs #6923; More :lipstick:Zog
2018-05-07Refs #6923; :lipstick:Zog
2018-05-04Refs #6923; Some css sugarZog
2018-05-04Refs #6923; Implement a consolidated viewZog
2018-04-27Add Chouette favicon6627-add-chouette-faviconTeddy Wing
Adds a favicon to the site to respond to these errors: ActionController::RoutingError (No route matches [GET] "/favicon.ico"): Using `favicon_link_tag` allows us to get the image from the asset pipeline, which makes it easier to update if necessary, since browsers tend to cache the default `/favicon.ico` indeterminably (source: http://api.rubyonrails.org/classes/ActionView/Helpers/AssetTagHelper.html#method-i-favicon_link_tag). According to some Stack Overflow posts I've been reading, it looks like it's advisable to put the `favicon.ico` file in both `/assets/images/` and `/public/`: - https://stackoverflow.com/questions/15687506/actioncontrollerroutingerror-no-route-matches-get-favicon-ico-in-rails#15688041 - https://stackoverflow.com/questions/11071445/favicon-in-ruby-on-rails-application This way, you can serve the favicon from the asset pipeline, but if any requesters try to get `/favicon.ico`, the server will respond with the image instead of an error. To be honest, when I was testing locally, I couldn't get the icon in `/public` to display, both without a `link` tag and with the following `link` tag: / application.html.slim / ... link href='/favicon.ico' rel='shortcut icon' As a result, I'm adding the image to `/public` with fingers crossed that it's going to work if requested. I generated the `favicon.ico` file with a 256x256px PNG supplied by Cyrielle in the Redmine ticket and the following ImageMagick command: $ convert -resize x16 -gravity center -crop 16x16+0+0 \ Logo_Chouette-256x256.png -flatten -colors 256 favicon.ico (Copied from: https://stackoverflow.com/questions/3185677/converting-gifs-pngs-and-jpgs-to-ico-files-using-imagemagick) Refs #6627
2018-04-27Refs #6572; Updte wordingZog
2018-04-27Refs #6572; Update filters on referentials listZog
2018-04-26ReferentialVehicleJourneys: Fix line drop-down placeholderTeddy Wing
After adding the `initvalue` data attribute, the placeholder was no longer rendered. Fix this by: 1. Removing all elements from the collection to ensure that boolean options don't get added by default to the select (https://github.com/plataformatec/simple_form/blob/84e4465/lib/simple_form/inputs/collection_input.rb#L36-L41) 2. Not setting an `initSelection` on the Select2 config if the initial selection fields are empty. This finally gets the placeholder to display correctly again. Refs #5889
2018-04-16Refs #6337; Make date validation JS locale-agnosticZog
2018-04-13Merge pull request #446 from af83/6382-compliance-control-block-refactoLuc Donnet
Refs #6382 Refacto display of ccblock transport mode errors
2018-04-13Fix css for errors display on compliance control block Refs #63826382-compliance-control-block-refactoLuc Donnet
2018-04-10Refs #6426; Disable "Create opposite route" action instead of hiding itZog
2018-04-10Refs 5846; Fix wrong translationZog
And a very small css fix
2018-04-05Refs #6382 Refacto display of ccblock transport mode errorscedricnjanga
2018-03-30Merge pull request #429 from af83/6363-fix-sticky-headerLuc Donnet
6363 Fix sticky title overlapping buttons
2018-03-29Refs #6156 Change capitalization of pagination textcedricnjanga
2018-03-29Refs #6363; Fix sticky title overlapping buttons6363-fix-sticky-headerZog
2018-03-15Merge pull request #372 from af83/6146-line-statesLuc Donnet
6146 Line state update
2018-03-15Refs #6143; Configurable extra headers on VJs editorZog
2018-03-15Merge pull request #355 from af83/5113-update-logoAlban Peignier
Refs #5113. Refs #5126. Update LineReferential icon
2018-03-14Merge pull request #367 from af83/6042-detailed_purchase_windowsAlban Peignier
Add detailed view for purchase windows. Refs #6042
2018-03-14Refs #5972 @1h; Automatic registration_number generationZog
2018-03-14Refs #6146; Fix display in tablesZog
2018-03-12Refs #5567; Disable routes by default5567-routes-map-on-line-showZog
2018-03-09Refs #6042; Add detailed view for purchazse windows6042-detailed_purchase_windowsZog
2018-03-02Merge pull request #338 from af83/5952-fix-sticky-header-behaviourteddywing
5952 Add an hysteresis on the sticky header
2018-03-02Merge pull request #337 from af83/5982-add-error-message-on-vj-creation-modalteddywing
5982 Show error in VJ creation modal when no JP is selected
2018-03-02Merge pull request #336 from af83/enhance-map-with-several-routesLuc Donnet
Enhance map with several routes
2018-03-02Show labels on a signle columnenhance-map-with-several-routesZog
Display full name on hover
2018-03-01Remove useless shadowZog
2018-03-01Small improvements on referential overviewsZog
2018-03-01Refs #5126; Update StopAreaReferential icon5113-update-logoZog
2018-03-01Refs #5113; Update LineReferential iconZog
2018-02-27Small css fix on referential overviewsZog
2018-02-23Refs #5952; Add an hysteresis on the sticky headerZog
2018-02-23Refs #5982; Show error in VJ creation modal when no JP is selectedZog
2018-02-23Better UI for maps showing mltiple routesZog
2018-02-22Refs #5398; Add a locale selector menu itemZog
2018-02-19Refs #5911 @2h; Better stops filters on ReferentialVJs#indexZog