Login Component added

This commit is contained in:
Mosiur Rahman
2025-01-05 00:21:30 +06:00
parent b0bd22a2ba
commit 2d5991dbf7
8 changed files with 158 additions and 3 deletions

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 {
}