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/list.html | 79 --------------------------------------- 1 file changed, 79 deletions(-) delete mode 100644 src/templates/apps/room/list.html (limited to 'src/templates/apps/room/list.html') 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 -- cgit v1.1