mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 13:02:56 +00:00
Style for popover in chat finished
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
import { NgModule } from '@angular/core';
|
||||
import { Routes, RouterModule } from '@angular/router';
|
||||
|
||||
import { ChatOptionsPopoverPage } from './chat-options-popover.page';
|
||||
|
||||
const routes: Routes = [
|
||||
{
|
||||
path: '',
|
||||
component: ChatOptionsPopoverPage
|
||||
}
|
||||
];
|
||||
|
||||
@NgModule({
|
||||
imports: [RouterModule.forChild(routes)],
|
||||
exports: [RouterModule],
|
||||
})
|
||||
export class ChatOptionsPopoverPageRoutingModule {}
|
||||
@@ -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 { ChatOptionsPopoverPageRoutingModule } from './chat-options-popover-routing.module';
|
||||
|
||||
import { ChatOptionsPopoverPage } from './chat-options-popover.page';
|
||||
|
||||
@NgModule({
|
||||
imports: [
|
||||
CommonModule,
|
||||
FormsModule,
|
||||
IonicModule,
|
||||
ChatOptionsPopoverPageRoutingModule
|
||||
],
|
||||
declarations: [ChatOptionsPopoverPage]
|
||||
})
|
||||
export class ChatOptionsPopoverPageModule {}
|
||||
@@ -0,0 +1,23 @@
|
||||
<ion-content>
|
||||
<ion-row>
|
||||
<ion-col>
|
||||
<button full class="btn-ok" shape="round" >Tirar Fotografia</button>
|
||||
</ion-col>
|
||||
<ion-col>
|
||||
<button class="btn-ok" shape="round" >Digitalizar Documento</button>
|
||||
</ion-col>
|
||||
<ion-col>
|
||||
<button full class="btn-ok" shape="round" >Anexar Fotografia</button>
|
||||
</ion-col>
|
||||
<ion-col>
|
||||
<button class="btn-ok" shape="round" >Anexar Documento</button>
|
||||
</ion-col>
|
||||
</ion-row>
|
||||
<ion-row class="border-top">
|
||||
<ion-col>
|
||||
<button full class="btn-cancel" shape="round" >Cancelar</button>
|
||||
</ion-col>
|
||||
<ion-col>
|
||||
</ion-col>
|
||||
</ion-row>
|
||||
</ion-content>
|
||||
@@ -0,0 +1,32 @@
|
||||
ion-row{
|
||||
padding: 10px 10px 5px 10px;
|
||||
}
|
||||
.border-top{
|
||||
padding-top: 5px !important;
|
||||
border-top: 1px solid #ebebeb;
|
||||
}
|
||||
/* ion-col{
|
||||
border: 1px solid red;
|
||||
} */
|
||||
.btn-cancel{
|
||||
display: block;
|
||||
width: 170px !important;
|
||||
height: 45px !important;
|
||||
border-radius: 22.5px;
|
||||
background-color: #e0e9ee;
|
||||
--color: #061b52 !important;
|
||||
--background:transparent;
|
||||
--box-shadow: none;
|
||||
margin: 0 auto !important;
|
||||
}
|
||||
|
||||
.btn-ok{
|
||||
display: block;
|
||||
width: 170px !important;
|
||||
height: 45px !important;
|
||||
border-radius: 22.5px;
|
||||
--background: #42b9fe;
|
||||
--color: #ffffff !important;
|
||||
margin: 0 auto !important;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
||||
import { IonicModule } from '@ionic/angular';
|
||||
|
||||
import { ChatOptionsPopoverPage } from './chat-options-popover.page';
|
||||
|
||||
describe('ChatOptionsPopoverPage', () => {
|
||||
let component: ChatOptionsPopoverPage;
|
||||
let fixture: ComponentFixture<ChatOptionsPopoverPage>;
|
||||
|
||||
beforeEach(async(() => {
|
||||
TestBed.configureTestingModule({
|
||||
declarations: [ ChatOptionsPopoverPage ],
|
||||
imports: [IonicModule.forRoot()]
|
||||
}).compileComponents();
|
||||
|
||||
fixture = TestBed.createComponent(ChatOptionsPopoverPage);
|
||||
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-options-popover',
|
||||
templateUrl: './chat-options-popover.page.html',
|
||||
styleUrls: ['./chat-options-popover.page.scss'],
|
||||
})
|
||||
export class ChatOptionsPopoverPage implements OnInit {
|
||||
|
||||
constructor() { }
|
||||
|
||||
ngOnInit() {
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user