diff --git a/src/app/app.module.ts b/src/app/app.module.ts index 468c51b..a075dc3 100644 --- a/src/app/app.module.ts +++ b/src/app/app.module.ts @@ -12,6 +12,7 @@ import { PerfilDiscotecaPage } from './perfil-discoteca/perfil-discoteca.page'; import { PromptEventoPage} from './prompt-evento/prompt-evento.page' import { GaleriamodalPageModule } from './galeriamodal/galeriamodal.module'; import { MatMenuModule } from '@angular/material/menu'; +import { MatCardModule } from '@angular/material/card'; import { LoginPage } from './login/login.page'; import { BrowserAnimationsModule } from '@angular/platform-browser/animations'; import { MatIconModule } from '@angular/material/icon'; @@ -20,7 +21,7 @@ import { MatIconModule } from '@angular/material/icon'; @NgModule({ declarations: [AppComponent, PerfilDiscotecaPage, PromptEventoPage, LoginPage], entryComponents: [], - imports: [BrowserModule, HttpClientModule, IonicModule.forRoot(), AppRoutingModule, ReactiveFormsModule, GaleriamodalPageModule, MatMenuModule, BrowserAnimationsModule, MatIconModule], + imports: [BrowserModule, HttpClientModule, IonicModule.forRoot(), AppRoutingModule, ReactiveFormsModule, GaleriamodalPageModule, MatMenuModule, BrowserAnimationsModule, MatIconModule, MatCardModule], providers: [ StatusBar, SplashScreen, diff --git a/src/app/perfil-discoteca/perfil-discoteca.page.html b/src/app/perfil-discoteca/perfil-discoteca.page.html index 17b5096..2e12076 100644 --- a/src/app/perfil-discoteca/perfil-discoteca.page.html +++ b/src/app/perfil-discoteca/perfil-discoteca.page.html @@ -14,40 +14,43 @@
{{nombre}}
-
-
- + + + + + + + + + + +
+
+ + +
+ -
@@ -97,6 +100,7 @@
+
@@ -116,6 +120,7 @@
+
diff --git a/src/app/perfil-discoteca/perfil-discoteca.page.scss b/src/app/perfil-discoteca/perfil-discoteca.page.scss index ad48bad..ef9b42d 100644 --- a/src/app/perfil-discoteca/perfil-discoteca.page.scss +++ b/src/app/perfil-discoteca/perfil-discoteca.page.scss @@ -8,7 +8,6 @@ *{ padding: 10px; display: block; - margin: auto; } .main{ @@ -57,6 +56,7 @@ .botonesHidden{ display: none; + padding: none; } .botonesVisible{ @@ -64,14 +64,21 @@ } .eventos{ - float: left; + text-align: justify; + } + + .evento{ + max-width:fit-content; } .evento:hover{ background-color: rgb(97, 97, 97); } + .eventoHeader{ font-weight: bold; + float: left; + } .eventoDesc{ @@ -82,12 +89,6 @@ height: 200px; } - mat-menu{ - position: relative; - margin: inherit; - color: pink; - } - mat-card-header{ text-align: right; font-weight: bold; diff --git a/src/app/perfil-discoteca/perfil-discoteca.page.ts b/src/app/perfil-discoteca/perfil-discoteca.page.ts index 16a9703..9d79548 100644 --- a/src/app/perfil-discoteca/perfil-discoteca.page.ts +++ b/src/app/perfil-discoteca/perfil-discoteca.page.ts @@ -33,7 +33,6 @@ export class PerfilDiscotecaPage implements OnInit { sliderOpts = { slidesPerView: 1.5, centeredSlides: true, - spaceBetween: 20, }; constructor(private tab1Service: Tab1Service, private router: Router, private modalController: ModalController) { @@ -123,10 +122,14 @@ export class PerfilDiscotecaPage implements OnInit { let cajaDatos = document.getElementById("cajaDatos"); cajaDatos.style.background="white"; cajaDatos.style.color="black"; + cajaDatos.contentEditable = "true"; let botones = document.getElementById("botonesHidden1"); botones.style.display = "block"; - botones = document.getElementById("botonesHidden2"); - botones.style.display = "block"; + let saveButton = document.getElementById("saveButton") as HTMLButtonElement; + saveButton.disabled=false; + let cancelButton = document.getElementById("cancelButton") as HTMLButtonElement; + cancelButton.disabled=false; + @@ -138,6 +141,7 @@ export class PerfilDiscotecaPage implements OnInit { let cajaDatos = document.getElementById("cajaDatos"); cajaDatos.style.background="inherit"; cajaDatos.style.color="inherit"; + cajaDatos.contentEditable="false"; let botones = document.getElementById("botonesHidden1"); botones.style.display = "none"; botones = document.getElementById("botonesHidden2");