merged, edited settings for templates

This commit is contained in:
Sanj 2011-10-14 16:00:56 +05:30
commit bdc4d15712
5 changed files with 758 additions and 738 deletions

View File

@ -95,12 +95,12 @@ INSTALLED_APPS = [
# tabbed navigation. when adding an app to INSTALLED_APPS, you may wish # tabbed navigation. when adding an app to INSTALLED_APPS, you may wish
# to add it here, also, to expose it in the rapidsms ui. # to add it here, also, to expose it in the rapidsms ui.
RAPIDSMS_TABS = [ RAPIDSMS_TABS = [
("rapidsms.contrib.messagelog.views.message_log", "Message Log"), ("rapidsms.contrib.messagelog.views.message_log", "SMS Log"),
# ("rapidsms.contrib.registration.views.registration", "Registration"), # ("rapidsms.contrib.registration.views.registration", "Registration"),
# ("rapidsms.contrib.messaging.views.messaging", "Messaging"), # ("rapidsms.contrib.messaging.views.messaging", "Messaging"),
# ("rapidsms.contrib.locations.views.locations", "Map"), # ("rapidsms.contrib.locations.views.locations", "Map"),
# ("rapidsms.contrib.scheduler.views.index", "Event Scheduler"), # ("rapidsms.contrib.scheduler.views.index", "Event Scheduler"),
("rapidsms.contrib.httptester.views.generate_identity", "Message Tester"), ("rapidsms.contrib.httptester.views.generate_identity", "SMS Tester"),
] ]
@ -155,6 +155,20 @@ TEMPLATE_CONTEXT_PROCESSORS = [
"django.core.context_processors.request", "django.core.context_processors.request",
] ]
TEMPLATE_LOADERS = (
'django.template.loaders.filesystem.Loader',
'django.template.loaders.app_directories.Loader',
'django.template.loaders.eggs.Loader',
)
TEMPLATE_DIRS = (
join(PROJECT_PATH, "templates"),
# Put strings here, like "/home/html/django_templates" or "C:/www/django/templates".
# Always use forward slashes, even on Windows.
# Don't forget to use absolute paths, not relative paths.
)
# -------------------------------------------------------------------- # # -------------------------------------------------------------------- #
# HERE BE DRAGONS! # # HERE BE DRAGONS! #

View File

@ -85,14 +85,14 @@ background: linear-gradient(top, #94997e 0%,#d2dab3 10%,#d2dab3 80%,#94997e 100%
line-height: 22px; line-height: 22px;
margin: 0 10px; margin: 0 10px;
right: 0; right: 0;
top: 0; top: 0;;}
}
#header #auth a { #header #auth a {
color: #CE0000; color: #000;
padding-right:6px; padding-right:6px;
font-size:80%; font-size:80%;
position:relative;
z-index:1;
} }

View File

@ -1,8 +1,13 @@
/* vim:set et ts=4 sw=4 */ /* vim:set et ts=4 sw=4 */
#instruction h2/*THE CSS FOR THE INSTRUCTIONS FROM WIKI*/
{font-weight:bold;}
div.module { div.module {
margin-top: 2em; margin-top: 2em;
position: relative; position: relative;
} }
div.module div.module { div.module div.module {

View File

@ -17,7 +17,8 @@
.two-columns .col-2 .two-columns .col-2
{ {
width: 66%; } width: 66%;
overflow:auto; }
.three-columns { padding-left: 2em; } .three-columns { padding-left: 2em; }
.three-columns .col-1 { margin-left: -2em; } .three-columns .col-1 { margin-left: -2em; }