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