|
a |
|
b/qiita_pet/templates/software.html |
|
|
1 |
{% extends sitebase.html %} |
|
|
2 |
{% block head %} |
|
|
3 |
{% from qiita_core.qiita_settings import qiita_config %} |
|
|
4 |
|
|
|
5 |
<script type="text/javascript"> |
|
|
6 |
$(document).ready(function() { |
|
|
7 |
$('#error-table').dataTable({"order": [[1, "asc"]]}); |
|
|
8 |
$("#waiting").hide(); |
|
|
9 |
} ); |
|
|
10 |
</script> |
|
|
11 |
|
|
|
12 |
{% end %} |
|
|
13 |
|
|
|
14 |
{% block content %} |
|
|
15 |
{% if software %} |
|
|
16 |
<h3>Available Software</h3> |
|
|
17 |
|
|
|
18 |
<h5> |
|
|
19 |
<a href="https://qiita.ucsd.edu/static/doc/html/processingdata/processing-recommendations.html">Here</a> you will find our current processing recommendations. |
|
|
20 |
</h5> |
|
|
21 |
|
|
|
22 |
<table class="table-bordered" width="90%"> |
|
|
23 |
<thead> |
|
|
24 |
<tr> |
|
|
25 |
<th width="20%">Plugin</th> |
|
|
26 |
<th width="80%">Commands</th> |
|
|
27 |
</tr> |
|
|
28 |
</thead> |
|
|
29 |
<tbody> |
|
|
30 |
{% for s in software %} |
|
|
31 |
<tr> |
|
|
32 |
<td> |
|
|
33 |
{% if s.active %} |
|
|
34 |
<span class="glyphicon glyphicon-thumbs-up" style="color:green"></span> |
|
|
35 |
{% else %} |
|
|
36 |
<span class="glyphicon glyphicon-thumbs-down" style="color:red"></span> |
|
|
37 |
{% end %} |
|
|
38 |
ID {{s.id}}: {{s.name}}, {{s.version}} |
|
|
39 |
{% if s.deprecated %} |
|
|
40 |
</br></br> |
|
|
41 |
<span class="glyphicon glyphicon-hand-down" style="color:red">Deprecated</span> |
|
|
42 |
{% end %} |
|
|
43 |
</td> |
|
|
44 |
<td> |
|
|
45 |
<table class="display table-bordered table-hover" width="100%"> |
|
|
46 |
<thead> |
|
|
47 |
<tr> |
|
|
48 |
<th width="55%">Command Name</th> |
|
|
49 |
<th width="44%">Resource Allocation</th> |
|
|
50 |
</tr> |
|
|
51 |
</thead> |
|
|
52 |
<tbody> |
|
|
53 |
{% for c in s.commands %} |
|
|
54 |
<tr> |
|
|
55 |
<td> |
|
|
56 |
{% if c.active %} |
|
|
57 |
<span class="glyphicon glyphicon-thumbs-up" style="color:green"></span> |
|
|
58 |
{% else %} |
|
|
59 |
<span class="glyphicon glyphicon-thumbs-down" style="color:red"></span> |
|
|
60 |
{% end %} |
|
|
61 |
ID {{c.id}}: {{c.name}} |
|
|
62 |
</td> |
|
|
63 |
<td>{{c.resource_allocation}}</td> |
|
|
64 |
</tr> |
|
|
65 |
{% end %} |
|
|
66 |
</tbody> |
|
|
67 |
</table> |
|
|
68 |
</td> |
|
|
69 |
</tr> |
|
|
70 |
{% end %} |
|
|
71 |
</tbody> |
|
|
72 |
</table> |
|
|
73 |
{% else %} |
|
|
74 |
<div id="jumbotron" class="jumbotron"> |
|
|
75 |
<h1><span class="glyphicon glyphicon-thumbs-down"></span> There are no plugins in this system. </h1> |
|
|
76 |
</div> |
|
|
77 |
{% end %} |
|
|
78 |
{% end %} |