mirror of https://github.com/portainer/portainer
style(app): remove whitespaces
parent
cb42525c18
commit
a8e90e881d
|
@ -55,7 +55,7 @@ angular.module('portainer.app', [])
|
|||
},
|
||||
views: {
|
||||
'content@': {
|
||||
templateUrl: "./views/auth/auth.html",
|
||||
templateUrl: './views/auth/auth.html',
|
||||
controller: 'AuthenticationController'
|
||||
},
|
||||
'sidebar@': {}
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
import template from './endpointList.html'
|
||||
angular.module('portainer.app').component('endpointList', {
|
||||
templateUrl: template,
|
||||
templateUrl: './endpointList.html',
|
||||
controller: 'EndpointListController',
|
||||
bindings: {
|
||||
titleText: '@',
|
||||
|
|
|
@ -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"
|
||||
|
|
33
gruntfile.js
33
gruntfile.js
|
@ -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']);
|
||||
|
||||
|
|
Loading…
Reference in New Issue