From 4b0a5665378d062b3608acd7d21fb5273c0602b3 Mon Sep 17 00:00:00 2001 From: Paola Date: Wed, 28 Jul 2021 23:26:29 -0600 Subject: [PATCH] agregacion pagina principal y arreglo footer --- src/main/webapp/app/app.module.ts | 4 +- src/main/webapp/app/home/home.component.html | 16 +-- .../app/layouts/footer/footer.component.html | 2 +- .../app/layouts/footer/footer.component.ts | 26 +++- .../app/layouts/sidebar/sidebar.constants.ts | 3 + src/main/webapp/app/login/login.component.ts | 6 +- .../pagina-principal/pagina-princial.route.ts | 11 ++ .../pagina-principal.component.html | 120 ++++++++++++++++++ .../pagina-principal.component.scss | 13 ++ .../pagina-principal.component.spec.ts | 24 ++++ .../pagina-principal.component.ts | 112 ++++++++++++++++ .../pagina-principal.module.ts | 13 ++ 12 files changed, 335 insertions(+), 15 deletions(-) create mode 100644 src/main/webapp/app/pagina-principal/pagina-princial.route.ts create mode 100644 src/main/webapp/app/pagina-principal/pagina-principal.component.html create mode 100644 src/main/webapp/app/pagina-principal/pagina-principal.component.scss create mode 100644 src/main/webapp/app/pagina-principal/pagina-principal.component.spec.ts create mode 100644 src/main/webapp/app/pagina-principal/pagina-principal.component.ts create mode 100644 src/main/webapp/app/pagina-principal/pagina-principal.module.ts diff --git a/src/main/webapp/app/app.module.ts b/src/main/webapp/app/app.module.ts index 695bffe..7c6db5a 100644 --- a/src/main/webapp/app/app.module.ts +++ b/src/main/webapp/app/app.module.ts @@ -18,7 +18,7 @@ import { AppRoutingModule } from './app-routing.module'; import { HomeModule } from './home/home.module'; import { EntityRoutingModule } from './entities/entity-routing.module'; import { ReactiveFormsModule } from '@angular/forms'; - +import { PaginaPrincipalModule } from './pagina-principal/pagina-principal.module'; import { SocialLoginModule, SocialAuthServiceConfig } from 'angularx-social-login'; import { GoogleLoginProvider } from 'angularx-social-login'; // jhipster-needle-angular-add-module-import JHipster will add new module here @@ -32,6 +32,7 @@ import { FooterComponent } from './layouts/footer/footer.component'; import { PageRibbonComponent } from './layouts/profiles/page-ribbon.component'; import { ErrorComponent } from './layouts/error/error.component'; import { SidebarComponent } from './layouts/sidebar/sidebar.component'; +import { PaginaPrincipalComponent } from './pagina-principal/pagina-principal.component'; @NgModule({ imports: [ @@ -39,6 +40,7 @@ import { SidebarComponent } from './layouts/sidebar/sidebar.component'; BrowserModule, SharedModule, HomeModule, + PaginaPrincipalModule, // jhipster-needle-angular-add-module JHipster will add new module here EntityRoutingModule, AppRoutingModule, diff --git a/src/main/webapp/app/home/home.component.html b/src/main/webapp/app/home/home.component.html index b7739b0..6ce258b 100644 --- a/src/main/webapp/app/home/home.component.html +++ b/src/main/webapp/app/home/home.component.html @@ -36,7 +36,7 @@
@@ -98,12 +98,10 @@

Encuestas

-
+
+ +
{{ encuesta.nombre }}
@@ -116,14 +114,14 @@
Fecha Publicada    {{ + >Fecha de inicio    {{ encuesta.fechaPublicacion | formatShortDatetime | titlecase }}
Fecha de Finalización   Fecha de finalización     {{ encuesta.fechaFinalizar | formatShortDatetime | titlecase }}
diff --git a/src/main/webapp/app/layouts/footer/footer.component.html b/src/main/webapp/app/layouts/footer/footer.component.html index f5fbd22..3e9b625 100644 --- a/src/main/webapp/app/layouts/footer/footer.component.html +++ b/src/main/webapp/app/layouts/footer/footer.component.html @@ -1,4 +1,4 @@ -