Login Component added

This commit is contained in:
Mosiur Rahman
2025-01-05 00:21:30 +06:00
committed by mosiur rahman
parent 7c98558fbf
commit 5af95f296a
8 changed files with 158 additions and 3 deletions

View File

@@ -1,4 +1,3 @@
version: '3.9'
services:
navigator:
build: .

View File

@@ -3,11 +3,13 @@ import { BackupListComponent } from './components/pages/backup-list/backup-list.
import { ShiftUpdateComponent } from './components/pages/shift-update/shift-update.component';
import { NoMansLandComponent } from './components/pages/no-mans-land/no-mans-land.component';
import { ToolListComponent } from './components/pages/tool-list/tool-list.component';
import { LoginComponent } from './components/pages/login/login.component';
export const routes: Routes = [
{path: "", component: NoMansLandComponent},
{path: "backup", component: BackupListComponent},
{path: "update", component: ShiftUpdateComponent},
{path: "creds", component: ToolListComponent },
{path: "login", component: LoginComponent },
{path: "**", component: NoMansLandComponent},
];

View File

@@ -16,7 +16,6 @@
backup volume
</th>
<th>Copy Name</th>
<th><button (click)="onReset()">reset</button></th>
</tr>
</thead>
<tbody>
@@ -24,7 +23,6 @@
<td><a target="_blank" [href]=backup.projectURL>{{backup.projectName}}</a></td>
<td><a target="_blank" [href]=backup.volumeURL>{{backup.volumeName}}</a></td>
<td class="copyName" #copy (click)="copyName(copy)">{{backup.volumeName}}-{{currentDate | date: 'dd-MM-YYYY'}}-Cloud</td>
<td class="input"><input type="checkbox" name="status" id="status" /></td>
</tr>
</tbody>
</table>

View File

@@ -0,0 +1,7 @@
<div class="container">
<div class="form">
<form>
login works!
</form>
</div>
</div>

View File

@@ -0,0 +1,23 @@
import { ComponentFixture, TestBed } from '@angular/core/testing';
import { LoginComponent } from './login.component';
describe('LoginComponent', () => {
let component: LoginComponent;
let fixture: ComponentFixture<LoginComponent>;
beforeEach(async () => {
await TestBed.configureTestingModule({
imports: [LoginComponent]
})
.compileComponents();
fixture = TestBed.createComponent(LoginComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', () => {
expect(component).toBeTruthy();
});
});

View File

@@ -0,0 +1,14 @@
import { CommonModule } from '@angular/common';
import { Component } from '@angular/core';
import { ReactiveFormsModule } from '@angular/forms';
@Component({
selector: 'app-login',
standalone: true,
imports: [ReactiveFormsModule, CommonModule],
templateUrl: './login.component.html',
styleUrl: './login.component.scss'
})
export class LoginComponent {
}

112
src/app/urls.ts.bkp Normal file
View File

@@ -0,0 +1,112 @@
import { Tool } from "./shared/model/tool.model";
export const all_tools: any[] = [
{
name: 'Nagios',
url: "http://nagios.brilliant.com.bd/nagios",
userName: "nagiosadmin",
password: "Icloud-#@!!@#"
},
{
name: "Graphana",
url: "https://grafana.brilliant.com.bd/login",
userName: "cloud-operation",
password: "Br!ll!ant-#@!!@#",
},
{
name: "Cacti",
url: "http://cacti.brilliant.com.bd/cacti",
userName: "admin",
password: "Icl0ud#@!",
},
{
name: "Fortigate",
url: "https://118.67.210.46/",
userName: "cloud-operation",
password: "ic-FW-Cl0ud-ops132267"
},
{
name: "Forti Analyzer",
url: "https://118.67.209.115/",
userName: "cloud-operation",
password: "ic-FW-Cl0ud-ops132267"
},
{
name: "Observium",
url: "http://observium.brilliant.com.bd/",
userName: "admin",
password: "Icloud-#@!!@#"
},
{
name: "VM 1",
url: "http://118.67.215.11/dashboard/",
userName: "mosiur.rahman",
password: " brilliant-mosiur.rahman"
},
{
name: "VM 2",
url: "http://118.67.215.12/dashboard/",
userName: "mosiur.rahman",
password: " brilliant-mosiur.rahman"
},
{
name: "VM 3",
url: "http://118.67.215.13/dashboard/",
userName: "mosiur.rahman",
password: " brilliant-mosiur.rahman"
},
{
name: "VM 4",
url: "https://cloud.brilliant.com.bd/",
userName: "mosiur.rahman",
password: " brilliant-mosiur.rahman"
},
{
name: "BCP Portal",
url: "https://bcp.brilliant.com.bd/",
userName: "mosiur.rahman@brilliant.com.bd",
password: "brilliant-mosiur.rahman"
},
{
name: "Cloud File Serve",
url: "http://118.67.215.251",
userName: "cloud-support",
password: "Icl0ud-Supp0rt!@#"
},
{
name: "CA Admin",
url: " https://ca.brilliant.com.bd",
userName: "admin@brilliant.com.bd",
password: "@Dm!NBr!ll!@nt"
},
{
name: "BCP Portal",
url: "http://118.67.215.13/dashboard/",
userName: "core-system",
password: "F91@cPR20L!kRe0651096hjQ#2072"
},
{
name: "CommVault Support Portal",
url: "https://support.commvault.com/",
userName: "core.system@intercloud.com.bd",
password: "mBSrdN&I/d90"
},
{
name: "Backup Portal RDP",
url: "baas.brilliant.com.bd",
userName: "administrator",
password: "kjferi_lfbDSNQK@#346"
},
{
name: "Backup Portal main RDP",
url: "backup.brilliant.com.bd",
userName: "administrator",
password: "kjferi_lfbDSNQK@#346"
},
{
name: "Remote VPN Password",
url: "103.248.13.66:10443",
userName: "mosiur.rahman",
password: "Hgd%4st#4d"
},
]