]> git.parisson.com Git - teleforma.git/commitdiff
fix fonts
authoryomguy <yomguy@parisson.com>
Fri, 13 Apr 2012 16:32:27 +0000 (18:32 +0200)
committeryomguy <yomguy@parisson.com>
Fri, 13 Apr 2012 16:32:27 +0000 (18:32 +0200)
teleforma/htdocs/css/teleforma.css
teleforma/templates/telemeta/users.html
teleforma/views.py

index 48fc60175ec92056f68bcff862b8d827ff5ac310..b416cc5dc07863673c7075f61705bdc149e30acf 100644 (file)
@@ -86,7 +86,7 @@ a img { border: none; }
     color: #000000;
     font-weight: bold;
     display:  inline;
-    font-size: 1.1em;
+    font-size: 1.2em;
 }
 #content h3 {
     color: #000000;
@@ -1334,7 +1334,7 @@ input,textarea{
 
 #module-set .module h3 {
     color: #FFF;
-    font-size: 1em;
+    font-size: 1.1em;
     font-weight: bold;
     margin-top: 0.2em;
     margin-bottom: 0.2em;
@@ -1362,7 +1362,7 @@ input,textarea{
 
 #module-set-left .module h3 {
             color: #FFF;
-            font-size: 1em;
+            font-size: 1.1em;
             font-weight: bold;
             }
 
@@ -1444,7 +1444,7 @@ input,textarea{
     border-radius: 8px 0px 0px 0px;
     padding: 0em 0.8em 0em 0em;
     font-weight: bold;
-    font-size: 1.1em;
+    font-size: 1.2em;
     }
 
 .course_content {
index ee8159a62ad41364cbc67a63bd33dce25d0fe2bc..2f321389966f57a5b1932ee1fc82a18b012bace5 100644 (file)
@@ -17,7 +17,7 @@
 <ul>
 {% block courses %}
 {% for training in trainings %}
-<li><a href="{% url teleforma-training-users training.id %}">{{ training.code }}</a></li>
+<li><a href="{% url teleforma-training-users training.id %}">{{ training.code|lower|capfirst }}</a></li>
 {% endfor %}
 {% endblock courses %}
 </ul>
index 2befd4b6b21cea8e11601ce1fffc9081b6acdc38..e7f3ad46d66b24a411e2c38fa7cc78f173223661 100755 (executable)
@@ -158,7 +158,7 @@ class UsersView(ListView):
     model = User
     template_name='telemeta/users.html'
     context_object_name = 'users'
-    paginate_by = 15
+    paginate_by = 12
 
     def get_queryset(self):
         return User.objects.all().select_related(depth=1).order_by('last_name')