Skip to content

Commit

Permalink
Merge pull request #261 from TheJacksonLaboratory/develop
Browse files Browse the repository at this point in the history
september 1 release
  • Loading branch information
iimpulse authored Sep 1, 2023
2 parents f2b9a8e + 70efb4d commit 185dad9
Show file tree
Hide file tree
Showing 21 changed files with 119,261 additions and 118,572 deletions.
4 changes: 2 additions & 2 deletions client/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion client/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "hpo-web",
"version": "1.8.10",
"version": "1.8.11",
"license": "MIT",
"scripts": {
"ng": "ng",
Expand Down
12 changes: 12 additions & 0 deletions client/src/app/app.component.css
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,15 @@
.sidenav .mat-menu-item.backButton .mat-icon {
float: left;
}

.banner {
height: 30px;
}

.banner p {
margin: 0 0 0 2.5rem;
}

.banner p a {
color: white !important;
}
5 changes: 5 additions & 0 deletions client/src/app/app.component.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
<mat-sidenav-container>
<mat-toolbar class="banner" color="warn">
<mat-icon>warning</mat-icon>
<p>The API for this application is moving. <strong><a [routerLink]="['/data/ontology']">See the changes here.</a></strong></p>
</mat-toolbar>
<navbar-hpo (navToggle)="sidenav.open(); mobileNavSection = 'home'"></navbar-hpo>
<mat-sidenav #sidenav class="sidenav">
<mat-nav-list>
Expand Down Expand Up @@ -56,6 +60,7 @@ <h3 class="center menuTitle">Menu</h3>
<div *ngIf="mobileNavSection == 'dataMenu'">
<button mat-menu-item (click)="sidenav.close()" routerLink="data/ontology"> Ontology</button>
<button mat-menu-item (click)="sidenav.close()" routerLink="data/annotations"> Annotations</button>
<button mat-menu-item (click)="sidenav.close()" routerLink="resources/phenopacket"> Annotations</button>
<button mat-menu-item (click)="mobileNavigate('translationMenu')">Translation
<mat-icon>arrow_right</mat-icon>
</button>
Expand Down
1 change: 1 addition & 0 deletions client/src/app/shared/navbar/navbar.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
<mat-menu [overlapTrigger]="false" #downloadsMenu="matMenu">
<button mat-menu-item routerLink="data/ontology"> Ontology</button>
<button mat-menu-item routerLink="data/annotations"> Annotations</button>
<button mat-menu-item routerLink="resources/phenopacket"> Phenopacket</button>
<button mat-menu-item [matMenuTriggerFor]="otherMenu"> Translation</button>
<button mat-menu-item (click)="navigateToDocs()"> API</button>
</mat-menu>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,18 @@
.table-spacer td, .table-spacer th {
padding: 5px;
}


.code-wrapper {
border: 1px solid rgba(0,0,0,.2);
border-radius: 4px;
}

.code {
padding: 20px;
background: rgba(0,0,0,.01);
}

.margin-auto {
margin: auto auto;
}
Loading

0 comments on commit 185dad9

Please sign in to comment.