-
Notifications
You must be signed in to change notification settings - Fork 900
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(core/build): Remove ng2 hybrid app
- Loading branch information
1 parent
64d46ed
commit 0f36a81
Showing
76 changed files
with
104 additions
and
177 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
'use strict'; | ||
|
||
// deck is reliant on a million jquery features; we need to load it before angular so that angular does not | ||
// try to use its jqLite implementation. | ||
|
||
window.$ = window.jQuery = require('jquery'); | ||
|
||
let angular = require('angular'); | ||
|
||
import {APPENGINE_MODULE} from './modules/appengine/appengine.module'; | ||
|
||
module.exports = angular.module('netflix.spinnaker', [ | ||
require('./modules/netflix/netflix.module'), | ||
require('./modules/core/core.module'), | ||
require('./modules/amazon/aws.module'), | ||
require('./modules/google/gce.module'), | ||
require('./modules/cloudfoundry/cf.module'), | ||
require('./modules/titus/titus.module'), | ||
require('./modules/azure/azure.module'), | ||
require('./modules/kubernetes/kubernetes.module'), | ||
require('./modules/openstack/openstack.module'), | ||
require('./modules/docker/docker.module'), | ||
APPENGINE_MODULE, | ||
]); |
This file was deleted.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
...ipts/modules/amazon/serverGroup/configure/wizard/templateSelection/templateSelection.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...ts/modules/amazon/serverGroup/details/advancedSettings/editAsgAdvancedSettings.modal.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
app/scripts/modules/amazon/serverGroup/details/resize/resizeServerGroup.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
app/scripts/modules/amazon/serverGroup/details/rollback/rollbackServerGroup.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...ts/modules/amazon/serverGroup/details/scalingPolicy/upsert/upsertScalingPolicy.modal.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
app/scripts/modules/amazon/serverGroup/details/scalingProcesses/modifyScalingProcesses.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...cripts/modules/amazon/serverGroup/details/scheduledAction/editScheduledActions.modal.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
app/scripts/modules/amazon/serverGroup/details/securityGroup/editSecurityGroups.modal.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
app/scripts/modules/appengine/pipeline/stages/editLoadBalancer/loadBalancerChoice.modal.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
app/scripts/modules/azure/serverGroup/configure/wizard/templateSelection.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
app/scripts/modules/cloudfoundry/serverGroup/configure/wizard/templateSelection.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
app/scripts/modules/cloudfoundry/serverGroup/details/resize/resizeServerGroup.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
app/scripts/modules/cloudfoundry/serverGroup/details/rollback/rollbackServerGroup.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
app/scripts/modules/core/application/config/links/editLinks.modal.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
app/scripts/modules/core/application/modal/editApplication.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
app/scripts/modules/core/application/modal/pageApplicationOwner.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
app/scripts/modules/core/delivery/create/createPipelineModal.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
app/scripts/modules/core/delivery/manualExecution/manualPipelineExecution.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
app/scripts/modules/core/instance/details/console/consoleOutput.modal.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
32 changes: 9 additions & 23 deletions
32
app/scripts/modules/core/modal/buttons/modalClose.component.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,17 @@ | ||
import {Component, Output, EventEmitter} from '@angular/core'; | ||
import {module} from 'angular'; | ||
|
||
import {IDowngradeItem} from 'core/domain/IDowngradeItem'; | ||
@Component({ | ||
selector: 'deck-modal-close', | ||
template: ` | ||
class ModalCloseComponent implements ng.IComponentOptions { | ||
public bindings: any = { | ||
dismiss: '&' | ||
}; | ||
public template = ` | ||
<div class="close-button pull-right"> | ||
<a href class="btn btn-link" (click)="close($event)" > | ||
<a href class="btn btn-link" ng-click="$ctrl.dismiss()" > | ||
<span class="glyphicon glyphicon-remove"></span> | ||
</a> | ||
</div> | ||
` | ||
}) | ||
export class ModalCloseComponent { | ||
|
||
@Output() | ||
public dismiss = new EventEmitter(); | ||
|
||
public close($event: ng.IAngularEvent) { | ||
$event.preventDefault(); | ||
this.dismiss.emit(); | ||
} | ||
`; | ||
} | ||
|
||
export const MODAL_CLOSE_COMPONENT = 'spinnaker.core.modal.modalClose.directive'; | ||
export const MODAL_CLOSE_COMPONENT_DOWNGRADE: IDowngradeItem = { | ||
moduleName: MODAL_CLOSE_COMPONENT, | ||
injectionName: 'modalClose', | ||
moduleClass: ModalCloseComponent, | ||
outputs: ['dismiss'] | ||
}; | ||
module(MODAL_CLOSE_COMPONENT, []).component('modalClose', new ModalCloseComponent()); |
This file was deleted.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
app/scripts/modules/core/modal/wizard/v2modalWizard.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
app/scripts/modules/core/notification/modal/editNotification.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
app/scripts/modules/core/pipeline/config/actions/delete/deletePipelineModal.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
app/scripts/modules/core/pipeline/config/actions/disable/disablePipelineModal.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
app/scripts/modules/core/pipeline/config/actions/enable/enablePipelineModal.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
app/scripts/modules/core/pipeline/config/actions/history/showHistory.modal.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
app/scripts/modules/core/pipeline/config/actions/json/editPipelineJsonModal.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.