Client Delivery Page added and routed
This commit is contained in:
@@ -0,0 +1 @@
|
||||
<p>client-service works!</p>
|
||||
@@ -0,0 +1,23 @@
|
||||
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
||||
|
||||
import { ClientServiceComponent } from './client-service.component';
|
||||
|
||||
describe('ClientServiceComponent', () => {
|
||||
let component: ClientServiceComponent;
|
||||
let fixture: ComponentFixture<ClientServiceComponent>;
|
||||
|
||||
beforeEach(async () => {
|
||||
await TestBed.configureTestingModule({
|
||||
imports: [ClientServiceComponent]
|
||||
})
|
||||
.compileComponents();
|
||||
|
||||
fixture = TestBed.createComponent(ClientServiceComponent);
|
||||
component = fixture.componentInstance;
|
||||
fixture.detectChanges();
|
||||
});
|
||||
|
||||
it('should create', () => {
|
||||
expect(component).toBeTruthy();
|
||||
});
|
||||
});
|
||||
@@ -0,0 +1,12 @@
|
||||
import { Component } from '@angular/core';
|
||||
|
||||
@Component({
|
||||
selector: 'app-client-service',
|
||||
standalone: true,
|
||||
imports: [],
|
||||
templateUrl: './client-service.component.html',
|
||||
styleUrl: './client-service.component.scss'
|
||||
})
|
||||
export class ClientServiceComponent {
|
||||
|
||||
}
|
||||
@@ -90,6 +90,18 @@ export const service_links: navLink[] =[
|
||||
{
|
||||
"name" : "Shodan Engine",
|
||||
"url" : "https://www.shodan.io"
|
||||
},
|
||||
{
|
||||
"name" : "HE Internet Services",
|
||||
"url" : "https://bgp.he.net"
|
||||
}
|
||||
]
|
||||
|
||||
|
||||
export const shift_update = [
|
||||
{
|
||||
"name" : "Client Delivery",
|
||||
"url" : "localhost:4200/delivery"
|
||||
}
|
||||
]
|
||||
|
||||
|
||||
@@ -31,6 +31,16 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="delivery">
|
||||
<div class="dropdown">
|
||||
<button class="dropbtn">Tools</button>
|
||||
<div class="dropdown-content">
|
||||
<ng-container *ngFor="let link of deliveryStatus_links">
|
||||
<a href={{link.url}} target="_blank">{{ link.name }}</a>
|
||||
</ng-container>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
</div>
|
||||
@@ -14,10 +14,12 @@ export class DashboardComponent implements OnInit {
|
||||
service_link!: navLink[];
|
||||
monitoring_links!: navLink[];
|
||||
tools_links!: navLink[];
|
||||
deliveryStatus_links!: navLink[];
|
||||
|
||||
ngOnInit(): void {
|
||||
this.service_link = service_links;
|
||||
this.monitoring_links = monitoring_tools_links;
|
||||
this.tools_links = tools_links;
|
||||
this.deliveryStatus_links = service_links;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user