From 527ab688a8608ded5fc854cf8641228181efa981 Mon Sep 17 00:00:00 2001 From: Ankita Date: Fri, 13 Jul 2012 12:31:27 +0530 Subject: this patch was added for metastudio by BITS Pilani team in 2012. --- gstudio/templates/gstudio/image.html | 119 +++++++++++++++++++++++++++++++++++ 1 file changed, 119 insertions(+) create mode 100644 gstudio/templates/gstudio/image.html (limited to 'gstudio/templates/gstudio/image.html') diff --git a/gstudio/templates/gstudio/image.html b/gstudio/templates/gstudio/image.html new file mode 100644 index 0000000..f70a24b --- /dev/null +++ b/gstudio/templates/gstudio/image.html @@ -0,0 +1,119 @@ + + +{% extends "gstudio/base.html" %} +{% load adminmedia grp_tags %} +{% load i18n %} +{% block content %} +{% if user.is_authenticated %} +

Welcome to the ImageNation

+

{{ image.title }}

+

Logged in as: {{user.username}}

+
+
+{% csrf_token %} +

Post Image:

+

Title:


+

+ + +
+
+
+{% csrf_token %} +

Search Image

+

+

Sort images by:

+

+ +
+ +
+
+

IMAGES

+{% for image in images %} +
+
+

+{{ image.title }} + +

+
+
+ +
+
+

{{image.title}} +
+{% csrf_token %} + + +
+

+Posted By : +{% for author in image.authors.all %} + {{author}} +{% endfor %} +
+Posted At : {{image.creation_date}} +
+{% for author in image.authors.all %} + {% ifequal author.username user.username %} +
+{% csrf_token %} + + + +
+ +{% else %} + + + + {% endifequal %} +{% endfor %} +
+Current rating is

{{ image.rating.get_rating }}

+
+
+{% csrf_token %} + + + + + +
+ + +
+
+
+
+{% endfor %}
+

+{% else %} + +

Sorry you need to log in to see this content !

+ +{% endif %} + + +{% endblock %} + + -- cgit v1.1