Rename LogsComponent to MessagesComponent

This commit is contained in:
Bálint Bokros 2018-02-01 16:33:25 +01:00
parent d5e14d0d8a
commit eb90c66c84
6 changed files with 7 additions and 7 deletions

View File

@ -3,7 +3,7 @@
<div class="row tfw-first-row"> <div class="row tfw-first-row">
<div class="col-sm"><app-login></app-login></div> <div class="col-sm"><app-login></app-login></div>
<div class="col-sm-6"><app-webide></app-webide></div> <div class="col-sm-6"><app-webide></app-webide></div>
<div class="col-sm"><app-logs></app-logs></div> <div class="col-sm"><app-messages></app-messages></div>
</div> </div>
<!--div class="row"> <!--div class="row">
<div class="col-sm"><app-test-button [anchor_id]="'anchor_a'"></app-test-button></div> <div class="col-sm"><app-test-button [anchor_id]="'anchor_a'"></app-test-button></div>

View File

@ -12,7 +12,7 @@ import { LoginComponent } from './login/login.component';
import { MarkdownService } from './markdown.service'; import { MarkdownService } from './markdown.service';
import { TerminadoService } from './terminado.service'; import { TerminadoService } from './terminado.service';
import { WebideComponent } from './webide/webide.component'; import { WebideComponent } from './webide/webide.component';
import { LogsComponent } from './logs/logs.component'; import { MessagesComponent } from './messages/messages.component';
import { TestButtonComponent } from './test-button/test-button.component'; import { TestButtonComponent } from './test-button/test-button.component';
import { WebSocketService } from './websocket.service'; import { WebSocketService } from './websocket.service';
import { TerminalComponent } from './terminal/terminal.component'; import { TerminalComponent } from './terminal/terminal.component';
@ -25,7 +25,7 @@ import { FSMUpdateService } from './fsmupdate.service';
HeaderComponent, HeaderComponent,
LoginComponent, LoginComponent,
WebideComponent, WebideComponent,
LogsComponent, MessagesComponent,
TestButtonComponent, TestButtonComponent,
TerminalComponent TerminalComponent
], ],

View File

@ -5,11 +5,11 @@ import { WebSocketService } from '../websocket.service';
import { Message } from './message'; import { Message } from './message';
@Component({ @Component({
selector: 'app-logs', selector: 'app-messages',
templateUrl: './logs.component.html', templateUrl: './messages.component.html',
styleUrls: ['./logs.component.scss'] styleUrls: ['./messages.component.scss']
}) })
export class LogsComponent implements OnInit { export class MessagesComponent implements OnInit {
messages: Message[] = []; messages: Message[] = [];
constructor( constructor(
private markdownService: MarkdownService, private markdownService: MarkdownService,