style(app): remove whitespaces

pull/2670/head
Chaim Lev-Ari 2018-12-16 15:24:46 +02:00
parent cb42525c18
commit a8e90e881d
4 changed files with 20 additions and 19 deletions

View File

@ -55,7 +55,7 @@ angular.module('portainer.app', [])
}, },
views: { views: {
'content@': { 'content@': {
templateUrl: "./views/auth/auth.html", templateUrl: './views/auth/auth.html',
controller: 'AuthenticationController' controller: 'AuthenticationController'
}, },
'sidebar@': {} 'sidebar@': {}

View File

@ -1,6 +1,5 @@
import template from './endpointList.html'
angular.module('portainer.app').component('endpointList', { angular.module('portainer.app').component('endpointList', {
templateUrl: template, templateUrl: './endpointList.html',
controller: 'EndpointListController', controller: 'EndpointListController',
bindings: { bindings: {
titleText: '@', titleText: '@',

View File

@ -19,7 +19,6 @@
</azure-sidebar-content> </azure-sidebar-content>
<docker-sidebar-content ng-if="applicationState.endpoint.mode && applicationState.endpoint.mode.provider !== 'AZURE'" <docker-sidebar-content ng-if="applicationState.endpoint.mode && applicationState.endpoint.mode.provider !== 'AZURE'"
endpoint-api-version="applicationState.endpoint.apiVersion" endpoint-api-version="applicationState.endpoint.apiVersion"
is-agent="applicationState.endpoint.mode.agentProxy"
swarm-management="applicationState.endpoint.mode.provider === 'DOCKER_SWARM_MODE' && applicationState.endpoint.mode.role === 'MANAGER'" swarm-management="applicationState.endpoint.mode.provider === 'DOCKER_SWARM_MODE' && applicationState.endpoint.mode.role === 'MANAGER'"
standalone-management="applicationState.endpoint.mode.provider === 'DOCKER_STANDALONE' || applicationState.endpoint.mode.provider === 'VMWARE_VIC'" standalone-management="applicationState.endpoint.mode.provider === 'DOCKER_STANDALONE' || applicationState.endpoint.mode.provider === 'VMWARE_VIC'"
admin-access="!applicationState.application.authentication || isAdmin" admin-access="!applicationState.application.authentication || isAdmin"

View File

@ -13,7 +13,12 @@ module.exports = function(grunt) {
grunt.registerTask('default', ['eslint', 'build']); grunt.registerTask('default', ['eslint', 'build']);
grunt.registerTask('build-webapp', ['config:prod','env:prod', 'clean:all', 'copy:templates','webpack:prod']); grunt.registerTask('build-webapp', [
'config:prod',
'env:prod',
'clean:all',
'copy:templates',
'webpack:prod']);
grunt.registerTask('build', [ grunt.registerTask('build', [
'config:dev', 'config:dev',
@ -30,10 +35,8 @@ module.exports = function(grunt) {
'shell:run:' + arch 'shell:run:' + arch
]); ]);
grunt.task.registerTask('release', 'release:<platform>:<arch>', function( grunt.task.registerTask('release', 'release:<platform>:<arch>',
p = 'linux', function (p = 'linux', a = arch) {
a = arch
) {
grunt.task.run([ grunt.task.run([
'config:prod', 'config:prod',
'env:prod', 'env:prod',