Commit graph

16 commits

Author SHA1 Message Date
Alexey Zakharenkov
fc60bf56fa Add --cities-info-url CLI parameter to the main script and utilities 2023-03-14 19:15:44 +01:00
Alexey Zakharenkov
d5f2026301 Run the code through flake8 and black 2023-03-14 19:15:44 +01:00
Alexey Zakharenkov
bf27197b12 Correct links to the repository and active validator instance 2021-11-20 21:06:42 +01:00
Alexey Zakharenkov
76d9d0bbb9 Fix html layout so that tooltips stay inside window viewport 2021-11-03 23:30:32 +03:00
Alexey Zakharenkov
9d4d6c6583 Merge branch 'master' into add-error-severity-level 2021-11-03 13:46:48 +03:00
Claudius
0bc8f779ae More user friendly UX for severity level messaging
More user friendly severity level messaging

Included the changes I mentioned in [my earlier comment](https://github.com/alexey-zakharenkov/subways/pull/14#issuecomment-948391863) to:
- Add section headers to the different severity level messages
- Change the errors red colour to a accessible one
- Changed copy of entrance errors from "e:" to "ent:"
- Shortened an error message slightly to reduce possibility of it wrapping into a new line and have the "Under construction" keyword at the beginning of the sentence

CSS property width=fit-content is not supported in Firefox; shorten tooltip text; exclude empty validation message during HTML genertion
2021-11-03 10:56:10 +01:00
Alexey Zakharenkov
0a1115f4ec Make three levels of severity for validation errors 2021-10-16 00:50:02 +03:00
Claudius
2cb5e84694 Update v2h_templates.py
Tweaks to the HTML output template:
- Sticky footer so update timestamp always visible without scrolling
- Slight copy update to clarify that networks are shown behind the map link
- table row hover state now uses hue-rotate to ensure enough contrast as compared to whole line blue previously
2021-10-06 12:03:36 +02:00
Alexey Zakharenkov
691b9cd60d Link to metro map beside each city name 2020-08-24 22:41:53 +05:00
alexey-zakharenkov
672cdcf9f4 Fix '<City>, <Country>' splitting (#84) 2019-11-21 18:21:51 +05:00
Alexey Zakharenkov
47f978cd42 Link to the render page from the validation summary page 2019-06-19 10:51:55 +03:00
Claudius
21641babe7
Update v2h_templates.py
Added some CSS styling to support highlighting a row on hover. Also applying a max width to the table to prevent the country table to grow too wide
2019-05-14 22:22:24 +02:00
Ilya Zverev
a39cf3232d Support for trams 2018-07-20 19:40:08 +03:00
Ilya Zverev
ee8b9171c9 Support for writing multiple yaml and geojson files at once, fixes #28 2017-11-10 11:36:25 +03:00
Ilya Zverev
7396a3fa9e Restrict dumping to a single city, and print total number of cities in v2h 2017-10-27 14:01:43 +03:00
Ilya Zverev
1fccd16fc2 Initial commit 2017-10-04 15:58:58 +03:00