close buttons on cards
This commit is contained in:
parent
f6fcb280fc
commit
5690e3fe9e
|
@ -1,5 +1,7 @@
|
||||||
<form #form class="card" (ngSubmit)="submit()" [appApiAction]="formPromise" ngNativeValidate>
|
<form #form class="card" (ngSubmit)="submit()" [appApiAction]="formPromise" ngNativeValidate>
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
|
<button type="button" class="close" attr.aria-label="{{'cancel' | i18n}}" title="{{'cancel' | i18n}}"
|
||||||
|
(click)="cancel()"><span aria-hidden="true">×</span></button>
|
||||||
<h3 class="card-body-header">{{(add ? 'addSeats' : 'removeSeats') | i18n}}</h3>
|
<h3 class="card-body-header">{{(add ? 'addSeats' : 'removeSeats') | i18n}}</h3>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="form-group col-6">
|
<div class="form-group col-6">
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
<form #form class="card" (ngSubmit)="submit()" [appApiAction]="formPromise" ngNativeValidate>
|
<form #form class="card" (ngSubmit)="submit()" [appApiAction]="formPromise" ngNativeValidate>
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
|
<button type="button" class="close" attr.aria-label="{{'cancel' | i18n}}" title="{{'cancel' | i18n}}"
|
||||||
|
(click)="cancel()"><span aria-hidden="true">×</span></button>
|
||||||
<h3 class="card-body-header">{{'downloadLicense' | i18n}}</h3>
|
<h3 class="card-body-header">{{'downloadLicense' | i18n}}</h3>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="form-group col-6">
|
<div class="form-group col-6">
|
||||||
|
|
|
@ -77,6 +77,8 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="card mt-3" *ngIf="showUpdateLicense">
|
<div class="card mt-3" *ngIf="showUpdateLicense">
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
|
<button type="button" class="close" attr.aria-label="{{'cancel' | i18n}}" title="{{'cancel' | i18n}}"
|
||||||
|
(click)="closeUpdateLicense(false)"><span aria-hidden="true">×</span></button>
|
||||||
<h3 class="card-body-header">{{'updateLicense' | i18n}}</h3>
|
<h3 class="card-body-header">{{'updateLicense' | i18n}}</h3>
|
||||||
<app-update-license [organizationId]="organizationId" (onUpdated)="closeUpdateLicense(true)"
|
<app-update-license [organizationId]="organizationId" (onUpdated)="closeUpdateLicense(true)"
|
||||||
(onCanceled)="closeUpdateLicense(false)"></app-update-license>
|
(onCanceled)="closeUpdateLicense(false)"></app-update-license>
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
<form #form class="card" (ngSubmit)="submit()" [appApiAction]="formPromise" ngNativeValidate>
|
<form #form class="card" (ngSubmit)="submit()" [appApiAction]="formPromise" ngNativeValidate>
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
|
<button type="button" class="close" attr.aria-label="{{'cancel' | i18n}}" title="{{'cancel' | i18n}}"
|
||||||
|
(click)="cancel()"><span aria-hidden="true">×</span></button>
|
||||||
<h3 class="card-body-header">{{'addCredit' | i18n}}</h3>
|
<h3 class="card-body-header">{{'addCredit' | i18n}}</h3>
|
||||||
<div class="mb-4 text-lg" *ngIf="showOptions">
|
<div class="mb-4 text-lg" *ngIf="showOptions">
|
||||||
<div class="form-check form-check-inline">
|
<div class="form-check form-check-inline">
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
<form #form class="card" (ngSubmit)="submit()" [appApiAction]="formPromise" ngNativeValidate>
|
<form #form class="card" (ngSubmit)="submit()" [appApiAction]="formPromise" ngNativeValidate>
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
|
<button type="button" class="close" attr.aria-label="{{'cancel' | i18n}}" title="{{'cancel' | i18n}}"
|
||||||
|
(click)="cancel()"><span aria-hidden="true">×</span></button>
|
||||||
<h3 class="card-body-header">{{(currentType != null ? 'changePaymentMethod' : 'addPaymentMethod') | i18n}}</h3>
|
<h3 class="card-body-header">{{(currentType != null ? 'changePaymentMethod' : 'addPaymentMethod') | i18n}}</h3>
|
||||||
<app-payment [hideBank]="!organizationId" [hideCredit]="true"></app-payment>
|
<app-payment [hideBank]="!organizationId" [hideCredit]="true"></app-payment>
|
||||||
<button type="submit" class="btn btn-primary btn-submit" [disabled]="form.loading">
|
<button type="submit" class="btn btn-primary btn-submit" [disabled]="form.loading">
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
<form #form class="card" (ngSubmit)="submit()" [appApiAction]="formPromise" ngNativeValidate>
|
<form #form class="card" (ngSubmit)="submit()" [appApiAction]="formPromise" ngNativeValidate>
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
|
<button type="button" class="close" attr.aria-label="{{'cancel' | i18n}}" title="{{'cancel' | i18n}}"
|
||||||
|
(click)="cancel()"><span aria-hidden="true">×</span></button>
|
||||||
<h3 class="card-body-header">{{(add ? 'addStorage' : 'removeStorage') | i18n}}</h3>
|
<h3 class="card-body-header">{{(add ? 'addStorage' : 'removeStorage') | i18n}}</h3>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="form-group col-6">
|
<div class="form-group col-6">
|
||||||
|
|
|
@ -66,6 +66,8 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="card mt-3" *ngIf="showUpdateLicense">
|
<div class="card mt-3" *ngIf="showUpdateLicense">
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
|
<button type="button" class="close" attr.aria-label="{{'cancel' | i18n}}" title="{{'cancel' | i18n}}"
|
||||||
|
(click)="closeUpdateLicense(false)"><span aria-hidden="true">×</span></button>
|
||||||
<h3 class="card-body-header">{{'updateLicense' | i18n}}</h3>
|
<h3 class="card-body-header">{{'updateLicense' | i18n}}</h3>
|
||||||
<app-update-license (onUpdated)="closeUpdateLicense(true)" (onCanceled)="closeUpdateLicense(false)">
|
<app-update-license (onUpdated)="closeUpdateLicense(true)" (onCanceled)="closeUpdateLicense(false)">
|
||||||
</app-update-license>
|
</app-update-license>
|
||||||
|
|
Loading…
Reference in New Issue