2016-05-01 19:46:50 +02:00
|
|
|
(function() {
|
|
|
|
|
|
|
|
'use strict';
|
|
|
|
|
|
|
|
angular
|
|
|
|
.module('harbor.layout.index')
|
|
|
|
.controller('IndexController', IndexController);
|
|
|
|
|
2016-06-25 21:12:17 +02:00
|
|
|
IndexController.$inject = ['$scope', '$filter', 'trFilter'];
|
2016-06-21 08:53:00 +02:00
|
|
|
|
2016-06-25 21:12:17 +02:00
|
|
|
function IndexController($scope, $filter, trFilter) {
|
|
|
|
|
|
|
|
$scope.subsHeight = 110;
|
|
|
|
$scope.subsSection = 32;
|
|
|
|
$scope.subsSubPane = 226;
|
2016-06-21 08:53:00 +02:00
|
|
|
|
2016-06-25 21:12:17 +02:00
|
|
|
var vm = this;
|
|
|
|
|
2016-06-21 08:53:00 +02:00
|
|
|
var indexDesc = $filter('tr')('index_desc', []);
|
|
|
|
var indexDesc1 = $filter('tr')('index_desc_1', []);
|
|
|
|
var indexDesc2 = $filter('tr')('index_desc_2', []);
|
|
|
|
var indexDesc3 = $filter('tr')('index_desc_3', []);
|
|
|
|
var indexDesc4 = $filter('tr')('index_desc_4', []);
|
|
|
|
var indexDesc5 = $filter('tr')('index_desc_5', []);
|
|
|
|
|
|
|
|
vm.message = '<p class="page-content text-justify">' +
|
2016-06-24 12:44:54 +02:00
|
|
|
indexDesc +
|
|
|
|
'</p>' +
|
|
|
|
'<ul>' +
|
|
|
|
'<li class="long-line">▪︎ ' + indexDesc1 + '</li>' +
|
|
|
|
'<li class="long-line">▪︎ ' + indexDesc2 + '</li>' +
|
|
|
|
'<li class="long-line">▪︎ ' + indexDesc3 + '</li>' +
|
|
|
|
'<li class="long-line">▪︎ ' + indexDesc4 + '</li>' +
|
|
|
|
'<li class="long-line">▪︎ ' + indexDesc5 + '</li>' +
|
|
|
|
'</ul>';
|
2016-05-01 19:46:50 +02:00
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
})();
|