-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merged in feature/SHIBUI-572 (pull request #94)
SHIBUI-572: Added provider wizard and container folder Approved-by: Shibui Jenkins <shibui.jenkins@gmail.com> Approved-by: Ryan Mathis <rmathis@unicon.net>
- Loading branch information
Showing
10 changed files
with
108 additions
and
4 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
40 changes: 40 additions & 0 deletions
40
ui/src/app/metadata/provider/container/new-provider.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
<div class="container-fluid p-3" role="main"> | ||
<section class="section" aria-label="Add a new metadata source - how are you adding the metadata information?" tabindex="0"> | ||
<div class="section-header bg-info p-2 text-white"> | ||
<div class="row justify-content-between"> | ||
<div class="col-md-12"> | ||
<span class="display-6" i18n="@@label--add-a-new-metadata-resolver">Add a new metadata provider</span> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="section-body p-4 border border-top-0 border-info"> | ||
<div class="row"> | ||
<div class="col col-xl-6 col-lg-9 col-xs-12"> | ||
<form [formGroup]="form" role="form"> | ||
<ul class="nav nav-wizard m-3"> | ||
<li class="nav-item"> | ||
<h3 class="tag tag-primary"> | ||
<span class="index">1</span> | ||
<ng-container i18n="@@label--name-and-entityid">1. Name and EntityId</ng-container> | ||
</h3> | ||
</li> | ||
<li class="nav-item"> | ||
<button class="nav-link next btn clearfix" (click)="next()" [disabled]="form.invalid" aria-label="Next: Step 2, Common Attributes" | ||
role="button"> | ||
<span class="label pull-left"> | ||
2. | ||
<ng-container i18n="@@label--common-attributes">Common Attributes</ng-container> | ||
</span> | ||
<span class="direction pull-right"> | ||
<i class="fa fa-fw fa-arrow-circle-right d-block fa-2x"></i> | ||
<ng-container i18n="@@action--next">Next</ng-container> | ||
</span> | ||
</button> | ||
</li> | ||
</ul> | ||
</form> | ||
</div> | ||
</div> | ||
</div> | ||
</section> | ||
</div> |
5 changes: 5 additions & 0 deletions
5
ui/src/app/metadata/provider/container/new-provider.component.scss
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,5 @@ | ||
// :host { | ||
// .provider-nav-option { | ||
// width: 160px; | ||
// } | ||
// } |
Empty file.
20 changes: 20 additions & 0 deletions
20
ui/src/app/metadata/provider/container/new-provider.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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
import { Component } from '@angular/core'; | ||
import { FormGroup, Validators, FormBuilder } from '@angular/forms'; | ||
|
||
@Component({ | ||
selector: 'new-provider-page', | ||
templateUrl: './new-provider.component.html', | ||
styleUrls: ['./new-provider.component.scss'] | ||
}) | ||
export class NewProviderComponent { | ||
form: FormGroup = this.fb.group({ | ||
name: ['', [Validators.required]], | ||
'@type': ['', [Validators.required]] | ||
}); | ||
|
||
constructor( | ||
private fb: FormBuilder | ||
) {} | ||
|
||
next(): void {} | ||
} |
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,3 @@ | ||
<div class="container-fluid p-3" role="main"> | ||
Hi. I'm the metadata provider wizard. | ||
</div> |
Empty file.
13 changes: 13 additions & 0 deletions
13
ui/src/app/metadata/provider/container/wizard.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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
import { Component } from '@angular/core'; | ||
import { ActivatedRoute } from '@angular/router'; | ||
|
||
@Component({ | ||
selector: 'provider-wizard-page', | ||
templateUrl: './wizard.component.html', | ||
styleUrls: ['./wizard.component.scss'] | ||
}) | ||
|
||
export class ProviderWizardComponent { | ||
|
||
} | ||
|
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