diff options
author | Alexandru DAMIAN <alexandru.damian@intel.com> | 2013-12-11 16:42:34 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-01-10 15:20:25 +0000 |
commit | 2251426ae420640c082ec0d0109b9be435075411 (patch) | |
tree | 0f58f48d18bbfd9054c928f3ef554365f74d6ed8 /bitbake/lib/toaster/toastermain | |
parent | c2fc6ca2fa68aca17235cac306b6df4b882fe9ff (diff) | |
download | poky-2251426ae420640c082ec0d0109b9be435075411.tar.gz |
bitbake: toaster: Create the base page navigation structure
Updating the general container pages to use the graphical
design and features from the design phase.
In the process of adapting the Simple UI to the designed
interface, we create all the pages and the navigation
structure for the Toaster GUI.
Views for each page have been added, and the url mapping
has been updated to reflect newly added pages.
The table page has been refactored to be component-oriented
instead of class-oriented in order to facilitate reusage.
Changes are made in different layers of the template
(base, basetable) in order to maximize code reuse among
different pages in the build.
(Bitbake rev: d31f039ae31b77023722c06e66542751536a1362)
Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/toaster/toastermain')
-rw-r--r-- | bitbake/lib/toaster/toastermain/settings.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/bitbake/lib/toaster/toastermain/settings.py b/bitbake/lib/toaster/toastermain/settings.py index b76218b959..679035e887 100644 --- a/bitbake/lib/toaster/toastermain/settings.py +++ b/bitbake/lib/toaster/toastermain/settings.py | |||
@@ -133,6 +133,15 @@ TEMPLATE_DIRS = ( | |||
133 | # Don't forget to use absolute paths, not relative paths. | 133 | # Don't forget to use absolute paths, not relative paths. |
134 | ) | 134 | ) |
135 | 135 | ||
136 | TEMPLATE_CONTEXT_PROCESSORS = ('django.contrib.auth.context_processors.auth', | ||
137 | 'django.core.context_processors.debug', | ||
138 | 'django.core.context_processors.i18n', | ||
139 | 'django.core.context_processors.media', | ||
140 | 'django.core.context_processors.static', | ||
141 | 'django.core.context_processors.tz', | ||
142 | 'django.contrib.messages.context_processors.messages', | ||
143 | "django.core.context_processors.request") | ||
144 | |||
136 | INSTALLED_APPS = ( | 145 | INSTALLED_APPS = ( |
137 | #'django.contrib.auth', | 146 | #'django.contrib.auth', |
138 | #'django.contrib.contenttypes', | 147 | #'django.contrib.contenttypes', |
@@ -144,6 +153,7 @@ INSTALLED_APPS = ( | |||
144 | # 'django.contrib.admin', | 153 | # 'django.contrib.admin', |
145 | # Uncomment the next line to enable admin documentation: | 154 | # Uncomment the next line to enable admin documentation: |
146 | # 'django.contrib.admindocs', | 155 | # 'django.contrib.admindocs', |
156 | 'django.contrib.humanize', | ||
147 | 'orm', | 157 | 'orm', |
148 | 'toastermain', | 158 | 'toastermain', |
149 | 'toastergui', | 159 | 'toastergui', |