From d6c8d8ab019721ba47a289de97c95e9786dd5ded Mon Sep 17 00:00:00 2001 From: Scott Ostler Date: Mon, 21 Feb 2011 23:28:46 -0500 Subject: sostler add favorite to frontpage --- template/frontpage.st | 6 +++--- template/frontpage_share_buttons.st | 10 ++++++++++ template/hall_log_dump.st | 17 +++++------------ 3 files changed, 18 insertions(+), 15 deletions(-) create mode 100644 template/frontpage_share_buttons.st (limited to 'template') diff --git a/template/frontpage.st b/template/frontpage.st index f75f9db..be10d14 100644 --- a/template/frontpage.st +++ b/template/frontpage.st @@ -104,7 +104,7 @@ z-index:4; .thumb.favorite { position: absolute; - margin-left: 40px; + margin-left: 5px; margin-top: 0px; height: 27px; width: 27px;z-index:4; @@ -133,9 +133,9 @@ z-index:4; -moz-box-shadow:#777 0 0 0 1px; -webkit-box-shadow:#777 0 0 0 1px; text-shadow:rgba(0,0,0,.4) 0 1px 0;} -#hallscore{margin-right:-20px;color:#fff;text-align:center;margin-top:-20px;float:right;font-size:40px;z-index:1;padding:6px;background-image:url('/static/img/hallheart.png');background-position:top left;font-style: oblique;font-weight:100;height:50px;width:50px;text-shadow:-1px 1px 0px #000;line-height:37px;text-indent:4px; +.hallscore{margin-right:-20px;color:#fff;text-align:center;margin-top:-20px;float:right;font-size:40px;z-index:1;padding:6px;background-image:url('/static/img/hallheart.png');background-position:top left;font-style: oblique;font-weight:100;height:50px;width:50px;text-shadow:-1px 1px 0px #000;line-height:37px;text-indent:4px; } -#hallnick{font-size:16px;} +.hallnick{font-size:16px;} #login-container { float: right; diff --git a/template/frontpage_share_buttons.st b/template/frontpage_share_buttons.st new file mode 100644 index 0000000..003795e --- /dev/null +++ b/template/frontpage_share_buttons.st @@ -0,0 +1,10 @@ + + +$if(dump.favorited)$ + +$else$ +
+ +
+$endif$ +
diff --git a/template/hall_log_dump.st b/template/hall_log_dump.st index 0056e6f..9cde345 100644 --- a/template/hall_log_dump.st +++ b/template/hall_log_dump.st @@ -1,13 +1,6 @@ -$if(dump.ztags)$ -
-$else$ -
-$endif$ - - - $dump.nick$ $if(dump.score)$ $dump.score$$endif$ -
$dump.content$
-
- -$share_buttons()$ +
+ $dump.nick$$if(dump.score)$$dump.score$$endif$ +
$dump.content$
+
+ $frontpage_share_buttons()$
-- cgit v1.2.3-70-g09d2