summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--stapp/templates/video/home.html30
1 files changed, 30 insertions, 0 deletions
diff --git a/stapp/templates/video/home.html b/stapp/templates/video/home.html
new file mode 100644
index 0000000..ba84628
--- /dev/null
+++ b/stapp/templates/video/home.html
@@ -0,0 +1,30 @@
+{% extends "base.html" %}
+
+<!DOCTYPE html>
+
+{% block title %} STProject {% endblock %}
+
+{% block video %}
+
+<div class="hero-unit">
+ <h3>Latest Video</h3>
+ <video width="700" height="400" controls="controls" id="mainvideo">
+ <source src="{{play.filename.url}}">
+ </video>
+ <div id="footnote"></div>
+</div>
+
+{% for module in modules %}
+<div class="row">
+ <div span="12">
+ <h2>{{module.name}}</h2>
+ {% for video in module.video_list.all %}
+ <video width="150" height="150" controls="controls">
+ <source src="{{video.filename.url}}">
+ </video>
+ {{video.name}}
+ {% endfor %}
+ </div>
+</div>
+{% endfor %}
+{% endblock%}