Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change position of page titles and add page headers #98

Open
danieldegroot2 opened this issue Mar 10, 2022 · 1 comment
Open

Change position of page titles and add page headers #98

danieldegroot2 opened this issue Mar 10, 2022 · 1 comment
Labels
good first issue Good for newcomers UI

Comments

@danieldegroot2
Copy link
Contributor

danieldegroot2 commented Mar 10, 2022

For at least the following pages, add

  • an offset to their page title. The second one could instead be positioned above the existing content.
    Offset is referring to the offset of i.e. event page titles.
    Positioning above existing content is referring to the position of i.e. the Documentation page title.
  • a page header (example code given below).

'Join Event' on the Attend page. (code)

{% block title %}
    Join Event | OpenStreetMap Calendar
{% endblock %}

image


"New Event" on the Repeat Event page. (code - display code)

{% block title %}
    {% if page_title %}{{ page_title }} | {% endif %}OpenStreetMap Calendar
{% endblock %}

(similar could be done for Add Event page.)

image


Documentation is currently a single title "OpenStreetMap Calendar Manual", it could be split as above to assure the user they're still on the same website.

@danieldegroot2 danieldegroot2 changed the title Change position of Repeat Event page title Change position of page titles and add page headers Mar 20, 2022
@thomersch
Copy link
Owner

Yes, they are not very consistent. I think this is a result of some stylesheet changes that I made but haven't check on all the pages if they're still ok.

The general idea is that almost all pages have narrow, center content, because it's easier to read, but there are a few which use a multi-column design (like the event detail pages) and fallback to single column on narrow devices. The titles themselves should be offset as you say as on e.g. the documentation page.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers UI
Projects
None yet
Development

No branches or pull requests

2 participants