Пример #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')