blob: db02143caa69de7b20c8c32d4b3c935fca71027d (
plain)
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
|
define([
'./intro-view',
'./templates'
], function (IntroView) {
return Marionette.LayoutView.extend({
template: Templates['quality-gates-layout'],
regions: {
headerRegion: '.search-navigator-workspace-header',
actionsRegion: '.search-navigator-filters',
resultsRegion: '.quality-gates-results',
detailsRegion: '.search-navigator-workspace-details'
},
onRender: function () {
var top = this.$('.search-navigator').offset().top;
this.$('.search-navigator-workspace-header').css({ top: top });
this.$('.search-navigator-side').css({ top: top }).isolatedScroll();
this.renderIntro();
},
renderIntro: function () {
this.detailsRegion.show(new IntroView());
}
});
});
|