From 6166845ecb20a140eb1590bc19841af710b76b95 Mon Sep 17 00:00:00 2001 From: Leif Johansson Date: Thu, 12 May 2011 12:44:26 +0200 Subject: polish - the r/l layout didn't work for the list --- src/site-media/css/style.css | 4 ++-- src/templates/apps/room/list.html | 29 ++++++++++------------------- 2 files changed, 12 insertions(+), 21 deletions(-) diff --git a/src/site-media/css/style.css b/src/site-media/css/style.css index 181c740..dd6a342 100644 --- a/src/site-media/css/style.css +++ b/src/site-media/css/style.css @@ -1,5 +1,5 @@ html,body { font-size: 80%; font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; height: 100%; margin:0; padding:0;} -body { min-width: 900px; width: 90%; } +body { min-width: 600px; width: 90%; } div#container { position: relative; height:auto !important; height: 100%; min-height: 80%; margin-left: 50px; margin-top: 0; padding-bottom: 90px;} #modal-dialog { font-size: 110%; } #modal-dialog input.text textarea { margin-bottom:12px; width:95%; padding: .4em; } @@ -28,7 +28,7 @@ h3.listheader { padding-left: 20px; } .clist li { display: list-item; } .nlist ul { list-style: none; } .nlist li { display: list-item; list-style: none; } -.square li { list-style: square outside none; } +.square li { list-style: square inside none; } .description { clear: both; margin-top: 10px; padding-top: 15px; } p.info { font-size: 120%; margin-top: 10px; padding-top: 15px; } div.toolbar{ padding: 4px; float: right; margin-right: 30px; margin-bottom: 20px; margin-top: 50px; } diff --git a/src/templates/apps/room/list.html b/src/templates/apps/room/list.html index 126c591..69e17c9 100644 --- a/src/templates/apps/room/list.html +++ b/src/templates/apps/room/list.html @@ -27,25 +27,16 @@

{{r.name}}

-
    -
  • -
      -
    • Created by {{r.creator}} {{r.timecreated|datehumanize}}.
    • - {% if r.self_cleaning %}
    • Room will be reset when empty.
    • {%else%}
    • Room state is preserved between sessions.
    • {% endif %} - {% if r.lastvisited %}
    • Last visited {{r.lastvisited|datehumanize}}
    • {%endif%} -
    • Meeting room URL: {{r|roomurl}}
    • -
    • Hosted on {{r.acc.name}}
    • -
    -
  • - {% tags_for_object r as tags %} -
  • -
      -
    • {{r.name}}

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

    • -
    • Tags: {% for tag in tags %}{{tag}}{% endfor %} {%if edit %}... manage room tags{%endif%}
    • -
    -
  • -
- + {% tags_for_object r as tags %} +

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

+
    +
  • Tags: {% for tag in tags %}{{tag}}{% endfor %} {%if edit %}... manage room tags{%endif%}
  • +
  • Created by {{r.creator}} {{r.timecreated|datehumanize}}.
  • + {% if r.self_cleaning %}
  • Room will be reset when empty.
  • {%else%}
  • Room state is preserved between sessions.
  • {% endif %} + {% if r.lastvisited %}
  • Last visited {{r.lastvisited|datehumanize}}
  • {%endif%} +
  • Meeting room URL: {{r|roomurl}}
  • +
  • Hosted on {{r.acc.name}}
  • +