示例#1
0
 def index(self):
     x = get_current_view()
     y = get_url('/')
     print(y)
     print(x.get_url('standalone.index'))
     check_list = ['Fede', 'Bryan', 'John', 'Sara', 'Deborah']
     return self.render('standalone_.html', check_list=check_list)
示例#2
0
def text():

    x = get_current_view()
    y= None
    z = None
    a = None
    b = None
    c = None
    return render_template('index.html', x=x, y=y, z=z, a=a, b=b, c=c)
示例#3
0
def _is_bootstrap3():
    view = h.get_current_view()
    return view and view.admin.template_mode == 'bootstrap3'
示例#4
0
def _is_bootstrap3():
    view = h.get_current_view()
    return view and view.admin.template_mode == 'bootstrap3'
示例#5
0
def _is_adminlte():
    view = h.get_current_view()
    return view and view.admin.template_mode == 'adminlte'