diff --git a/.gitignore b/.gitignore
index cc7b141..78b40f6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -40,3 +40,4 @@ testem.log
# System files
.DS_Store
Thumbs.db
+.qodo
diff --git a/angular.json b/angular.json
index 6e8d63a..448a012 100644
--- a/angular.json
+++ b/angular.json
@@ -99,5 +99,8 @@
}
}
}
+ },
+ "cli": {
+ "analytics": false
}
}
diff --git a/src/app/components/pages/dashboard/dashboard-data.ts b/src/app/components/pages/dashboard/dashboard-data.ts
new file mode 100644
index 0000000..1b43cbf
--- /dev/null
+++ b/src/app/components/pages/dashboard/dashboard-data.ts
@@ -0,0 +1,63 @@
+export const service_links =[
+ {
+ "name": "Client Association Portal (CA)",
+ "url": "https://ca.brilliant.com.bd/"
+ },
+ {
+ "name": "OpenStack Dashboard 1",
+ "url": "http://118.67.215.11/dashboard/auth/login/?next=/dashboard/project/volumes/"
+ },
+ {
+ "name": "OpenStack Dashboard 2",
+ "url": "http://118.67.215.12/dashboard/auth/login/?next=/dashboard/project/volumes/"
+ },
+ {
+ "name": "OpenStack Dashboard 3",
+ "url": "http://118.67.215.13/dashboard/auth/login/?next=/dashboard/project/volumes/"
+ },
+ {
+ "name": "OwnCloud Storage",
+ "url": "http://storage.brilliant.com.bd/"
+ },
+ {
+ "name": "Zimbra Admin",
+ "url": "https://mail.brilliant.com.bd:9071/zimbraAdmin/"
+ },
+ {
+ "name": "cPanel",
+ "url": "https://cpanel.brilliant.com.bd:2087"
+ },
+ {
+ "name": "MailBorder",
+ "url": "https://master.intercloud.com.bd/index-login.php"
+ },
+ {
+ "name": "Firewall Dashboard 1",
+ "url": "https://118.67.210.46/"
+ },
+ {
+ "name": "Firewall Dashboard 2",
+ "url": "https://118.67.210.49/"
+ },
+ {
+ "name": "Firewall Dashboard 3",
+ "url": "https://118.67.210.61/"
+ },
+ {
+ "name": "Commvault Command Center(baas)",
+ "url": "baas.brilliant.com.bd"
+ },
+ {
+ "name": "Commvault Command Center(backup)",
+ "url": "backup.brilliant.com.bd"
+ },
+ {
+ "name" : "SolidFire NetApp",
+ "url" : "http://192.168.12.2"
+ },
+ {
+ "name" : "NVMe NetApp",
+ "url" : "http://192.168.12.20"
+ },
+ ]
+
\ No newline at end of file
diff --git a/src/app/components/pages/dashboard/dashboard.component.html b/src/app/components/pages/dashboard/dashboard.component.html
index d7f3c4d..eefeb9a 100644
--- a/src/app/components/pages/dashboard/dashboard.component.html
+++ b/src/app/components/pages/dashboard/dashboard.component.html
@@ -4,9 +4,18 @@
diff --git a/src/app/components/pages/dashboard/dashboard.component.scss b/src/app/components/pages/dashboard/dashboard.component.scss
index dad0d6c..3f38692 100644
--- a/src/app/components/pages/dashboard/dashboard.component.scss
+++ b/src/app/components/pages/dashboard/dashboard.component.scss
@@ -16,18 +16,21 @@
padding: 16px;
font-size: 1rem;
border: none;
+ height: 100%;
}
.services-dropdown {
position: relative;
display: inline-block;
+ height: 100%;
}
+
.dropdown-content {
position: absolute;
display: none;
background-color: rgba($nav-text-color,0.3);
- min-width: 160px;
+ min-width: 250px;
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
z-index: 1;
}
@@ -37,13 +40,15 @@
padding: 12px 16px;
text-decoration: none;
display: block;
+ transition: all 0.2s ease-in-out;
+
}
-.dropdown-content a:hover {background-color: #ddd;}
-.dropdown:hover .dropdown-content {
+.dropdown-content a:hover {background-color: rgba($nav-text-color,0.5);}
+.services-dropdown:hover .dropdown-content {
display: block;
}
-.dropdown:hover .dropbtn {
+.services-dropdown:hover .dropbtn {
background-color: rgba($nav-text-color,0.1);
}
\ No newline at end of file
diff --git a/src/app/components/pages/dashboard/dashboard.component.ts b/src/app/components/pages/dashboard/dashboard.component.ts
index 68e461a..2b7a955 100644
--- a/src/app/components/pages/dashboard/dashboard.component.ts
+++ b/src/app/components/pages/dashboard/dashboard.component.ts
@@ -1,12 +1,19 @@
-import { Component } from '@angular/core';
+import { Component, OnInit } from '@angular/core';
+import { service_links } from './dashboard-data';
+import { navLink } from '../../../shared/model/nav-link.model';
+import { CommonModule } from '@angular/common';
@Component({
selector: 'app-dashboard',
standalone: true,
- imports: [],
+ imports: [CommonModule],
templateUrl: './dashboard.component.html',
styleUrl: './dashboard.component.scss'
})
-export class DashboardComponent {
+export class DashboardComponent implements OnInit {
+ service_link!: navLink[];
+ ngOnInit(): void {
+ this.service_link = service_links
+ }
}
diff --git a/src/app/shared/model/nav-link.model.ts b/src/app/shared/model/nav-link.model.ts
new file mode 100644
index 0000000..99c54c8
--- /dev/null
+++ b/src/app/shared/model/nav-link.model.ts
@@ -0,0 +1,4 @@
+export class navLink {
+ name!: string;
+ url!: string;
+}
\ No newline at end of file