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/NewGroup.html | 53 ++++++++ gstudio/templates/gstudio/NewTopic.html | 21 ++++ gstudio/templates/gstudio/NewTopic1.html | 20 +++ gstudio/templates/gstudio/_header.html | 13 +- gstudio/templates/gstudio/docu.html | 107 ++++++++++++++++ gstudio/templates/gstudio/fullscreen.html | 4 + gstudio/templates/gstudio/image.html | 119 ++++++++++++++++++ gstudio/templates/gstudio/later.html | 8 ++ gstudio/templates/gstudio/over.html | 7 ++ gstudio/templates/gstudio/skeleton.html | 5 +- gstudio/templates/gstudio/tags/comment.html | 68 ++++++++++ gstudio/templates/gstudio/transcript.html | 28 +++++ gstudio/templates/gstudio/video.html | 184 ++++++++++++++++++++++++++++ 13 files changed, 631 insertions(+), 6 deletions(-) create mode 100644 gstudio/templates/gstudio/NewGroup.html create mode 100644 gstudio/templates/gstudio/NewTopic.html create mode 100644 gstudio/templates/gstudio/NewTopic1.html create mode 100644 gstudio/templates/gstudio/docu.html create mode 100644 gstudio/templates/gstudio/fullscreen.html create mode 100644 gstudio/templates/gstudio/image.html create mode 100644 gstudio/templates/gstudio/later.html create mode 100644 gstudio/templates/gstudio/over.html create mode 100644 gstudio/templates/gstudio/tags/comment.html create mode 100644 gstudio/templates/gstudio/transcript.html create mode 100644 gstudio/templates/gstudio/video.html (limited to 'gstudio/templates/gstudio') diff --git a/gstudio/templates/gstudio/NewGroup.html b/gstudio/templates/gstudio/NewGroup.html new file mode 100644 index 00000000..829c4fa7 --- /dev/null +++ b/gstudio/templates/gstudio/NewGroup.html @@ -0,0 +1,53 @@ +{%extends "gstudio/base.html"%} +{%load i18n %} +{%block extrahead%} + +{%endblock%} +{% block content %} +{%if user.is_authenticated%} +{% if errors %} + +{% endif %} +
+{% csrf_token %} +

Name of the Group:

+

Brief Description:

+
+

If you want to leave any instructions for the participants you may mention them above as well

+Please Set the time +
+Starts at time: +
+ + + + Date: + Hours: + Minutes:
+

NoteThe group will be accessible to members (except the creator)only after the scheduled start time

+ Ends at time:
+ Date: + Hours: + Minutes: +

After this time the group posts remain but the activity is frozen

+ + +

+

Creating a group will require to schedule it for an indefinite period of time. So in this case, please enter end time of say 50 years from now

+{%else%} +

Sorry! Login To proceed

+ +{%endif%} +{% endblock %} + + diff --git a/gstudio/templates/gstudio/NewTopic.html b/gstudio/templates/gstudio/NewTopic.html new file mode 100644 index 00000000..210cd619 --- /dev/null +++ b/gstudio/templates/gstudio/NewTopic.html @@ -0,0 +1,21 @@ + + +Setting a new Topic + + +

Add a new Topic for The group Discussion

+{% if errors %} + +{% endif %} +
{% csrf_token %} +

Title:

+

Description:

+ + +
+ + diff --git a/gstudio/templates/gstudio/NewTopic1.html b/gstudio/templates/gstudio/NewTopic1.html new file mode 100644 index 00000000..38a61c5b --- /dev/null +++ b/gstudio/templates/gstudio/NewTopic1.html @@ -0,0 +1,20 @@ + +{% extends "gstudio/base.html" %} +{% block content %} +

Add a new Topic

+{% if errors %} + +{% endif %} + +
{% csrf_token %} +

Title:

+

Description:

+ + +
+ +{% endblock %} diff --git a/gstudio/templates/gstudio/_header.html b/gstudio/templates/gstudio/_header.html index 4a913e91..08fdab24 100644 --- a/gstudio/templates/gstudio/_header.html +++ b/gstudio/templates/gstudio/_header.html @@ -8,14 +8,17 @@
Home - | {% if grappelli_admin_title %}{{ + + {% if user.is_authenticated %} - - {% if user.is_staff %} + {% if user.is_staff %} + | Gnowledge Studio + | Documents + | Images + | Videos | Admin Dashboard {% endif %} diff --git a/gstudio/templates/gstudio/docu.html b/gstudio/templates/gstudio/docu.html new file mode 100644 index 00000000..7be5aa74 --- /dev/null +++ b/gstudio/templates/gstudio/docu.html @@ -0,0 +1,107 @@ + + +{% extends "gstudio/base.html" %} +{% load i18n %} +{% load adminmedia grp_tags %} +{% block content %} +{% if user.is_authenticated %} +

Welcome to the DocZilla

+

{{ image.title }}

+

Logged in as: {{user.username}}

+
+
+{% csrf_token %} +

Post File:

+

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

Search File

+

+

Sort files by:

+

+ +
+ +
+
+

SHARE

+ +{% for document in documents %} + +
+ +
+

{{document.title}}

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

{{ document.rating.get_rating }}

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

Sorry you need to log in to see this content !

+ +{% endif %} + + +{% endblock %} + diff --git a/gstudio/templates/gstudio/fullscreen.html b/gstudio/templates/gstudio/fullscreen.html new file mode 100644 index 00000000..afc3746f --- /dev/null +++ b/gstudio/templates/gstudio/fullscreen.html @@ -0,0 +1,4 @@ + +{% load adminmedia grp_tags %} + + diff --git a/gstudio/templates/gstudio/image.html b/gstudio/templates/gstudio/image.html new file mode 100644 index 00000000..f70a24b3 --- /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 %} + + diff --git a/gstudio/templates/gstudio/later.html b/gstudio/templates/gstudio/later.html new file mode 100644 index 00000000..58b7dcda --- /dev/null +++ b/gstudio/templates/gstudio/later.html @@ -0,0 +1,8 @@ +{%extends "gstudio/base.html"%} +{%load i18n %} +{% block content %} + +

Sorry The meeting is scheduled later!

+ +

The meeting {{sys.title}} is scheduled to start at {{starttime}} please try later

+{%endblock%} diff --git a/gstudio/templates/gstudio/over.html b/gstudio/templates/gstudio/over.html new file mode 100644 index 00000000..babec6f4 --- /dev/null +++ b/gstudio/templates/gstudio/over.html @@ -0,0 +1,7 @@ +{%extends "gstudio/base.html"%} +{%load i18n %} +{% block content %} +sorry, the meeting {{sys.title}}was over on {{endtime}} + + +{%endblock%} diff --git a/gstudio/templates/gstudio/skeleton.html b/gstudio/templates/gstudio/skeleton.html index c99bab9e..a6953070 100644 --- a/gstudio/templates/gstudio/skeleton.html +++ b/gstudio/templates/gstudio/skeleton.html @@ -123,7 +123,10 @@ - + + + + {% block extrahead %}{% endblock %} {% endblock %} diff --git a/gstudio/templates/gstudio/tags/comment.html b/gstudio/templates/gstudio/tags/comment.html new file mode 100644 index 00000000..cf446fe0 --- /dev/null +++ b/gstudio/templates/gstudio/tags/comment.html @@ -0,0 +1,68 @@ + + + + + +{% load gstudio_tags %} +{% load i18n %} + + + +{% if comment.posterior_nodes.count %} + + +{% endif %} + + + + diff --git a/gstudio/templates/gstudio/transcript.html b/gstudio/templates/gstudio/transcript.html new file mode 100644 index 00000000..ff8dfadc --- /dev/null +++ b/gstudio/templates/gstudio/transcript.html @@ -0,0 +1,28 @@ +{% load gstudio_tags i18n %} +{% get_tags as nodetype_tags %} +{% load adminmedia grp_tags %} + + + + + + + + + + + + + + +
+
+ + + diff --git a/gstudio/templates/gstudio/video.html b/gstudio/templates/gstudio/video.html new file mode 100644 index 00000000..644831a6 --- /dev/null +++ b/gstudio/templates/gstudio/video.html @@ -0,0 +1,184 @@ +{% extends "gstudio/base.html" %} +{% load i18n %} +{% load adminmedia grp_tags %} +{% block content %} +{% if user.is_authenticated %} +

Welcome to the VideoCore

+

{{ image.title }}

+

Logged in as: {{user.username}}

+
+
+{% csrf_token %} +

Post Video:

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

Search Video

+

+

Sort videos by:

+

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

VIDEOS


+ + + + + + + +
+ + + + + + + +
+{% if fav %} +

Favourite Videos

+{% endif %} +
+ +{% for video in vids %} + +

{{video.title}}

+
+{% csrf_token %} + + +
+

Right click to download


+Posted By : +{% for author in video.get_nbh.posted_by %} + {{author}} +{% endfor %} +
+Posted At : +{% for date in video.get_nbh.creation_day %} + {{date}} +{% endfor %} +
+{% for we in video.get_nbh.source %} + Location: + {% for map in video.get_nbh.map_link %} + {% ifnotequal map '' %} + {{we}} + {% endifnotequal %} + {% endfor %} + {% endfor %} +
+Current rating is

{{ video.rating.get_rating }}

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

+
+
+{% endfor %}
+ +

+Follow us on Facebook +{% else %} + +

Sorry you need to log in to see this content !

+ +{% endif %} +{% endblock %} + +{% block chart %} +













+ +




+ +
+{% endblock %} + + + -- cgit v1.2.3-70-g09d2