Juni Kim
1 year ago
7 changed files with 79 additions and 47 deletions
-
33app.py
-
6static/upload.txt
-
5templates/admin.html
-
52templates/base.html
-
17templates/user.html
-
11templates/view_chemical.html
-
2validate.py
@ -1,3 +1,3 @@ |
|||
metabolite_name formula person_name mass final_mz final_rt final_adduct standard_grp msms_detected inchikey chemical_db_id library pubchem_cid pubmed_refcount standard_class inchikey14 adduct detected_adducts adduct_calc_mz msms_purity |
|||
Folic Acid C11H15N2O8P Tei Kim 441.1397 442.1470 36.8 M+H Endogenous Yes OVBPIULPVIDEAO-LBPRGKRZSA-N HRELC_00003 IROA_MSMLS_Library_Plate01 135398658 17654 Endogenous_metabolite OVBPIULPVIDEAO M+H M+H NA 0.968 |
|||
Omethoate C5H12NO4PS Tei Kim 213.022466 214.029776 32.74 M+H Endogenous Yes PZXOQEXFMJCDPG-UHFFFAOYSA-N HRELC_00835 Restek_Mix1 14210 98 Pesticides PZXOQEXFMJCDPG M+H M+H 214.0297 0.968 |
|||
metabolite_name formula mass final_mz final_rt final_adduct standard_grp msms_detected inchikey chemical_db_id library pubchem_cid pubmed_refcount standard_class inchikey14 adduct detected_adducts adduct_calc_mz msms_purity |
|||
Folic Acid C11H15N2O8P 441.1397 442.1470 36.8 M+H Endogenous Yes OVBPIULPVIDEAO-LBPRGKRZSA-N HRELC_00003 IROA_MSMLS_Library_Plate01 135398658 17654 Endogenous_metabolite OVBPIULPVIDEAO M+H M+H NA 0.968 |
|||
Omethoate C5H12NO4PS 213.022466 214.029776 32.74 M+H Endogenous Yes PZXOQEXFMJCDPG-UHFFFAOYSA-N HRELC_00835 Restek_Mix1 14210 98 Pesticides PZXOQEXFMJCDPG M+H M+H 214.0297 0.968 |
@ -1,29 +1,29 @@ |
|||
<!DOCTYPE html> |
|||
<html lang="en"> |
|||
<head> |
|||
<meta charset="UTF-8" /> |
|||
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> |
|||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> |
|||
<title>DWalker Website</title> |
|||
<meta |
|||
name="description" |
|||
content="A website for aggregating and searching exposome data" |
|||
/> |
|||
<link rel="stylesheet" href="https://cdn.simplecss.org/simple.min.css" /> |
|||
</head> |
|||
<body> |
|||
<header> |
|||
<nav> |
|||
<a href="{{ url_for('home') }}">Home</a> |
|||
<a href="{{ url_for('search') }}">Search</a> |
|||
{% if session.admin %} |
|||
<a href="{{ url_for('admin_root') }}">Admin</a> |
|||
<a href="{{ url_for('logout') }}">Logout</a> |
|||
{% else %} |
|||
<a href="{{ url_for('login') }}">Login</a> |
|||
{% endif %} |
|||
</nav> |
|||
</header> |
|||
<main>{% block content %} {% endblock %}</main> |
|||
</body> |
|||
<head> |
|||
<meta charset="UTF-8" /> |
|||
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> |
|||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> |
|||
<title>DWalker Website</title> |
|||
<meta |
|||
name="description" |
|||
content="A website for aggregating and searching exposome data" |
|||
/> |
|||
<link rel="stylesheet" href="https://cdn.simplecss.org/simple.min.css" /> |
|||
</head> |
|||
<body> |
|||
<header> |
|||
<nav> |
|||
<a href="{{ url_for('home') }}">Home</a> |
|||
<a href="{{ url_for('search') }}">Search</a> |
|||
{% if session.user %} |
|||
<a href="{{ url_for('admin_root') }}">Dashboard</a> |
|||
<a href="{{ url_for('logout') }}">Logout</a> |
|||
{% else %} |
|||
<a href="{{ url_for('login') }}">Login</a> |
|||
{% endif %} |
|||
</nav> |
|||
</header> |
|||
<main>{% block content %} {% endblock %}</main> |
|||
</body> |
|||
</html> |
@ -0,0 +1,17 @@ |
|||
{% extends "base.html" %} |
|||
{% block content %} |
|||
<h1>Regular User Dashboard</h1> |
|||
<article> |
|||
<p>Logged in as {{user}}</p> |
|||
<a href="{{url_for('batch_query_request')}}"> |
|||
<button> |
|||
Batch Search Chemicals |
|||
</button> |
|||
</a> |
|||
<a href="{{url_for('accounts_edit')}}"> |
|||
<button> |
|||
Edit your profile |
|||
</button> |
|||
</a> |
|||
</article> |
|||
{% endblock %} |
Write
Preview
Loading…
Cancel
Save
Reference in new issue