link to logo
This commit is contained in:
@@ -15,7 +15,11 @@ def landingview(request):
|
||||
return render(request,
|
||||
'landingpage.html',
|
||||
)
|
||||
|
||||
|
||||
def logoview(request):
|
||||
image_data = open(settings.MEDIA_ROOT+"/apple-icon-144x144.png", "rb").read()
|
||||
return HttpResponse(image_data, content_type="image/png")
|
||||
|
||||
|
||||
def rootview(request):
|
||||
magicsentence = rmain()
|
||||
@@ -62,9 +66,9 @@ def rootview(request):
|
||||
'image':'/static/img/Remote coaching.png',
|
||||
'text':'Rowsandall.com is the ideal platform for remote rowing coaching. As a coach, you can easily manage your athletes, set up plans and monitor execution and technique'
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
allofferings = [
|
||||
planoffering,
|
||||
uploadoffering,
|
||||
@@ -79,7 +83,7 @@ def rootview(request):
|
||||
random.shuffle(aux)
|
||||
|
||||
offerings = aux[0:5]
|
||||
|
||||
|
||||
return render(request,
|
||||
'frontpage.html',
|
||||
{
|
||||
@@ -87,6 +91,3 @@ def rootview(request):
|
||||
'form':loginform,
|
||||
'offerings':offerings,
|
||||
})
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user