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
0a8c65b9
Commit
0a8c65b9
authored
Mar 23, 2013
by
Tyler Hallada
Browse files
Show footer after generating grid
parent
589be8bc
Changes
2
Hide whitespace changes
Inline
Side-by-side
website/static/js/grid.js
View file @
0a8c65b9
...
...
@@ -30,6 +30,8 @@ function construct_grid(restaurants) {
$
.
ajax
({
url
:
'
/ajax/schedule/
'
,
}).
done
(
function
(
data
)
{
// Hide footer while generating grid to prevent it flying across the screen
$
(
'
#footer
'
).
hide
();
$
(
'
#grid
'
).
empty
();
$
(
'
#grid
'
).
html
(
'
<div class="row"></div>
'
);
var
restaurants
=
data
.
data
;
...
...
@@ -99,4 +101,5 @@ $.ajax({
});
});
construct_grid
(
restaurants
);
$
(
'
#footer
'
).
show
();
});
whats_open/templates/base.html
View file @
0a8c65b9
...
...
@@ -68,7 +68,7 @@
</div>
<div
id=
"footer"
>
<div
id=
"footer"
style=
"display:none"
>
A project of
<a
href=
"http://srct.gmu.edu"
>
GMU SRCT
</a>
.
<a
href=
"http://opensource.org/licenses/MIT/"
>
Some rights reserved
</a>
.
|
George Mason University
<a
href=
"http://dining.gmu.edu/"
>
Dining Services
</a>
...
...
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