[973924]: / qiita_pet / templates / software.html

Download this file

79 lines (73 with data), 2.5 kB

 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
{% extends sitebase.html %}
{% block head %}
{% from qiita_core.qiita_settings import qiita_config %}
<script type="text/javascript">
$(document).ready(function() {
$('#error-table').dataTable({"order": [[1, "asc"]]});
$("#waiting").hide();
} );
</script>
{% end %}
{% block content %}
{% if software %}
<h3>Available Software</h3>
<h5>
<a href="https://qiita.ucsd.edu/static/doc/html/processingdata/processing-recommendations.html">Here</a> you will find our current processing recommendations.
</h5>
<table class="table-bordered" width="90%">
<thead>
<tr>
<th width="20%">Plugin</th>
<th width="80%">Commands</th>
</tr>
</thead>
<tbody>
{% for s in software %}
<tr>
<td>
{% if s.active %}
<span class="glyphicon glyphicon-thumbs-up" style="color:green"></span>
{% else %}
<span class="glyphicon glyphicon-thumbs-down" style="color:red"></span>
{% end %}
ID {{s.id}}: {{s.name}}, {{s.version}}
{% if s.deprecated %}
</br></br>
<span class="glyphicon glyphicon-hand-down" style="color:red">Deprecated</span>
{% end %}
</td>
<td>
<table class="display table-bordered table-hover" width="100%">
<thead>
<tr>
<th width="55%">Command Name</th>
<th width="44%">Resource Allocation</th>
</tr>
</thead>
<tbody>
{% for c in s.commands %}
<tr>
<td>
{% if c.active %}
<span class="glyphicon glyphicon-thumbs-up" style="color:green"></span>
{% else %}
<span class="glyphicon glyphicon-thumbs-down" style="color:red"></span>
{% end %}
ID {{c.id}}: {{c.name}}
</td>
<td>{{c.resource_allocation}}</td>
</tr>
{% end %}
</tbody>
</table>
</td>
</tr>
{% end %}
</tbody>
</table>
{% else %}
<div id="jumbotron" class="jumbotron">
<h1><span class="glyphicon glyphicon-thumbs-down"></span> There are no plugins in this system. </h1>
</div>
{% end %}
{% end %}