Skip to content
Snippets Groups Projects
Commit 6e6d16ac authored by Marco De Donno's avatar Marco De Donno
Browse files

Add the download link on the home page

parent e52fc683
No related branches found
No related tags found
No related merge requests found
......@@ -50,7 +50,11 @@
<a href="{{ url_for( 'new_user' ) }}">Sign-in</a>
</div>
</div>
<div class="icnml_shybox" id="icnml_version"></div>
<div class="icnml_shybox" style="margin-top: 10px;">
<span id="icnml_version"></span>
<br>
<a id="icnml_tree_files" href="#"></a>
</div>
</div>
</body>
<script type="text/javascript">
......@@ -239,7 +243,12 @@
dataType: "json",
method: "GET",
success: function( data ){
$( "#icnml_version" ).text( "ICNML version: " + data.version );
$( "#icnml_version" )
.text( "ICNML version: " + data.version );
$( "#icnml_tree_files" )
.attr( "href", data.treeurl )
.text( "Download this version of ICNML here" );
}
} );
</script>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment