Commit be1ad3aedc713d44c06f6194ad8945e6720a9508
1 parent
3041b73561
Exists in
master
avances
Showing
8 changed files
with
32 additions
and
22 deletions
Show diff stats
README.md
| ... | ... | @@ -25,3 +25,7 @@ Run `ng e2e` to execute the end-to-end tests via [Protractor](http://www.protrac |
| 25 | 25 | ## Further help |
| 26 | 26 | |
| 27 | 27 | To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI README](https://github.com/angular/angular-cli/blob/master/README.md). |
| 28 | + | |
| 29 | +## Build Android apk | |
| 30 | + | |
| 31 | +Run `cordova run android` | |
| 28 | 32 | \ No newline at end of file |
package-lock.json
| ... | ... | @@ -498,6 +498,14 @@ |
| 498 | 498 | } |
| 499 | 499 | } |
| 500 | 500 | }, |
| 501 | + "@ng-bootstrap/ng-bootstrap": { | |
| 502 | + "version": "4.2.0", | |
| 503 | + "resolved": "https://registry.npmjs.org/@ng-bootstrap/ng-bootstrap/-/ng-bootstrap-4.2.0.tgz", | |
| 504 | + "integrity": "sha512-41Sg9RKgFGfnkWJhzPJIumYbib+GCTZ8N17q3PGfLORqtIN25KUFHGuO8EYOYd+zrDVYe8g4JYZoxQZvxaxm6w==", | |
| 505 | + "requires": { | |
| 506 | + "tslib": "^1.9.0" | |
| 507 | + } | |
| 508 | + }, | |
| 501 | 509 | "@ngtools/webpack": { |
| 502 | 510 | "version": "8.0.0", |
| 503 | 511 | "resolved": "https://registry.npmjs.org/@ngtools/webpack/-/webpack-8.0.0.tgz", |
package.json
| ... | ... | @@ -19,6 +19,7 @@ |
| 19 | 19 | "@angular/platform-browser": "~8.0.0", |
| 20 | 20 | "@angular/platform-browser-dynamic": "~8.0.0", |
| 21 | 21 | "@angular/router": "~8.0.0", |
| 22 | + "@ng-bootstrap/ng-bootstrap": "^4.2.0", | |
| 22 | 23 | "cordova-android": "^8.0.0", |
| 23 | 24 | "rxjs": "~6.4.0", |
| 24 | 25 | "tslib": "^1.9.0", |
| ... | ... | @@ -53,4 +54,4 @@ |
| 53 | 54 | "android" |
| 54 | 55 | ] |
| 55 | 56 | } |
| 56 | -} | |
| 57 | 57 | \ No newline at end of file |
| 58 | +} |
src/app/app.component.html
| 1 | 1 | <!--The content below is only a placeholder and can be replaced.--> |
| 2 | -<div style="text-align:center"> | |
| 2 | +<div style="text-align:center" class="body-background"> | |
| 3 | 3 | <h1> |
| 4 | - Welcome to {{ title }}! | |
| 4 | + Gestión comprobantes DEBO | |
| 5 | + <app-botonera></app-botonera> | |
| 5 | 6 | </h1> |
| 6 | - <img width="300" alt="Angular Logo" src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNTAgMjUwIj4KICAgIDxwYXRoIGZpbGw9IiNERDAwMzEiIGQ9Ik0xMjUgMzBMMzEuOSA2My4ybDE0LjIgMTIzLjFMMTI1IDIzMGw3OC45LTQzLjcgMTQuMi0xMjMuMXoiIC8+CiAgICA8cGF0aCBmaWxsPSIjQzMwMDJGIiBkPSJNMTI1IDMwdjIyLjItLjFWMjMwbDc4LjktNDMuNyAxNC4yLTEyMy4xTDEyNSAzMHoiIC8+CiAgICA8cGF0aCAgZmlsbD0iI0ZGRkZGRiIgZD0iTTEyNSA1Mi4xTDY2LjggMTgyLjZoMjEuN2wxMS43LTI5LjJoNDkuNGwxMS43IDI5LjJIMTgzTDEyNSA1Mi4xem0xNyA4My4zaC0zNGwxNy00MC45IDE3IDQwLjl6IiAvPgogIDwvc3ZnPg=="> | |
| 7 | 7 | </div> |
| 8 | -<h2>Here are some links to help you start: </h2> | |
| 9 | -<ul> | |
| 10 | - <li> | |
| 11 | - <h2><a target="_blank" rel="noopener" href="https://angular.io/tutorial">Tour of Heroes</a></h2> | |
| 12 | - </li> | |
| 13 | - <li> | |
| 14 | - <h2><a target="_blank" rel="noopener" href="https://angular.io/cli">CLI Documentation</a></h2> | |
| 15 | - </li> | |
| 16 | - <li> | |
| 17 | - <h2><a target="_blank" rel="noopener" href="https://blog.angular.io/">Angular blog</a></h2> | |
| 18 | - </li> | |
| 19 | -</ul> | |
| 20 | 8 | |
| 21 | 9 | <router-outlet></router-outlet> |
src/app/app.component.ts
src/app/app.module.ts
| 1 | 1 | import { BrowserModule } from '@angular/platform-browser'; |
| 2 | 2 | import { NgModule } from '@angular/core'; |
| 3 | +import {NgbModule} from '@ng-bootstrap/ng-bootstrap'; | |
| 3 | 4 | |
| 4 | 5 | import { AppRoutingModule } from './app-routing.module'; |
| 5 | 6 | import { AppComponent } from './app.component'; |
| 7 | +import { ListaComprobantesComponent } from './lista-comprobantes/lista-comprobantes.component'; | |
| 8 | +import { AppBotonera } from './botonera/botonera.component'; | |
| 6 | 9 | |
| 7 | 10 | @NgModule({ |
| 8 | 11 | declarations: [ |
| 9 | - AppComponent | |
| 12 | + AppComponent, | |
| 13 | + ListaComprobantesComponent, | |
| 14 | + AppBotonera | |
| 10 | 15 | ], |
| 11 | 16 | imports: [ |
| 12 | 17 | BrowserModule, |
| 13 | - AppRoutingModule | |
| 18 | + AppRoutingModule, | |
| 19 | + NgbModule | |
| 14 | 20 | ], |
| 15 | 21 | providers: [], |
| 16 | - bootstrap: [AppComponent] | |
| 22 | + bootstrap: [AppComponent, AppBotonera] | |
| 17 | 23 | }) |
| 18 | 24 | export class AppModule { } |
src/index.html
| ... | ... | @@ -6,10 +6,10 @@ |
| 6 | 6 | <base href="./"> |
| 7 | 7 | |
| 8 | 8 | <meta name="viewport" content="width=device-width, initial-scale=1"> |
| 9 | - <link rel="icon" type="image/x-icon" href="favicon.ico"> | |
| 9 | + <link rel="icon" type="image/x-icon" href="./img/logo.png"> | |
| 10 | 10 | <script type="text/javascript" src="cordova.js"></script> |
| 11 | 11 | </head> |
| 12 | 12 | <body> |
| 13 | - <app-root></app-root> | |
| 13 | + <app></app> | |
| 14 | 14 | </body> |
| 15 | 15 | </html> |
src/styles.css