forked from ome/omero-figure
/
info_panel_template.html
41 lines (37 loc) · 1.73 KB
/
info_panel_template.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
<p><%= name %></p>
<div class="clearfix"></div>
<table class="table">
<tbody>
<tr><td>Image
<% if (imageLink) { %>
<a class="pull-right" target="new"
href="<%= imageLink %>">
<span class="glyphicon glyphicon-share"></span> Show in Webclient
</a>
<% } %>
</td></tr>
<tr><td>
<div class="col-sm-6"><small><strong>Image ID</strong>:</small></div>
<div class="col-sm-6">
<small><%= imageId %></small>
<button type="button"
style="position:absolute; top:0px; right:0px"
<% if(!setImageId) { %>disabled="disabled"<% } %>
class="btn btn-small btn-success setId">
Edit ID
</button>
</div>
<div class="col-sm-6"><small><strong>Dimensions (XY)</strong>:</small></div>
<div class="col-sm-6"><small><%= orig_width %> x <%= orig_height %></small></div>
<div class="col-sm-6"><small><strong>Z-sections/Timepoints</strong>:</small></div>
<div class="col-sm-6"><small><%= sizeZ %> x <%= sizeT %></small></div>
<div class="clearfix"></div>
<div class="col-sm-6"><small><strong>Channels</strong>:</small></div>
<div class="col-sm-6"><small>
<% _.each(channel_labels, function(c, i) {
print(c); print((i < channels.length-1) ? ", " : "");
}); %>
</small></div>
</td></tr>
</tbody>
</table>