]> git.parisson.com Git - teleforma.git/commitdiff
fix home
authoryomguy <yomguy@parisson.com>
Wed, 11 Apr 2012 13:47:22 +0000 (15:47 +0200)
committeryomguy <yomguy@parisson.com>
Wed, 11 Apr 2012 13:47:22 +0000 (15:47 +0200)
teleforma/htdocs/css/teleforma_black.css
teleforma/templates/telemeta/base.html
teleforma/templates/telemeta/home.html
teleforma/templates/telemeta/users.html

index de400f4037b589cf44a6ca3e165a5e7f8d62c589..2cb119c6585d57f365eae48915a20f51a4214879 100644 (file)
@@ -1348,7 +1348,7 @@ input,textarea{
     float: left;
     width:55%;
     padding: 0em 0em 0em 1em;
-    max-height: 600px;
+    max-height: 550px;
     overflow-y: scroll;
     }
 
@@ -1356,7 +1356,7 @@ input,textarea{
     float: left;
     width:75%;
     padding: 0em 0.8em 0em 1em;
-    max-height: 600px;
+    max-height: 550px;
     overflow-y: scroll;
     }
 
index 3073781d16348b5e54e7e8c8629f5ca3a5adb438..5909bd14cd7ca3925bf3bb5c93d4c95ee786a56e 100644 (file)
@@ -64,7 +64,7 @@ alt="Telemeta Powered"/>-->
  </li>
  {% else %}
   <li><a href="{% url telemeta-home %}" class="blue">{% trans "Home" %}</a></li>
-  <li><a href="{% url telemeta-login %}" class="violet">{% trans "Sign in" %}</a></li>
+  <li><a href="{% url telemeta-login %}" class="red">{% trans "Sign in" %}</a></li>
  {% endif %}
 
  {% if user.is_authenticated %}
index e2e27505438ee94df2ffb47e3511ebc5c1fe1a81..64ca6568ab507a83fd06811f7971610090bac7fc 100644 (file)
@@ -8,18 +8,6 @@
 
 {% block modules %}
 
-{% if sound_pub_item %}
-<div id="module" class="module">
-    <h3><img src="{% url telemeta-images "module_playlist.png" %}" alt="playlist" style="vertical-align:middle" />
-    {% trans "Musical selection" %}</h3>
-    <ul class="playlist">
-    <li><a href="{% url telemeta-item-detail sound_pub_item.public_id %}"><b>{{ sound_pub_item }}</b></a>{% if sound_pub_item.alt_title %} ({{ sound_pub_item.alt_title }}){% endif %}<br /><span style="font-size: 90%">{{ sound_pub_item.location.fullnames|to_string }}</span><br />
-<iframe width='376' height='215' frameborder='0' scrolling='no' marginheight='0' marginwidth='0' src='/archives/items/{{ sound_pub_item.public_id }}/player/362x130/'></iframe>
-    </li>
-    </ul>
-</div>
-{% endif %}
-
 {% with "Last changes" as title %}
 {% include "telemeta/inc/module_revisions.html" %}
 {% endwith %}
 {{ page_content|render_flatpage }}
 </div>
 
-{% if sound_pub_items %}
-<div style="margin-top: 1ex;font-size: 90%; width: 66%;">
-<div>
-<h1><img src="{% url telemeta-images "playlist_title.png" %}" alt="playlists" style="vertical-align:middle" />
-    {% trans "Musical selection" %}</h1>
-</div>
-{% for item in sound_pub_items %}
-<div style="float: left; margin: 3px;" align="center"><a href="{% url telemeta-item-detail item.public_id %}">{{ item }}</a>{% if item.alt_title %} ({{ item.alt_title }}){% endif %}<br /><span style="font-size: 80%">{{ item.location.fullnames|to_string }}</span><br />
-<iframe width='376' height='220' frameborder='0' scrolling='no' marginheight='0' marginwidth='0' src='/archives/items/{{ item.public_id }}/player/362x130/'></iframe></div>
-{% endfor %}
-</div>
-{% endif %}
+<a href="{% url telemeta-login %}" class="component_icon button" id="action_red">{% trans "Connexion" %}</a>
 
 </div>
 {% endblock %}
index 176185e3f532d8f827e763555c4202249afe291f..a5382100870db90f02c6e4f14680d1288b31c7af 100644 (file)
@@ -33,6 +33,7 @@
 {% endif %}
 
 <div class="course_title">{% trans "Users" %}</div>
+<br />
  {% if users %}
   {% include "telemeta/inc/user_list.html" %}
  {% else %}