Commit 58f5334b authored by Tyler Hallada's avatar Tyler Hallada
Browse files

Merge branch 'master' of github.com:thallada/whats-open

parents ffe390d7 baaa3055
a{
color: ForestGreen;
}
a:hover{
color: Green;
}
a:visited{
color: DarkGreen;
}
div.container{
}
.title{
text-align: center;
font-size: 50px;
font-weight: 900;
margin-top:30px;
}
.left-footer{
position: absolute;
left: 5px;
bottom: 5px;
}
.right-footer{
position: absolute;
right: 5px;
bottom: 5px;
}
#grid div[class*='span']{
margin-top:10px;
margin-bottom:10px;
}
.open{
color:green;
color:ForestGreen;
font-weight:bold;
font-size:200%;
text-align:center;
......
{% extends 'base.html' %}
{% block content %}
<!-- {% now "jS F Y H:i" %} -->
{% for list in restRows %}
<div class = "row">
{% for restaurant in list %}
<div class = "span3 {% if restaurant.isOpen %}open{% else %}closed{% endif %}">
{{restaurant.name}}
</div>
{% endfor %}
</div>
{% empty %}
There aren't any restaurants.
{% endfor %}
{% endblock %}
......@@ -17,11 +17,37 @@
{% endblock %}
</head>
{% endblock %}
<body>
<div class = "container">
{% block content%}
<body>
<div class = "container">
{% endblock %}
<!-- Title, Logo -->
<div class = "row-fluid">
<div class = "span2">
<a href="http://www.gmu.edu/"><img src = "http://logo.gmu.edu/hireslogos/primarylogo/PC/GMURGB.bmp" alt = "GMU Logo" width = "114" height = "79"></a>
</div>
</body>
<div class = "span8 title">
<a href="http://whatsopen.gmu.edu">What's Open</a>
</div>
</div>
{% block content%}
{% endblock %}
<div class = "navbar">
</div>
<!-- Footers -->
</div>
<div class = "left-footer">
A project of <a href="http://srct.gmu.edu">GMU SRCT</a>. Some rights reserved.
</div>
<div class = "offset5 right-footer">
George Mason University <a href="http://dining.gmu.edu">Dining Services</a>
</div>
</body>
</html>
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