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

Timetable css #10

Merged
merged 2 commits into from
Oct 12, 2018
Merged

Timetable css #10

merged 2 commits into from
Oct 12, 2018

Conversation

zarasyversen
Copy link
Contributor

Issue: #6

  • Improve table markup
  • Reindent
  • Add Bootstrap classes

screen shot 2018-10-11 at 21 27 31

I had an idea to make it more responsive but it is hard since we have a loop for the classes like

 {%for i in range(0,9)%}
<td>{{tt_dict['Mon'][i]}}</td>
 {%endfor%}

But nothing for the time of the day (Just hard-coded in the head). I wanted to hide/show markup on smaller screens but I don't know how to write a loop that will only give the times that have classes (or at least let me know which ones are empty). It would be easier if I could match the classes with the time of day somehow :)

Anyway I don't know Python..
But I hope this helps a little :)

@kaybhutani
Copy link
Owner

Hello,
Thanks for your amazing contribution
The for loop is doing nothing but just generating the table
Let me know what you're trying to do (screenshot if possible) and then we'll figure it out?

@kaybhutani kaybhutani merged commit 026e531 into kaybhutani:master Oct 12, 2018
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