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 +++++++++++++++++++++ gstudio/templates/metadashboard/grpdashboard.html | 109 ++++++++++++ .../templates/metadashboard/logindashboard.html | 10 ++ gstudio/templates/metadashboard/userdashboard.html | 74 +++++++++ 16 files changed, 824 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 create mode 100644 gstudio/templates/metadashboard/grpdashboard.html create mode 100644 gstudio/templates/metadashboard/logindashboard.html create mode 100644 gstudio/templates/metadashboard/userdashboard.html (limited to 'gstudio/templates') diff --git a/gstudio/templates/gstudio/NewGroup.html b/gstudio/templates/gstudio/NewGroup.html new file mode 100644 index 0000000..829c4fa --- /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 0000000..210cd61 --- /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 0000000..38a61c5 --- /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 4a913e9..08fdab2 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 0000000..7be5aa7 --- /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 0000000..afc3746 --- /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 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 %} + + diff --git a/gstudio/templates/gstudio/later.html b/gstudio/templates/gstudio/later.html new file mode 100644 index 0000000..58b7dcd --- /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 0000000..babec6f --- /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 c99bab9..a695307 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 0000000..cf446fe --- /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 0000000..ff8dfad --- /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 0000000..644831a --- /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 %} + + + diff --git a/gstudio/templates/metadashboard/grpdashboard.html b/gstudio/templates/metadashboard/grpdashboard.html new file mode 100644 index 0000000..e92f616 --- /dev/null +++ b/gstudio/templates/metadashboard/grpdashboard.html @@ -0,0 +1,109 @@ +{% extends "gstudio/base.html" %} +{% load gstudio_tags %} +{% load i18n %} +{% block content %} + + + + +{% if user.is_authenticated %} + + Hello Welcome to the {{ meet_ob.title }}
+

This Discussion was initiated by {{admin_m.username}}

+ + You are logged in as {{user.username}} +
+ {%if flag %} +
+
{% csrf_token %} + + +
+
+
+
{% csrf_token %} + + +
+
+ {% endif %} +
+ + +
{% csrf_token %} + + +
+ + + + + + + + + + +
+ +
+ +
{% autoescape off %} + {% for each in topic %} +

{{each.title}}

+ Posted on : {{each.creation_date}} + Posted by : + {% for author in each.authors.all %} + {{author}} + {% endfor %}
+ Current rating is
{{ each.rating.get_rating }}
+ {%autoescape on%} + {{each.content}} + {% endautoescape%} +
{% csrf_token %} + Reply to the main thread : + + + +
+ + Do you wanna rate it ?
+ + + + + + +
+ +
+

+ Replies : + + + {% show_comment each user.id flag1 admin_id attribute %} + {% endfor %} + The discussion freezes at {{endtime}} +{% endautoescape %} + +{% else %} +

OOPS!!! Login Please!

+{% endif %} +{% endblock %} + diff --git a/gstudio/templates/metadashboard/logindashboard.html b/gstudio/templates/metadashboard/logindashboard.html new file mode 100644 index 0000000..f5ea914 --- /dev/null +++ b/gstudio/templates/metadashboard/logindashboard.html @@ -0,0 +1,10 @@ + + + + + + + +

OOPS!!! Login Please!

+ + diff --git a/gstudio/templates/metadashboard/userdashboard.html b/gstudio/templates/metadashboard/userdashboard.html new file mode 100644 index 0000000..e02f4ba --- /dev/null +++ b/gstudio/templates/metadashboard/userdashboard.html @@ -0,0 +1,74 @@ +{% extends "gstudio/base.html" %} +{% load gstudio_tags %} +{% load i18n %} +{% block content %} + + +{% if user.is_authenticated %} + Welcome to the GnowledgeStudio
+ You are logged in as {{user.username}} +


+

Here is a list of all the groups:

+
+ {% for each in meetings.member_systems.all %} + {{each.title}}
+ {% endfor %} + +

+

+
+{% else %} +

OOPS!!! Login Please!

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