aboutsummaryrefslogtreecommitdiffstats
path: root/src/app/about-us
diff options
context:
space:
mode:
authorod7427 <od7427@att.com>2018-08-23 11:49:12 -0400
committerTakamune Cho <tc012c@att.com>2018-08-28 12:59:43 +0000
commitb1ce3d40b0f056a6275ab9ecb48fd0b16b9bb394 (patch)
tree6ba16bbaa02a24a8bc28612ab51c37d5f193066b /src/app/about-us
parent90018a9d2bb344fa103b123b5f9facc0d3738255 (diff)
APPC CDT to Support Multiple Templates for VNFCs
APPC CDT Should Support Multiple Templates For Configure and ConfigModify for VNFs with VNFC level templates. CDT would be used to create a single reference artifact for a VNF. For the Configure related actions (Configure and ConfigModify) vnfc-type to be shown at the top. The user would have a new link below it, to be able to add each vnfc-type. For each vnfc-type, the user would create the associated template and PD file as usual. The fix required to modify several visual elements and variables related to VNFC Types on MyVNFS page, ReferenceData page, Template page and Parameters page. Also a number of supporting services were modified. New Modal window type is now used for VNFC-related dialogs. Change-Id: Ibbbb50e2ff6f96783c0aea89a6870d7c28021ba0 Issue-ID: APPC-1010 Signed-off-by: od7427 <od7427@att.com>
Diffstat (limited to 'src/app/about-us')
-rw-r--r--src/app/about-us/aboutus.component.html6
-rw-r--r--src/app/about-us/aboutus.component.ts23
2 files changed, 24 insertions, 5 deletions
diff --git a/src/app/about-us/aboutus.component.html b/src/app/about-us/aboutus.component.html
index 554fd4a..d7460f3 100644
--- a/src/app/about-us/aboutus.component.html
+++ b/src/app/about-us/aboutus.component.html
@@ -26,7 +26,7 @@ limitations under the License.
<div class="card">
<div class="mdl-dialog__content">
<div class="card">
- <div class="card-header" style="font-size: 20px">CONTACT DETAILS</div>
+ <div class="card-header" (click)="tlPlus()" style="font-size: 20px">CONTACT DETAILS</div>
<div class="mdl-card__title">
<div class="text-center">
Contact us @:
@@ -35,7 +35,7 @@ limitations under the License.
</div>
</div>&emsp;&emsp;&emsp;&emsp;
<div class="card">
- <div class="card-header" style="font-size: 20px">VERSION DETAILS</div>
+ <div class="card-header" (click)="tlMinus()" style="font-size: 20px">VERSION DETAILS</div>
<div class="mdl-card__title">
<table>
<thead></thead>
@@ -69,4 +69,4 @@ limitations under the License.
</div>
</div>
-</div> \ No newline at end of file
+</div>
diff --git a/src/app/about-us/aboutus.component.ts b/src/app/about-us/aboutus.component.ts
index 5b0fd26..04eee0d 100644
--- a/src/app/about-us/aboutus.component.ts
+++ b/src/app/about-us/aboutus.component.ts
@@ -31,6 +31,7 @@ import { saveAs } from 'file-saver';
import { DialogService } from 'ng2-bootstrap-modal';
import { ConfirmComponent } from '../shared/confirmModal/confirm.component';
import { appConstants } from '../../constants/app-constants';
+import {UtilityService} from '../shared/services/utilityService/utility.service';
@Component({
selector: 'app-help',
@@ -38,7 +39,7 @@ import { appConstants } from '../../constants/app-constants';
styleUrls: ['./aboutus.component.css']
})
export class AboutUsComponent implements OnInit, OnDestroy {
-
+ clName= "AboutUsComponent";
public releaseName: any;
public versionNo: any;
public contactUsMail: any;
@@ -53,7 +54,9 @@ export class AboutUsComponent implements OnInit, OnDestroy {
maxLength: 200
};
- constructor(private http: Http, private dialogService: DialogService, private notificationsService: NotificationsService) {
+ constructor(
+ private http: Http, private dialogService: DialogService, private notificationsService: NotificationsService,
+ private utilSvc: UtilityService ) {
}
ngOnInit() {
@@ -101,4 +104,20 @@ export class AboutUsComponent implements OnInit, OnDestroy {
});
saveAs(blob, 'versionLog.txt');
}
+
+ tlPlus() { //.. increase tracelvl - more tracing in console
+ let tracelvl= this.utilSvc.getTracelvl();
+ if( tracelvl < 2 ) {
+ tracelvl++; this.utilSvc.setTracelvl( tracelvl);
+ };
+ console.log( this.clName+": tlPlus: tracelvl="+this.utilSvc.getTracelvl() );
+ }
+
+ tlMinus() { //.. decrease tracelvl - less tracing in console
+ let tracelvl= this.utilSvc.getTracelvl();
+ if( tracelvl > 0 ) {
+ tracelvl--; this.utilSvc.setTracelvl( tracelvl);
+ };
+ console.log( this.clName+": tlMinus: tracelvl="+this.utilSvc.getTracelvl() );
+ }
}