This commit is contained in:
tiago.kayaya
2020-12-28 10:11:00 +01:00
parent eabccde7a2
commit 6fe09821e4
25 changed files with 445 additions and 12 deletions
@@ -0,0 +1,17 @@
import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import { ChatPopoverPage } from './chat-popover.page';
const routes: Routes = [
{
path: '',
component: ChatPopoverPage
}
];
@NgModule({
imports: [RouterModule.forChild(routes)],
exports: [RouterModule],
})
export class ChatPopoverPageRoutingModule {}
@@ -0,0 +1,20 @@
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { FormsModule } from '@angular/forms';
import { IonicModule } from '@ionic/angular';
import { ChatPopoverPageRoutingModule } from './chat-popover-routing.module';
import { ChatPopoverPage } from './chat-popover.page';
@NgModule({
imports: [
CommonModule,
FormsModule,
IonicModule,
ChatPopoverPageRoutingModule
],
declarations: [ChatPopoverPage]
})
export class ChatPopoverPageModule {}
@@ -0,0 +1,16 @@
<div>
<ion-toolbar>
<div class="buttons">
<div class="btn-item">
<ion-button class="btn-cancel" shape="round" >Sair do Grupo</ion-button>.
<ion-button class="btn-ok" shape="round" >Alterar nome</ion-button>
</div>
<div class="btn-class">
<hr class="solid">
</div>
<div class="btn-item">
<ion-button class="btn-delete" shape="round">Apagar grupo</ion-button>
</div>
</div>
</ion-toolbar>
</div>
@@ -0,0 +1,49 @@
.buttons{
overflow: auto;
padding-top: 10px;
padding-bottom: 10px;
}
.btn-item{
padding: 2px;
margin: 10px 20px 10px 20px !important;
overflow: auto;
}
.btn-ok, .btn-cancel, .btn-delete{
font-size: 13px;
padding:0 !important;
}
hr.solid {
width: 360px;
border-top: 1px solid #ebebeb;
}
.btn-ok{
display: block;
width: 170px !important;
height: 45px !important;
border-radius: 22.5px;
/* right: 20px !important; */
--background: #42b9fe;
--color: #ffffff !important;
float: left;
}
.btn-cancel{
width: 170px !important;
height: 45px !important;
border-radius: 22.5px;
background-color: #e0e9ee;
--color: #061b52 !important;
--background:transparent;
--box-shadow: none;
float: right;
}
.btn-delete{
width: 170px !important;
height: 45px !important;;
border-radius: 22.5px;
--background: #ffe0e0;
--color: #d30a0a !important;
--padding-start:0 !important;
--padding-end:0 !important;
float: left;
}
@@ -0,0 +1,24 @@
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { IonicModule } from '@ionic/angular';
import { ChatPopoverPage } from './chat-popover.page';
describe('ChatPopoverPage', () => {
let component: ChatPopoverPage;
let fixture: ComponentFixture<ChatPopoverPage>;
beforeEach(async(() => {
TestBed.configureTestingModule({
declarations: [ ChatPopoverPage ],
imports: [IonicModule.forRoot()]
}).compileComponents();
fixture = TestBed.createComponent(ChatPopoverPage);
component = fixture.componentInstance;
fixture.detectChanges();
}));
it('should create', () => {
expect(component).toBeTruthy();
});
});
@@ -0,0 +1,15 @@
import { Component, OnInit } from '@angular/core';
@Component({
selector: 'app-chat-popover',
templateUrl: './chat-popover.page.html',
styleUrls: ['./chat-popover.page.scss'],
})
export class ChatPopoverPage implements OnInit {
constructor() { }
ngOnInit() {
}
}
@@ -0,0 +1,22 @@
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { FormsModule } from '@angular/forms';
import { IonicModule } from '@ionic/angular';
import { ChatPopoverPage } from './chat-popover.page';
@NgModule({
imports: [
CommonModule,
FormsModule,
IonicModule,
],
exports: [
ChatPopoverPage,
],
entryComponents:[],
declarations: [
ChatPopoverPage,
]
})
export class PopoverModule {}