From c33af4c971f26fcf3e7eb61a6c3dd8e8af8418a6 Mon Sep 17 00:00:00 2001 From: Leif Johansson Date: Wed, 9 Feb 2011 11:06:55 +0100 Subject: restructure --- src/templates/apps/room/list.html | 44 +++++++++++++++++++++++++++++++++++++++ src/templates/apps/room/view.html | 29 ++++++++++++++++++++++++++ 2 files changed, 73 insertions(+) create mode 100644 src/templates/apps/room/list.html create mode 100644 src/templates/apps/room/view.html (limited to 'src/templates/apps') diff --git a/src/templates/apps/room/list.html b/src/templates/apps/room/list.html new file mode 100644 index 0000000..199dc89 --- /dev/null +++ b/src/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/src/templates/apps/room/view.html b/src/templates/apps/room/view.html new file mode 100644 index 0000000..df058f5 --- /dev/null +++ b/src/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 -- cgit v1.1