From b1f71c5439e3bdf7a3c0fb2c1730d6242c6356d9 Mon Sep 17 00:00:00 2001 From: anujag Date: Thu, 9 Aug 2012 18:38:06 +0530 Subject: added loom studio --- gstudio/templates/gstudio/NewTopic1.html | 24 ++- gstudio/templates/gstudio/_header.html | 2 +- gstudio/templates/gstudio/skeleton.html | 10 + gstudio/templates/gstudio/tags/comment.html | 204 ++++++++++++++++----- gstudio/templates/metadashboard/grpdashboard.html | 62 ++++--- gstudio/templates/metadashboard/userdashboard.html | 10 +- 6 files changed, 234 insertions(+), 78 deletions(-) (limited to 'gstudio/templates') diff --git a/gstudio/templates/gstudio/NewTopic1.html b/gstudio/templates/gstudio/NewTopic1.html index 38a61c5b..5f2db824 100644 --- a/gstudio/templates/gstudio/NewTopic1.html +++ b/gstudio/templates/gstudio/NewTopic1.html @@ -1,7 +1,20 @@ {% extends "gstudio/base.html" %} {% block content %} -

Add a new Topic

+ + + +

Add a new Twist

{% if errors %} + +
+ + + +
  • {{each}}'s fabric +{% if child.rating.get_rating %} +Current rating is {{ child.rating.get_rating }}
    {% endif %} +{{child.content}} +
    {% csrf_token %} + + + + + + + +



    + + + + + + +
    + Do you wanna rate it ?
    + + + + + + +
    + +
    +
  • + + + {% show_comment child idusr flag admin_id attribute%} + + + {% else %} + {% ifequal idusr each.id %} + +
    + +{{each}}'s Response
    +{% if child.rating.get_rating %} +Current rating is {{ child.rating.get_rating }}
    +{% endif %} + {{child.content}} +
    {% csrf_token %} + + + + + +



    + + + + + + + + + +
    + Do you wanna rate it ?
    + + + + + + +
    + + +
    +
    + {% show_comment child idusr flag admin_id attribute%} + + + {% else %} + {% ifequal attribute "true" %} + +
    + + {{each}}'s Response
    +{% if child.rating.get_rating %} +Current rating is {{ child.rating.get_rating }}
    +{% endif %} + {{child.content}} + +
    {% csrf_token %} + + + + + +



    + + + + + +
    + Rate this response
    + + + + + + +
    + + +
    + +
    + + {% show_comment child idusr flag admin_id attribute%} {% endifequal %} + {% endifequal %} + {% endifequal %} + {% endfor %} + {% endfor %} + +{% endif %} diff --git a/gstudio/templates/metadashboard/grpdashboard.html b/gstudio/templates/metadashboard/grpdashboard.html index e92f616c..f6cb6c09 100644 --- a/gstudio/templates/metadashboard/grpdashboard.html +++ b/gstudio/templates/metadashboard/grpdashboard.html @@ -14,14 +14,25 @@ $(window).load(function() { $("#graphcss").hide(); }); +var i=0; + {% if user.is_authenticated %} - - Hello Welcome to the {{ meet_ob.title }}
    -

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

    + +

    {{admin_m.username}}'s initial twist to the thread

    - You are logged in as {{user.username}} +
    {%if flag %}
    @@ -42,55 +53,60 @@ $(window).load(function() {
    {% csrf_token %} - +
    - - + + +
    {% autoescape off %} {% for each in topic %}

    {{each.title}}

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


    + + + +
    + +
    + + +

    - Replies : + Fibers : +

    On the loom now:


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


    {% else %} -

    OOPS!!! Login Please!

    +

    Please Login

    {% endif %} -- cgit v1.2.3-70-g09d2