Browse Source

web-ui: Add TransactionFinderComponent

scalafmt-draft
Alexis Hernandez 7 years ago
parent
commit
1e08f6ee69
  1. 4
      web-ui/src/app/app.module.ts
  2. 0
      web-ui/src/app/components/transaction-finder/transaction-finder.component.css
  3. 3
      web-ui/src/app/components/transaction-finder/transaction-finder.component.html
  4. 25
      web-ui/src/app/components/transaction-finder/transaction-finder.component.spec.ts
  5. 15
      web-ui/src/app/components/transaction-finder/transaction-finder.component.ts

4
web-ui/src/app/app.module.ts

@ -19,6 +19,7 @@ import { HomeComponent } from './components/home/home.component';
import { FooterComponent } from './components/footer/footer.component';
import { NavbarComponent } from './components/navbar/navbar.component';
import { TransactionDetailsComponent } from './components/transaction-details/transaction-details.component';
import { TransactionFinderComponent } from './components/transaction-finder/transaction-finder.component';
@NgModule({
declarations: [
@ -26,7 +27,8 @@ import { TransactionDetailsComponent } from './components/transaction-details/tr
HomeComponent,
FooterComponent,
NavbarComponent,
TransactionDetailsComponent
TransactionDetailsComponent,
TransactionFinderComponent
],
imports: [
AppRoutingModule,

0
web-ui/src/app/components/transaction-finder/transaction-finder.component.css

3
web-ui/src/app/components/transaction-finder/transaction-finder.component.html

@ -0,0 +1,3 @@
<p>
transaction-finder works!
</p>

25
web-ui/src/app/components/transaction-finder/transaction-finder.component.spec.ts

@ -0,0 +1,25 @@
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { TransactionFinderComponent } from './transaction-finder.component';
describe('TransactionFinderComponent', () => {
let component: TransactionFinderComponent;
let fixture: ComponentFixture<TransactionFinderComponent>;
beforeEach(async(() => {
TestBed.configureTestingModule({
declarations: [ TransactionFinderComponent ]
})
.compileComponents();
}));
beforeEach(() => {
fixture = TestBed.createComponent(TransactionFinderComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', () => {
expect(component).toBeTruthy();
});
});

15
web-ui/src/app/components/transaction-finder/transaction-finder.component.ts

@ -0,0 +1,15 @@
import { Component, OnInit } from '@angular/core';
@Component({
selector: 'app-transaction-finder',
templateUrl: './transaction-finder.component.html',
styleUrls: ['./transaction-finder.component.css']
})
export class TransactionFinderComponent implements OnInit {
constructor() { }
ngOnInit() {
}
}
Loading…
Cancel
Save