Added the Client-doc componnet but no work doen yet, added S3 links for monitoring screenshot, added aditional nav link for client docs in dashboard
This commit is contained in:
@@ -110,10 +110,17 @@ export const service_links: navLink[] =[
|
||||
export const shift_tasks = [
|
||||
{
|
||||
"name" : "Client Delivery",
|
||||
"url" : "http://localhost:4200/delivery"
|
||||
"url" : "http://118.67.213.117:12180/delivery"
|
||||
},
|
||||
{
|
||||
"name": "Monitoring Screenshots list",
|
||||
"url" : "#"
|
||||
"url" : "https://s3.brilliant.com.bd/bucket-1-ee86738d/shift-tasks/regular-tasks.png"
|
||||
}
|
||||
]
|
||||
|
||||
export const client_docs = [
|
||||
{
|
||||
"name": "Friendship Diagram",
|
||||
"url" : "https://s3.brilliant.com.bd/bucket-1-ee86738d/client-doc/friendship-diagram.html"
|
||||
}
|
||||
]
|
||||
|
||||
@@ -41,6 +41,16 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="delivery">
|
||||
<div class="dropdown">
|
||||
<button class="dropbtn">Client Documents</button>
|
||||
<div class="dropdown-content">
|
||||
<ng-container *ngFor="let link of client_doc_links">
|
||||
<a href={{link.url}} target="_blank">{{ link.name }}</a>
|
||||
</ng-container>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
</div>
|
||||
@@ -1,5 +1,5 @@
|
||||
import { Component, OnInit } from '@angular/core';
|
||||
import { monitoring_tools_links, service_links, tools_links, shift_tasks } from './dashboard-data';
|
||||
import { monitoring_tools_links, service_links, tools_links, shift_tasks, client_docs } from './dashboard-data';
|
||||
import { navLink } from '../../../shared/model/nav-link.model';
|
||||
import { CommonModule } from '@angular/common';
|
||||
|
||||
@@ -15,11 +15,14 @@ export class DashboardComponent implements OnInit {
|
||||
monitoring_links!: navLink[];
|
||||
tools_links!: navLink[];
|
||||
shift_tasks_links!: navLink[];
|
||||
client_doc_links!: navLink[];
|
||||
|
||||
|
||||
ngOnInit(): void {
|
||||
this.service_link = service_links;
|
||||
this.monitoring_links = monitoring_tools_links;
|
||||
this.tools_links = tools_links;
|
||||
this.shift_tasks_links = shift_tasks;
|
||||
this.client_doc_links = client_docs;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user