]> git.parisson.com Git - teleforma.git/commitdiff
fix some bad divs, widths..
authoryomguy <yomguy@parisson.com>
Wed, 11 Jul 2012 09:23:55 +0000 (11:23 +0200)
committeryomguy <yomguy@parisson.com>
Wed, 11 Jul 2012 09:23:55 +0000 (11:23 +0200)
teleforma/static/teleforma/css/teleforma.css
teleforma/templates/teleforma/courses.html
teleforma/templates/teleforma/help.html
teleforma/templates/telemeta/base.html

index 6dc5344d5c9cd67e69a5b4062015f01d4d13d5bd..55dc29050a34d4cfc50860321516c732331f8ae6 100644 (file)
@@ -1332,7 +1332,7 @@ input,textarea{
 #module-set {
     float: right;
     clear: right;
-    padding-right: 1em;
+    padding-right: 0em;
 }
 
 #module-set .module {
@@ -1342,7 +1342,7 @@ input,textarea{
     background-color:#ebebeb;
     background-repeat:repeat;
     padding: 0.2em;
-    margin: 2em 2.5em 0em 0em;
+    margin: 2em 1em 0em 0em;
     -moz-border-radius: 8px 0px 8px 8px;
     -webkit-border-radius: 8px 0px 8px 8px;
     border-radius: 8px 0px 8px 8px;
@@ -1416,8 +1416,8 @@ input,textarea{
 
 .desk_center {
     float: left;
-    width:50%;
-    padding: 0em 2em 0em 2em;
+    width: 50%;
+    padding: 0em 3em 0em 2em;
     max-height: 550px;
     overflow-y: auto;
     }
index 79864415c0c0a5f6dba0d0d28bd07fb6ab4c22ca..80dc7c07ec48d3912e56d53d98349d01c26ed072 100644 (file)
@@ -16,9 +16,11 @@ $(document).ready(function(){
 
 {% block content %}
 
-<div id="module-set-left" style="width: 20%">
+<div id="module-set-left" style="width: 18%">
 
+{% block modules %}
 <div class="module">
+
 <h3><a href="{% url teleforma-desk %}"><img src="{% url telemeta-images "module_playlist.png" %}" alt="playlists" style="vertical-align:middle" />{% trans "My courses" %}</a></h3>
 <div style="background: white;">
 <ul>
@@ -31,6 +33,7 @@ $(document).ready(function(){
 {% endblock courses %}
 </ul>
 </div>
+
 </div>
 
 {% block notes %}
@@ -50,6 +53,7 @@ $(document).ready(function(){
 {% endblock notes %}
 
 </div>
+{% endblock modules %}
 
 
 {% block course %}
@@ -82,7 +86,7 @@ $(document).ready(function(){
    {% endfor %}
 </div>
 {% endblock course %}
-</div>
+
 
 {% block chat %}
 {% if room %}
index cf68864ada1f2c837c3bae4b83d172913dbeabe1..0a2f399d4d2fe3f080e4276c058e6a05c3457022 100644 (file)
@@ -5,8 +5,6 @@
 
 {% block content %}
 
-
-
 {% block modules %}
 <div id="module-set-left" style="width: 20%">
 <div class="module">
@@ -17,7 +15,6 @@
    <li><a href="#demonstrations">Démonstrations</a></li>
    <li><a href="#faq">FAQ</a></li>
    <li><a href="#support">Support</a></li>
-
 </ul>
 </div>
 </div>
index 9099cdd1a9313011bac33207182ac01d0be93666..dbc6ebd3f8041a81a2926ad2bc2170c4ba834fe4 100644 (file)
@@ -52,6 +52,7 @@
 <body>
 {% block layout %}
 <div id="layout">
+
 {% block header %}
 <div id="header">
 
@@ -169,6 +170,7 @@ alt="logo" />
 </div>
 {% endblock %}
 
+</div>
 {% endblock layout %}
 
 {% block analytics %}