Login Component added
This commit is contained in:
@@ -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>
|
||||
|
||||
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 {
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user