summaryrefslogtreecommitdiff
path: root/website
diff options
context:
space:
mode:
authorSashi202017-10-09 16:46:17 +0530
committerSashi202017-10-09 16:46:17 +0530
commit4de1369acc09f749682a11ec5aece1db50550b1e (patch)
tree28c4c0d967f6f81f15b94d2591c9db8a313d2226 /website
parent44c95fc7f30e93549d35febe6d953870ca64bdbf (diff)
downloadSciPy2017-4de1369acc09f749682a11ec5aece1db50550b1e.tar.gz
SciPy2017-4de1369acc09f749682a11ec5aece1db50550b1e.tar.bz2
SciPy2017-4de1369acc09f749682a11ec5aece1db50550b1e.zip
Added google analytics code
Diffstat (limited to 'website')
-rwxr-xr-xwebsite/templates/cfp.html4
-rw-r--r--website/templates/footer.html10
-rwxr-xr-xwebsite/templates/submit-cfp.html5
-rwxr-xr-xwebsite/templates/submit-cfw.html5
4 files changed, 20 insertions, 4 deletions
diff --git a/website/templates/cfp.html b/website/templates/cfp.html
index adbbae8..9785a2f 100755
--- a/website/templates/cfp.html
+++ b/website/templates/cfp.html
@@ -83,11 +83,11 @@
<br/>
{% if user.is_superuser %}
<center>
- <a href="{% url 'website:view_abstracts' %}" class="button special">View Proposals</a>
+ <a href="{% url 'website:view_abstracts' %}" class="btn btn-info">View Proposals</a>
</center>
{% else %}
<center>
- <a href="{% url 'website:view_abstracts' %}" class="button special">View Proposals</a>
+ <a href="{% url 'website:view_abstracts' %}" class="btn btn-info">View Proposals</a>
</center>
{% endif %}
{% else %}
diff --git a/website/templates/footer.html b/website/templates/footer.html
index 3aece5e..0423ed2 100644
--- a/website/templates/footer.html
+++ b/website/templates/footer.html
@@ -87,6 +87,16 @@
});
});
</script>
+<script>
+ (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
+ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
+ m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
+ })(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
+
+ ga('create', 'UA-26098261-1', 'auto');
+ ga('send', 'pageview');
+
+</script>
<script type="text/javascript">
function validateMessage() {
diff --git a/website/templates/submit-cfp.html b/website/templates/submit-cfp.html
index 74ba0df..f8d6982 100755
--- a/website/templates/submit-cfp.html
+++ b/website/templates/submit-cfp.html
@@ -49,7 +49,10 @@
{% endfor %}
</div>
{% csrf_token %}
- <center><button class="btn btn-info" type="submit">Submit</button></center>
+ <center>
+ <button class="btn btn-info" type="submit">Submit</button>
+ <a href="{% url 'website:view_abstracts' %}" class ="btn btn-info" role="button">Back</a>
+ </center>
</form>
{% endif %}
</div>
diff --git a/website/templates/submit-cfw.html b/website/templates/submit-cfw.html
index 0761f41..af4a3dd 100755
--- a/website/templates/submit-cfw.html
+++ b/website/templates/submit-cfw.html
@@ -66,7 +66,10 @@
{% if form.error %}
Auch
{% endif %}
- <center><button class="btn btn-info" type="submit">Submit</button></center>
+ <center>
+ <button class="btn btn-info" type="submit">Submit</button>
+ <a href="{% url 'website:view_abstracts' %}" class ="btn btn-info" role="button">Back</a>
+ </center>
{% endif %}
</div>
{% endblock %}