From 0fb514f0a73aef806b826348d043c68534af2745 Mon Sep 17 00:00:00 2001 From: Leif Johansson Date: Tue, 8 Feb 2011 20:46:40 +0100 Subject: v1 --- templates/apps/room/list.html | 44 +++++++++++++++ templates/apps/room/view.html | 29 ++++++++++ templates/base.html | 126 +++++++++++++++++++++--------------------- templates/edit.html | 32 +++++++++++ templates/login.html | 8 +++ 5 files changed, 176 insertions(+), 63 deletions(-) create mode 100644 templates/apps/room/list.html create mode 100644 templates/apps/room/view.html create mode 100644 templates/edit.html create mode 100644 templates/login.html (limited to 'templates') diff --git a/templates/apps/room/list.html b/templates/apps/room/list.html new file mode 100644 index 0000000..199dc89 --- /dev/null +++ b/templates/apps/room/list.html @@ -0,0 +1,44 @@ +{% extends "base.html" %} +{% load datehumanize %} +{% load roomurl %} +{% block widgets %} + $("#rooms").accordion({ + header: 'h3', + active: false, + event: "click", + collapsible: true, + navigation: true, + animated: true + }); +{% endblock %} +{% block content %} +

Your Rooms

+ {% if rooms %} +
+ {% for r in rooms %} +
+

{{r.name}}

+
+

Created by {{r.creator}} {{r.timecreated|datehumanize}}.

+

Meeting room URL: {{r|roomurl}}

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

You don't have any rooms listed right now...

+ {% endif %} +
+
+ +
+{% endblock %} \ No newline at end of file diff --git a/templates/apps/room/view.html b/templates/apps/room/view.html new file mode 100644 index 0000000..df058f5 --- /dev/null +++ b/templates/apps/room/view.html @@ -0,0 +1,29 @@ +{% extends "base.html" %} +{% load datehumanize %} +{% block widgets %} +{% endblock %} +{% block content %} +

{{room.name}}

+ + + + + + + + + + + + + + + + + + + + + +
Name{{room.name}}
URL{% url meetingtools.apps.room.views.go room.id %}
Current users{{nusers}}
Self cleaning{{room.self_cleaning}}
Permission{{permission}}
+{% endblock %} \ No newline at end of file diff --git a/templates/base.html b/templates/base.html index 66eb9a9..e4ceaee 100644 --- a/templates/base.html +++ b/templates/base.html @@ -2,83 +2,83 @@ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> - {{service_name}} Error + SUNET Meeting Tools + + + + + - - - - - + + + + + - -
-
-
- -