From 59640d9760e7950454df403c1d2b74eb4352cd8d Mon Sep 17 00:00:00 2001 From: Jay Parikh Date: Fri, 20 Jul 2012 17:39:12 +0530 Subject: made changes in the UI to make the module list better --- stapp/static/video/css/style.css | 1 + stapp/templates/video/home.html | 12 +++++++++--- 2 files changed, 10 insertions(+), 3 deletions(-) (limited to 'stapp') diff --git a/stapp/static/video/css/style.css b/stapp/static/video/css/style.css index 5586116..6476769 100644 --- a/stapp/static/video/css/style.css +++ b/stapp/static/video/css/style.css @@ -22,4 +22,5 @@ body{ float:left; margin-right:30px; margin-bottom:50px; + width: 250px; } diff --git a/stapp/templates/video/home.html b/stapp/templates/video/home.html index 4dbdc9f..75ec528 100644 --- a/stapp/templates/video/home.html +++ b/stapp/templates/video/home.html @@ -8,8 +8,13 @@ {% endblock %} @@ -22,8 +27,8 @@ function myfunction(video,image) {% endblock%} {% block video_description %} -

{{ play.name }}

-

{{ play.description }}

+

{{ play.name }}

+

{{ play.description }}

{% endblock %} {% block module_list %} @@ -31,7 +36,8 @@ function myfunction(video,image)

{{module.name}}

{{module.description}}
{% for video in module.video_list.all %} - {{video.name}}
+ {{video.name}} +
{% endfor %}
{% endfor %} {% endblock %} -- cgit