Added stream selection footer

This commit is contained in:
Nicolas Constant 2018-03-15 21:41:25 -04:00
parent 2de3dafada
commit 19dccba947
9 changed files with 70 additions and 2 deletions

View File

@ -45,6 +45,8 @@
<Content Include="src\app\components\left-side-bar\left-side-bar.component.html" />
<Content Include="src\app\components\streams-main-display\streams-main-display.component.css" />
<Content Include="src\app\components\streams-main-display\streams-main-display.component.html" />
<Content Include="src\app\components\streams-selection-footer\streams-selection-footer.component.css" />
<Content Include="src\app\components\streams-selection-footer\streams-selection-footer.component.html" />
<Content Include="src\app\components\stream\stream.component.css" />
<Content Include="src\app\components\stream\stream.component.html" />
<Content Include="src\assets\.gitkeep" />
@ -68,6 +70,7 @@
<Folder Include="src\app\components\left-side-bar\" />
<Folder Include="src\app\components\" />
<Folder Include="src\app\components\streams-main-display\" />
<Folder Include="src\app\components\streams-selection-footer\" />
<Folder Include="src\app\components\stream\" />
<Folder Include="src\app\services\" />
<Folder Include="src\assets\" />
@ -83,6 +86,8 @@
<TypeScriptCompile Include="src\app\components\left-side-bar\left-side-bar.component.ts" />
<TypeScriptCompile Include="src\app\components\streams-main-display\streams-main-display.component.spec.ts" />
<TypeScriptCompile Include="src\app\components\streams-main-display\streams-main-display.component.ts" />
<TypeScriptCompile Include="src\app\components\streams-selection-footer\streams-selection-footer.component.spec.ts" />
<TypeScriptCompile Include="src\app\components\streams-selection-footer\streams-selection-footer.component.ts" />
<TypeScriptCompile Include="src\app\components\stream\stream.component.spec.ts" />
<TypeScriptCompile Include="src\app\components\stream\stream.component.ts" />
<TypeScriptCompile Include="src\environments\environment.prod.ts" />

View File

@ -9,3 +9,11 @@ app-streams-main-display {
bottom: 0;
left: 50px;
}
app-streams-selection-footer {
position: absolute;
height: 30px;
right: 0;
bottom: 0;
left: 50px;
}

View File

@ -4,10 +4,12 @@
<app-streams-main-display>
</app-streams-main-display>
<app-streams-selection-footer>
</app-streams-selection-footer>
<!--<div style="text-align:center">
<h1>
Welcome to {{ title }}!
</h1>
</h1>
<button (click)="launchWindow()">Launch Window</button>
</div>-->

View File

@ -7,6 +7,7 @@ import { AppComponent } from './app.component';
import { LeftSideBarComponent } from './components/left-side-bar/left-side-bar.component';
import { StreamsMainDisplayComponent } from './components/streams-main-display/streams-main-display.component';
import { StreamComponent } from './components/stream/stream.component';
import { StreamsSelectionFooterComponent } from './components/streams-selection-footer/streams-selection-footer.component';
@NgModule({
@ -14,7 +15,8 @@ import { StreamComponent } from './components/stream/stream.component';
AppComponent,
LeftSideBarComponent,
StreamsMainDisplayComponent,
StreamComponent
StreamComponent,
StreamsSelectionFooterComponent
],
imports: [
BrowserModule,

View File

@ -1,6 +1,8 @@
#mam-main-display {
width: calc(100%);
height: calc(100%);
overflow-x: auto;
background: blue;
outline: 1px dotted red;
}

View File

@ -0,0 +1,6 @@
#mam-streams-selection-footer {
width: calc(100%);
height: 30px;
background-color: lightslategray;
}

View File

@ -0,0 +1,3 @@
<div id="mam-streams-selection-footer">
</div>

View File

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

View File

@ -0,0 +1,15 @@
import { Component, OnInit } from '@angular/core';
@Component({
selector: 'app-streams-selection-footer',
templateUrl: './streams-selection-footer.component.html',
styleUrls: ['./streams-selection-footer.component.css']
})
export class StreamsSelectionFooterComponent implements OnInit {
constructor() { }
ngOnInit() {
}
}