Skip to content

Commit

Permalink
Switch buttons in main form
Browse files Browse the repository at this point in the history
  • Loading branch information
jweisman committed Jun 4, 2020
1 parent 96839b1 commit 63c40ab
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 10 deletions.
2 changes: 1 addition & 1 deletion cloudapp/src/app/main/main.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
</ngx-dropzone>

<div class="buttons">
<button mat-stroked-button type="button" (click)="reset()" [disabled]="!!results">{{ 'Reset' | translate }}</button>
<button mat-stroked-button type="button" color="primary" (click)="load()" [disabled]="files.length==0 || !!results || !selectedProfile">{{ 'Main.LoadUsers' | translate }}</button>
<button mat-stroked-button type="button" (click)="reset()" [disabled]="!!results">{{ 'Reset' | translate }}</button>
<mat-spinner diameter="30" class="spinner" *ngIf="results && running"></mat-spinner>
</div>

Expand Down
2 changes: 1 addition & 1 deletion cloudapp/src/app/main/main.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { CloudAppRestService, CloudAppSettingsService, Request, HttpMethod, Rest
import { Router, CanActivate, ActivatedRouteSnapshot, RouterStateSnapshot } from '@angular/router';
import { TranslateService } from '@ngx-translate/core';
import { Observable, from, of } from 'rxjs';
import { map, catchError, mergeMap, bufferCount } from 'rxjs/operators';
import { map, catchError, mergeMap } from 'rxjs/operators';

const MAX_PARALLEL_CALLS = 10;

Expand Down
2 changes: 1 addition & 1 deletion cloudapp/src/app/settings/settings.component.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Component, OnInit } from '@angular/core';
import { FormBuilder, FormArray, FormGroup, ValidatorFn, AbstractControl } from '@angular/forms';
import { FormBuilder, FormArray, FormGroup, AbstractControl } from '@angular/forms';
import { Utils } from '../utilities';
import { CloudAppSettingsService } from '@exlibris/exl-cloudapp-angular-lib';
import { TranslateService } from '@ngx-translate/core';
Expand Down
13 changes: 6 additions & 7 deletions manifest.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"$schema": "./manifest.schema.json",
"id": "alma-csv-user-load",
"title": [
{
Expand All @@ -11,24 +10,24 @@
"text": "Alma CSV User Load"
}
],
"subtitle": [
"description": [
{
"lang": "en",
"text": "Load users from comma-separated file"
"text": "With this app, you can create Alma users from a list in a comma separated file. It supports flexible configuration in multiple profiles."
},
{
"lang": "es",
"text": "Cargar usuarios desde un archivo separado por comas"
"text": "Con esta aplicación, puede crear usuarios de Alma a partir de una lista en un archivo separado por comas. Es compatible con la configuración flexible en múltiples perfiles."
}
],
"description": [
"subtitle": [
{
"lang": "en",
"text": "With this app, you can create Alma users from a list in a comma separated file. It supports flexible configuration in multiple profiles."
"text": "Load users from comma-separated file"
},
{
"lang": "es",
"text": "Con esta aplicación, puede crear usuarios de Alma a partir de una lista en un archivo separado por comas. Es compatible con la configuración flexible en múltiples perfiles."
"text": "Cargar usuarios desde un archivo separado por comas"
}
],
"icon": {
Expand Down

0 comments on commit 63c40ab

Please sign in to comment.