예제 #1
0
def index():
    sbm = {}
    if current_user.is_active:
        sbm = pebmynSideBar.get()
    else:
        return redirect(url_for('auth.login'))
    return render_template('index.html', menues=sbm, selected='main.index')
예제 #2
0
def profile():
    return render_template('profile.html',
                           name=current_user.username,
                           menues=pebmynSideBar.get(),
                           selected='main.profile')
예제 #3
0
def dashboard():
    return render_template('index.html',
                           menues=pebmynSideBar.get(),
                           selected='main.dashboard')
예제 #4
0
def sm_extensions():
    return render_template('servermanagment/sm_extensions.html', menues=pebmynSideBar.get(), selected='servermanagment.sm_extensions')
예제 #5
0
def tools_settings():
    return render_template('servermanagment/tools_settings.html', menues=pebmynSideBar.get(), selected='servermanagment.tools_settings')
예제 #6
0
def domains():
    return render_template('hostingservices/domains.html', menues=pebmynSideBar.get(), selected='hostingservices.domains')
예제 #7
0
def customers():
    return render_template('hostingservices/customers.html', menues=pebmynSideBar.get(), selected='hostingservices.customers')
예제 #8
0
def hostingservices_home():
    return render_template('hostingservices/index.html', menues=pebmynSideBar.get(), selected='hostingservices.home')