diff options
author | Dhiru <dhiru@labadmin-P5E-Deluxe.(none)> | 2012-08-03 13:41:57 +0530 |
---|---|---|
committer | Dhiru <dhiru@labadmin-P5E-Deluxe.(none)> | 2012-08-03 13:41:57 +0530 |
commit | a5796265013443c349797508ef8066541c1a3a02 (patch) | |
tree | 87cf43ee35307906f77aa84f1c1ca273bd32208f /gstudio/templates/gstudio/transcript.html | |
parent | 3c6b52086767a59b83c51f88ea95f75d08f9f0fa (diff) | |
download | gnowsys-a5796265013443c349797508ef8066541c1a3a02.tar.gz |
Changes done in image,video&document library
Diffstat (limited to 'gstudio/templates/gstudio/transcript.html')
-rw-r--r-- | gstudio/templates/gstudio/transcript.html | 118 |
1 files changed, 111 insertions, 7 deletions
diff --git a/gstudio/templates/gstudio/transcript.html b/gstudio/templates/gstudio/transcript.html index ff8dfad..7860061 100644 --- a/gstudio/templates/gstudio/transcript.html +++ b/gstudio/templates/gstudio/transcript.html @@ -1,13 +1,13 @@ -{% load gstudio_tags i18n %} -{% get_tags as nodetype_tags %} {% load adminmedia grp_tags %} - - - -<!doctype html> +{% load i18n comments gstudio_tags %} +{% load tagging_tags comments i18n %} + <html> <head> -<script src="http://code.jquery.com/jquery-1.7.2.js" type="text/javascript"></script> +<link href="{% admin_media_prefix %}css/base.css" rel="stylesheet" type="text/css" /> +<link rel="stylesheet" type="text/css" media="screen, projection" href="{{ STATIC_URL }}gstudio/css/screen.css" /> +<link rel="shortcut icon" href="{{ STATIC_URL }}gstudio/img/favicon.ico" /> +<script src="{% admin_media_prefix %}jquery/jquery-1.6.2.min.js" type="text/javascript"></script> <script type="text/javascript" src="{{STATIC_URL}}gstudio/js/jquery.pandoravideo.js"></script> <script type="text/javascript" src="{{STATIC_URL}}gstudio/js/jquery.js"></script> <script type="text/javascript" src="{{STATIC_URL}}gstudio/js/jquery-ui-1.8.21.custom.min.js"></script> @@ -22,7 +22,111 @@ $('#pandoravideo').pandoravideo(); </head> <body> <div id="pandoravideo" data-pandora-id={{id}} data-pandora-layers="transcripts, descriptions, keywords, places"> + + +</div> +<font color='black'>Name:</font> +<font color='teal'>{{ titlename }}</font><br/> +<font color = 'black'>Posted By : </font> + + <font color = 'teal'>{{postedby}}</font> +<br> +<font color = 'black'>Posted At :</font> + <font color = 'teal'>{{date}}</font> + +<br> + <font color = 'black'>Location: </font> +<a href=http://maps.google.co.in/maps?hl=en&cp=43&gs_id=6&xhr=t&q={{map}}&bav=on.2,or.r_gc.r_pw.r_qf.,cf.osb&biw=1304&bih=680&um=1&ie=UTF-8&sa=N&tab=wl target="_blank">{{we}}</a> +<br> +<font color = 'black'>Description:</font><font color = 'teal'>{{ contentname }}</font> +<br/> +<font color = 'black'>Current rating is: <font color='teal'><b>{{ rateby }}</b></font> </font> +<br> +<form method="post" action=""> +{% csrf_token %} +<input name="star1" type="radio" value=1 class="star"/> +<input name="star1" type="radio" value=2 class="star"/> +<input name="star1" type="radio" value=3 class="star"/> +<input name="star1" type="radio" value=4 class="star"/> +<input name="star1" type="radio" value=5 class="star"/> + +<input type="hidden" name="vidid" value={{vidid}}> +<input type="submit" value="Rate it!!!"> +</form> +<br> +<form method="post" action=""> +{% csrf_token %} +<input type="hidden" name="favid" value={{vidid}}> +<input type="hidden" name="favusr" value={{user.username}}> +<input type="submit" value="Add to favourites"> +</form><br> +<form method="post" action="">{% csrf_token %} +<input type="hidden" name="vidid" value={{vidid}}> +<input type="text" value="" name="texttags" /> +<input type="submit" value="Add Tags" name="addtags" /> +</form> +<br/> +<br/> +<div class="tags"> + <p class="gbobject-tags span-16 last"> + <strong>{% trans "Tags" %}</strong> : + {% tags_for_object video as tag_list %} + {% for tag in tag_list %} + <a href="{% url objectapp_tag_detail tag %}" + title="Tag {{ tag }}" rel="tag">{{ tag }}</a> + {% empty %} + <span>{% trans "No tags" %}</span> + {% endfor %} + </p> +</div> +<br/><br/> +{% block nodetype-comments %} +<div id="comments" class=""> + <h5>{% trans "Comments" %}</h5> + {% with video.comments as comment_list %} + {% if comment_list.count %} + <ol id="comment-list" class="span-15 last"> + {% for comment in comment_list %} + <li id="comment_{{ comment.pk }}" class="comment vcard {% cycle box1,box2 %}{% if comment.user in video.authors.all %} post-author{% endif %} span-15 last"> + <div class="span-2"> + <img src="{% get_gravatar comment.email 60 "G" %}" class="gravatar photo" alt="{{ comment.user_name }}"/> + </div> + <div class="comment-body span-13 last"> + <div class="comment-author span-13 last"> + {% if comment.url %} + <a href="{{ comment.url }}" class="fn url" title = "{{ comment.user_name }}">{{ comment.user_name }}</a> + {% else %} + {{ comment.user_name }} + {% endif %} + {% trans "on" %} {{ comment.submit_date|date:"SHORT_DATETIME_FORMAT" }} + </div> + <div class="span-13 last"> + {{ comment.comment|linebreaks }} + </div> + </div> + </li> + {% endfor %} + </ol> + {% if not video.comments_are_open %} + <p>{% trans "Comments are closed." %}</p> + {% endif %} + {% else %} + {% if video.comments_are_open %} + <p>{% trans "No comments yet." %}</p> + {% else %} + <p>{% trans "Comments are closed." %}</p> + {% endif %} + {% endif %} + {% endwith %} +</div> +{% endblock %} + + +<div class="commentForm span-16 last"> + {% render_comment_form for video %} </div> +<hr width="100%" style="height:5px;" color="black"/> +<br> </body> </html> |