forked from tmobile/jazz
-
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.
Merge pull request tmobile#47 in CAP/jazz_webapp from metrics-units t…
…o master * commit 'd9aed7c4aaf5c769bf967fa0dc9b3269e4db0fae': sorting metric data moving documentation remove mockdata minus adding units
- Loading branch information
Showing
14 changed files
with
99 additions
and
63 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
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 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 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 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 |
---|---|---|
|
@@ -8,6 +8,7 @@ import { Component, OnInit, Input, Output, EventEmitter } from '@angular/core'; | |
import { Router, ActivatedRoute } from '@angular/router'; | ||
import { AuthenticationService, MessageService, RequestService } from '../../core/services/index'; | ||
import { ToasterService} from 'angular2-toaster'; | ||
import {environment} from "../../../environments/environment"; | ||
|
||
@Component({ | ||
selector: 'jazz-header', | ||
|
@@ -73,13 +74,18 @@ export class JazzHeaderComponent implements OnInit { | |
return this.router.navigate(['/user-journey']); | ||
} | ||
|
||
openDocs() { | ||
window.open(environment.urls['docs_link'], '_blank'); | ||
} | ||
|
||
onNavigate(){ | ||
window.open('https://docs.jazz.corporate.t-mobile.com') | ||
} | ||
|
||
goToLanding(){ | ||
this.router.navigateByUrl('');// Route to landing page | ||
} | ||
|
||
openSection(){ | ||
var el = document.getElementById("mobileLinks"); | ||
if(el.offsetHeight == 0) | ||
|
@@ -118,8 +124,7 @@ export class JazzHeaderComponent implements OnInit { | |
|
||
} | ||
|
||
toast_pop(error,oops,errorMessage) | ||
{ | ||
toast_pop(error,oops,errorMessage) { | ||
var tst = document.getElementById('toast-container'); | ||
|
||
tst.classList.add('toaster-anim'); | ||
|
@@ -133,6 +138,7 @@ export class JazzHeaderComponent implements OnInit { | |
preventDefault(e){ | ||
e.preventDefault(); | ||
} | ||
|
||
openFeedbackForm(){ | ||
this.isFeedback=true; | ||
this.model.userFeedback=''; | ||
|
@@ -142,6 +148,7 @@ export class JazzHeaderComponent implements OnInit { | |
this.isLoading = false; | ||
this.buttonText='SUBMIT'; | ||
} | ||
|
||
mailTo(){ | ||
location.href='mailto:[email protected]?subject=Jazz: Feedback/Issue&body=' + this.model.userFeedback; | ||
} | ||
|
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 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