mirror of https://github.com/portainer/portainer
style(app): remove whitespaces
parent
cb42525c18
commit
a8e90e881d
|
@ -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@': {}
|
||||||
|
|
|
@ -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: '@',
|
||||||
|
|
|
@ -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"
|
||||||
|
|
33
gruntfile.js
33
gruntfile.js
|
@ -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,20 +35,18 @@ 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([
|
||||||
) {
|
'config:prod',
|
||||||
grunt.task.run([
|
'env:prod',
|
||||||
'config:prod',
|
'clean:all',
|
||||||
'env:prod',
|
'copy:templates',
|
||||||
'clean:all',
|
'shell:buildBinary:' + p + ':' + a,
|
||||||
'copy:templates',
|
'shell:downloadDockerBinary:' + p + ':' + a,
|
||||||
'shell:buildBinary:' + p + ':' + a,
|
'webpack:prod'
|
||||||
'shell:downloadDockerBinary:' + p + ':' + a,
|
]);
|
||||||
'webpack:prod'
|
});
|
||||||
]);
|
|
||||||
});
|
|
||||||
|
|
||||||
grunt.registerTask('lint', ['eslint']);
|
grunt.registerTask('lint', ['eslint']);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue