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
Nicholas J Anderson
whats-open
Commits
1ba4f50b
Commit
1ba4f50b
authored
Jan 31, 2013
by
Tyler Hallada
Browse files
Merge branch 'master' of github.com:thallada/whats-open
parents
dfd53081
ce8fa106
Changes
4
Hide whitespace changes
Inline
Side-by-side
website/static/css/style.css
View file @
1ba4f50b
...
...
@@ -55,3 +55,12 @@ div.container{
text-align
:
center
;
}
.phone-footer
{
text-align
:
center
;
}
.clock
{
text-align
:
center
;
font-size
:
25px
;
font-family
:
"Courier New"
,
Courier
,
monospace
;
}
whats_open/templates/base.html
View file @
1ba4f50b
...
...
@@ -31,10 +31,15 @@
<a
href=
"http://whatsopen.gmu.edu"
>
What's Open
</a>
</div>
</div>
<div
class =
clock
>
{% now "H:i" %}
<!--All nice and static... this will too will likely be changing soon. -->
</div>
{% block content%}
{% endblock %}
<div
class =
"navbar"
>
...
...
@@ -44,10 +49,17 @@
</div>
<div
class =
"left-footer"
>
<div
class =
"left-footer hidden-phone"
>
A project of
<a
href=
"http://srct.gmu.edu"
>
GMU SRCT
</a>
. Some rights reserved.
</div>
<div
class =
"offset5 right-footer hidden-phone"
>
George Mason University
<a
href=
"http://dining.gmu.edu"
>
Dining Services
</a>
</div>
<div
class =
"phone-footer visible-phone"
>
A project of
<a
href=
"http://srct.gmu.edu"
>
GMU SRCT
</a>
. Some rights reserved.
</div>
<div
class =
"
offset5 right-footer
"
>
<div
class =
"
phone-footer visible-phone
"
>
George Mason University
<a
href=
"http://dining.gmu.edu"
>
Dining Services
</a>
</div>
...
...
whats_open/templates/location_grid.html
0 → 100644
View file @
1ba4f50b
{% extends 'base.html' %}
<!-- Grid with restaurants sorted by location -->
<!-- New revisions pending major revisions (whoo JavaScript!) by Tyler -->
{% block content %}
{% now "jS F Y H:i" %}
<div
id=
"grid"
>
{% 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 %}
</div>
{% endblock %}
whats_open/templates/restaurant_grid.html
View file @
1ba4f50b
{% extends 'base.html' %}
{% block content %}
<!-- Generated: {% now "jS F Y H:i" %} -->
<div
id=
"grid"
>
</div>
...
...
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