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
Christopher M Reffett
whats-open
Commits
66171165
Commit
66171165
authored
Sep 11, 2013
by
Renfred Harper
Browse files
Add restaurant div within grid div for containment
parent
86c52794
Changes
1
Hide whitespace changes
Inline
Side-by-side
website/static/js/grid.js
View file @
66171165
...
...
@@ -25,7 +25,9 @@ function construct_grid(filtered_restaurants) {
}
// Append the data into the Bootstrap scaffolding
$
(
'
#grid .row
'
).
last
().
append
(
'
<div class="col-sm-4 col-md-3
'
+
open_class
+
'
" id="
'
+
restaurant
.
id
+
'
">
'
+
restaurant
.
name
+
'
</div>
'
'
<div class="col-sm-4 col-md-3 grid-box id="
'
+
restaurant
.
id
+
'
">
\
<div class="restaurant
'
+
open_class
+
'
">
'
+
restaurant
.
name
+
'
</div>
\
</div>
'
);
});
$
(
'
#footer
'
).
show
();
...
...
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