Commit cb780fbb authored by Rajkumar-D's avatar Rajkumar-D
Browse files

Add DAC changes

parent 91acb773
......@@ -62,6 +62,7 @@ import { TaxonomyDialogModalComponent } from './taxonomy-dialog-modal/taxonomy-d
import { UniqueNameByArrayDirective } from './directives/unique-name-by-array.directive';
import { NonSubmissionResultDialogComponent } from './non-submission-result-dialog/non-submission-result-dialog.component';
import { AceEditorModule } from 'ng2-ace-editor';
import { DacManagementComponent } from './dac-management/dac-management.component';
const appRoutes: Routes = [
......@@ -136,6 +137,10 @@ const appRoutes: Routes = [
path: 'taxonomy',
component: TaxonomyManagementComponent,
},
{
path: 'dac',
component: DacManagementComponent,
},
{
path: '**',
component: DashboardComponent,
......@@ -195,6 +200,7 @@ const appRoutes: Routes = [
TaxonomyDialogModalComponent,
UniqueNameByArrayDirective,
NonSubmissionResultDialogComponent,
DacManagementComponent,
],
......
.body{
padding:10px 20px 10px 10px;
}
.container{
padding: 10px 0px 0px 0px;
}
.mat-row:nth-child(even){
background-color:#f8f8f8;
}
.mat-header-cell{
font-weight: bold;
font-size: 14px;
color: #000000c7;
}
mat-form-field {
width: 100%;
}
mat-card{
margin:10px;
}
mat-form-field.mat-form-field {
font-size: 14px;
font-family: Roboto;
}
\ No newline at end of file
<div class="body">
<div>
<div class="mat-h3 mat-tittle">Register Data access committee (DAC)</div>
</div>
<mat-divider></mat-divider>
<div class="container">
<mat-card>
<div style="width: 100%;">
<mat-form-field style="app-field-padding">
<textarea rows="3" matInput placeholder="Short descriptive title for the DAC" required
[(ngModel)]="description" name="description"></textarea>
</mat-form-field>
</div>
</mat-card>
</div>
</div>
\ No newline at end of file
import { Component, OnInit } from '@angular/core';
@Component({
selector: 'app-dac-management',
templateUrl: './dac-management.component.html',
styleUrls: ['./dac-management.component.css']
})
export class DacManagementComponent implements OnInit {
constructor() { }
ngOnInit() {
}
}
......@@ -36,6 +36,19 @@
<mat-icon class="note_add">add_box</mat-icon>
<p class="mat-small mat-caption">Register taxonomy</p>
</span>
<span *ngIf="isEga()" [routerLink]="['/dac']">
<mat-icon class="note_add">add_box</mat-icon>
<p class="mat-small mat-caption">Register data access committee</p>
</span>
<span *ngIf="isEga()" [routerLink]="['/taxonomy']">
<mat-icon class="note_add">add_box</mat-icon>
<p class="mat-small mat-caption">Register data access policy</p>
</span>
<span *ngIf="isEga()" [routerLink]="['/taxonomy']">
<mat-icon class="note_add">add_box</mat-icon>
<p class="mat-small mat-caption">Submit dataset</p>
</span>
</div>
</mat-card>
......
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