This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package edu.columbia.biology.processors; | |
| import java.io.IOException; | |
| import javax.servlet.http.HttpServletResponse; | |
| import org.apache.tomcat.util.http.fileupload.IOUtils; | |
| import org.slf4j.Logger; | |
| import org.slf4j.LoggerFactory; | |
| import org.springframework.beans.factory.annotation.Autowired; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package edu.columbia.biology.service; | |
| import org.springframework.security.core.Authentication; | |
| import edu.columbia.biology.model.FitDetails; | |
| public interface FitService { | |
| /** | |
| * Given fitId, retrieve the fitDetails |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package edu.columbia.biology.controller; | |
| import java.io.IOException; | |
| import java.net.URLDecoder; | |
| import java.security.Principal; | |
| import java.util.ArrayList; | |
| import java.util.Collection; | |
| import java.util.List; | |
| import java.util.stream.Collectors; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <div *ngIf="fitDetails; else spinner" [ngStyle]="this.isolatedPage ? {'margin-top' : '7.15vh'} : {}" #rootFitDetails> | |
| <div [ngClass]="this.isolatedPage ? 'container' : 'container-fluid'" style="padding: 0px;"> | |
| <div class="row" style="margin-bottom: 20px; position: relative; top: -13.5px" *ngIf="!this.isolatedPage"> | |
| <div class="col-md-12"> | |
| <div class="float-right"> | |
| <button mat-icon-button color="primary" (click)="closePanel()" style="margin: 5px;" | |
| matTooltip="Close fit details" [matTooltipShowDelay]='1000'> | |
| <mat-icon>close</mat-icon> | |
| </button> | |
| <button mat-icon-button color="basic" (click)="openFitDetailsPage()" style="margin: 5px;" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!-- Hide if not in view or --> | |
| <div [hidden]="!(inView || overrideShow)"> | |
| <img [style.maxWidth]="img_width" [style.maxHeight]="img_height" [src]="imageSrc" style="min-width: 100px; min-height: 20px;" class="zoom loading"> | |
| </div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <div style="margin-top: -19px"> | |
| <div class="row" style="margin-left: -11px;"> | |
| <div class="col-xs-12"> | |
| <i class="text-center">{{this.numberOfFits}} total fits displayed.</i> | |
| </div> | |
| </div> | |
| <!-- TODO Getting species/study count is ran twice. Create a pipe for it for optimization --> | |
| <div class="row" style="margin-top: 0px;"> | |
| <div class="col-xs-12"> | |
| <mat-card style="padding-top: 10px;"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { Injectable } from '@angular/core'; | |
| import { LocalStorageService } from 'ngx-localstorage'; | |
| import { WindowRef } from '../utilities/windowref.utils'; | |
| import { environment } from 'src/environments/environment'; | |
| import { HttpClient, HttpHeaders } from '@angular/common/http'; | |
| import { map } from 'rxjs/operators'; | |
| import { Observable } from 'rxjs'; | |
| import { UserPrincipal } from 'src/app/models/user-principal'; | |
| import { LabGroup } from '../models/lab-group'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { HttpClient, HttpParams } from '@angular/common/http'; | |
| import { Injectable } from '@angular/core'; | |
| import { Observable, of } from 'rxjs'; | |
| import { FACTORS } from 'src/app/mocks/mock-factors'; | |
| import { FACTORTREES } from 'src/app/mocks/mock-factortree'; | |
| import { FactorEntry } from 'src/app/models/factor-entry'; | |
| import { FactorEntryTree } from 'src/app/models/factor-entry-tree'; | |
| import { ComplexesSpeciesTree, AdvancedSearchQueryJsonModel } from 'src/app/models/postproc-component-classes'; | |
| import { environment } from '../../environments/environment'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { NgModule } from '@angular/core'; | |
| import { Routes, RouterModule, ExtraOptions } from '@angular/router'; | |
| import { HomeComponent } from './cellx-page-module/home-page-component/home.component'; | |
| import { PublicFitsViewComponent } from './cellx-page-module/fit-search-pages-components/fit-pages/public-view-component/public-view.component'; | |
| import { AdminFitsViewComponent } from './cellx-page-module/fit-search-pages-components/fit-pages/admin-view-component/admin-view.component'; | |
| import { FitsDetailComponent } from './cellx-page-module/fit-detail-page-components/fits-detail.component'; | |
| import { LoginComponent } from './cellx-page-module/login-component/login.component'; | |
| import { HelpComponent } from './cellx-page-module/help-component/help.component'; | |
| import { LogoutComponent } from './cellx-page-module/logout-component/logout.component'; | |
| import { GroupFitsViewComponent } from './cellx-page-module/fit-search-pages-components/fit-pages/group-fits-component/group-fits.component'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <div class="root-container" fxFlexFill> | |
| <div class="example-container"></div> | |
| <!-- TODO: Need to fix top toolbar --> | |
| <mat-toolbar color="primary" class="nav-toolbar mat-elevation-z4" style="min-height: 45px !important;"> | |
| <mat-toolbar-row style="height: 45px !important; margin-left: 4px"> | |
| <button class="hover-shift" mat-icon-button [disableRipple]="true" (click)="snav.toggle()"> | |
| <mat-icon class="menu-style">menu</mat-icon> | |
| </button> | |
| <a routerLink="/home" class="hover-shift" style="color: white; text-decoration: none; margin-left: -8px; margin-bottom: 1px; font-size: 19px !important; font-family: Trebuchet MS, sans-serif !important;" matTooltip="Version 1.0.0; 4/29/2022"><b>Motif Central</b></a> |
NewerOlder