/
site.html
87 lines (79 loc) · 4.15 KB
/
site.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
{% load displayutils %}
{% load pipeline %}
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" value="text/html; charset=UTF-8">
<meta name="Description" content="Automatically synchronize your fitness activities between Garmin Connect, Runkeeper, Strava and more.">
<meta name="Keywords" content="automatic, synchronize, sync, update, copy, transfer, download, back up, export, fitness, garmin, garmin connect, runkeeper, strava, endomondo, sporttracks, trainingpeaks, ridewithgps, ride with gps, training peaks, dropbox, trainerroad, motivato, velohero, epson, runsense, path, track, heart rate, free, service, gpx, tcx, health, data, service, cycling, running, swimming, walking, what other activities can I put here?, underwater basket weaving, why are you reading the SEO keywords anyways, move along, nothing to see here">
{% stylesheet 'tapiriik-css' %}
{% if config.in_diagnostics %}
<script type="text/javascript">tapiriik = {diagnostics: true};</script>
<script type="text/javascript" src="{{ STATIC_URL }}js/Chart.min.js"></script>
<link rel="stylesheet" href="{{ STATIC_URL }}css/diagnostics.css" />
{% endif %}
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.0/jquery.min.js"></script>
{% javascript 'tapiriik-js' %}
{% if user %}
<script src="//ajax.googleapis.com/ajax/libs/angularjs/1.2.12/angular.min.js"></script>
{% javascript 'tapiriik-user-js' %}
{% endif %}
<title>{% block site_title %}{% block title %}dashboard{% endblock %} • tapiriik{% endblock %}</title>
<meta name="viewport" content="width=device-width">
{% block head %}{% endblock %}
<link rel="icon" type="image/png" href="{{ STATIC_URL }}img/favicon.png">
</head>
<body {% if celebration_mode %}class="{{ celebration_mode.BodyCSSClasses }}"{% endif %} ng-app="tapiriik">
<!-- I blame centre-aligning -->
<div class="contentOuter">
<div class="contentWrap">
<div class="mainBlock">
<div class="logo">
{% if celebration_mode.Logo %}
<a href="/"><img src="{{ STATIC_URL}}img/{{ celebration_mode.Logo }}" title="{{ celebration_mode.TitleText }}" alt="{{ celebration_mode.TitleText }}"/></a>
{% else %}
<a href="/">tapiriik</a>
{% endif %}
{% if celebration_mode.Subtitle %}
<div class="sub">{{ celebration_mode.Subtitle }}</div>
{% else %}
<div class="sub">keeps your fitness in sync</div>
{% endif %}
</div>
<div class="logoPad"></div>
<div class="contentOuterBorder">
<div class="content">
{% block content %}{% endblock %}
</div>
</div>
<div class="footers"><a href="{% url 'faq' %}">FAQ</a> | <a href="{% url 'privacy' %}">Privacy</a> | <a href="{% url 'credits' %}">Credits</a>{% if user %} | <a href="#" onclick="tapiriik.Logout();">Log out</a>{% endif %}<br/><span style="font-size:95%;font-weight:normal">All trademarks displayed are property of their respective owners</br>
<a href="http://twitter.com/tapiriik" target="_blank">@tapiriik</a> is an <a href="https://github.com/cpfair/tapiriik" target="_blank">open source project</a> by <a href="{% url 'contact' %}">Collin Fair</a>
</div>
</div>
</div>
</div>
<!-- I should procedurally generate these -->
<div class="environsWrap">
<div class="environs">
<div class="background"></div>
<div class="mountains">
<div id="a" class="mountain"></div><div id="b" class="mountain"></div><div id="c" class="mountain"></div>
<div class="snow"></div>
</div>
<div class="sun"></div>
</div>
</div>
<script type="text/javascript">
{% include "js-bridge.js" %}
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-39083873-1']);
_gaq.push(['_trackPageview']);
_gaq.push(['_setDomainName', 'none']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
</body>
</html>