Skip to content

Conversation

@andrewshadura
Copy link
Contributor

This PR adds two things.

  1. Bootstrap classes for the schedule, making it more usable even without customisations:
    Bootstrap tables

  2. Embed view, suitable for embedding on another website: it has no headers, footers, navigation elements or edit controls.

{% endif %}
{% for schedule_day in schedule_days %}
<table cellspacing=1 cellpadding=0>
<table cellspacing=1 cellpadding=0 class="table table-striped table-bordered">
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is probably a better default, but I can still imagine wanting to override it, so it's tempting to do this via SCSS rather than classes.

Are cellspacing=1 cellpadding=0 still needed with these classes?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have removed that bit for now.

This view lacks the usual navigation features, footers and headers.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants