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
def index(request):
tApi = twitter.Api()
statuses = tApi.GetUserTimeline(TWITTER_ID)
try:
tApi = twitter.Api()
statuses = tApi.GetUserTimeline(TWITTER_ID)
except:
statuses = []
boxes = SliderBox.objects.all()
menuHeads = MenuHeading.objects.all()
menus = []

View File

@ -150,19 +150,18 @@ clear:both;}
{list-style:none;}
#triangle
{font-size:12px;
color:#929292;
position:relative;}/*not showing in IE*/
{font-size:18px;
color:#929292;}
#triangleUp
{position:absolute;
right:12px;
bottom:0px;
left:12px;
bottom:10px;
cursor:pointer;}
#triangleDown
{position:absolute;
top:180px;
bottom:10px;
right:12px;
cursor:pointer;}
@ -226,7 +225,7 @@ font-size:14px; /*if someone increases their font size, then what?*/
color:#FFF;
text-align:center;
text-decoration:none;
padding:2px 3px 5px 3px;
padding:5px 3px 5px 3px;
background-color:#feb200; /*fallback for old browsers*/
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???*/

View File

@ -164,15 +164,16 @@ border-top-left-radius:8px;
-webkit-box-shadow:0px -1px 3px #d4d4d4;
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;
color:#ff8400;}
#loginMenu li:hover
{color:#FFF;
background-color:#ff8400;}
#loginMenu li a:hover
{font-weight:bold;
-moz-box-shadow:-4px -2px 8px #d4d4d4;
-webkit-box-shadow:-4px -2px 8px #d4d4d4;
box-shadow:-4px -2px 8px #d4d4d4;}
{color:#FFF;}
#woodPng
{width:40%;

View File

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