Login Component added
This commit is contained in:
@@ -1,4 +1,3 @@
|
|||||||
version: '3.9'
|
|
||||||
services:
|
services:
|
||||||
navigator:
|
navigator:
|
||||||
build: .
|
build: .
|
||||||
|
|||||||
@@ -3,11 +3,13 @@ import { BackupListComponent } from './components/pages/backup-list/backup-list.
|
|||||||
import { ShiftUpdateComponent } from './components/pages/shift-update/shift-update.component';
|
import { ShiftUpdateComponent } from './components/pages/shift-update/shift-update.component';
|
||||||
import { NoMansLandComponent } from './components/pages/no-mans-land/no-mans-land.component';
|
import { NoMansLandComponent } from './components/pages/no-mans-land/no-mans-land.component';
|
||||||
import { ToolListComponent } from './components/pages/tool-list/tool-list.component';
|
import { ToolListComponent } from './components/pages/tool-list/tool-list.component';
|
||||||
|
import { LoginComponent } from './components/pages/login/login.component';
|
||||||
|
|
||||||
export const routes: Routes = [
|
export const routes: Routes = [
|
||||||
{path: "", component: NoMansLandComponent},
|
{path: "", component: NoMansLandComponent},
|
||||||
{path: "backup", component: BackupListComponent},
|
{path: "backup", component: BackupListComponent},
|
||||||
{path: "update", component: ShiftUpdateComponent},
|
{path: "update", component: ShiftUpdateComponent},
|
||||||
{path: "creds", component: ToolListComponent },
|
{path: "creds", component: ToolListComponent },
|
||||||
|
{path: "login", component: LoginComponent },
|
||||||
{path: "**", component: NoMansLandComponent},
|
{path: "**", component: NoMansLandComponent},
|
||||||
];
|
];
|
||||||
|
|||||||
@@ -16,7 +16,6 @@
|
|||||||
backup volume
|
backup volume
|
||||||
</th>
|
</th>
|
||||||
<th>Copy Name</th>
|
<th>Copy Name</th>
|
||||||
<th><button (click)="onReset()">reset</button></th>
|
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
@@ -24,7 +23,6 @@
|
|||||||
<td><a target="_blank" [href]=backup.projectURL>{{backup.projectName}}</a></td>
|
<td><a target="_blank" [href]=backup.projectURL>{{backup.projectName}}</a></td>
|
||||||
<td><a target="_blank" [href]=backup.volumeURL>{{backup.volumeName}}</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="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>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|||||||
7
src/app/components/pages/login/login.component.html
Normal file
7
src/app/components/pages/login/login.component.html
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
<div class="container">
|
||||||
|
<div class="form">
|
||||||
|
<form>
|
||||||
|
login works!
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
0
src/app/components/pages/login/login.component.scss
Normal file
0
src/app/components/pages/login/login.component.scss
Normal file
23
src/app/components/pages/login/login.component.spec.ts
Normal file
23
src/app/components/pages/login/login.component.spec.ts
Normal 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();
|
||||||
|
});
|
||||||
|
});
|
||||||
14
src/app/components/pages/login/login.component.ts
Normal file
14
src/app/components/pages/login/login.component.ts
Normal 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
112
src/app/urls.ts.bkp
Normal 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"
|
||||||
|
},
|
||||||
|
]
|
||||||
Reference in New Issue
Block a user