Private
Public Access
1
0

added mini viewer

This commit is contained in:
Sander Roosendaal
2020-01-03 17:00:48 +01:00
parent 73ff474ea8
commit 1e6a42d967
3 changed files with 13 additions and 0 deletions

View File

@@ -40,6 +40,10 @@
$(this).removeAttr('disabled');
});
});
document.getElementById("smallscreen").style.display = "none";
if ($(window).width() <= 950) {
$("#smallscreen").show()
}
});
</script>
<script>
@@ -104,6 +108,12 @@ function copyText() {
{% language 'en' %}
<h1>Video Analysis for {{ workout.name }}</h1>
<ul class="main-content">
<li class="grid_4" id="smallscreen">
<p>Your screen is too small to show the full functionality. Click
<a href="/rowers/video/{{ analysis.id|encode }}/m">here</a>
to get to a version that is better suited for small screens.
</p>
</li>
{% if user.is_authenticated and user == workout.user.user and not locked %}
<li class="grid_2">
<p>Paste link to you tube video below</p>