From 638467e9c416050a0eac3aa791b97a399d072640 Mon Sep 17 00:00:00 2001 From: onsaliyo Date: Tue, 23 Feb 2021 19:18:46 +0100 Subject: [PATCH] ... --- src/app/app.module.ts | 6 +- .../perfil-discoteca.page.html | 63 ++++++++++--------- .../perfil-discoteca.page.scss | 21 ++++++- .../perfil-discoteca/perfil-discoteca.page.ts | 2 - 4 files changed, 56 insertions(+), 36 deletions(-) diff --git a/src/app/app.module.ts b/src/app/app.module.ts index 575f1a1..468c51b 100644 --- a/src/app/app.module.ts +++ b/src/app/app.module.ts @@ -13,12 +13,14 @@ import { PromptEventoPage} from './prompt-evento/prompt-evento.page' import { GaleriamodalPageModule } from './galeriamodal/galeriamodal.module'; import { MatMenuModule } from '@angular/material/menu'; import { LoginPage } from './login/login.page'; -import { BrowserAnimationsModule } from '@angular/platform-browser/animations' +import { BrowserAnimationsModule } from '@angular/platform-browser/animations'; +import { MatIconModule } from '@angular/material/icon'; + @NgModule({ declarations: [AppComponent, PerfilDiscotecaPage, PromptEventoPage, LoginPage], entryComponents: [], - imports: [BrowserModule, HttpClientModule, IonicModule.forRoot(), AppRoutingModule, ReactiveFormsModule, GaleriamodalPageModule, MatMenuModule, BrowserAnimationsModule], + imports: [BrowserModule, HttpClientModule, IonicModule.forRoot(), AppRoutingModule, ReactiveFormsModule, GaleriamodalPageModule, MatMenuModule, BrowserAnimationsModule, MatIconModule], providers: [ StatusBar, SplashScreen, diff --git a/src/app/perfil-discoteca/perfil-discoteca.page.html b/src/app/perfil-discoteca/perfil-discoteca.page.html index 552baa3..ecc8d1a 100644 --- a/src/app/perfil-discoteca/perfil-discoteca.page.html +++ b/src/app/perfil-discoteca/perfil-discoteca.page.html @@ -13,6 +13,38 @@
{{nombre}}
+
@@ -73,36 +105,7 @@ - - - - - - - - - - - - - - - + diff --git a/src/app/perfil-discoteca/perfil-discoteca.page.scss b/src/app/perfil-discoteca/perfil-discoteca.page.scss index d4e24fa..8dadcde 100644 --- a/src/app/perfil-discoteca/perfil-discoteca.page.scss +++ b/src/app/perfil-discoteca/perfil-discoteca.page.scss @@ -44,7 +44,6 @@ .galeria{ - display: block; max-width: 300px; max-height: auto; margin: auto; @@ -59,7 +58,7 @@ } .eventos{ - display:block; + float: left; } .evento:hover{ @@ -76,3 +75,21 @@ ion-slides { height: 200px; } + + + button{ + background-color: transparent; + } + + .settingsIcon{ + font-size: large; + background-color: white; + } + + .menuBotones{ + position: relative; + float: left; + bottom: 40px; + left: 20px; + + } diff --git a/src/app/perfil-discoteca/perfil-discoteca.page.ts b/src/app/perfil-discoteca/perfil-discoteca.page.ts index d845565..deeaeb9 100644 --- a/src/app/perfil-discoteca/perfil-discoteca.page.ts +++ b/src/app/perfil-discoteca/perfil-discoteca.page.ts @@ -5,7 +5,6 @@ import { AlertController } from '@ionic/angular'; import { ViewChild } from '@angular/core'; import { Evento } from '../evento'; import { Router } from '@angular/router'; -import { MatMenuModule, MatMenuTrigger } from '@angular/material/menu'; import { THIS_EXPR } from '@angular/compiler/src/output/output_ast'; import { GaleriamodalPage } from '../galeriamodal/galeriamodal.page'; import { stringify } from '@angular/compiler/src/util'; @@ -18,7 +17,6 @@ import { stringify } from '@angular/compiler/src/util'; export class PerfilDiscotecaPage implements OnInit { @ViewChild('IonSlides') slides: IonSlides; - @ViewChild('MatMenuTrigger') trigger: MatMenuTrigger; nombre: string; telefono: number; localizacion: string;