making new changes

This commit is contained in:
Karen 2011-08-10 00:48:26 +05:30
parent bc78a8c485
commit 6f08f6dcfe
4 changed files with 20 additions and 16 deletions

View File

@ -6,8 +6,11 @@ import twitter
from django.template import RequestContext from django.template import RequestContext
def index(request): def index(request):
tApi = twitter.Api() try:
statuses = tApi.GetUserTimeline(TWITTER_ID) tApi = twitter.Api()
statuses = tApi.GetUserTimeline(TWITTER_ID)
except:
statuses = []
boxes = SliderBox.objects.all() boxes = SliderBox.objects.all()
menuHeads = MenuHeading.objects.all() menuHeads = MenuHeading.objects.all()
menus = [] menus = []

View File

@ -150,19 +150,18 @@ clear:both;}
{list-style:none;} {list-style:none;}
#triangle #triangle
{font-size:12px; {font-size:18px;
color:#929292; color:#929292;}
position:relative;}/*not showing in IE*/
#triangleUp #triangleUp
{position:absolute; {position:absolute;
right:12px; left:12px;
bottom:0px; bottom:10px;
cursor:pointer;} cursor:pointer;}
#triangleDown #triangleDown
{position:absolute; {position:absolute;
top:180px; bottom:10px;
right:12px; right:12px;
cursor:pointer;} cursor:pointer;}
@ -226,7 +225,7 @@ font-size:14px; /*if someone increases their font size, then what?*/
color:#FFF; color:#FFF;
text-align:center; text-align:center;
text-decoration:none; text-decoration:none;
padding:2px 3px 5px 3px; padding:5px 3px 5px 3px;
background-color:#feb200; /*fallback for old browsers*/ background-color:#feb200; /*fallback for old browsers*/
background:-moz-linear-gradient(top, #e77400 0%, #feb200); background:-moz-linear-gradient(top, #e77400 0%, #feb200);
background:-webkit-gradient(linear, left top, left bottom, from(#e77400), to(#feb200)); /*w/o prefix not mentioned here for a reason???*/ background:-webkit-gradient(linear, left top, left bottom, from(#e77400), to(#feb200)); /*w/o prefix not mentioned here for a reason???*/

View File

@ -164,15 +164,16 @@ border-top-left-radius:8px;
-webkit-box-shadow:0px -1px 3px #d4d4d4; -webkit-box-shadow:0px -1px 3px #d4d4d4;
box-shadow:0px -1px 3px #d4d4d4;}/*not converted to links*/ box-shadow:0px -1px 3px #d4d4d4;}/*not converted to links*/
#loginMenu li a, #loginMenu li a:link, #loginMenu li a:visited, #loginMenu li a:hover, #loginMenu li a:active #loginMenu li a, #loginMenu li a:link, #loginMenu li a:visited, #loginMenu li a:active
{text-decoration:none; {text-decoration:none;
color:#ff8400;} color:#ff8400;}
#loginMenu li:hover
{color:#FFF;
background-color:#ff8400;}
#loginMenu li a:hover #loginMenu li a:hover
{font-weight:bold; {color:#FFF;}
-moz-box-shadow:-4px -2px 8px #d4d4d4;
-webkit-box-shadow:-4px -2px 8px #d4d4d4;
box-shadow:-4px -2px 8px #d4d4d4;}
#woodPng #woodPng
{width:40%; {width:40%;

View File

@ -51,14 +51,15 @@
</div> </div>
<div id="triangle"> <div id="triangle">
<div id="triangleUp">&#x25B2</div> <div id="triangleUp">&#x25B2;</div>
<div id="triangleDown">&#x25BC</div> <div id="triangleDown">&#x25BC;</div>
</div> </div>
</div> </div>
</div> </div>
<div id="events" class="tab"> <div id="events" class="tab">
<h3 class="tabHeader">EVENTS</h3> <h3 class="tabHeader">EVENTS</h3>
<a href="" class="buttonTab"> Find </a>
</div> </div>
<div id="slider"> <div id="slider">