Exemple #1
0
def index():
    from handlers.home import Home
    home = Home(['featured', 'ads'])
    home.context.left_sidebar_enabled = True
    home.context.right_sidebar_enabled = True
    home.context.header_enabled = True
    return home.render("app/home")
Exemple #2
0
def index():
    from handlers.home import Home
    home = Home(['featured', 'featured_members', 'ads', 'homeblocks'])
    home.context.left_sidebar_enabled = True
    home.context.right_sidebar_enabled = True
    home.context.header_enabled = not request.user_agent().is_mobile
    return home.render("app/home")
Exemple #3
0
def index():
    from handlers.home import Home
    home = Home(['featured', 'featured_members', 'homeblocks', 'articles'])
    home.context.left_sidebar_enabled = True
    home.context.right_sidebar_enabled = True
    home.context.header_enabled = True
    home.context.toparea_enabled = True
    return home.render("app/home")
Exemple #4
0
def index():
    #redirect(URL('home', 'index'))
    from handlers.home import Home
    home = Home(['featured', 'featured_members', 'ads', 'homeblocks', 'articles'])
    home.context.left_sidebar_enabled = True
    home.context.right_sidebar_enabled = True
    home.context.header_enabled = True
    home.context.toparea_enabled = True
    theme_name = home.context.theme_name
    return home.render("app/home")
Exemple #5
0
def index():
    #redirect(URL('home', 'index'))
    from handlers.home import Home
    home = Home(
        ['featured', 'featured_members', 'ads', 'homeblocks', 'articles'])
    home.context.left_sidebar_enabled = True
    home.context.right_sidebar_enabled = True
    home.context.header_enabled = True
    home.context.toparea_enabled = True
    theme_name = home.context.theme_name
    return home.render("app/home")
Exemple #6
0
def index():
    from handlers.home import Home
    home = Home()
    home.context.left_sidebar_enabled = True
    home.context.right_sidebar_enabled = True
    return home.render("app/home")