From 2bdad0ae7a3a6e4ec5116becd39910388b679ed2 Mon Sep 17 00:00:00 2001 From: Leif Johansson Date: Thu, 4 Oct 2012 15:39:08 +0200 Subject: restructure --- src/templates/apps/room/create.html | 1 - src/templates/apps/room/fragments/occupation.txt | 1 - src/templates/apps/room/launch.html | 34 ---------- src/templates/apps/room/list.html | 79 ------------------------ src/templates/apps/room/modify.html | 3 - src/templates/apps/room/recordings.html | 46 -------------- src/templates/apps/room/retry.html | 13 ---- src/templates/apps/room/tag.html | 32 ---------- src/templates/apps/room/update.html | 1 - src/templates/apps/room/widget.html | 41 ------------ 10 files changed, 251 deletions(-) delete mode 100644 src/templates/apps/room/create.html delete mode 100644 src/templates/apps/room/fragments/occupation.txt delete mode 100644 src/templates/apps/room/launch.html delete mode 100644 src/templates/apps/room/list.html delete mode 100644 src/templates/apps/room/modify.html delete mode 100644 src/templates/apps/room/recordings.html delete mode 100644 src/templates/apps/room/retry.html delete mode 100644 src/templates/apps/room/tag.html delete mode 100644 src/templates/apps/room/update.html delete mode 100644 src/templates/apps/room/widget.html (limited to 'src/templates/apps/room') diff --git a/src/templates/apps/room/create.html b/src/templates/apps/room/create.html deleted file mode 100644 index b8b3b68..0000000 --- a/src/templates/apps/room/create.html +++ /dev/null @@ -1 +0,0 @@ -{% extends "apps/room/modify.html" %} diff --git a/src/templates/apps/room/fragments/occupation.txt b/src/templates/apps/room/fragments/occupation.txt deleted file mode 100644 index 705b6bf..0000000 --- a/src/templates/apps/room/fragments/occupation.txt +++ /dev/null @@ -1 +0,0 @@ -{%if nusers %}There are {{nusers}} users present, {{nhosts}} of whom are hosts.{%else%}The room is currently unoccupied.{%endif%} \ No newline at end of file diff --git a/src/templates/apps/room/launch.html b/src/templates/apps/room/launch.html deleted file mode 100644 index 204345d..0000000 --- a/src/templates/apps/room/launch.html +++ /dev/null @@ -1,34 +0,0 @@ -{% extends "base.html" %} -{% load datehumanize %} -{% block widgets %} -{% endblock %} -{% block content %} - -
-
-

- Note - You are about to enter the meeting room '{{room.name}}'. - {%if room.nusers == 0 %} - You are the first user to enter the room. - {%else%} - There are {{room.nusers}} other participants in the room right now. - {% endif %} - {%if room.nhosts == 0 %} There are no hosts in the room right now. This means that the participants in the room may not be able to make full use of the room. - If you are hosting this meeting and are comfortable with the Adobe Connect software you may press 'Enter as Host' below to become the first host. - {% endif %} -

-
-
-
-
- Cancel - {%if room.nhosts == 0 %} - Enter as Host - {% endif %} - Enter as Participant - -
-{% endblock %} \ No newline at end of file diff --git a/src/templates/apps/room/list.html b/src/templates/apps/room/list.html deleted file mode 100644 index 4e83466..0000000 --- a/src/templates/apps/room/list.html +++ /dev/null @@ -1,79 +0,0 @@ -{% extends "base.html" %} -{% load datehumanize %} -{% load roomurl %} -{% load tagging_tags %} -{% block widgets %} - $(".collapse").collapse({'parent': '#rooms'}); - $(".occupation").click(function(e) { - $(this).find(".occupation-info").first().load("/api/room/"+$(this).parents('.accordion-body').attr('id')+"/occupation") - }); - $(".occupation").ajaxStart(function() { - $(".occupation i.icon-refresh").removeClass("icon-refresh").addClass("spinner").spin("custom"); - }).ajaxStop(function() { - $(".occupation i.spinner").spin(false); - $(".occupation i.spinner").addClass("icon-refresh").removeClass("spinner"); - }); -{% endblock %} -{% block meta %} -{% if tags %} - - -{% endif %} -{% endblock %} -{% block content %} - - {% if rooms %} -
- {% for r in rooms %} -
- -
-
- {% tags_for_object r as tags %} -

{{r|roomurl}}

-

{% if r.description %}{{r.description|safe}}{% else %}No description available...{% endif %}

-
    - {% if tags %}
  • » {% for tag in tags %}{{tag}}{% endfor %}{%if edit %} manage room tags{%endif%}
  • {% endif %} -
  • » Created by {{r.creator}} {{r.timecreated|datehumanize}}.
  • -
  • » {%if r.nusers%}There are {{r.nusers}} users present, {{r.nhosts}} of whom are hosts.{%else%}The room is currently unoccupied.{%endif%} refresh
  • - {% if r.self_cleaning %}
  • » Room will be reset when empty.
  • {%else%}
  • » Room state is preserved between sessions.
  • {% endif %} - {% if r.allow_host %}
  • » First participant can elect to become host.
  • {% endif %} - {% if r.lastvisited %}
  • » Last visited {{r.lastvisited|datehumanize}}
  • {%endif%} -
  • » Hosted on {{r.acc.name}} room usage plot
  • -
-
-
- Enter Room - {% if edit %} - Room Tags - Room Recordings - Modify Room - {% if room.is_locked %} - Unlock Room - {% endif %} - Delete Room - {% endif %} -
-
-
-
- {% endfor %} -
- {% else %} -

Nothing comes to mind right now...

- {% endif %} -
- {% if edit %} -
- Create a New Room -
- {% endif %} -{% endblock %} -{% block validators %} -{% if tags %} -[Valid Atom 1.0] -[Valid RSS] -{% endif %} -{% endblock %} \ No newline at end of file diff --git a/src/templates/apps/room/modify.html b/src/templates/apps/room/modify.html deleted file mode 100644 index a2e1b3a..0000000 --- a/src/templates/apps/room/modify.html +++ /dev/null @@ -1,3 +0,0 @@ -{% extends "edit.html" %} -{% block widgets %} -{% endblock %} \ No newline at end of file diff --git a/src/templates/apps/room/recordings.html b/src/templates/apps/room/recordings.html deleted file mode 100644 index 8e95b09..0000000 --- a/src/templates/apps/room/recordings.html +++ /dev/null @@ -1,46 +0,0 @@ -{% extends "base.html" %} - -{% load datehumanize %} -{% load roomurl %} -{% load tagging_tags %} -{% block widgets %} -$(".collapse").collapse({'parent': '#recordings'}); -{% endblock %} -{% block meta %} - - -{% endblock %} -{% block content %} - - {% if recordings %} -
- {% for r in recordings %} -
- -
-
-

{{r.url}}

-
{% if r.description %}{{r.description|safe}}{% else %}No description available...{% endif %}
-
    -
  • » Created {{r.date_created|datehumanize}}.
  • -
  • » Modified {{r.date_modified|datehumanize}}.
  • -
  • » Hosted on {{room.acc.name}}
  • -
- Play Recording -
-
-
- {% endfor %} -
- {% else %} -

No recordings right now...

- {% endif %} -
- Back to '{{room.name}}' -{% endblock %} -{% block validators %} -[Valid Atom 1.0] -[Valid RSS] -{% endblock %} \ No newline at end of file diff --git a/src/templates/apps/room/retry.html b/src/templates/apps/room/retry.html deleted file mode 100644 index 28054cc..0000000 --- a/src/templates/apps/room/retry.html +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - -

Room is temporarily locked

-

Retrying room in {{wait}} seconds...

- - - \ No newline at end of file diff --git a/src/templates/apps/room/tag.html b/src/templates/apps/room/tag.html deleted file mode 100644 index 087862f..0000000 --- a/src/templates/apps/room/tag.html +++ /dev/null @@ -1,32 +0,0 @@ -{% extends "edit.html" %} -{% load datehumanize %} -{% load roomurl %} -{% block widgets %} - -{% endblock %} -{% block formstyle %} -class="form-inline" -{% endblock %} -{% block justbeforeform %} -
-
- - Note Well Tags are a way to group related rooms together. Tagging your - room makes your room show up in public lists of rooms hosted on this service and it - therefore makes your room visible. This does not mean that anyone can access - your room. -
- {% if tags %} -
- {% for tag in tags %} - - {{tag}}  - - - {% endfor %} -
- {% else %} -
There are no tags yet...
-
- {% endif %} -{% endblock %} diff --git a/src/templates/apps/room/update.html b/src/templates/apps/room/update.html deleted file mode 100644 index 01f1990..0000000 --- a/src/templates/apps/room/update.html +++ /dev/null @@ -1 +0,0 @@ -{% extends "edit.html" %} diff --git a/src/templates/apps/room/widget.html b/src/templates/apps/room/widget.html deleted file mode 100644 index a658a17..0000000 --- a/src/templates/apps/room/widget.html +++ /dev/null @@ -1,41 +0,0 @@ -{% extends "base.html" %} -{% block content %} - - -
- - The meetingtools jquery widget allows you to easily embed lists of meetings in your own - web page using the popular jQuery javascript library. -
- -

Copy the sample html below in order to list rooms tagged with {{tags}}.

- -
-<html>
-   <head>
-      <script type="text/javascript"
-                 src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
-      <script type="text/javascript"
-                 src="{% baseurl %}/site-media/js/jquery.meetingtools.js"></script>
-      <link href="{% baseurl %}/site-media/css/jquery.meetingtools.css"
-               rel="stylesheet" type="text/css" />
-      <script type="text/javascript">
-         $(function() {
-            $("#meetings").meetingtools({tags: '{{tags}}',url: '{% baseurl %}'});
-         });
-      </script>
-   </head>
-   <body>
-      <h1>Meetings...</h1>
-      <div id="meetings"><img src="{% baseurl %}/site-media/img/ajax-loader.gif"/></div>
-   </body>
-</html>
-
- -

- Change the tags option in the call to 'meetingtools' in order to list other rooms. Override - the CSS elements in jquery.meetingtools.css in order to apply your own skin to the generated html. -

-{% endblock %} \ No newline at end of file -- cgit v1.1