Commit 88d18614 authored by Rajkumar-D's avatar Rajkumar-D
Browse files

Updating prod environment and study ui

parent 40e16b71
......@@ -141,42 +141,46 @@
<!-- #################### L O C U S - T A G R G I S T R A T I O N #################### -->
<mat-card class="mat-body" *ngIf="provideGenomeAnnotation && !isProductionEnv">
<mat-card-subtitle>Locus Tag Prefix Registration</mat-card-subtitle>
<p class="mat-body">Locus Tag Prefix registration is disabled in non production environment.</p>
<div class="row">
<mat-card-subtitle>Locus Tag Prefix Registration</mat-card-subtitle>
<p class="mat-body">Locus Tag Prefix registration is disabled in non production environment.</p>
</div>
</mat-card>
<mat-card class="mat-body" *ngIf="provideGenomeAnnotation && isProductionEnv">
<mat-card-subtitle>Locus Tag Prefix Registration</mat-card-subtitle>
<a (click)="showLocusTagAddPanel()">Add Locus Tag Prefixes<mat-icon>add_circle</mat-icon></a>
<div *ngIf="showLocusTagAdd">
<div class="row">
<div class="column">
<mat-form-field class="app-field-padding">
<input matInput placeholder="Locus Tag" name="locustag" [(ngModel)]="locustag">
</mat-form-field>
</div>
<div class="row">
<mat-card-subtitle>Locus Tag Prefix Registration</mat-card-subtitle>
<a (click)="showLocusTagAddPanel()">Add Locus Tag Prefixes<mat-icon>add_circle</mat-icon></a>
<div *ngIf="showLocusTagAdd">
<div class="row">
<div class="column">
<mat-form-field class="app-field-padding">
<input matInput placeholder="Locus Tag" name="locustag" [(ngModel)]="locustag">
</mat-form-field>
</div>
<div class="column">
<button mat-raised-button color="primary" [disabled]="!locustag" (click)="addlocusTag()">Add</button>
<div class="column">
<button mat-raised-button color="primary" [disabled]="!locustag" (click)="addlocusTag()">Add</button>
</div>
</div>
</div>
<table mat-table *ngIf="locusTagDataSource" #table [dataSource]="locusTagDataSource" class="mat-elevation-z8">
<ng-container matColumnDef="locusTag">
<th mat-header-cell *matHeaderCellDef> Locus Tag </th>
<td mat-cell *matCellDef="let element"> {{element.locusTag}} </td>
</ng-container>
<ng-container matColumnDef="remove">
<th mat-header-cell *matHeaderCellDef> Remove </th>
<td mat-cell *matCellDef="let element">
<mat-icon (click)="removeLocusTag(element)">delete</mat-icon>
</td>
</ng-container>
<tr mat-header-row *matHeaderRowDef="locusTagDisplayColumn"></tr>
<tr mat-row *matRowDef="let row; columns: locusTagDisplayColumn;"></tr>
</table>
</div>
<table mat-table *ngIf="locusTagDataSource" #table [dataSource]="locusTagDataSource" class="mat-elevation-z8">
<ng-container matColumnDef="locusTag">
<th mat-header-cell *matHeaderCellDef> Locus Tag </th>
<td mat-cell *matCellDef="let element"> {{element.locusTag}} </td>
</ng-container>
<ng-container matColumnDef="remove">
<th mat-header-cell *matHeaderCellDef> Remove </th>
<td mat-cell *matCellDef="let element">
<mat-icon (click)="removeLocusTag(element)">delete</mat-icon>
</td>
</ng-container>
<tr mat-header-row *matHeaderRowDef="locusTagDisplayColumn"></tr>
<tr mat-row *matRowDef="let row; columns: locusTagDisplayColumn;"></tr>
</table>
</mat-card>
</div>
......
export const environment = {
production: false,
production: true,
title: 'Webin submissions portal',
webinRestUrl: 'https://www.ebi.ac.uk/ena/submit/drop-box',
webinAuthUrl: 'https://www.ebi.ac.uk/ena/submit/webin/auth',
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment