From 8d17e2d0d606cd25aa6fb173f62c1d034d39bc93 Mon Sep 17 00:00:00 2001 From: Andromeda Yelton Date: Fri, 3 Feb 2012 12:05:02 -0500 Subject: [PATCH] tweak all the things --- frontend/views.py | 2 ++ static/css/campaign.css | 3 +++ static/less/campaign.less | 13 +++++++++---- 3 files changed, 14 insertions(+), 4 deletions(-) diff --git a/frontend/views.py b/frontend/views.py index 1794770f..62a4edb2 100755 --- a/frontend/views.py +++ b/frontend/views.py @@ -116,6 +116,8 @@ def work(request, work_id, action='display'): try: activetab = request.GET['tab'] + if activetab not in ['1', '2', '3', '4']: + activetab = '1'; except: activetab = '1'; diff --git a/static/css/campaign.css b/static/css/campaign.css index 1472bf37..b2b47abd 100755 --- a/static/css/campaign.css +++ b/static/css/campaign.css @@ -92,6 +92,9 @@ #js-leftcol .jsmodule.rounded .jsmod-content span.spacer { visibility: none; } +#js-leftcol .jsmodule.rounded .jsmod-content span.findtheungluers { + cursor: pointer; +} .book-detail { float: left; width: 100%; diff --git a/static/less/campaign.less b/static/less/campaign.less index 3649fbea..26623688 100644 --- a/static/less/campaign.less +++ b/static/less/campaign.less @@ -64,11 +64,16 @@ span { display: inline-block; vertical-align: middle; + + &.spacer { + visibility: none; + } + + &.findtheungluers { + cursor: pointer; + } } - - span.spacer { - visibility: none; - } + } }