summaryrefslogtreecommitdiff
path: root/stapp/templates/video/home.html
diff options
context:
space:
mode:
authorParth Buch2012-07-20 19:34:53 +0530
committerParth Buch2012-07-20 19:34:53 +0530
commit0a66a25e8fe16e96b3e805c10c53f8496a2341b3 (patch)
treeb264585bbaa3abdc2cf1b70e323e2e1688ab1239 /stapp/templates/video/home.html
parentfa78132169b6f56f2c5b83461ef4f116b8ee4940 (diff)
downloadstproject-0a66a25e8fe16e96b3e805c10c53f8496a2341b3.tar.gz
stproject-0a66a25e8fe16e96b3e805c10c53f8496a2341b3.tar.bz2
stproject-0a66a25e8fe16e96b3e805c10c53f8496a2341b3.zip
UI Changes, removed the 'well' class to get rid of padding problem
Diffstat (limited to 'stapp/templates/video/home.html')
-rw-r--r--stapp/templates/video/home.html22
1 files changed, 19 insertions, 3 deletions
diff --git a/stapp/templates/video/home.html b/stapp/templates/video/home.html
index 54f3b26..275a77a 100644
--- a/stapp/templates/video/home.html
+++ b/stapp/templates/video/home.html
@@ -32,14 +32,30 @@ function myfunction(video,image)
{% endblock %}
{% block module_list %}
- {% for module in modules %}
- <div class="module-list"><h2>{{module.name}}</h2>
+ <div class="row-fluid">
+ <h1>Latest Modules</h1>
+ {% for module in latest_modules %}
+ <div class="module-list"><h3>{{module.name}}</h3>
<h5>{{module.description|safe}}</h5>
{% for video in module.video_list.all %}
<a href=javascript:myfunction("{{video.filename.url}}","{{video.image.url}}");javascript:document.getElementById('videoname').innerHTML={{video.name}}; >{{video.name}}</a>
<br />
{% endfor %}</div>
-{% endfor %}
+ {% endfor %}
+ </div>
+
+ <div class="row-fluid">
+ <h1>All Modules</h1>
+ {% for module in all_modules %}
+ <div class="module-list"><h3>{{module.name}}</h3>
+ <h5>{{module.description|safe}}</h5>
+ {% for video in module.video_list.all %}
+ <a href=javascript:myfunction("{{video.filename.url}}","{{video.image.url}}");javascript:document.getElementById('videoname').innerHTML={{video.name}}; >{{video.name}}</a>
+ <br />
+ {% endfor %}</div>
+ {% endfor %}
+ </div>
+
{% endblock %}