witten
/
luminotes
Archived
1
0
Fork 0

In several places, made it clearer that sign up is free to entice people to go to the pricing/signup page.

This commit is contained in:
Dan Helfman 2008-07-28 16:09:20 -07:00
parent d8c58e5f5d
commit d8eccee5aa
4 changed files with 21 additions and 6 deletions

View File

@ -819,3 +819,13 @@ h1 {
cursor: pointer; cursor: pointer;
} }
.hook_action_area {
background-color: #ffff99;
font-weight: bold;
padding: 1em;
text-align: center;
}
.hook_action {
font-size: 105%;
}

View File

@ -13,8 +13,8 @@ class Header( Div ):
Div( Div(
( note_title == u"home" ) and title_image or A( title_image, href = u"/" ), ( note_title == u"home" ) and title_image or A( title_image, href = u"/" ),
( login_url and user.username == u"anonymous" ) and Div( ( login_url and user.username == u"anonymous" ) and Div(
( note_title == u"pricing" ) and Span( u"pricing &amp sign up", class_ = u"bold_link" ) or \ ( note_title == u"pricing" ) and Span( u"sign up for free", class_ = u"bold_link" ) or \
A( u"pricing & sign up", href = u"/pricing", class_ = u"bold_link" ), u" | ", A( u"sign up for free", href = u"/pricing", class_ = u"bold_link" ), u" | ",
A( A(
u"login", u"login",
href = login_url, href = login_url,
@ -50,9 +50,9 @@ class Header( Div ):
), ),
" | ", " | ",
) or Span( ) or Span(
( note_title == u"pricing" ) and Span( u"pricing &amp sign up", class_ = u"bold_link" ) or \ ( note_title == u"pricing" ) and Span( u"sign up for free", class_ = u"bold_link" ) or \
A( A(
u"pricing & sign up", u"sign up for free",
href = u"/pricing", href = u"/pricing",
title = u"Sign up for a real Luminotes account.", title = u"Sign up for a real Luminotes account.",
class_ = u"bold_link", class_ = u"bold_link",

View File

@ -1,4 +1,4 @@
from Tags import Div, Span, H4, A, Strong, Img from Tags import Div, P, Span, H4, A, Strong, Img
from Rounded_div import Rounded_div from Rounded_div import Rounded_div
from Search_form import Search_form from Search_form import Search_form
@ -14,6 +14,11 @@ class Link_area( Div ):
Div.__init__( Div.__init__(
self, self,
Div( Div(
(user.username is None ) and P(
A( u"Sign up for free", href = u"/pricing", class_ = u"hook_action" ),
class_ = u"hook_action_area",
separator = u"",
) or None,
Div( Div(
H4( u"this notebook", id = u"this_notebook_area_title" ), H4( u"this notebook", id = u"this_notebook_area_title" ),
Div( Div(

View File

@ -108,7 +108,7 @@ class Tour_page( Product_page ):
Span( u"Like what you've seen so far?", class_ = u"hook_action_question" ), Br(), Span( u"Like what you've seen so far?", class_ = u"hook_action_question" ), Br(),
A( u"Try the demo", href = u"/users/demo", class_ = u"hook_action" ), A( u"Try the demo", href = u"/users/demo", class_ = u"hook_action" ),
Span( u" or ", class_ = u"hook_action_or" ), Span( u" or ", class_ = u"hook_action_or" ),
A( u"Sign up", href = u"/pricing", class_ = u"hook_action" ), A( u"Sign up for free", href = u"/pricing", class_ = u"hook_action" ),
class_ = u"hook_action_area", class_ = u"hook_action_area",
separator = u"", separator = u"",
), ),