Commit 28ef2dbbbd5cecd624a1348194c699f228d00937
1 parent
21c400ff81
Exists in
master
Creado componente cargar productos.
Showing
4 changed files
with
48 additions
and
0 deletions
Show diff stats
src/app/cargar-productos/cargar-productos.component.html
... | ... | @@ -0,0 +1,8 @@ |
1 | +<div class="row m-0 h-100"> | |
2 | + <div class="col-10 p-0"> | |
3 | + <div class="bg-danger py-1 py-sm-2 py-lg-5"> | |
4 | + <p class="text-center">HEADER</p> | |
5 | + </div> | |
6 | + </div> | |
7 | + <app-sidebar class="col-2 col-md-2 w-100 h-100 bg-dark text-white"></app-sidebar> | |
8 | +</div> | |
0 | 9 | \ No newline at end of file |
src/app/cargar-productos/cargar-productos.component.scss
src/app/cargar-productos/cargar-productos.component.spec.ts
... | ... | @@ -0,0 +1,25 @@ |
1 | +import { async, ComponentFixture, TestBed } from '@angular/core/testing'; | |
2 | + | |
3 | +import { CargarProductosComponent } from './cargar-productos.component'; | |
4 | + | |
5 | +describe('CargarProductosComponent', () => { | |
6 | + let component: CargarProductosComponent; | |
7 | + let fixture: ComponentFixture<CargarProductosComponent>; | |
8 | + | |
9 | + beforeEach(async(() => { | |
10 | + TestBed.configureTestingModule({ | |
11 | + declarations: [ CargarProductosComponent ] | |
12 | + }) | |
13 | + .compileComponents(); | |
14 | + })); | |
15 | + | |
16 | + beforeEach(() => { | |
17 | + fixture = TestBed.createComponent(CargarProductosComponent); | |
18 | + component = fixture.componentInstance; | |
19 | + fixture.detectChanges(); | |
20 | + }); | |
21 | + | |
22 | + it('should create', () => { | |
23 | + expect(component).toBeTruthy(); | |
24 | + }); | |
25 | +}); |
src/app/cargar-productos/cargar-productos.component.ts
... | ... | @@ -0,0 +1,15 @@ |
1 | +import { Component, OnInit } from '@angular/core'; | |
2 | + | |
3 | +@Component({ | |
4 | + selector: 'app-cargar-productos', | |
5 | + templateUrl: './cargar-productos.component.html', | |
6 | + styleUrls: ['./cargar-productos.component.scss'] | |
7 | +}) | |
8 | +export class CargarProductosComponent implements OnInit { | |
9 | + | |
10 | + constructor() { } | |
11 | + | |
12 | + ngOnInit() { | |
13 | + } | |
14 | + | |
15 | +} |