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
58f5334b
Commit
58f5334b
authored
Nov 17, 2012
by
Tyler Hallada
Browse files
Merge branch 'master' of github.com:thallada/whats-open
parents
ffe390d7
baaa3055
Changes
3
Hide whitespace changes
Inline
Side-by-side
website/static/admin/css/style.css
View file @
58f5334b
a
{
color
:
ForestGreen
;
}
a
:hover
{
color
:
Green
;
}
a
:visited
{
color
:
DarkGreen
;
}
div
.container
{
div
.container
{
}
.title
{
text-align
:
center
;
font-size
:
50px
;
font-weight
:
900
;
margin-top
:
30px
;
margin-top
:
30px
;
}
}
.left-footer
{
position
:
absolute
;
left
:
5px
;
bottom
:
5px
;
}
.right-footer
{
position
:
absolute
;
right
:
5px
;
bottom
:
5px
;
}
#grid
div
[
class
*=
'span'
]
{
#grid
div
[
class
*=
'span'
]
{
margin-top
:
10px
;
margin-top
:
10px
;
margin-bottom
:
10px
;
margin-bottom
:
10px
;
}
}
.open
{
.open
{
color
:
g
reen
;
color
:
ForestG
reen
;
font-weight
:
bold
;
font-weight
:
bold
;
font-size
:
200%
;
font-size
:
200%
;
text-align
:
center
;
text-align
:
center
;
...
...
whats_open/templates/alpha.html
deleted
100644 → 0
View file @
ffe390d7
{% 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 %}
whats_open/templates/base.html
View file @
58f5334b
...
@@ -17,11 +17,37 @@
...
@@ -17,11 +17,37 @@
{% endblock %}
{% endblock %}
</head>
</head>
{% endblock %}
{% endblock %}
<body>
<body>
<div
class =
"container"
>
<div
class =
"container"
>
{% block content%}
{% 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>
</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>
</html>
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