Skip to content

Commit dbe99ca

Browse files
committed
code according to guassian but blank screen
1 parent 80cc141 commit dbe99ca

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
<div class="filter-wrapper row" *ngIf="dashboard == '/' ">
1+
<div class="filter-wrapper row" *ngIf="gaussianDashboard == '/' ">
22
<div class="col-md-3 offset-md-3">
3-
<app-dashboard appendTo="body" [options]="options" (onPanelHide)="onPanelHide($event)"></app-dashboard>
3+
<app-gaussianDashboard appendTo="body" [options]="options" (onPanelHide)="onPanelHide($event)"></app-gaussianDashboard>
44
</div>
55
</div>
66
<router-outlet></router-outlet>

frontend/orca_data_converter/src/app/app.component.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ import {firstValueFrom} from 'rxjs';
88
styleUrls: ['./app.component.css']
99
})
1010
export class AppComponent implements OnInit {
11-
dashboard:any;
11+
gaussianDashboard:any;
1212

1313

1414
constructor(private http: HttpClient) {
15-
this.dashboard = window.location.pathname
15+
this.gaussianDashboard = window.location.pathname
1616
}
1717

1818
async ngOnInit(): Promise<void> {

frontend/orca_data_converter/src/app/app.module.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ import { BrowserAnimationsModule }
66
from "@angular/platform-browser/animations";
77
import { AppRoutingModule } from './app-routing.module';
88
import { AppComponent } from './app.component';
9+
import { GDashboardComponent } from './views/gaussianDashboard/gdashboard.component';
910
import { DashboardComponent } from './views/dashboard/dashboard.component';
1011
import { MultiSelectModule } from "primeng/multiselect";
1112
import { Dashboard1Component } from './views/dashboard1/dashboard1.component';
1213
import { HttpClientModule } from "@angular/common/http";
13-
import { GDashboardComponent } from './views/gaussianDashboard/gdashboard.component';
1414

1515
@NgModule({
1616
declarations: [

frontend/orca_data_converter/src/app/views/gaussianDashboard/gdashboard.component.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ <h3>Upload your Gaussian data file </h3>
77
<div class="background-image"></div>
88

99
<div>
10-
<input type="file" (change)="onFileSelected($event)" accept=".txt">
10+
<input type="file" (change)="onFileSelected($event)" accept=".log">
1111
<button class="Submit" (click)="onUpload()">Submit</button>
1212
</div>
1313

0 commit comments

Comments
 (0)