Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added metrics to output

  • Loading branch information...
commit f3e7a5aaf561fc8c59690730d519ab5ab0a88f98 1 parent 3f0c518
Ash Christopher ashchristopher authored
8 wheretoeat/site-media/css/nomnomnom.css
View
@@ -114,7 +114,7 @@ input {
border-radius: .3em;
background: #EFEFEF;
margin-bottom: 10px;
- padding: 0.8em 0.6em 3em 0.6em;
+ padding: 1em 0.6em;
overflow:visible;
white-space: nowrap;
}
@@ -143,6 +143,12 @@ input {
.address {
clear: both;
float: left;
+ padding-bottom: 20px;
+}
+
+.metrics {
+ clear: both;
+ float: left;
}
.map {
BIN  wheretoeat/site-media/images/footsteps.jpg
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
BIN  wheretoeat/site-media/images/foursquare.jpg
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
BIN  wheretoeat/site-media/images/foursquare.png
View
Deleted file not rendered
32 wheretoeat/templates/base.html
View
@@ -41,15 +41,37 @@ <h1 id='header'><a href='{% url index %}'>NomNomNom Rank</a></h1>
</div>
<div id='results' style='display:none'>
<ul class='result clearfix'>
- <span class='score' id='id_rank'>1.234</span>
- <h3 class='company_name' id='id_company_name'>Company Name</h3>
+ <span class='score' id='id_rank'></span>
+ <h3 class='company_name' id='id_company_name'></h3>
<ul class='address'>
- <li id='id_street_address'>123 This Rd</li>
+ <li id='id_street_address'></li>
<li>
- <span id='id_city'>Toronto</span>
- <span id='id_prov'>Ontario</span>
+ <span id='id_city'></span>
+ <span id='id_prov'></span>
</li>
</ul>
+ <div id='id_metrics' class='metrics'>
+ <h4>Why did we choose this restaraunt?</h4>
+ <ul>
+ <li>
+ <img id='weather_icon' src='' /><span>Weather:</span>
+ <span id='id_weather'></span>
+ </li>
+ <li>
+ <img src='{{MEDIA_URL}}images/footsteps.jpg' />
+ <span>Distance:</span>
+ <span id='id_distance'></span>
+ </li>
+ <li>
+ <img src='{{MEDIA_URL}}images/foursquare.jpg' />
+ <span>Fourquare Popularity</span>
+ </li>
+ <li>
+ <img src='{{MEDIA_URL}}images/foursquare.jpg' />
+ <span>Fourquare Saturation</span>
+ </li>
+ </ul>
+ </div>
<div id='id_map' class='map' style='width:250px;height:250px;'></div>
</ul>
</div>
Please sign in to comment.
Something went wrong with that request. Please try again.