aboutsummaryrefslogtreecommitdiff
path: root/uploader
diff options
context:
space:
mode:
Diffstat (limited to 'uploader')
-rw-r--r--uploader/static/js/misc.js6
-rw-r--r--uploader/templates/base.html5
2 files changed, 11 insertions, 0 deletions
diff --git a/uploader/static/js/misc.js b/uploader/static/js/misc.js
new file mode 100644
index 0000000..cf7b39e
--- /dev/null
+++ b/uploader/static/js/misc.js
@@ -0,0 +1,6 @@
+"Miscellaneous functions and event-handlers"
+
+$(".not-implemented").click((event) => {
+ event.preventDefault();
+ alert("This feature is not implemented yet. Please bear with us.");
+});
diff --git a/uploader/templates/base.html b/uploader/templates/base.html
index e3d3e11..b297669 100644
--- a/uploader/templates/base.html
+++ b/uploader/templates/base.html
@@ -69,18 +69,22 @@
-->
<li {%if activemenu=="phenotypes"%}class="activemenu"{%endif%}>
<a href="#"
+ class="not-implemented"
title="Upload phenotype data.">Phenotype Data</a></li>
<li {%if activemenu=="expression-data"%}class="activemenu"{%endif%}>
<a href="{{url_for('species.populations.expression-data.index')}}"
title="Upload expression data.">Expression Data</a></li>
<li {%if activemenu=="individuals"%}class="activemenu"{%endif%}>
<a href="#"
+ class="not-implemented"
title="Upload individual data.">Individual Data</a></li>
<li {%if activemenu=="rna-seq"%}class="activemenu"{%endif%}>
<a href="#"
+ class="not-implemented"
title="Upload RNA-Seq data.">RNA-Seq Data</a></li>
<li {%if activemenu=="async-jobs"%}class="activemenu"{%endif%}>
<a href="#"
+ class="not-implemented"
title="View and manage the backgroud jobs you have running">
Background Jobs</a></li>
</ul>
@@ -121,6 +125,7 @@
filename='jquery.min.js')}}"></script>
<script src="{{url_for('base.bootstrap',
filename='js/bootstrap.min.js')}}"></script>
+ <script type="text/javascript" src="/static/js/misc.js"></script>
{%block javascript%}{%endblock%}
</body>