Commit 60701553 authored by Tyler Hallada's avatar Tyler Hallada
Browse files

Fixed the layout of grid, added .env to gitignore.

parent 5b1046fd
...@@ -4,6 +4,7 @@ ...@@ -4,6 +4,7 @@
*.db *.db
*.swp *.swp
*.log *.log
*.env
venv venv
build build
.ropeproject .ropeproject
{% extends 'base.html' %} {% extends 'base.html' %}
{% block content %} {% block content %}
<!-- {% now "jS F Y H:i" %} --> <!-- Generated: {% now "jS F Y H:i" %} -->
<div id="grid"> <div id="grid">
{% for list in restRows %} {% for list in restRows %}
<div class = "row"> <div class = "row">
{% for restaurant in list %} {% for restaurant in list %}
<div class = "span3 {% if restaurant.isOpen %}open{% else %}closed{% endif %}"> <div class = "span3 {% if restaurant.isOpen %}open{% else %}closed{% endif %}">
{{ restaurant.name }} {{ restaurant.name }}
</div> </div>
{% endfor %} {% endfor %}
</div> </div>
</div>
{% empty %} {% empty %}
There aren't any restaurants. There aren't any restaurants.
{% endfor %} {% endfor %}
</div>
{% endblock %} {% endblock %}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment