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: {
'content@': {
templateUrl: "./views/auth/auth.html",
templateUrl: './views/auth/auth.html',
controller: 'AuthenticationController'
},
'sidebar@': {}

View File

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

View File

@ -19,7 +19,6 @@
</azure-sidebar-content>
<docker-sidebar-content ng-if="applicationState.endpoint.mode && applicationState.endpoint.mode.provider !== 'AZURE'"
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'"
standalone-management="applicationState.endpoint.mode.provider === 'DOCKER_STANDALONE' || applicationState.endpoint.mode.provider === 'VMWARE_VIC'"
admin-access="!applicationState.application.authentication || isAdmin"

View File

@ -13,7 +13,12 @@ module.exports = function(grunt) {
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', [
'config:dev',
@ -30,20 +35,18 @@ module.exports = function(grunt) {
'shell:run:' + arch
]);
grunt.task.registerTask('release', 'release:<platform>:<arch>', function(
p = 'linux',
a = arch
) {
grunt.task.run([
'config:prod',
'env:prod',
'clean:all',
'copy:templates',
'shell:buildBinary:' + p + ':' + a,
'shell:downloadDockerBinary:' + p + ':' + a,
'webpack:prod'
]);
});
grunt.task.registerTask('release', 'release:<platform>:<arch>',
function (p = 'linux', a = arch) {
grunt.task.run([
'config:prod',
'env:prod',
'clean:all',
'copy:templates',
'shell:buildBinary:' + p + ':' + a,
'shell:downloadDockerBinary:' + p + ':' + a,
'webpack:prod'
]);
});
grunt.registerTask('lint', ['eslint']);