Skip to content
Snippets Groups Projects
Commit 642e4093 authored by Kawtar Laariche's avatar Kawtar Laariche
Browse files

#19: add model details management component

parent 4a02e773
No related branches found
No related tags found
No related merge requests found
<mat-sidenav-container>
<mat-sidenav mode="side" opened>
<nav mat-tab-nav-bar class="margin: 20px 0 20px 0;" [tabPanel]="tabPanel">
<a mat-tab-link routerLink="modelDescription" routerLinkActive="is-active"
><mat-icon fontIcon="description"></mat-icon
><span class="tab-box">Description</span></a
>
<a mat-tab-link routerLink="licenseProfile" routerLinkActive="is-active">
<span class="tab_license"></span
><span class="tab-box"> License profile</span></a
>
<a mat-tab-link routerLink="modelSignature" routerLinkActive="is-active"
><mat-icon fontIcon="sync_alt"></mat-icon
><span class="tab-box">Signature</span></a
>
<a mat-tab-link routerLink="modelDocuments" routerLinkActive="is-active"
><mat-icon fontIcon="content_copy"></mat-icon
><span class="tab-box">Documents</span></a
>
<a mat-tab-link routerLink="modelArtifacts" routerLinkActive="is-active"
><mat-icon fontIcon="history"></mat-icon
><span class="tab-box">Model artifacts</span></a
>
<a mat-tab-link routerLink="modelAuthor" routerLinkActive="is-active">
<span class="tab-icon"> </span>
<span class="tab-box" style="font-size: 14.5px">
<span>Author</span>
<span>/</span>
<span>Publisher details</span>
</span>
</a>
</nav>
<mat-tab-nav-panel #tabPanel></mat-tab-nav-panel>
</mat-sidenav>
<mat-sidenav-content> </mat-sidenav-content
></mat-sidenav-container>
.content {
padding: 24px;
}
mat-sidenav-container {
height: calc(100% - 64px);
overflow: hidden !important;
}
mat-sidenav {
background: #f1f1f1;
width: 250px !important;
overflow: hidden !important;
}
.mat-drawer-container {
position: absolute;
}
::ng-deep .mat-drawer-inner-container {
overflow: hidden !important;
padding: 20px 0 20px 0;
}
import { ComponentFixture, TestBed } from '@angular/core/testing';
import { ModelManagementComponent } from './model-management.component';
describe('ModelManagementComponent', () => {
let component: ModelManagementComponent;
let fixture: ComponentFixture<ModelManagementComponent>;
beforeEach(async () => {
await TestBed.configureTestingModule({
imports: [ModelManagementComponent]
})
.compileComponents();
fixture = TestBed.createComponent(ModelManagementComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', () => {
expect(component).toBeTruthy();
});
});
import { Component } from '@angular/core';
import { CommonModule } from '@angular/common';
import { MatSidenavModule } from '@angular/material/sidenav';
import { MatTabsModule } from '@angular/material/tabs';
import { MatIconModule } from '@angular/material/icon';
@Component({
selector: 'gp-model-management',
standalone: true,
imports: [CommonModule, MatSidenavModule, MatTabsModule, MatIconModule],
templateUrl: './model-management.component.html',
styleUrl: './model-management.component.scss',
})
export class ModelManagementComponent {}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment