From: yomguy Date: Thu, 12 Apr 2012 23:20:31 +0000 (+0200) Subject: fix action buttons X-Git-Tag: 0.2~53 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=6ef6fd8b5e1d3951f0861a60ba3ffffe710f494d;p=teleforma.git fix action buttons --- diff --git a/example/settings.py b/example/settings.py index 90975a29..d580b2da 100644 --- a/example/settings.py +++ b/example/settings.py @@ -95,12 +95,12 @@ STATICFILES_FINDERS = ( SECRET_KEY = 'a8l7%06wr2k+3=%#*#@#rvop2mmzko)44%7k(zx%lls^ihm9^5' # List of callables that know how to import templates from various sources. -TEMPLATE_LOADERS = ( - ('django.template.loaders.cached.Loader', ( - 'django.template.loaders.filesystem.Loader', - 'django.template.loaders.app_directories.Loader', - )), -) +#TEMPLATE_LOADERS = ( +# ('django.template.loaders.cached.Loader', ( +# 'django.template.loaders.filesystem.Loader', +# 'django.template.loaders.app_directories.Loader', +# )), +#) MIDDLEWARE_CLASSES = ( diff --git a/teleforma/htdocs/css/teleforma.css b/teleforma/htdocs/css/teleforma.css index cbf6a6d6..ef2ab124 100644 --- a/teleforma/htdocs/css/teleforma.css +++ b/teleforma/htdocs/css/teleforma.css @@ -927,7 +927,7 @@ img.align-left { border: 1px solid #000; background-image: url(../images/grid_bg_2.png); padding: 0.3em 0.4em 0.4em 0.4em; - margin: 2.5em 1em 1em 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; @@ -1152,9 +1152,14 @@ a.image-link { padding:0.8em 0.8em 0.8em 0.8em; } +#action_violet { + background-color: #a00020; + color: #FFF; + padding:0.8em 0.8em 0.8em 0.8em; + } #action_red { - background-color: #d24836; + background-color: #db1020; color: #FFF; padding:0.8em 0.8em 0.8em 0.8em; } diff --git a/teleforma/templates/teleforma/course_media.html b/teleforma/templates/teleforma/course_media.html index 0ace9ff3..73d26e4e 100644 --- a/teleforma/templates/teleforma/course_media.html +++ b/teleforma/templates/teleforma/course_media.html @@ -61,16 +61,16 @@ $(document).ready(function(){ {% block chat %} {% if room %} -
+
-

rss{% trans "Questions" %}

+

rss{% trans "Chatter" %}

Loading...
{% csrf_token %} - +
diff --git a/teleforma/templates/teleforma/courses.html b/teleforma/templates/teleforma/courses.html index 1539663e..3ca3bcdf 100644 --- a/teleforma/templates/teleforma/courses.html +++ b/teleforma/templates/teleforma/courses.html @@ -34,7 +34,7 @@
{% endblock notes %} diff --git a/teleforma/templates/telemeta/profile_detail.html b/teleforma/templates/telemeta/profile_detail.html index 90dba8a9..9f3aa6e8 100644 --- a/teleforma/templates/telemeta/profile_detail.html +++ b/teleforma/templates/telemeta/profile_detail.html @@ -21,7 +21,7 @@ {% if user.is_authenticated and user.username == usr.username or user.is_staff %} {% endif %} diff --git a/teleforma/templates/telemeta/search_criteria.html b/teleforma/templates/telemeta/search_criteria.html index d5606311..dc1aa93b 100644 --- a/teleforma/templates/telemeta/search_criteria.html +++ b/teleforma/templates/telemeta/search_criteria.html @@ -64,10 +64,6 @@ $(document).ready(function () { {% endwith %} {% endblock %} -
@@ -151,6 +147,14 @@ $(document).ready(function () { +
+ +
+ {% trans 'Search' %} +
+ + {% endblock %}