This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="coffeed-rating"> | |
{% if rating == 1 %} | |
<i class="fa fa-heart"></i><i class="fa fa-heart-o"></i><i class="fa fa-heart-o"></i><i class="fa fa-heart-o"></i><i class="fa fa-heart-o"></i> | |
{% elif rating == 2 %} | |
<i class="fa fa-heart"></i><i class="fa fa-heart"></i><i class="fa fa-heart-o"></i><i class="fa fa-heart-o"></i><i class="fa fa-heart-o"></i> | |
{% elif rating == 3 %} | |
<i class="fa fa-heart"></i><i class="fa fa-heart"></i><i class="fa fa-heart"></i><i class="fa fa-heart-o"></i><i class="fa fa-heart-o"></i> | |
{% elif rating == 4 %} | |
<i class="fa fa-heart"></i><i class="fa fa-heart"></i><i class="fa fa-heart"></i><i class="fa fa-heart"></i><i class="fa fa-heart-o"></i> | |
{% elif rating == 5 %} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% extends "base/theme.html" %} | |
{% block scripts %} | |
<script src="http://maps.google.com/maps/api/js?sensor=true"></script> | |
<script src="{{ STATIC_URL }}theme/js/gmaps.js"></script> | |
<script src="{{ STATIC_URL }}theme/js/maps.js"></script> | |
{% endblock %} | |
{% block maincontent %} | |
<div class="data-layer"> | |
<ul> | |
<li class="location-data" data-latitude="{{ location.position.latitude }}" data-longitude="{{ location.position.longitude }}">{{ location.title }}</li> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def get_file_path(instance, filename): | |
blocks = filename.split('.') | |
ext = blocks[-1] | |
filename = "%s.%s" % (uuid.uuid4(), ext) | |
instance.title = blocks[0] | |
return os.path.join('uploads/', filename) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="coffeed-rating"> | |
{% if rating == 1 %} | |
<i class="fa fa-heart"></i><i class="fa fa-heart-o"></i><i class="fa fa-heart-o"></i><i class="fa fa-heart-o"></i><i class="fa fa-heart-o"></i> | |
{% elif rating == 2 %} | |
<i class="fa fa-heart"></i><i class="fa fa-heart"></i><i class="fa fa-heart-o"></i><i class="fa fa-heart-o"></i><i class="fa fa-heart-o"></i> | |
{% elif rating == 3 %} | |
<i class="fa fa-heart"></i><i class="fa fa-heart"></i><i class="fa fa-heart"></i><i class="fa fa-heart-o"></i><i class="fa fa-heart-o"></i> | |
{% elif rating == 4 %} | |
<i class="fa fa-heart"></i><i class="fa fa-heart"></i><i class="fa fa-heart"></i><i class="fa fa-heart"></i><i class="fa fa-heart-o"></i> | |
{% elif rating == 5 %} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
getcoffeed.com | |
https://twitter.com/getcoffeed | |
https://www.facebook.com/getcoffeed |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.display-box{ | |
height:240px; | |
} | |
.short-map{ | |
height:267px; | |
} | |
.header-buffer{ | |
height:70px; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="col-lg-12"> | |
<h2 class="section-heading">Be the first to find out.</h2> | |
<div id="mc_embed_signup"> | |
<form action="//onemonth.us1.list-manage.com/subscribe/post?u=146c16ed7f6726f54d234b212&id=edb5855387" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate" target="_blank" novalidate> | |
<div class="form-group"> | |
<input type="email" value="" name="EMAIL" class="email form-control" id="mce-EMAIL" placeholder="email address" required style="width: 300px;"> | |
</div> | |
<input type="submit" value="Subscribe" name="subscribe" id="mc-embedded-subscribe" class="btn btn-primary"> | |
</form> | |
</div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
web: gunicorn coffeed.wsgi --log-file - |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
Django settings for coffeed project. | |
For more information on this file, see | |
https://docs.djangoproject.com/en/1.7/topics/settings/ | |
For the full list of settings and their values, see | |
https://docs.djangoproject.com/en/1.7/ref/settings/ | |
""" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"scores":[ | |
{ | |
"title":"Score Summary", | |
"value":87, | |
"subscores":[ | |
{ | |
"title":"FIT", | |
"value":50, | |
"subscores":[ |