Example #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')
Example #2
0
def profile():
    return render_template('profile.html',
                           name=current_user.username,
                           menues=pebmynSideBar.get(),
                           selected='main.profile')
Example #3
0
def dashboard():
    return render_template('index.html',
                           menues=pebmynSideBar.get(),
                           selected='main.dashboard')
Example #4
0
def sm_extensions():
    return render_template('servermanagment/sm_extensions.html', menues=pebmynSideBar.get(), selected='servermanagment.sm_extensions')
Example #5
0
def tools_settings():
    return render_template('servermanagment/tools_settings.html', menues=pebmynSideBar.get(), selected='servermanagment.tools_settings')
Example #6
0
def domains():
    return render_template('hostingservices/domains.html', menues=pebmynSideBar.get(), selected='hostingservices.domains')
Example #7
0
def customers():
    return render_template('hostingservices/customers.html', menues=pebmynSideBar.get(), selected='hostingservices.customers')
Example #8
0
def hostingservices_home():
    return render_template('hostingservices/index.html', menues=pebmynSideBar.get(), selected='hostingservices.home')