mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 04:57:52 +00:00
save
This commit is contained in:
@@ -15,6 +15,7 @@ import { BtnSeguintePage } from './btn-seguinte.page';
|
||||
IonicModule,
|
||||
BtnSeguintePageRoutingModule
|
||||
],
|
||||
declarations: []
|
||||
exports: [BtnSeguintePage],
|
||||
declarations: [BtnSeguintePage]
|
||||
})
|
||||
export class BtnSeguintePageModule {}
|
||||
|
||||
@@ -1,17 +0,0 @@
|
||||
import { NgModule } from '@angular/core';
|
||||
import { Routes, RouterModule } from '@angular/router';
|
||||
|
||||
import { BtnAdicionarPage } from './btn-adicionar.page';
|
||||
|
||||
const routes: Routes = [
|
||||
{
|
||||
path: '',
|
||||
component: BtnAdicionarPage
|
||||
}
|
||||
];
|
||||
|
||||
@NgModule({
|
||||
imports: [RouterModule.forChild(routes)],
|
||||
exports: [RouterModule],
|
||||
})
|
||||
export class BtnAdicionarPageRoutingModule {}
|
||||
@@ -1,20 +0,0 @@
|
||||
import { NgModule } from '@angular/core';
|
||||
import { CommonModule } from '@angular/common';
|
||||
import { FormsModule } from '@angular/forms';
|
||||
|
||||
import { IonicModule } from '@ionic/angular';
|
||||
|
||||
import { BtnAdicionarPageRoutingModule } from './btn-adicionar-routing.module';
|
||||
|
||||
import { BtnAdicionarPage } from './btn-adicionar.page';
|
||||
|
||||
@NgModule({
|
||||
imports: [
|
||||
CommonModule,
|
||||
FormsModule,
|
||||
IonicModule,
|
||||
BtnAdicionarPageRoutingModule
|
||||
],
|
||||
declarations: []
|
||||
})
|
||||
export class BtnAdicionarPageModule {}
|
||||
@@ -1,3 +0,0 @@
|
||||
<div class="right">
|
||||
<ion-label>Adicionar</ion-label>
|
||||
</div>
|
||||
@@ -1,7 +0,0 @@
|
||||
.right{
|
||||
padding: 0!important;
|
||||
float: right;
|
||||
font-size: 15px;
|
||||
color: #0782c9;
|
||||
margin: 8px 5px 0 5px;
|
||||
}
|
||||
@@ -1,24 +0,0 @@
|
||||
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
|
||||
import { IonicModule } from '@ionic/angular';
|
||||
|
||||
import { BtnAdicionarPage } from './btn-adicionar.page';
|
||||
|
||||
describe('BtnAdicionarPage', () => {
|
||||
let component: BtnAdicionarPage;
|
||||
let fixture: ComponentFixture<BtnAdicionarPage>;
|
||||
|
||||
beforeEach(waitForAsync(() => {
|
||||
TestBed.configureTestingModule({
|
||||
declarations: [ BtnAdicionarPage ],
|
||||
imports: [IonicModule.forRoot()]
|
||||
}).compileComponents();
|
||||
|
||||
fixture = TestBed.createComponent(BtnAdicionarPage);
|
||||
component = fixture.componentInstance;
|
||||
fixture.detectChanges();
|
||||
}));
|
||||
|
||||
it('should create', () => {
|
||||
expect(component).toBeTruthy();
|
||||
});
|
||||
});
|
||||
@@ -1,15 +0,0 @@
|
||||
import { Component, OnInit } from '@angular/core';
|
||||
|
||||
@Component({
|
||||
selector: 'app-btn-adicionar',
|
||||
templateUrl: './btn-adicionar.page.html',
|
||||
styleUrls: ['./btn-adicionar.page.scss'],
|
||||
})
|
||||
export class BtnAdicionarPage implements OnInit {
|
||||
|
||||
constructor() { }
|
||||
|
||||
ngOnInit() {
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,17 +0,0 @@
|
||||
import { NgModule } from '@angular/core';
|
||||
import { Routes, RouterModule } from '@angular/router';
|
||||
|
||||
import { BtnCriarPage } from './btn-criar.page';
|
||||
|
||||
const routes: Routes = [
|
||||
{
|
||||
path: '',
|
||||
component: BtnCriarPage
|
||||
}
|
||||
];
|
||||
|
||||
@NgModule({
|
||||
imports: [RouterModule.forChild(routes)],
|
||||
exports: [RouterModule],
|
||||
})
|
||||
export class BtnCriarPageRoutingModule {}
|
||||
@@ -1,20 +0,0 @@
|
||||
import { NgModule } from '@angular/core';
|
||||
import { CommonModule } from '@angular/common';
|
||||
import { FormsModule } from '@angular/forms';
|
||||
|
||||
import { IonicModule } from '@ionic/angular';
|
||||
|
||||
import { BtnCriarPageRoutingModule } from './btn-criar-routing.module';
|
||||
|
||||
import { BtnCriarPage } from './btn-criar.page';
|
||||
|
||||
@NgModule({
|
||||
imports: [
|
||||
CommonModule,
|
||||
FormsModule,
|
||||
IonicModule,
|
||||
BtnCriarPageRoutingModule
|
||||
],
|
||||
declarations: []
|
||||
})
|
||||
export class BtnCriarPageModule {}
|
||||
@@ -1,3 +0,0 @@
|
||||
<div class="right">
|
||||
<ion-label>Criar grupo</ion-label>
|
||||
</div>
|
||||
@@ -1,7 +0,0 @@
|
||||
.right{
|
||||
padding: 0!important;
|
||||
float: right;
|
||||
font-size: 15px;
|
||||
color: #0782c9;
|
||||
margin: 8px 5px 0 5px;
|
||||
}
|
||||
@@ -1,24 +0,0 @@
|
||||
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
|
||||
import { IonicModule } from '@ionic/angular';
|
||||
|
||||
import { BtnCriarPage } from './btn-criar.page';
|
||||
|
||||
describe('BtnCriarPage', () => {
|
||||
let component: BtnCriarPage;
|
||||
let fixture: ComponentFixture<BtnCriarPage>;
|
||||
|
||||
beforeEach(waitForAsync(() => {
|
||||
TestBed.configureTestingModule({
|
||||
declarations: [ BtnCriarPage ],
|
||||
imports: [IonicModule.forRoot()]
|
||||
}).compileComponents();
|
||||
|
||||
fixture = TestBed.createComponent(BtnCriarPage);
|
||||
component = fixture.componentInstance;
|
||||
fixture.detectChanges();
|
||||
}));
|
||||
|
||||
it('should create', () => {
|
||||
expect(component).toBeTruthy();
|
||||
});
|
||||
});
|
||||
@@ -1,15 +0,0 @@
|
||||
import { Component, OnInit } from '@angular/core';
|
||||
|
||||
@Component({
|
||||
selector: 'app-btn-criar',
|
||||
templateUrl: './btn-criar.page.html',
|
||||
styleUrls: ['./btn-criar.page.scss'],
|
||||
})
|
||||
export class BtnCriarPage implements OnInit {
|
||||
|
||||
constructor() { }
|
||||
|
||||
ngOnInit() {
|
||||
}
|
||||
|
||||
}
|
||||
@@ -9,6 +9,7 @@ import { EditGroupPageRoutingModule } from './edit-group-routing.module';
|
||||
import { EditGroupPage } from './edit-group.page';
|
||||
import { SharedModule } from '../../shared.module';
|
||||
import { ComponentsModule } from 'src/app/components/components.module';
|
||||
import { BtnSeguintePageModule } from '../../btn-seguinte/btn-seguinte.module';
|
||||
|
||||
@NgModule({
|
||||
imports: [
|
||||
@@ -16,7 +17,8 @@ import { ComponentsModule } from 'src/app/components/components.module';
|
||||
FormsModule,
|
||||
IonicModule,
|
||||
ComponentsModule,
|
||||
EditGroupPageRoutingModule
|
||||
EditGroupPageRoutingModule,
|
||||
BtnSeguintePageModule,
|
||||
],
|
||||
exports: [EditGroupPage],
|
||||
declarations: [EditGroupPage]
|
||||
|
||||
@@ -10,7 +10,11 @@
|
||||
<div class="div-title">
|
||||
<ion-label class="title">Contactos</ion-label>
|
||||
</div>
|
||||
<app-btn-adicionar (click)="updateGroup()"></app-btn-adicionar>
|
||||
<div>
|
||||
<button class="btn-no-color adicionar" (click)="updateGroup()">
|
||||
<ion-label>Adicionar</ion-label>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</ion-toolbar>
|
||||
|
||||
@@ -41,6 +41,13 @@
|
||||
float: left;
|
||||
margin: 2.5px 0 0 5px;
|
||||
}
|
||||
.adicionar{
|
||||
padding: 0!important;
|
||||
float: right;
|
||||
font-size: 15px;
|
||||
color: #0782c9;
|
||||
margin: 8px 5px 0 5px;
|
||||
}
|
||||
.title{
|
||||
font-size: 25px;
|
||||
}
|
||||
|
||||
@@ -9,6 +9,7 @@ import { ContactsPageRoutingModule } from './contacts-routing.module';
|
||||
import { ContactsPage } from './contacts.page';
|
||||
import { SharedModule } from 'src/app/shared/shared.module';
|
||||
import { ComponentsModule } from 'src/app/components/components.module';
|
||||
import { BtnSeguintePageModule } from 'src/app/shared/btn-seguinte/btn-seguinte.module';
|
||||
|
||||
@NgModule({
|
||||
imports: [
|
||||
@@ -16,7 +17,8 @@ import { ComponentsModule } from 'src/app/components/components.module';
|
||||
FormsModule,
|
||||
IonicModule,
|
||||
ComponentsModule,
|
||||
ContactsPageRoutingModule
|
||||
ContactsPageRoutingModule,
|
||||
BtnSeguintePageModule,
|
||||
],
|
||||
declarations: [ContactsPage]
|
||||
})
|
||||
|
||||
@@ -9,6 +9,7 @@ import { GroupChatPageRoutingModule } from './group-chat-routing.module';
|
||||
import { GroupChatPage } from './group-chat.page';
|
||||
import { SharedModule } from 'src/app/shared/shared.module';
|
||||
import { ComponentsModule } from 'src/app/components/components.module';
|
||||
import { BtnSeguintePageModule } from 'src/app/shared/btn-seguinte/btn-seguinte.module';
|
||||
|
||||
@NgModule({
|
||||
imports: [
|
||||
@@ -16,7 +17,8 @@ import { ComponentsModule } from 'src/app/components/components.module';
|
||||
FormsModule,
|
||||
IonicModule,
|
||||
ComponentsModule,
|
||||
GroupChatPageRoutingModule
|
||||
GroupChatPageRoutingModule,
|
||||
BtnSeguintePageModule,
|
||||
],
|
||||
declarations: [GroupChatPage]
|
||||
})
|
||||
|
||||
@@ -5,7 +5,11 @@
|
||||
<div class="middle">
|
||||
<ion-label class="title">Novo Grupo</ion-label>
|
||||
</div>
|
||||
<app-btn-criar *ngIf="groupName" (click)="createGroup()"></app-btn-criar> <!-- addContacts -->
|
||||
<div *ngIf="groupName">
|
||||
<button class="btn-no-color btn-criar" (click)="createGroup()">
|
||||
<ion-label>Criar grupo</ion-label>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</ion-toolbar>
|
||||
|
||||
@@ -65,6 +65,13 @@ ion-content{
|
||||
width: 221px;
|
||||
//margin: 2.5px 0 0 5px;
|
||||
}
|
||||
.btn-criar{
|
||||
padding: 0!important;
|
||||
float: right;
|
||||
font-size: 15px;
|
||||
color: #0782c9;
|
||||
margin: 8px 5px 0 5px;
|
||||
}
|
||||
.right{
|
||||
padding: 0!important;
|
||||
float: right;
|
||||
|
||||
@@ -15,6 +15,7 @@ import { AttendeesPage } from './attendees.page';
|
||||
IonicModule,
|
||||
AttendeesPageRoutingModule
|
||||
],
|
||||
declarations: []
|
||||
exports: [AttendeesPage],
|
||||
declarations: [AttendeesPage]
|
||||
})
|
||||
export class AttendeesPageModule {}
|
||||
|
||||
Reference in New Issue
Block a user