-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.shtml
53 lines (44 loc) · 2.07 KB
/
index.shtml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<!--#include virtual="/includes/header0.shtml" -->
<!-- to display the "last modified" date of the right file in the footer -->
<!--#set var="LASTMOD" value="$LAST_MODIFIED" -->
<!-- The includes in this page make it display the standard BMRB
header, navigation bar, and footer if the page is served from the BMRB.
If you load the page locally you will just see the file selection form. -->
<title>NMR-STAR file visualization tool</title>
<script src="javascript/starlib.js" charset="utf-8"></script>
<script src="javascript/schema.js"></script>
<script src="javascript/sprintf.js"></script>
<link rel="stylesheet" type="text/css" href="css/style.css">
<!--#include virtual="/includes/header1.shtml" -->
<div class="contentWrap">
<h2>NMR-STAR data visualizer, validator, and editor</h2>
<form method="POST" action="" id="upload" enctype="multipart/form-data">
<div>
<P>File: <input type="file" id="nmrstar_file" name="nmrstar_file" size="46" onchange="openFile()">
<input type="button" onclick="toggle_hidden_tags()" id="toggle_hidden" value="Show tags without values">
<input type="button" onclick="star.download()" value="Download"></P>
<div id="parser_messages"></div>
<div id="dynamic_anchor"></div>
</div>
</form>
<noscript><h2>This page requires JavaScript. Please enable JavaScript to use the NMR-STAR visualizer.</h2></noscript>
</div>
<script>
// Optionally enable debug output
DEBUG = getURLParameter("debug");
// If an entry is specified in the URL try to load it
function checkEntryLoad(){
the_entry = getURLParameter("entry");
if (the_entry != null){
$("#parser_messages").html("Loading entry " + the_entry + "...");
loadEntryFromAPI(the_entry);
$("#parser_messages").html("");
}
}
// Detect if we are offline or online
if (!offline) {
// See if we need to load an entry if we are online
$( window ).load( checkEntryLoad );
}
</script>
<!--#include virtual="/includes/footer.shtml" -->