Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SRCT
whats-open
Commits
60701553
Commit
60701553
authored
Oct 22, 2012
by
Tyler Hallada
Browse files
Fixed the layout of grid, added .env to gitignore.
parent
5b1046fd
Changes
2
Hide whitespace changes
Inline
Side-by-side
.gitignore
View file @
60701553
...
...
@@ -4,6 +4,7 @@
*.db
*.swp
*.log
*.env
venv
build
.ropeproject
whats_open/templates/restaurant_grid.html
View file @
60701553
{% extends 'base.html' %}
{% block content %}
<!-- {% now "jS F Y H:i" %} -->
<!--
Generated:
{% now "jS F Y H:i" %} -->
<div
id=
"grid"
>
{% for list in restRows %}
<div
class =
"row"
>
<div
class =
"row"
>
{% for restaurant in list %}
<div
class =
"span3 {% if restaurant.isOpen %}open{% else %}closed{% endif %}"
>
{{ restaurant.name }}
</div>
{% endfor %}
</div>
</div>
{% empty %}
There aren't any restaurants.
{% endfor %}
</div>
{% endblock %}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment