rbbt-rest 1.8.137 → 1.8.138
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/share/views/compass/misc.sass +2 -0
- data/share/views/job_result/array.haml +4 -1
- data/share/views/layout/footer.haml +2 -15
- data/share/views/partials/footers/bsc.haml +3 -3
- data/share/views/partials/tabs.haml +15 -12
- data/share/views/tools/nvd3.haml +3 -2
- data/share/views/tools/nvd3/chart.haml +6 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 89c53438e31057a5fdfe811d06380fa17e5dc302fe0bbe6244ec64a7ac16bc57
|
4
|
+
data.tar.gz: e29b8cfcdc8fa80a82f1ca4ff41d771051fb1e36f570e701942db383d24968ce
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a49c09841a1544c702b843ba8e7caacf5ee60704ebf1552b0ce3ef47d65e33572bc0211dbc9aa84b629501b82c277fb3695e4a3d8aa4122ec07debd53d74e00e
|
7
|
+
data.tar.gz: '0954202700ca78f11fd4764e64ed60bc761fbc360d9fcc3fe300df65bb8db95e96b228900e490a93672294b45663fb080b201c2e387f2a27b4d4b6284d819d13'
|
@@ -37,24 +37,11 @@
|
|
37
37
|
a
|
38
38
|
width: 100%
|
39
39
|
|
40
|
-
.ui.segment.stackable.bottom.attached.grid.
|
40
|
+
.ui.segment.stackable.bottom.attached.grid.two.column
|
41
41
|
.ui.column
|
42
42
|
= partial_render('partials/footers/bsc')
|
43
|
+
-#
|
43
44
|
.ui.column
|
44
45
|
= partial_render('partials/footers/ntnu')
|
45
46
|
.ui.column
|
46
47
|
= partial_render('partials/footers/cnio')
|
47
|
-
-#.ui.segment
|
48
|
-
.image
|
49
|
-
%a(href="http://www.cnio.es/")
|
50
|
-
%img(src="/file/cnio.png" height='115px' width='241px')
|
51
|
-
.content
|
52
|
-
.ui.header
|
53
|
-
CNIO. Centro Nacional de Investigaciones Oncologicas (Spanish National Cancer Research Center)
|
54
|
-
.description
|
55
|
-
%span.group Structural Computational Biology Group
|
56
|
-
%br/
|
57
|
-
%span.address C/ Melchor Fernandez Almagro, 3, E-28029 Madrid
|
58
|
-
.meta.contact
|
59
|
-
%span.who miguel.vazquez
|
60
|
-
%span.where cnio.es
|
@@ -2,19 +2,19 @@
|
|
2
2
|
%a(href="http://www.bsc.es/")
|
3
3
|
%img(src="/file/bsc.svg")
|
4
4
|
.content
|
5
|
-
|
5
|
+
-#.ui.header
|
6
6
|
:sass
|
7
7
|
span.bsc
|
8
8
|
font-weight: bold
|
9
9
|
span.cns
|
10
10
|
font-style: italic
|
11
11
|
font-weight: normal
|
12
|
-
|
12
|
+
-#
|
13
13
|
%span.bsc Barcelona Supercomputing Center
|
14
14
|
%span.cns Centro Nacional de Supercomputación
|
15
15
|
|
16
16
|
.description
|
17
|
-
%span.group Genome Informatics Unit
|
17
|
+
%span.group Genome Informatics Unit. Life sciences Department.
|
18
18
|
%span.address Nexus II Building. C/ Jordi Girona, 29. 08034 Barcelona (Spain)
|
19
19
|
|
20
20
|
.meta.contact
|
@@ -2,23 +2,26 @@
|
|
2
2
|
- id = "tab_menu_" + rand(1000).to_s unless defined? id and not id.nil?
|
3
3
|
- active = false unless defined? active and not active.nil?
|
4
4
|
- active = headers.first if TrueClass === active
|
5
|
-
.
|
5
|
+
.tabs(id=id)
|
6
|
+
.ui.top.attached.tabular.stackable.menu
|
7
|
+
- headers.each do |header|
|
8
|
+
- code = codes[header] ||= Misc.digest([header, id]*"-")
|
9
|
+
- tab_active = (active and active == header) ? 'active' : ''
|
10
|
+
.ui.item(data-tab=code class=tab_active)= header
|
11
|
+
|
6
12
|
- headers.each do |header|
|
7
|
-
- code = codes[header]
|
13
|
+
- code = codes[header]
|
14
|
+
- next if content[header].nil?
|
8
15
|
- tab_active = (active and active == header) ? 'active' : ''
|
9
|
-
.ui.
|
10
|
-
|
11
|
-
- headers.each do |header|
|
12
|
-
- code = codes[header]
|
13
|
-
- next if content[header].nil?
|
14
|
-
- tab_active = (active and active == header) ? 'active' : ''
|
15
|
-
.ui.tab.bottom.attached.segment.content(data-tab=code class=tab_active)
|
16
|
-
= content[header]
|
16
|
+
.ui.tab.bottom.attached.segment.content(data-tab=code class=tab_active)
|
17
|
+
= content[header]
|
17
18
|
|
18
19
|
:deferjs
|
19
|
-
|
20
|
+
//$("##{id} > .item[data-tab]").tab()
|
21
|
+
|
22
|
+
$("##{id} > .menu > .item[data-tab]").tab({"context": "##{id}"})
|
20
23
|
|
21
|
-
$('##{id} > .item[data-tab=close]').click(function(item){
|
24
|
+
$('##{id} > .menu > .item[data-tab=close]').click(function(item){
|
22
25
|
var tool = $(this).parents('.cytoscape_tool').first()
|
23
26
|
tool.find('.tab.active, .item.active').removeClass('active')
|
24
27
|
return false
|
data/share/views/tools/nvd3.haml
CHANGED
@@ -8,7 +8,7 @@
|
|
8
8
|
|
9
9
|
- url = @fullpath
|
10
10
|
|
11
|
-
%svg(id=id)
|
11
|
+
%svg.nvd3(id=id)
|
12
12
|
|
13
13
|
:ruby
|
14
14
|
setup ||=<<-EOF
|
@@ -33,12 +33,15 @@
|
|
33
33
|
var selector = "svg#" + id
|
34
34
|
var uri = add_parameter(rbbt.url_add_script_name('#{url}'), '_file', '#{data_id}')
|
35
35
|
|
36
|
+
|
36
37
|
var resolution = #{resolution}
|
37
38
|
var svg = $(selector)
|
38
39
|
var figure = svg.parent('.figure')
|
39
40
|
var W = figure.innerWidth()
|
40
41
|
var H = figure.innerHeight()
|
41
42
|
|
43
|
+
$(selector).css('height', H).css('width', W)
|
44
|
+
|
42
45
|
nv.addGraph({
|
43
46
|
generate: function(){
|
44
47
|
#{setup}
|
@@ -56,9 +59,11 @@
|
|
56
59
|
|
57
60
|
nv.utils.windowResize(graph.update);
|
58
61
|
|
62
|
+
graph.update
|
59
63
|
return graph;
|
60
64
|
},
|
61
65
|
})
|
66
|
+
|
62
67
|
})
|
63
68
|
|
64
69
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rbbt-rest
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.8.
|
4
|
+
version: 1.8.138
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Miguel Vazquez
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-04-
|
11
|
+
date: 2020-04-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|