Commit 18d486fce7fbc8d9d52ef53a5e50d90dc014137a

Authored by Eric Fernandez
1 parent 654425c399
Exists in master

login finish

src/app/app-routing.module.ts
... ... @@ -2,11 +2,13 @@ import { NgModule } from '@angular/core';
2 2 import { Routes, RouterModule } from '@angular/router';
3 3 import { ComprobantesComponent } from './comprobantes/comprobantes.component';
4 4 import { AppBotonera } from './botonera/botonera.component';
  5 +import { LoginComponent } from './login/login.component';
5 6  
6 7 const routes: Routes = [
7 8 { path: 'comprobantes', component: ComprobantesComponent, pathMatch: 'full' },
8 9 { path: '', redirectTo: 'home', pathMatch: 'full' },
9   - { path: 'home', component: AppBotonera }
  10 + { path: 'home', component: AppBotonera },
  11 + { path: 'login', component: LoginComponent }
10 12 ];
11 13  
12 14 @NgModule({
src/app/app.module.ts
... ... @@ -11,6 +11,8 @@ import { AppBotonera } from './botonera/botonera.component';
11 11 import { ComprobantesComponent } from './comprobantes/comprobantes.component';
12 12 import { NombreEmpresaComponent } from './nombre-empresa/nombre-empresa.component';
13 13 import { AccionesComponent } from './acciones/acciones.component';
  14 +import { LoginComponent } from './login/login.component';
  15 +import { BusquedaComprobanteComponent } from './busqueda-comprobante/busqueda-comprobante.component';
14 16  
15 17 @NgModule({
16 18 declarations: [
... ... @@ -18,7 +20,9 @@ import { AccionesComponent } from './acciones/acciones.component';
18 20 AppBotonera,
19 21 ComprobantesComponent,
20 22 NombreEmpresaComponent,
21   - AccionesComponent
  23 + AccionesComponent,
  24 + LoginComponent,
  25 + BusquedaComprobanteComponent
22 26 ],
23 27 imports: [
24 28 BrowserModule,
src/app/botonera/botonera.component.css
... ... @@ -44,11 +44,6 @@
44 44 opacity: .8;
45 45 }
46 46 }
47   -.acciones-mobile {
48   - line-height: 2.5em;
49   - color: orange;
50   - font-size: 1.25em
51   -}
52 47 .swiper {
53 48 height: 300px;
54 49 }