annotate bih.tmpl @ 1:52798007c6b2 draft default tip

Master branch Updating - - Fxx
author fgiacomoni
date Thu, 24 Jan 2019 10:02:05 -0500
parents be582bcd6585
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
be582bcd6585 Master branch Updating - - Fxx
fgiacomoni
parents:
diff changeset
1 <?xml version="1.0" encoding="UTF-8" ?>
be582bcd6585 Master branch Updating - - Fxx
fgiacomoni
parents:
diff changeset
2 <!DOCTYPE html>
be582bcd6585 Master branch Updating - - Fxx
fgiacomoni
parents:
diff changeset
3 <html lang="en">
be582bcd6585 Master branch Updating - - Fxx
fgiacomoni
parents:
diff changeset
4 <head>
be582bcd6585 Master branch Updating - - Fxx
fgiacomoni
parents:
diff changeset
5 <meta charset="utf-8">
be582bcd6585 Master branch Updating - - Fxx
fgiacomoni
parents:
diff changeset
6 <meta name="viewport" content="width=device-width, initial-scale=1.0">
be582bcd6585 Master branch Updating - - Fxx
fgiacomoni
parents:
diff changeset
7 <meta name="description" content="">
be582bcd6585 Master branch Updating - - Fxx
fgiacomoni
parents:
diff changeset
8 <meta name="author" content="INRA de Clermont-Ferrand">
be582bcd6585 Master branch Updating - - Fxx
fgiacomoni
parents:
diff changeset
9
be582bcd6585 Master branch Updating - - Fxx
fgiacomoni
parents:
diff changeset
10 <title>Galaxy bank_inhouse queries - All results</title>
be582bcd6585 Master branch Updating - - Fxx
fgiacomoni
parents:
diff changeset
11
be582bcd6585 Master branch Updating - - Fxx
fgiacomoni
parents:
diff changeset
12 <link rel="stylesheet" href="css.php" media="all">
be582bcd6585 Master branch Updating - - Fxx
fgiacomoni
parents:
diff changeset
13 <link rel="stylesheet" href="<TMPL_VAR NAME=CSS_GALAXY_PATH>/simplePagination.css"/>
be582bcd6585 Master branch Updating - - Fxx
fgiacomoni
parents:
diff changeset
14
be582bcd6585 Master branch Updating - - Fxx
fgiacomoni
parents:
diff changeset
15 <!-- JavaScript -->
be582bcd6585 Master branch Updating - - Fxx
fgiacomoni
parents:
diff changeset
16 <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
be582bcd6585 Master branch Updating - - Fxx
fgiacomoni
parents:
diff changeset
17 <script src="<TMPL_VAR NAME=JS_GALAXY_PATH>/jquery.simplePagination.js"></script>
be582bcd6585 Master branch Updating - - Fxx
fgiacomoni
parents:
diff changeset
18 <style>
be582bcd6585 Master branch Updating - - Fxx
fgiacomoni
parents:
diff changeset
19
be582bcd6585 Master branch Updating - - Fxx
fgiacomoni
parents:
diff changeset
20 body {padding-top: 70px}
be582bcd6585 Master branch Updating - - Fxx
fgiacomoni
parents:
diff changeset
21 div.lm-table-warning {font-size: 1.4em;font-weight: bold;padding-right: 25px;color: #21536a;margin-left: 3px;}
be582bcd6585 Master branch Updating - - Fxx
fgiacomoni
parents:
diff changeset
22 tr.green td {background-color: #eaf2d3; color: black;}
be582bcd6585 Master branch Updating - - Fxx
fgiacomoni
parents:
diff changeset
23 tr.blank td {background-color: #9999CC; color: black;}
be582bcd6585 Master branch Updating - - Fxx
fgiacomoni
parents:
diff changeset
24 table {font-family:\"Trebuchet MS\", Arial, Helvetica, sans-serif;width:100%;border-collapse:collapse;}
be582bcd6585 Master branch Updating - - Fxx
fgiacomoni
parents:
diff changeset
25 table.detail, table.detail tr.parent, table.detail td, table.detail th, table.detail tr.category {border-collapse:collapse;border:1px solid #98bf21;}
be582bcd6585 Master branch Updating - - Fxx
fgiacomoni
parents:
diff changeset
26 table.detail th {font-size: 1.2em;text-align: center;padding-top: 5px;padding-bottom: 10px;background-color: #a7c942;color: #ffffff;}
be582bcd6585 Master branch Updating - - Fxx
fgiacomoni
parents:
diff changeset
27 td.center-align {text-align:center;}
be582bcd6585 Master branch Updating - - Fxx
fgiacomoni
parents:
diff changeset
28 footer {margin: 50px 0;}
be582bcd6585 Master branch Updating - - Fxx
fgiacomoni
parents:
diff changeset
29
be582bcd6585 Master branch Updating - - Fxx
fgiacomoni
parents:
diff changeset
30 </style>
be582bcd6585 Master branch Updating - - Fxx
fgiacomoni
parents:
diff changeset
31 <script>
be582bcd6585 Master branch Updating - - Fxx
fgiacomoni
parents:
diff changeset
32 function test(pageNumber)
be582bcd6585 Master branch Updating - - Fxx
fgiacomoni
parents:
diff changeset
33 {
be582bcd6585 Master branch Updating - - Fxx
fgiacomoni
parents:
diff changeset
34 var page="#page-id-"+pageNumber;
be582bcd6585 Master branch Updating - - Fxx
fgiacomoni
parents:
diff changeset
35 $('.select').hide()
be582bcd6585 Master branch Updating - - Fxx
fgiacomoni
parents:
diff changeset
36 $(page).show()
be582bcd6585 Master branch Updating - - Fxx
fgiacomoni
parents:
diff changeset
37
be582bcd6585 Master branch Updating - - Fxx
fgiacomoni
parents:
diff changeset
38 }
be582bcd6585 Master branch Updating - - Fxx
fgiacomoni
parents:
diff changeset
39 </script>
be582bcd6585 Master branch Updating - - Fxx
fgiacomoni
parents:
diff changeset
40 </head>
be582bcd6585 Master branch Updating - - Fxx
fgiacomoni
parents:
diff changeset
41 <body>
be582bcd6585 Master branch Updating - - Fxx
fgiacomoni
parents:
diff changeset
42 <div class="container">
be582bcd6585 Master branch Updating - - Fxx
fgiacomoni
parents:
diff changeset
43 <div class="lm-table-warning">Results of bank_inhouse queries - <TMPL_VAR NAME=CONDITIONS></div>
be582bcd6585 Master branch Updating - - Fxx
fgiacomoni
parents:
diff changeset
44 <div id="detail_table_source" style="display:none"></div>
be582bcd6585 Master branch Updating - - Fxx
fgiacomoni
parents:
diff changeset
45 <p>
be582bcd6585 Master branch Updating - - Fxx
fgiacomoni
parents:
diff changeset
46 <div id="choose">
be582bcd6585 Master branch Updating - - Fxx
fgiacomoni
parents:
diff changeset
47 </div>
be582bcd6585 Master branch Updating - - Fxx
fgiacomoni
parents:
diff changeset
48 <p>
be582bcd6585 Master branch Updating - - Fxx
fgiacomoni
parents:
diff changeset
49
be582bcd6585 Master branch Updating - - Fxx
fgiacomoni
parents:
diff changeset
50 <div id="ms_search_0" class="ms-search-table"></div>
be582bcd6585 Master branch Updating - - Fxx
fgiacomoni
parents:
diff changeset
51 <!-- HeadRows-->
be582bcd6585 Master branch Updating - - Fxx
fgiacomoni
parents:
diff changeset
52 <table id="detail_table" class="detail">
be582bcd6585 Master branch Updating - - Fxx
fgiacomoni
parents:
diff changeset
53 <col style="width:30px;"><!-- Ids (m/z)-->
be582bcd6585 Master branch Updating - - Fxx
fgiacomoni
parents:
diff changeset
54 <col style="width:30px;"><!-- Mass (m/z)-->
be582bcd6585 Master branch Updating - - Fxx
fgiacomoni
parents:
diff changeset
55 <col style="width:30px;"><!-- Compound-->
be582bcd6585 Master branch Updating - - Fxx
fgiacomoni
parents:
diff changeset
56 <col style="width:120px;"><!-- name-->
be582bcd6585 Master branch Updating - - Fxx
fgiacomoni
parents:
diff changeset
57 <col style="width:40px;"><!-- adduct-->
be582bcd6585 Master branch Updating - - Fxx
fgiacomoni
parents:
diff changeset
58 <col style="width:50px;"><!-- adduct type-->
be582bcd6585 Master branch Updating - - Fxx
fgiacomoni
parents:
diff changeset
59 <col style="width:60px;"><!-- adduct mw-->
be582bcd6585 Master branch Updating - - Fxx
fgiacomoni
parents:
diff changeset
60 <col style="width:60px;"><!-- cpd mw-->
be582bcd6585 Master branch Updating - - Fxx
fgiacomoni
parents:
diff changeset
61 <col style="width:50px;"><!-- delta-->
be582bcd6585 Master branch Updating - - Fxx
fgiacomoni
parents:
diff changeset
62 <thead>
be582bcd6585 Master branch Updating - - Fxx
fgiacomoni
parents:
diff changeset
63 <th>ID from input</th>
be582bcd6585 Master branch Updating - - Fxx
fgiacomoni
parents:
diff changeset
64 <th>Mass (m/z)</th>
be582bcd6585 Master branch Updating - - Fxx
fgiacomoni
parents:
diff changeset
65 <th>Compound_ID</th>
be582bcd6585 Master branch Updating - - Fxx
fgiacomoni
parents:
diff changeset
66 <th>Formula</th>
be582bcd6585 Master branch Updating - - Fxx
fgiacomoni
parents:
diff changeset
67 <th>Compound MW (Da)</th>
be582bcd6585 Master branch Updating - - Fxx
fgiacomoni
parents:
diff changeset
68 <th>Adduct</th>
be582bcd6585 Master branch Updating - - Fxx
fgiacomoni
parents:
diff changeset
69 <th>Adduct_Type</th>
be582bcd6585 Master branch Updating - - Fxx
fgiacomoni
parents:
diff changeset
70 <th>Adduct MW (Da)</th>
be582bcd6585 Master branch Updating - - Fxx
fgiacomoni
parents:
diff changeset
71 <th>Delta</th>
be582bcd6585 Master branch Updating - - Fxx
fgiacomoni
parents:
diff changeset
72 </thead>
be582bcd6585 Master branch Updating - - Fxx
fgiacomoni
parents:
diff changeset
73 <TMPL_LOOP NAME=PAGES>
be582bcd6585 Master branch Updating - - Fxx
fgiacomoni
parents:
diff changeset
74 <tbody class="select" id="page-id-<TMPL_VAR NAME=PAGE_NB>">
be582bcd6585 Master branch Updating - - Fxx
fgiacomoni
parents:
diff changeset
75 <TMPL_LOOP NAME=MASSES>
be582bcd6585 Master branch Updating - - Fxx
fgiacomoni
parents:
diff changeset
76 <tr class="<TMPL_VAR NAME=MZ_COLOR>">
be582bcd6585 Master branch Updating - - Fxx
fgiacomoni
parents:
diff changeset
77 <td class="center-align" ><TMPL_VAR NAME=MASSES_ID_QUERY></td>
be582bcd6585 Master branch Updating - - Fxx
fgiacomoni
parents:
diff changeset
78 <td id="<TMPL_VAR NAME=MASSES_NB>" class="center-align" ><TMPL_VAR NAME=MASSES_MZ_QUERY></td>
be582bcd6585 Master branch Updating - - Fxx
fgiacomoni
parents:
diff changeset
79 <td class="center-align" colspan="7"></td>
be582bcd6585 Master branch Updating - - Fxx
fgiacomoni
parents:
diff changeset
80 </tr>
be582bcd6585 Master branch Updating - - Fxx
fgiacomoni
parents:
diff changeset
81 <TMPL_LOOP NAME=ENTRIES>
be582bcd6585 Master branch Updating - - Fxx
fgiacomoni
parents:
diff changeset
82 <tr class="<TMPL_VAR NAME=ENTRY_COLOR>">
be582bcd6585 Master branch Updating - - Fxx
fgiacomoni
parents:
diff changeset
83 <td class="center-align" colspan="2"></td>
be582bcd6585 Master branch Updating - - Fxx
fgiacomoni
parents:
diff changeset
84 <td class="center-align"><a href="http://www.bank_inhouse.ca/metabolites/<TMPL_VAR NAME=ENTRY_ENTRY_ID2>" target="_blank" class="btn"><TMPL_VAR NAME=ENTRY_ENTRY_ID></a></td>
be582bcd6585 Master branch Updating - - Fxx
fgiacomoni
parents:
diff changeset
85 <td class="center-align"><TMPL_VAR NAME=ENTRY_FORMULA></td>
be582bcd6585 Master branch Updating - - Fxx
fgiacomoni
parents:
diff changeset
86 <td class="center-align"><TMPL_VAR NAME=ENTRY_CPD_MZ></td>
be582bcd6585 Master branch Updating - - Fxx
fgiacomoni
parents:
diff changeset
87 <td class="center-align"><TMPL_VAR NAME=ENTRY_ADDUCT></td>
be582bcd6585 Master branch Updating - - Fxx
fgiacomoni
parents:
diff changeset
88 <td class="center-align"><TMPL_VAR NAME=ENTRY_ADDUCT_TYPE></td>
be582bcd6585 Master branch Updating - - Fxx
fgiacomoni
parents:
diff changeset
89 <td class="center-align"><TMPL_VAR NAME=ENTRY_ADDUCT_MZ></td>
be582bcd6585 Master branch Updating - - Fxx
fgiacomoni
parents:
diff changeset
90 <td class="center-align"><TMPL_VAR NAME=ENTRY_DELTA></td>
be582bcd6585 Master branch Updating - - Fxx
fgiacomoni
parents:
diff changeset
91 </tr>
be582bcd6585 Master branch Updating - - Fxx
fgiacomoni
parents:
diff changeset
92 </TMPL_LOOP>
be582bcd6585 Master branch Updating - - Fxx
fgiacomoni
parents:
diff changeset
93 </TMPL_LOOP>
be582bcd6585 Master branch Updating - - Fxx
fgiacomoni
parents:
diff changeset
94 </tbody>
be582bcd6585 Master branch Updating - - Fxx
fgiacomoni
parents:
diff changeset
95 </TMPL_LOOP>
be582bcd6585 Master branch Updating - - Fxx
fgiacomoni
parents:
diff changeset
96 </table>
be582bcd6585 Master branch Updating - - Fxx
fgiacomoni
parents:
diff changeset
97 </div>
be582bcd6585 Master branch Updating - - Fxx
fgiacomoni
parents:
diff changeset
98
be582bcd6585 Master branch Updating - - Fxx
fgiacomoni
parents:
diff changeset
99 <div class="container">
be582bcd6585 Master branch Updating - - Fxx
fgiacomoni
parents:
diff changeset
100 <hr>
be582bcd6585 Master branch Updating - - Fxx
fgiacomoni
parents:
diff changeset
101 <footer>
be582bcd6585 Master branch Updating - - Fxx
fgiacomoni
parents:
diff changeset
102 <div class="row">
be582bcd6585 Master branch Updating - - Fxx
fgiacomoni
parents:
diff changeset
103 <div class="col-lg-12">
be582bcd6585 Master branch Updating - - Fxx
fgiacomoni
parents:
diff changeset
104 <p>
be582bcd6585 Master branch Updating - - Fxx
fgiacomoni
parents:
diff changeset
105 <a href="http://jigsaw.w3.org/css-validator/check/referer" target="_blank">
be582bcd6585 Master branch Updating - - Fxx
fgiacomoni
parents:
diff changeset
106 <img style="border:0;width:88px;height:31px"
be582bcd6585 Master branch Updating - - Fxx
fgiacomoni
parents:
diff changeset
107 src="http://jigsaw.w3.org/css-validator/images/vcss-blue"
be582bcd6585 Master branch Updating - - Fxx
fgiacomoni
parents:
diff changeset
108 alt="Valid CSS!" />
be582bcd6585 Master branch Updating - - Fxx
fgiacomoni
parents:
diff changeset
109 </a>
be582bcd6585 Master branch Updating - - Fxx
fgiacomoni
parents:
diff changeset
110 </p>
be582bcd6585 Master branch Updating - - Fxx
fgiacomoni
parents:
diff changeset
111 <p>Copyright &copy; INRA, M Landi 2014 - Jquery Pluggin by <a href="http://flaviusmatis.github.com/" target="_blank">Flavius Matis</a></p>
be582bcd6585 Master branch Updating - - Fxx
fgiacomoni
parents:
diff changeset
112 </div>
be582bcd6585 Master branch Updating - - Fxx
fgiacomoni
parents:
diff changeset
113 </div>
be582bcd6585 Master branch Updating - - Fxx
fgiacomoni
parents:
diff changeset
114 </footer>
be582bcd6585 Master branch Updating - - Fxx
fgiacomoni
parents:
diff changeset
115 </div>
be582bcd6585 Master branch Updating - - Fxx
fgiacomoni
parents:
diff changeset
116 <script language="javascript">
be582bcd6585 Master branch Updating - - Fxx
fgiacomoni
parents:
diff changeset
117 $(function() {
be582bcd6585 Master branch Updating - - Fxx
fgiacomoni
parents:
diff changeset
118 $('#choose').pagination({
be582bcd6585 Master branch Updating - - Fxx
fgiacomoni
parents:
diff changeset
119 items: <TMPL_VAR NAME=PAGES_NB>,
be582bcd6585 Master branch Updating - - Fxx
fgiacomoni
parents:
diff changeset
120 itemsOnPage: 1,
be582bcd6585 Master branch Updating - - Fxx
fgiacomoni
parents:
diff changeset
121 currentPage: 1,
be582bcd6585 Master branch Updating - - Fxx
fgiacomoni
parents:
diff changeset
122 onInit: function () { test(1); },
be582bcd6585 Master branch Updating - - Fxx
fgiacomoni
parents:
diff changeset
123 cssStyle: 'light-theme',
be582bcd6585 Master branch Updating - - Fxx
fgiacomoni
parents:
diff changeset
124 onPageClick: function(pageNumber){test(pageNumber)}
be582bcd6585 Master branch Updating - - Fxx
fgiacomoni
parents:
diff changeset
125 }).pagination('redraw');
be582bcd6585 Master branch Updating - - Fxx
fgiacomoni
parents:
diff changeset
126 });
be582bcd6585 Master branch Updating - - Fxx
fgiacomoni
parents:
diff changeset
127 </script>
be582bcd6585 Master branch Updating - - Fxx
fgiacomoni
parents:
diff changeset
128 </body>
be582bcd6585 Master branch Updating - - Fxx
fgiacomoni
parents:
diff changeset
129 </html>