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

Embed view and Bootstrap tables in the schedule template #476

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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.

@@ -35,7 +35,7 @@ <h1>
</div>
{% 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