Esempio n. 1
0
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)
Esempio n. 2
0
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)
Esempio n. 3
0
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)
Esempio n. 4
0
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)
Esempio n. 5
0
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)
Esempio n. 6
0
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)
Esempio n. 7
0
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)
Esempio n. 8
0
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
    )