-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathmgmain.html
127 lines (99 loc) · 5.99 KB
/
mgmain.html
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=0.5" />
<!-- title and icon -->
<title>MG-RAST</title>
<link rel="icon" href="images/MGRAST_favicon.ico" type="image/x-icon" />
<!-- meta tags -->
<meta name="description"
content="MG-RAST is an open source, open submission web application server that suggests automatic phylogenetic and functional analysis of metagenomes. It is also one of the biggest repositories for metagenomic data."/>
<!-- default js -->
<script src="Retina/js/jquery.min.js"></script>
<script src="Retina/js/stm.js"></script>
<script src="Retina/js/retina.js"></script>
<script src="Retina/js/bootstrap.min.js"></script>
<!-- config -->
<script src="js/config.js"></script>
<!-- bootstrap style -->
<link rel="stylesheet" type="text/css" href="Retina/css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="Retina/css/bootstrap-responsive.min.css">
<link rel="stylesheet" type="text/css" href="css/mgrast.css">
<script type="text/javascript" src="https://www.google.com/jsapi"></script>
<script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?key=AIzaSyBT6MRzt7o7YK0LY2MxNyNjoaMWVD0K2kE&libraries=visualization"></script>
<!-- page init js -->
<script type="text/javascript" src="js/main.js"></script>
<!-- webapp initialization -->
<script>
jQuery( window ).load(function(){
initWebApp();
});
</script>
<!-- Google Analytics -->
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-56018972-1', 'auto');
ga('send', 'pageview');
</script>
</head>
<body style="padding: 0px;">
<!-- header bar -->
<div class="header">
<!-- logo -->
<div style="width: 235px; float: left; margin-right: 25px;">
<img src="images/MGRAST_logo.png" style="float: left; height: 59px; margin-top: 3px; cursor: pointer;" onclick="window.location='index.html?stay=1';">
</div>
<!-- navigation icons -->
<div class="icorow">
<div class="icosp" onclick="changeLocation(event, stm.user ? 'mgmain.html?mgpage=mydata' : 'index.html');"><img src="Retina/images/home-outline.png" class="ico" title="Home"></div>
<div class="icosp" onclick="changeLocation(event, 'mgmain.html?mgpage=search');"><img src="Retina/images/search.png" class="ico" title="Search"></div>
<div class="icosp" onclick="changeLocation(event, 'mgmain.html?mgpage=upload');"><img src="Retina/images/cloud-upload.png" class="ico" title="Upload"></div>
<div class="icosp" onclick="changeLocation(event, 'mgmain.html?mgpage=downloadintro');"><img src="Retina/images/cloud-download.png" class="ico" title="Download"></div>
<div class="icosp" onclick="changeLocation(event, 'mgmain.html?mgpage=analysis');"><img src="Retina/images/bar-chart.png" class="ico" title="Analysis"></div>
</div>
<!-- title space -->
<div style="float: left; color: white; font-weight: lighter; position: relative; top: 15px; font-size: 40px;" id="pageTitle"></div>
<div style="float: right;">
<!-- user info / login section -->
<span id="login_space"></span>
<!-- session management -->
<span id="session_space" style="float: right; margin-right: 10px;"></span>
</div>
<!-- search space -->
<div class="input-append pull-right" style="margin-top: 7px; width: 250px; margin-right: 10px;" id="headerSearch">
<input type="text" class="search" style="padding-left: 10px;border-radius: 14px 0 0 14px; width: 144px;" placeholder="search string" id="searchtext1" onkeypress="if(event.keyCode==13){this.nextSibling.click();}"><button class="btn search-button" style="border-radius: 0 14px 14px 0;" onclick="search(document.getElementById('searchtext1').value);">search <img src="Retina/images/search.png" style="width: 16px; position: relative; bottom 2px;"></button>
</div>
</div>
<div style="height: 80px;" class="visible-desktop"></div>
<div style="height: 120px;" class="hidden-desktop"></div>
<!--border layout -->
<div class="row-fluid">
<!-- main content -->
<div id="content" class="span7 offset1"></div>
<!-- sidebar content -->
<div class="span3 sidebar">
<span style="float: right; margin-right: 5px; cursor: pointer;" status="on" onclick="if (this.getAttribute('status') == 'on') { this.setAttribute('status', 'off'); document.getElementById('content').className='span10 offset1'; this.parentNode.className='span1'; document.getElementById('sidebar').style.display='none'; this.firstChild.className='icon-plus'; this.style.cssFloat='left'; this.style.styleFloat='left'; } else { this.setAttribute('status', 'on'); document.getElementById('content').className='span7 offset1'; this.parentNode.className='span3 sidebar'; document.getElementById('sidebar').style.display=''; this.firstChild.className='icon-minus'; this.style.cssFloat='right'; this.style.styleFloat='right'; }" id="sidebarResizer"><icon class="icon-minus"></icon></span>
<div id="sidebar"></div>
</div>
</div>
<div style="height: 100px;"></div>
<div class="modal hide fade" id="webkey_modal">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h3>Webkey</h3>
</div>
<div class="modal-body">
<p>Your current webkey is</p>
<p><input type="text" id="webkey_text" style="width: 300px;"></p>
</div>
<div class="modal-footer">
<a href="#" class="btn" data-dismiss="modal">Close</a>
</div>
</div>
</body>
</html>