aboutsummaryrefslogtreecommitdiff
path: root/gn2/wqflask/templates/base.html
diff options
context:
space:
mode:
authorAlexander_Kabui2024-09-23 12:07:02 +0300
committerAlexander_Kabui2024-09-23 12:07:02 +0300
commit0151921344b6bd7760cde44ea64887cbf8ce6fc6 (patch)
tree2d9cca33f8dc6581a8a4b53815cfbe5db0cb9b03 /gn2/wqflask/templates/base.html
parentf980f493a9ee6cae2d949ef1f02c965469c4ec33 (diff)
downloadgenenetwork2-0151921344b6bd7760cde44ea64887cbf8ce6fc6.tar.gz
Refactor: run djlint for base html file.
Diffstat (limited to 'gn2/wqflask/templates/base.html')
-rw-r--r--gn2/wqflask/templates/base.html502
1 files changed, 305 insertions, 197 deletions
diff --git a/gn2/wqflask/templates/base.html b/gn2/wqflask/templates/base.html
index 364550a0..930a3563 100644
--- a/gn2/wqflask/templates/base.html
+++ b/gn2/wqflask/templates/base.html
@@ -3,26 +3,40 @@
<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8">
- <title>{% block title %}{% endblock %} GeneNetwork 2</title>
+ <title>
+ {% block title %}{% endblock %}
+ GeneNetwork 2</title>
<meta name="description" content="">
<meta name="author" content="">
- <script type="text/javascript">
- var pageLoadStart = Date.now();
- </script>
- <link rel="icon" type="image/png" sizes="64x64" href="/static/new/images/CITGLogo.png">
- <link rel="apple-touch-icon" type="image/png" sizes="64x64" href="/static/new/images/CITGLogo.png">
- <link REL="stylesheet" TYPE="text/css" href="{{ url_for('css', filename='bootstrap/css/bootstrap.css') }}" />
- <link REL="stylesheet" TYPE="text/css" href="/static/new/css/bootstrap-custom.css" />
- <link REL="stylesheet" TYPE="text/css" href="/static/new/css/non-responsive.css" />
+ <script type="text/javascript">var pageLoadStart = Date.now();</script>
+ <link rel="icon"
+ type="image/png"
+ sizes="64x64"
+ href="/static/new/images/CITGLogo.png">
+ <link rel="apple-touch-icon"
+ type="image/png"
+ sizes="64x64"
+ href="/static/new/images/CITGLogo.png">
+ <link REL="stylesheet"
+ TYPE="text/css"
+ href="{{ url_for('css', filename='bootstrap/css/bootstrap.css') }}" />
+ <link REL="stylesheet"
+ TYPE="text/css"
+ href="/static/new/css/bootstrap-custom.css" />
+ <link REL="stylesheet"
+ TYPE="text/css"
+ href="/static/new/css/non-responsive.css" />
<link REL="stylesheet" TYPE="text/css" href="/static/new/css/docs.css" />
<link rel="stylesheet" type="text/css" href="/static/new/css/colorbox.css" />
<link rel="stylesheet" type="text/css" href="/static/new/css/parsley.css" />
- <link rel="stylesheet" type="text/css" href="/static/new/css/broken_links.css" />
+ <link rel="stylesheet"
+ type="text/css"
+ href="/static/new/css/broken_links.css" />
<link rel="stylesheet" href="/static/new/css/autocomplete.css" />
- <link rel="stylesheet" type="text/css" href="{{ url_for('css', filename='fontawesome/css/font-awesome.min.css') }}" />
-
- {% block css %}
- {% endblock %}
+ <link rel="stylesheet"
+ type="text/css"
+ href="{{ url_for('css', filename='fontawesome/css/font-awesome.min.css') }}" />
+ {% block css %}{% endblock %}
<style>
.form-rounded {
border-radius: 1rem;
@@ -33,208 +47,297 @@
table.dataTable thead .sorting_desc {
background-image: url({{ url_for("js", filename="DataTables/images/sort_desc_disabled.png") }});
}
- </style>
+
+ </style>
</head>
<body style="width: 100%">
<!-- Navbar ================================================== -->
- <div class="navbar navbar-inverse navbar-static-top pull-left" role="navigation" style="width: 100%; min-width: 850px; white-space: nowrap;">
+ <div class="navbar navbar-inverse navbar-static-top pull-left"
+ role="navigation"
+ style="width: 100%;
+ min-width: 850px;
+ white-space: nowrap">
<div class="container-fluid" style="width: 100%;">
<!-- Collect the nav links, forms, and other content for toggling -->
<div>
<ul class="nav navbar-nav">
- <li style="margin-right: 20px;">
+ <li style="margin-right: 20px;">
<a href="/" style="font-weight: bold;">GeneNetwork</a>
</li>
- <li >
- <a href="/help" class="dropdow-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Intro <span class="caret"> </span></a>
- <ul class="dropdown-menu">
- <li><a href="/intro">Intro</a></li>
- <li><a href="/submit_trait">Submit Trait</a></li>
- <li><a href="http://genenetwork.org/webqtl/main.py?FormID=batSubmit">Batch Submission</a></li>
- </ul>
- </li>
- <li >
- <a href="/help" class="dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Help <span class="caret"> </span></a>
- <ul class="dropdown-menu">
- <li><a href="{{ url_for('gn_docs_blueprint.references') }}">References</a></li>
- <li><a href="/tutorials">Webinars, Tutorials/Primers</a></li>
- <li><a href="{{ url_for('gn_docs_blueprint.blogs_list') }}">Blogs</a></li>
- <li><a href="{{ url_for('gn_docs_blueprint.glossary') }}">Glossary of Term</a></li>
- <li><a href="http://gn1.genenetwork.org/faq.html">FAQ</a></li>
- <li><a href="{{ url_for('gn_docs_blueprint.policies') }}">Policies</a></li>
- <li><a href="{{ url_for('gn_docs_blueprint.links') }}">Links</a></li>
- <li><a href="{{ url_for('gn_docs_blueprint.facilities') }}">Facilities</a></li>
- <li><a href="{{ url_for('gn_docs_blueprint.environments') }}">Environments</a></li>
- <li><a href="{{ url_for('gn_docs_blueprint.news') }}">GN1 News</a></li>
- </ul>
- </li>
- <li >
- <a href="/help" class="dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Tools <span class="caret"> </span> </a>
- <ul class="dropdown-menu">
- <li><a href="/snp_browser">Variant Browser</a></li>
- <li><a href="http://bnw.genenetwork.org/sourcecodes/home.php">Bayesian Network Webserver</a></li>
- <li><a href="https://systems-genetics.org/">Systems Genetics PheWAS</a></li>
- <li><a href="http://ucscbrowser.genenetwork.org/">Genome Browser</a></li>
- <li><a href="http://power.genenetwork.org">BXD Power Calculator</a></li>
- <li><a href="{{url_for('jupyter_notebooks.launcher')}}">Jupyter Notebooks</a></li>
- <li><a href="https://files.genenetwork.org/current/">Public Datasets</a></li>
- </ul>
- </li>
- {% if g.user_session %}
- <li >
- <a href="/collections/list">Collections
- <span class="badge badge-info">{{num_collections()}}</span>
- </a>
- </li>
- <li >
- <a href="/repositories" class="dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Source Code <span class="caret"> </span></a>
- <ul class="dropdown-menu">
- <li><a href="https://github.com/genenetwork/genenetwork2">GN2 Source Code</a></li>
- <li><a href="https://github.com/genenetwork/genenetwork">GN1 Source Code</a></li>
- <li><a href="https://github.com/genenetwork/sysmaintenance">System Maintenance Code</a></li>
- <li><a href="https://github.com/genenetwork/genenetwork2/blob/testing/doc/API_readme.md">REST API Documentation</a></li>
- </ul>
- </li>
- {% if g.user_session.logged_in %}
- <li >
- <a href="/edit_account_settings" class="dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">{% if g.user_session.user_email %}{{ g.user_session.user_email }}{% else %}User Account Settings{% endif %}<span class="caret"> </span></a>
- <ul class="dropdown-menu">
- <li><a id="manage_user" title="User Options" href="/user/manage">User Options</a></li>
- <li><a id="manage_groups" title="Manage Groups" href="/group-management/groups">Manage Groups</a></li>
- </ul>
- </li>
- {% endif %}
- <li >
- {%if logged_in()%}
- {%if user_details is mapping%}
- {%set user_dets = user_details%}
- {%else%}
- {%set user_dets = user_details()%}
- {%endif%}
- <a id="login_out"
- title="Signed in as {{user_dets.name}}({{user_dets.email}})"
- href="{{url_for('oauth2.user.logout')}}">Sign out</a>
- {%else%}
- <a id="login_in" href="{{authserver_authorise_uri()}}">Sign in</a>
- {%endif%}
+ <li>
+ <a href="/help"
+ class="dropdow-toggle"
+ data-toggle="dropdown"
+ aria-haspopup="true"
+ aria-expanded="false">Intro <span class="caret"></span></a>
+ <ul class="dropdown-menu">
+ <li>
+ <a href="/intro">Intro</a>
+ </li>
+ <li>
+ <a href="/submit_trait">Submit Trait</a>
+ </li>
+ <li>
+ <a href="http://genenetwork.org/webqtl/main.py?FormID=batSubmit">Batch Submission</a>
+ </li>
+ </ul>
</li>
- {% endif %}
-
- {%if not logged_in()%}
- <li >
- <a id="user:register" title="Register a new user account."
- href="{{url_for('oauth2.user.register_user')}}">
- Register
- </a>
+ <li>
+ <a href="/help"
+ class="dropdown-toggle"
+ data-toggle="dropdown"
+ aria-haspopup="true"
+ aria-expanded="false">Help <span class="caret"></span></a>
+ <ul class="dropdown-menu">
+ <li>
+ <a href="{{ url_for("gn_docs_blueprint.references") }}">References</a>
+ </li>
+ <li>
+ <a href="/tutorials">Webinars, Tutorials/Primers</a>
+ </li>
+ <li>
+ <a href="{{ url_for("gn_docs_blueprint.blogs_list") }}">Blogs</a>
+ </li>
+ <li>
+ <a href="{{ url_for("gn_docs_blueprint.glossary") }}">Glossary of Term</a>
+ </li>
+ <li>
+ <a href="http://gn1.genenetwork.org/faq.html">FAQ</a>
+ </li>
+ <li>
+ <a href="{{ url_for("gn_docs_blueprint.policies") }}">Policies</a>
+ </li>
+ <li>
+ <a href="{{ url_for("gn_docs_blueprint.links") }}">Links</a>
+ </li>
+ <li>
+ <a href="{{ url_for("gn_docs_blueprint.facilities") }}">Facilities</a>
+ </li>
+ <li>
+ <a href="{{ url_for("gn_docs_blueprint.environments") }}">Environments</a>
+ </li>
+ <li>
+ <a href="{{ url_for("gn_docs_blueprint.news") }}">GN1 News</a>
+ </li>
+ </ul>
</li>
- {%endif%}
-
- {%if logged_in()%}
<li>
- <a id="user:profile" title="User's profile page."
- href="{{url_for('oauth2.user.user_profile')}}">
- Profile
- </a>
+ <a href="/help"
+ class="dropdown-toggle"
+ data-toggle="dropdown"
+ aria-haspopup="true"
+ aria-expanded="false">Tools <span class="caret"></span> </a>
+ <ul class="dropdown-menu">
+ <li>
+ <a href="/snp_browser">Variant Browser</a>
+ </li>
+ <li>
+ <a href="http://bnw.genenetwork.org/sourcecodes/home.php">Bayesian Network Webserver</a>
+ </li>
+ <li>
+ <a href="https://systems-genetics.org/">Systems Genetics PheWAS</a>
+ </li>
+ <li>
+ <a href="http://ucscbrowser.genenetwork.org/">Genome Browser</a>
+ </li>
+ <li>
+ <a href="http://power.genenetwork.org">BXD Power Calculator</a>
+ </li>
+ <li>
+ <a href="{{ url_for("jupyter_notebooks.launcher") }}">Jupyter Notebooks</a>
+ </li>
+ <li>
+ <a href="https://files.genenetwork.org/current/">Public Datasets</a>
+ </li>
+ </ul>
</li>
- {% endif %}
- </ul>
- </div>
- </div>
- </div>
- {% block search %}
- {% endblock %}
- {% block content %}
- {% endblock %}
-
- <footer class="footer">
- <div class="row" style="margin: 10px; width: 100%; min-width: 1200px;">
- <div class="col-xs-6">
- <p>Web services initiated January, 1994 as
- <a href="http://www.ncbi.nlm.nih.gov/pubmed?term=8043953">
- The Portable Dictionary of the Mouse Genome
- </a>; June 15, 2001 as <a href="https://www.ncbi.nlm.nih.gov/pubmed/15043217">WebQTL</a>; and Jan 5, 2005 as GeneNetwork.
- </p>
- <p>
- This site is currently operated by
- <a href="mailto:rwilliams@uthsc.edu">Rob Williams</a>,
- <a href="https://thebird.nl/">Pjotr Prins</a>,
- <a href="http://www.senresearch.org">Saunak Sen</a>,
- <a href="mailto:zachary.a.sloan@gmail.com">Zachary Sloan</a>,
- <a href="mailto:acenteno@uthsc.edu">Arthur Centeno</a>,
- and <a href="mailto:bonfacemunyoki@gmail.com">Bonface Munyoki</a>.
- </p>
- <p>Design and code by Pjotr Prins, Shelby Solomon, Zach Sloan, Arthur Centeno, Christan Fischer, Bonface Munyoki, Danny Arends, Arun Isaac, Alex Mwangi, Fred Muriithi, Sam Ockman, Lei Yan, Xiaodong Zhou, Christian Fernandez,
- Ning Liu, Rudi Alberts, Elissa Chesler, Sujoy Roy, Evan G. Williams, Alexander G. Williams, Kenneth Manly, Jintao Wang, Robert W. Williams, and
- <a href="/credits">colleagues</a>.</p>
- <br />
- <p>GeneNetwork support from:</p>
- <ul>
+ {% if g.user_session %}
<li>
- <a href="http://citg.uthsc.edu">
- The UT Center for Integrative and Translational Genomics
+ <a href="/collections/list">Collections
+ <span class="badge badge-info">{{ num_collections() }}</span>
</a>
</li>
<li>
- <a href="https://www.nigms.nih.gov/">NIGMS</a>
- Systems Genetics and Precision Medicine Project (R01 GM123489, 2017-2026)
- </li>
- <li>
- <a href="https://www.nsf.gov/awardsearch/showAward?AWD_ID=2118709">NSF</a>
- Panorama: Integrated Rack-Scale Acceleration for Computational Pangenomics
- (PPoSS 2118709, 2021-2016)
- </li>
- <li>
- <a href="https://www.drugabuse.gov/">NIDA</a>
- NIDA Core Center of Excellence in Transcriptomics, Systems Genetics, and the Addictome (P30 DA044223, 2017-2022)
- </li>
- <li>
- <a href="http://www.nia.nih.gov/">NIA</a>
- Translational Systems Genetics of Mitochondria, Metabolism, and Aging (R01AG043930, 2013-2018)
+ <a href="/repositories"
+ class="dropdown-toggle"
+ data-toggle="dropdown"
+ aria-haspopup="true"
+ aria-expanded="false">Source Code <span class="caret"></span></a>
+ <ul class="dropdown-menu">
+ <li>
+ <a href="https://github.com/genenetwork/genenetwork2">GN2 Source Code</a>
+ </li>
+ <li>
+ <a href="https://github.com/genenetwork/genenetwork">GN1 Source Code</a>
+ </li>
+ <li>
+ <a href="https://github.com/genenetwork/sysmaintenance">System Maintenance Code</a>
+ </li>
+ <li>
+ <a href="https://github.com/genenetwork/genenetwork2/blob/testing/doc/API_readme.md">REST API Documentation</a>
+ </li>
+ </ul>
</li>
+ {% if g.user_session.logged_in %}
+ <li>
+ <a href="/edit_account_settings"
+ class="dropdown-toggle"
+ data-toggle="dropdown"
+ aria-haspopup="true"
+ aria-expanded="false">
+ {% if g.user_session.user_email %}
+ {{ g.user_session.user_email }}
+ {% else %}
+ User Account Settings
+ {% endif %}
+ <span class="caret"></span></a>
+ <ul class="dropdown-menu">
+ <li>
+ <a id="manage_user" title="User Options" href="/user/manage">User Options</a>
+ </li>
+ <li>
+ <a id="manage_groups"
+ title="Manage Groups"
+ href="/group-management/groups">Manage Groups</a>
+ </li>
+ </ul>
+ </li>
+ {% endif %}
<li>
- <a href="https://www.ohsu.edu/iniastress-consortium">NIAAA</a>
- Integrative Neuroscience Initiative on Alcoholism (U01 AA016662, U01 AA013499, U24 AA013513, U01 AA014425, 2006-2017)
+ {% if logged_in() %}
+ {% if user_details is mapping %}
+ {% set user_dets = user_details %}
+ {% else %}
+ {% set user_dets = user_details() %}
+ {% endif %}
+ <a id="login_out"
+ title="Signed in as {{ user_dets.name }}({{ user_dets.email }})"
+ href="{{ url_for("oauth2.user.logout") }}">Sign out</a>
+ {% else %}
+ <a id="login_in" href="{{ authserver_authorise_uri() }}">Sign in</a>
+ {% endif %}
</li>
+ {% endif %}
+ {% if not logged_in() %}
<li>
- <a href="http://www.drugabuse.gov/">NIDA</a>, <a href="http://www.nimh.nih.gov/">NIMH</a>, and <a href="http://www.niaaa.nih.gov/">NIAAA</a>
- (P20-DA 21131, 2001-2012)
+ <a id="user:register"
+ title="Register a new user account."
+ href="{{ url_for("oauth2.user.register_user") }}">Register</a>
</li>
+ {% endif %}
+ {% if logged_in() %}
<li>
- NCI <a href="http://emice.nci.nih.gov/">MMHCC</a> (U01CA105417), NCRR, <span class="broken_link test" href="http://www.birncommunity.org/">BIRN</span>, (U24 RR021760)
+ <a id="user:profile"
+ title="User's profile page."
+ href="{{ url_for("oauth2.user.user_profile") }}">Profile</a>
</li>
- </ul>
- <p>Published in
- <a href="http://joss.theoj.org/papers/10.21105/joss.00025">Journal of Open Source Software (JOSS)</a>
- <!-- JOSS logo is defunct -->
- </p>
+ {% endif %}
+ </ul>
+ </div>
+ </div>
+ </div>
+ {% block search %}{% endblock %}
+ {% block content %}{% endblock %}
+ <footer class="footer">
+ <div class="row" style="margin: 10px; width: 100%; min-width: 1200px;">
+ <div class="col-xs-6">
+ <p>
+ Web services initiated January, 1994 as
+ <a href="http://www.ncbi.nlm.nih.gov/pubmed?term=8043953">The Portable Dictionary of the Mouse Genome</a>; June 15, 2001 as <a href="https://www.ncbi.nlm.nih.gov/pubmed/15043217">WebQTL</a>; and Jan 5, 2005 as GeneNetwork.
+ </p>
+ <p>
+ This site is currently operated by
+ <a href="mailto:rwilliams@uthsc.edu">Rob Williams</a>,
+ <a href="https://thebird.nl/">Pjotr Prins</a>,
+ <a href="http://www.senresearch.org">Saunak Sen</a>,
+ <a href="mailto:zachary.a.sloan@gmail.com">Zachary Sloan</a>,
+ <a href="mailto:acenteno@uthsc.edu">Arthur Centeno</a>,
+ and <a href="mailto:bonfacemunyoki@gmail.com">Bonface Munyoki</a>.
+ </p>
+ <p>
+ Design and code by Pjotr Prins, Shelby Solomon, Zach Sloan, Arthur Centeno, Christan Fischer, Bonface Munyoki, Danny Arends, Arun Isaac, Alex Mwangi, Fred Muriithi, Sam Ockman, Lei Yan, Xiaodong Zhou, Christian Fernandez,
+ Ning Liu, Rudi Alberts, Elissa Chesler, Sujoy Roy, Evan G. Williams, Alexander G. Williams, Kenneth Manly, Jintao Wang, Robert W. Williams, and
+ <a href="/credits">colleagues</a>.
+ </p>
+ <br />
+ <p>GeneNetwork support from:</p>
+ <ul>
+ <li>
+ <a href="http://citg.uthsc.edu">The UT Center for Integrative and Translational Genomics</a>
+ </li>
+ <li>
+ <a href="https://www.nigms.nih.gov/">NIGMS</a>
+ Systems Genetics and Precision Medicine Project (R01 GM123489, 2017-2026)
+ </li>
+ <li>
+ <a href="https://www.nsf.gov/awardsearch/showAward?AWD_ID=2118709">NSF</a>
+ Panorama: Integrated Rack-Scale Acceleration for Computational Pangenomics
+ (PPoSS 2118709, 2021-2016)
+ </li>
+ <li>
+ <a href="https://www.drugabuse.gov/">NIDA</a>
+ NIDA Core Center of Excellence in Transcriptomics, Systems Genetics, and the Addictome (P30 DA044223, 2017-2022)
+ </li>
+ <li>
+ <a href="http://www.nia.nih.gov/">NIA</a>
+ Translational Systems Genetics of Mitochondria, Metabolism, and Aging (R01AG043930, 2013-2018)
+ </li>
+ <li>
+ <a href="https://www.ohsu.edu/iniastress-consortium">NIAAA</a>
+ Integrative Neuroscience Initiative on Alcoholism (U01 AA016662, U01 AA013499, U24 AA013513, U01 AA014425, 2006-2017)
+ </li>
+ <li>
+ <a href="http://www.drugabuse.gov/">NIDA</a>, <a href="http://www.nimh.nih.gov/">NIMH</a>, and <a href="http://www.niaaa.nih.gov/">NIAAA</a>
+ (P20-DA 21131, 2001-2012)
+ </li>
+ <li>
+ NCI <a href="http://emice.nci.nih.gov/">MMHCC</a> (U01CA105417), NCRR, <span class="broken_link test" href="http://www.birncommunity.org/">BIRN</span>, (U24 RR021760)
+ </li>
+ </ul>
+ <p>
+ Published in
+ <a href="http://joss.theoj.org/papers/10.21105/joss.00025">Journal of Open Source Software (JOSS)</a>
+ <!-- JOSS logo is defunct -->
+ </p>
+ <p>
+ Development and source code on <a href="https://github.com/genenetwork/">github</a> with <a href="https://issues.genenetwork.org/">issue tracker</a> and <a href="https://github.com/genenetwork/genenetwork2/blob/master/README.md">documentation</a>.
+ </p>
+ {% if version: %}
<p>
- Development and source code on <a href="https://github.com/genenetwork/">github</a> with <a href="https://issues.genenetwork.org/">issue tracker</a> and <a href="https://github.com/genenetwork/genenetwork2/blob/master/README.md">documentation</a>.
- </p>
- {% if version: %}
- <p><small>GeneNetwork {{ version }}</small></p>
- {% endif %}
- <p> It took the server {{ g.request_time() }} seconds to process this page.</p>
- </div>
- <div class="col-xs-2">
- <a href="http://www.python.org/" target="_blank">
- <img src="/static/new/images/PythonLogo.png" alt="Python Powered" border="0">
- </a>
- <a href="http://www.neuinfo.org" target="_blank">
- <img src="/static/new/images/Nif.png" alt="Registered with Nif" border="0">
- </a>
- </div>
+ <small>GeneNetwork {{ version }}</small>
+ </p>
+ {% endif %}
+ <p>It took the server {{ g.request_time() }} seconds to process this page.</p>
</div>
- </footer>
- <!--http://stackoverflow.com/questions/14045515/how-can-i-reuse-one-bootstrap-modal-div-->
- <!-- Modal -->
- <div id="utility" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
- <div class="modal-body">
- <p>.</p>
+ <div class="col-xs-2">
+ <a href="http://www.python.org/" target="_blank">
+ <img src="/static/new/images/PythonLogo.png"
+ alt="Python Powered"
+ border="0">
+ </a>
+ <a href="http://www.neuinfo.org" target="_blank">
+ <img src="/static/new/images/Nif.png" alt="Registered with Nif" border="0">
+ </a>
</div>
- </div>
- <script src="{{ url_for('js', filename='jquery/jquery.min.js') }}" type="text/javascript"></script>
- <script src="{{ url_for('js', filename='bootstrap/js/bootstrap.min.js') }}" type="text/javascript"></script>
- <script>
+ </div>
+ </footer>
+ <!--http://stackoverflow.com/questions/14045515/how-can-i-reuse-one-bootstrap-modal-div-->
+ <!-- Modal -->
+ <div id="utility"
+ class="modal hide fade"
+ tabindex="-1"
+ role="dialog"
+ aria-labelledby="myModalLabel"
+ aria-hidden="true">
+ <div class="modal-body">
+ <p>.</p>
+ </div>
+ </div>
+ <script src="{{ url_for('js', filename='jquery/jquery.min.js') }}"
+ type="text/javascript"></script>
+ <script src="{{ url_for('js', filename='bootstrap/js/bootstrap.min.js') }}"
+ type="text/javascript"></script>
+ <script>
//http://stackoverflow.com/questions/11521763/bootstrap-scrollspy-not-working
var $window = $(window)
$('.bs-docs-sidenav').affix({
@@ -243,18 +346,23 @@
bottom: 270
}
})
- </script>
- <script src="{{ url_for('js', filename='jquery-cookie/jquery.cookie.js') }}" type="text/javascript"></script>
- <script language="javascript" type="text/javascript" src="{{ url_for('js', filename='jquery-ui/jquery-ui.min.js') }}"></script> <script language="javascript" type="text/javascript" src="{{ url_for('js', filename='colorbox/jquery.colorbox-min.js') }}"></script>
- <script language="javascript" type="text/javascript" src="{{ url_for('js', filename='js_alt/parsley.min.js') }}"></script>
- {% block js %}
- {% endblock %}
- <script type="text/javascript">
+ </script>
+ <script src="{{ url_for('js', filename='jquery-cookie/jquery.cookie.js') }}"
+ type="text/javascript"></script>
+ <script language="javascript"
+ type="text/javascript"
+ src="{{ url_for('js', filename='jquery-ui/jquery-ui.min.js') }}"></script> <script language="javascript" type="text/javascript" src="{{ url_for('js', filename='colorbox/jquery.colorbox-min.js') }}"></script>
+ <script language="javascript"
+ type="text/javascript"
+ src="{{ url_for('js', filename='js_alt/parsley.min.js') }}"></script>
+ {% block js %}
+ {% endblock %}
+ <script type="text/javascript">
document.addEventListener('DOMContentLoaded', function() {
let timeToLoad = document.createElement("p");
timeToLoad.innerHTML = "It took your browser " + ((Date.now() - pageLoadStart) / 1000) + " second(s) to render this page";
document.querySelector("footer .row .col-xs-6").appendChild(timeToLoad);
});
- </script>
+ </script>
</body>
</html>