def sign(): if current_app.config.get('DB_FALL', None): return redirect(url_for('emcweb.index')) status, _, error_str = get_block_status() if status != 2: return redirect(url_for('emcweb.index')) confirm_login() endpoint_list = get_tools_endpoint_list() return render_template('sign.html', endpoint_list=endpoint_list)
def receive(): if current_app.config.get('DB_FALL', None): return redirect(url_for('emcweb.index')) status, _, error_str = get_block_status() if status != 2: return redirect(url_for('emcweb.index')) confirm_login() endpoint_list = get_tools_endpoint_list() return render_template('receive.html', mailer=current_app.config.get('EMAIL_ENABLED', False), endpoint_list=endpoint_list)
def minfo(): if current_app.config.get('DB_FALL', None): return redirect(url_for('emcweb.index')) status, _, error_str = get_block_status() if status != 2: return redirect(url_for('emcweb.index')) confirm_login() endpoint_list = get_tools_endpoint_list() return render_template('minfo.html', endpoint_list=endpoint_list)
def settings(): if current_app.config.get('DB_FALL', None): return redirect(url_for('emcweb.index')) status, _, error_str = get_block_status() if status != 2: return redirect(url_for('emcweb.index')) confirm_login() live_coin = False if not current_app.config.get('LIVECOIN_ENABLE', False) else True endpoint_list = get_tools_endpoint_list() return render_template('settings.html', live_coin=live_coin, endpoint_list=endpoint_list)
def receive(): if current_app.config.get('DB_FALL', None): return redirect(url_for('emcweb.index')) status, _, error_str = get_block_status() if status != 2: return redirect(url_for('emcweb.index')) confirm_login() endpoint_list = get_tools_endpoint_list() return render_template('receive.html', mailer=current_app.config.get( 'EMAIL_ENABLED', False), endpoint_list=endpoint_list)
def settings(): if current_app.config.get('DB_FALL', None): return redirect(url_for('emcweb.index')) status, _, error_str = get_block_status() if status != 2: return redirect(url_for('emcweb.index')) confirm_login() live_coin = False if not current_app.config.get('LIVECOIN_ENABLE', False) else True endpoint_list = get_tools_endpoint_list() return render_template('settings.html', live_coin=live_coin, endpoint_list=endpoint_list)
def wallets(): if current_app.config.get('DB_FALL', None): return redirect(url_for('emcweb.index')) status, _, error_str = get_block_status() if status != 2: return redirect(url_for('emcweb.index')) confirm_login() endpoint_list = get_tools_endpoint_list() return render_template('wallets.html', google=os.path.exists( os.path.join(os.path.dirname(__file__), '..', '..', '..', 'static', 'google_secrets.json')), endpoint_list=endpoint_list)
def wallets(): if current_app.config.get('DB_FALL', None): return redirect(url_for('emcweb.index')) status, _, error_str = get_block_status() if status != 2: return redirect(url_for('emcweb.index')) confirm_login() endpoint_list = get_tools_endpoint_list() return render_template( 'wallets.html', google=os.path.exists(os.path.join(os.path.dirname(__file__), '..', '..', '..', 'static', 'google_secrets.json')), endpoint_list=endpoint_list )