summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRalph Bean <ralph.bean@gmail.com>2011-04-12 20:42:07 -0400
committerRalph Bean <ralph.bean@gmail.com>2011-04-12 20:42:07 -0400
commit79380e187bfa4b1ee5db7f017adb9c6fae3b13ad (patch)
tree61844084c21747d1834a1a45d263263d4c3b866b
parent1bb6db0ed38a09660906b38e3fb932fd6c879d35 (diff)
downloadleafymiracle-79380e187bfa4b1ee5db7f017adb9c6fae3b13ad.zip
leafymiracle-79380e187bfa4b1ee5db7f017adb9c6fae3b13ad.tar.gz
leafymiracle-79380e187bfa4b1ee5db7f017adb9c6fae3b13ad.tar.xz
switching up the jquery-ui theme
-rw-r--r--leafymiracle/views.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/leafymiracle/views.py b/leafymiracle/views.py
index 6fa17e5..a5e5a28 100644
--- a/leafymiracle/views.py
+++ b/leafymiracle/views.py
@@ -14,6 +14,7 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
from pyramid.httpexceptions import HTTPFound
+from tw2.jqplugins.ui.base import set_ui_theme_name
from widgets import LeafyGraph
from widgets import LeafyDialog
@@ -21,6 +22,8 @@ def view_root(context, request):
return HTTPFound(location='/1')
def view_model(context, request):
+ # TODO -- we need a fedora jquery-ui theme sitting around.
+ set_ui_theme_name('hot-sneaks')
return {'item':context, 'project':'leafymiracle',
'jitwidget': LeafyGraph(rootObject=context),
'dialogwidget': LeafyDialog}