agregar estilos que pidio Pablo
This commit is contained in:
parent
7fb9b9b88b
commit
d11c458c8c
|
@ -1,8 +1,8 @@
|
||||||
<form *ngIf="categoria" name="deleteForm" (ngSubmit)="confirmDelete(categoria.id!)">
|
<form class="ds-form" *ngIf="categoria" name="deleteForm" (ngSubmit)="confirmDelete(categoria.id!)">
|
||||||
<div class="modal-header">
|
<div class="modal-header">
|
||||||
<h4 class="modal-title" data-cy="categoriaDeleteDialogHeading" jhiTranslate="entity.delete.title">Confirm delete operation</h4>
|
<h4 class="modal-title" data-cy="categoriaDeleteDialogHeading" jhiTranslate="entity.delete.title">Confirm delete operation</h4>
|
||||||
|
|
||||||
<button type="button" class="close" data-dismiss="modal" aria-hidden="true" (click)="cancel()">×</button>
|
<button type="button" class="ds-btn close" data-dismiss="modal" aria-hidden="true" (click)="cancel()">×</button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="modal-body">
|
<div class="modal-body">
|
||||||
|
@ -14,11 +14,11 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="modal-footer">
|
<div class="modal-footer">
|
||||||
<button type="button" class="btn btn-secondary" data-dismiss="modal" (click)="cancel()">
|
<button type="button" class="btn btn-secondary ds-btn ds-btn-secondary" data-dismiss="modal" (click)="cancel()">
|
||||||
<fa-icon icon="ban"></fa-icon> <span jhiTranslate="entity.action.cancel">Cancel</span>
|
<fa-icon icon="ban"></fa-icon> <span jhiTranslate="entity.action.cancel">Cancel</span>
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
<button id="jhi-confirm-delete-categoria" data-cy="entityConfirmDeleteButton" type="submit" class="btn btn-danger">
|
<button id="jhi-confirm-delete-categoria" data-cy="entityConfirmDeleteButton" type="submit" class="btn btn-danger ds-btn ds-btn-danger">
|
||||||
<fa-icon icon="times"></fa-icon> <span jhiTranslate="entity.action.delete">Delete</span>
|
<fa-icon icon="times"></fa-icon> <span jhiTranslate="entity.action.delete">Delete</span>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -24,11 +24,11 @@
|
||||||
</dd>
|
</dd>
|
||||||
</dl>
|
</dl>
|
||||||
|
|
||||||
<button type="submit" (click)="previousState()" class="btn btn-info" data-cy="entityDetailsBackButton">
|
<button type="submit" (click)="previousState()" class="btn btn-ds btn-info" data-cy="entityDetailsBackButton">
|
||||||
<fa-icon icon="arrow-left"></fa-icon> <span jhiTranslate="entity.action.back">Back</span>
|
<fa-icon icon="arrow-left"></fa-icon> <span jhiTranslate="entity.action.back">Back</span>
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
<button type="button" [routerLink]="['/categoria', categoria.id, 'edit']" class="btn btn-primary">
|
<button type="button" [routerLink]="['/categoria', categoria.id, 'edit']" class="btn btn-ds btn-ds-primary btn-primary">
|
||||||
<fa-icon icon="pencil-alt"></fa-icon> <span jhiTranslate="entity.action.edit">Edit</span>
|
<fa-icon icon="pencil-alt"></fa-icon> <span jhiTranslate="entity.action.edit">Edit</span>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
<span jhiTranslate="dataSurveyApp.categoria.home.title">Categorias</span>
|
<span jhiTranslate="dataSurveyApp.categoria.home.title">Categorias</span>
|
||||||
|
|
||||||
<div class="d-flex justify-content-end">
|
<div class="d-flex justify-content-end">
|
||||||
<button class="btn btn-info mr-2" (click)="loadAll()" [disabled]="isLoading">
|
<button class="btn btn-info mr-2 ds-btn" (click)="loadAll()" [disabled]="isLoading">
|
||||||
<fa-icon icon="sync" [spin]="isLoading"></fa-icon>
|
<fa-icon icon="sync" [spin]="isLoading"></fa-icon>
|
||||||
<span jhiTranslate="dataSurveyApp.categoria.home.refreshListLabel">Refresh List</span>
|
<span jhiTranslate="dataSurveyApp.categoria.home.refreshListLabel">Refresh List</span>
|
||||||
</button>
|
</button>
|
||||||
|
@ -11,7 +11,7 @@
|
||||||
<button
|
<button
|
||||||
id="jh-create-entity"
|
id="jh-create-entity"
|
||||||
data-cy="entityCreateButton"
|
data-cy="entityCreateButton"
|
||||||
class="btn btn-primary jh-create-entity create-categoria"
|
class="btn btn-primary jh-create-entity create-categoria ds-btn ds-btn-primary"
|
||||||
[routerLink]="['/categoria/new']"
|
[routerLink]="['/categoria/new']"
|
||||||
>
|
>
|
||||||
<fa-icon icon="plus"></fa-icon>
|
<fa-icon icon="plus"></fa-icon>
|
||||||
|
@ -56,7 +56,7 @@
|
||||||
<button
|
<button
|
||||||
type="submit"
|
type="submit"
|
||||||
[routerLink]="['/categoria', categoria.id, 'view']"
|
[routerLink]="['/categoria', categoria.id, 'view']"
|
||||||
class="btn btn-info btn-sm"
|
class="btn btn-info btn-sm ds-btn"
|
||||||
data-cy="entityDetailsButton"
|
data-cy="entityDetailsButton"
|
||||||
>
|
>
|
||||||
<fa-icon icon="eye"></fa-icon>
|
<fa-icon icon="eye"></fa-icon>
|
||||||
|
@ -66,14 +66,19 @@
|
||||||
<button
|
<button
|
||||||
type="submit"
|
type="submit"
|
||||||
[routerLink]="['/categoria', categoria.id, 'edit']"
|
[routerLink]="['/categoria', categoria.id, 'edit']"
|
||||||
class="btn btn-primary btn-sm"
|
class="btn btn-primary btn-sm ds-btn ds-btn-primary"
|
||||||
data-cy="entityEditButton"
|
data-cy="entityEditButton"
|
||||||
>
|
>
|
||||||
<fa-icon icon="pencil-alt"></fa-icon>
|
<fa-icon icon="pencil-alt"></fa-icon>
|
||||||
<span class="d-none d-md-inline" jhiTranslate="entity.action.edit">Edit</span>
|
<span class="d-none d-md-inline" jhiTranslate="entity.action.edit">Edit</span>
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
<button type="submit" (click)="delete(categoria)" class="btn btn-danger btn-sm" data-cy="entityDeleteButton">
|
<button
|
||||||
|
type="submit"
|
||||||
|
(click)="delete(categoria)"
|
||||||
|
class="btn btn-danger btn-sm ds-btn ds-btn-danger"
|
||||||
|
data-cy="entityDeleteButton"
|
||||||
|
>
|
||||||
<fa-icon icon="times"></fa-icon>
|
<fa-icon icon="times"></fa-icon>
|
||||||
<span class="d-none d-md-inline" jhiTranslate="entity.action.delete">Delete</span>
|
<span class="d-none d-md-inline" jhiTranslate="entity.action.delete">Delete</span>
|
||||||
</button>
|
</button>
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
<div class="row justify-content-center">
|
<div class="row justify-content-center">
|
||||||
<div class="col-8">
|
<div class="col-8">
|
||||||
<form name="editForm" role="form" novalidate (ngSubmit)="save()" [formGroup]="editForm">
|
<form name="editForm" role="form" novalidate (ngSubmit)="save()" [formGroup]="editForm" class="ds-form">
|
||||||
<h2 id="jhi-categoria-heading" data-cy="CategoriaCreateUpdateHeading" jhiTranslate="dataSurveyApp.categoria.home.createOrEditLabel">
|
<h2 id="jhi-categoria-heading" data-cy="CategoriaCreateUpdateHeading" jhiTranslate="dataSurveyApp.categoria.home.createOrEditLabel">
|
||||||
Create or edit a Categoria
|
Create or edit a Category
|
||||||
</h2>
|
</h2>
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
|
@ -39,7 +39,13 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<button type="button" id="cancel-save" data-cy="entityCreateCancelButton" class="btn btn-secondary" (click)="previousState()">
|
<button
|
||||||
|
type="button"
|
||||||
|
id="cancel-save"
|
||||||
|
data-cy="entityCreateCancelButton"
|
||||||
|
class="btn btn-secondary ds-btn ds-btn-secondary"
|
||||||
|
(click)="previousState()"
|
||||||
|
>
|
||||||
<fa-icon icon="ban"></fa-icon> <span jhiTranslate="entity.action.cancel">Cancel</span>
|
<fa-icon icon="ban"></fa-icon> <span jhiTranslate="entity.action.cancel">Cancel</span>
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
|
@ -48,7 +54,7 @@
|
||||||
id="save-entity"
|
id="save-entity"
|
||||||
data-cy="entityCreateSaveButton"
|
data-cy="entityCreateSaveButton"
|
||||||
[disabled]="editForm.invalid || isSaving"
|
[disabled]="editForm.invalid || isSaving"
|
||||||
class="btn btn-primary"
|
class="btn btn-primary ds-btn ds-btn-primary"
|
||||||
>
|
>
|
||||||
<fa-icon icon="save"></fa-icon> <span jhiTranslate="entity.action.save">Save</span>
|
<fa-icon icon="save"></fa-icon> <span jhiTranslate="entity.action.save">Save</span>
|
||||||
</button>
|
</button>
|
||||||
|
|
|
@ -12,6 +12,7 @@ import { AccountService } from 'app/core/auth/account.service';
|
||||||
|
|
||||||
import { LoginService } from './login.service';
|
import { LoginService } from './login.service';
|
||||||
import { LoginComponent } from './login.component';
|
import { LoginComponent } from './login.component';
|
||||||
|
import { SocialAuthService } from 'angularx-social-login';
|
||||||
|
|
||||||
describe('Component Tests', () => {
|
describe('Component Tests', () => {
|
||||||
describe('LoginComponent', () => {
|
describe('LoginComponent', () => {
|
||||||
|
|
Loading…
Reference in New Issue