def cytotoxin():
    """Define website's Cytotoxin page with both guest/ logged-in user access"""
    (email, userID, loggedIn) = login_info(login_session)
    (cytotoxins, lotdict, lots) = set_category('cytotoxin')
    return render_template('cytotoxin.html', title='Cytotoxin',
                           cytotoxins=cytotoxins, lotdict=lotdict, lots=lots,
                           userID=userID, email=email, loggedIn=loggedIn)
def adc():
    """Define website's ADC page with both guest/ logged-in user access"""
    (email, userID, loggedIn) = login_info(login_session)
    (adcs, lotdict, lots) = set_category('adc')
    return render_template('adc.html', title='ADC', adcs=adcs, lotdict=lotdict,
                           lots=lots, userID=userID, email=email,
                           loggedIn=loggedIn)
def antibody():
    """Define website's Antibody page with both guest/ logged-in user access"""
    (email, userID, loggedIn) = login_info(login_session)
    (antibodies, lotdict, lots) = set_category('antibody')
    return render_template('antibody.html', title='Antibody',
                           antibodies=antibodies, lotdict=lotdict, lots=lots,
                           userID=userID, email=email, loggedIn=loggedIn)
def home():
    """
    Define website's homepage with both guest/ logged-in user
    access
    """
    (email, user_id, logged_in) = login_info(login_session)
    return render_template('home.html', title='Home',
                           email=email, logged_in=logged_in)
Exemple #5
0
def home():
    """
    Define website's homepage with both guest/ logged-in user
    access
    """
    (email, user_id, logged_in) = login_info(login_session)
    return render_template('home.html',
                           title='Home',
                           email=email,
                           logged_in=logged_in)
Exemple #6
0
def adc():
    """
    Define website's ADC page with both guest/ logged-in user
    access
    """
    (email, user_id, logged_in) = login_info(login_session)
    (adcs, lot_dict, lots) = set_category('adc')
    return render_template('adc.html',
                           title='ADC',
                           adcs=adcs,
                           lot_dict=lot_dict,
                           lots=lots,
                           user_id=user_id,
                           email=email,
                           logged_in=logged_in)
Exemple #7
0
def cytotoxin():
    """
    Define website's Cytotoxin page with both guest/ logged-in user
    access
    """
    (email, user_id, logged_in) = login_info(login_session)
    (cytotoxins, lot_dict, lots) = set_category('cytotoxin')
    return render_template('cytotoxin.html',
                           title='Cytotoxin',
                           cytotoxins=cytotoxins,
                           lot_dict=lot_dict,
                           lots=lots,
                           user_id=user_id,
                           email=email,
                           logged_in=logged_in)
Exemple #8
0
def antibody():
    """
    Define website's Antibody page with both guest/ logged-in
    user access
    """
    (email, user_id, logged_in) = login_info(login_session)
    (antibodies, lot_dict, lots) = set_category('antibody')
    return render_template('antibody.html',
                           title='Antibody',
                           antibodies=antibodies,
                           lot_dict=lot_dict,
                           lots=lots,
                           user_id=user_id,
                           email=email,
                           logged_in=logged_in)