Add legal boilerplate and LICENSE file

This commit is contained in:
Kristóf Tóth
2018-05-11 18:00:26 +02:00
parent e351cbacc0
commit 9c566c2d73
50 changed files with 159 additions and 0 deletions

View File

@ -1,3 +1,6 @@
// Copyright (C) 2018 Avatao.com Innovative Learning Kft.
// All Rights Reserved. See LICENSE file for details.
import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';

View File

@ -1 +1,4 @@
<!-- Copyright (C) 2018 Avatao.com Innovative Learning Kft.
All Rights Reserved. See LICENSE file for details. -->
<router-outlet></router-outlet>

View File

@ -0,0 +1,3 @@
// Copyright (C) 2018 Avatao.com Innovative Learning Kft.
// All Rights Reserved. See LICENSE file for details.

View File

@ -1,3 +1,6 @@
// Copyright (C) 2018 Avatao.com Innovative Learning Kft.
// All Rights Reserved. See LICENSE file for details.
import { Component } from '@angular/core';
@Component({

View File

@ -1,3 +1,6 @@
// Copyright (C) 2018 Avatao.com Innovative Learning Kft.
// All Rights Reserved. See LICENSE file for details.
import { HttpClientModule } from '@angular/common/http';
import { FormsModule } from '@angular/forms';
import { BrowserModule } from '@angular/platform-browser';

View File

@ -1,3 +1,6 @@
// Copyright (C) 2018 Avatao.com Innovative Learning Kft.
// All Rights Reserved. See LICENSE file for details.
export const config = {
dashboard: {
route: 'dashboard',

3
src/app/dashboard/dashboard.component.html Executable file → Normal file
View File

@ -1,3 +1,6 @@
<!-- Copyright (C) 2018 Avatao.com Innovative Learning Kft.
All Rights Reserved. See LICENSE file for details. -->
<div [attr.class]="layout">
<div class="tfw-grid-main-components">
<div class="tfw-header"><app-header></app-header></div>

3
src/app/dashboard/dashboard.component.scss Executable file → Normal file
View File

@ -1,3 +1,6 @@
// Copyright (C) 2018 Avatao.com Innovative Learning Kft.
// All Rights Reserved. See LICENSE file for details.
@import "../../assets/scss/variables.scss";
@import "../../assets/scss/mixins/layout.scss";

View File

@ -1,3 +1,6 @@
// Copyright (C) 2018 Avatao.com Innovative Learning Kft.
// All Rights Reserved. See LICENSE file for details.
import { Component, OnDestroy, OnInit, ChangeDetectorRef } from '@angular/core';
import { DeploymentNotificationService } from '../services/deployment-notification.service';
import { Subscription } from 'rxjs/Subscription';

View File

@ -1,3 +1,6 @@
// Copyright (C) 2018 Avatao.com Innovative Learning Kft.
// All Rights Reserved. See LICENSE file for details.
export class LayoutCommand {
command: string;
layout: string;

3
src/app/header/header.component.html Executable file → Normal file
View File

@ -1,3 +1,6 @@
<!-- Copyright (C) 2018 Avatao.com Innovative Learning Kft.
All Rights Reserved. See LICENSE file for details. -->
<div class="tfw-grid-navbar tao-grid-center-center">
<img src="images/avatao_logo.svg" routerLink="/" class="tao-grid-center-left tfw-company-logo" alt="">
<span class="tfw-header-title">Tutorials</span>

3
src/app/header/header.component.scss Executable file → Normal file
View File

@ -1,3 +1,6 @@
// Copyright (C) 2018 Avatao.com Innovative Learning Kft.
// All Rights Reserved. See LICENSE file for details.
@import "../../assets/scss/variables.scss";
.tfw-header-title {

View File

@ -1,3 +1,6 @@
// Copyright (C) 2018 Avatao.com Innovative Learning Kft.
// All Rights Reserved. See LICENSE file for details.
import { Component } from '@angular/core';
@Component({

View File

@ -1,3 +1,6 @@
<!-- Copyright (C) 2018 Avatao.com Innovative Learning Kft.
All Rights Reserved. See LICENSE file for details. -->
<div class="tfw-grid-ide-statusbar">
<div class="btn-group btn-group-sm flex-wrap tao-grid-center-left">
<button *ngFor="let file of files"

View File

@ -1,3 +1,6 @@
// Copyright (C) 2018 Avatao.com Innovative Learning Kft.
// All Rights Reserved. See LICENSE file for details.
@import "../../assets/scss/variables.scss";
.tfw-grid-ide-statusbar {

View File

@ -1,3 +1,6 @@
// Copyright (C) 2018 Avatao.com Innovative Learning Kft.
// All Rights Reserved. See LICENSE file for details.
import { ChangeDetectorRef, Component, OnInit } from '@angular/core';
import * as brace from 'brace';

View File

@ -1,3 +1,6 @@
// Copyright (C) 2018 Avatao.com Innovative Learning Kft.
// All Rights Reserved. See LICENSE file for details.
export interface SourceCode {
filename: string;
content?: string;

View File

@ -1,3 +1,6 @@
// Copyright (C) 2018 Avatao.com Innovative Learning Kft.
// All Rights Reserved. See LICENSE file for details.
export class Message {
originator: string;
timestamp: Date;

View File

@ -1,3 +1,6 @@
// Copyright (C) 2018 Avatao.com Innovative Learning Kft.
// All Rights Reserved. See LICENSE file for details.
export class MessageControl {
command: string;
next_visibility?: boolean;

3
src/app/messages/messages.component.html Executable file → Normal file
View File

@ -1,3 +1,6 @@
<!-- Copyright (C) 2018 Avatao.com Innovative Learning Kft.
All Rights Reserved. See LICENSE file for details. -->
<div class="tfw-messages-main">
<div class="tfw-grid-messages-header">
<div class="tao-grid-top-left"><span>Instructions</span></div>

3
src/app/messages/messages.component.scss Executable file → Normal file
View File

@ -1,3 +1,6 @@
// Copyright (C) 2018 Avatao.com Innovative Learning Kft.
// All Rights Reserved. See LICENSE file for details.
@import "../../assets/scss/variables.scss";
.tfw-messages-main {

View File

@ -1,3 +1,6 @@
// Copyright (C) 2018 Avatao.com Innovative Learning Kft.
// All Rights Reserved. See LICENSE file for details.
import { ChangeDetectorRef, Component, OnInit } from '@angular/core';
import { MarkdownService } from '../services/markdown.service';
import { WebSocketService } from '../services/websocket.service';

View File

@ -1,3 +1,6 @@
// Copyright (C) 2018 Avatao.com Innovative Learning Kft.
// All Rights Reserved. See LICENSE file for details.
import { Pipe, PipeTransform } from '@angular/core';
import { DomSanitizer } from '@angular/platform-browser';

View File

@ -1,3 +1,6 @@
// Copyright (C) 2018 Avatao.com Innovative Learning Kft.
// All Rights Reserved. See LICENSE file for details.
import { Injectable } from '@angular/core';
import { Subject } from 'rxjs/Subject';

View File

@ -1,3 +1,6 @@
// Copyright (C) 2018 Avatao.com Innovative Learning Kft.
// All Rights Reserved. See LICENSE file for details.
import { Injectable } from '@angular/core';
import { WebSocketService } from './websocket.service';

View File

@ -1,3 +1,6 @@
// Copyright (C) 2018 Avatao.com Innovative Learning Kft.
// All Rights Reserved. See LICENSE file for details.
export class FSMUpdate {
current_state: string;
valid_transitions: object;

View File

@ -1,3 +1,6 @@
// Copyright (C) 2018 Avatao.com Innovative Learning Kft.
// All Rights Reserved. See LICENSE file for details.
import { Injectable } from '@angular/core';
import { Converter } from 'showdown';

View File

@ -1,3 +1,6 @@
// Copyright (C) 2018 Avatao.com Innovative Learning Kft.
// All Rights Reserved. See LICENSE file for details.
export class ProcessCommand {
command: string;
process_name: string;

View File

@ -1,3 +1,6 @@
// Copyright (C) 2018 Avatao.com Innovative Learning Kft.
// All Rights Reserved. See LICENSE file for details.
import { Injectable } from '@angular/core';
import { WebSocketService } from './websocket.service';

View File

@ -1,3 +1,6 @@
// Copyright (C) 2018 Avatao.com Innovative Learning Kft.
// All Rights Reserved. See LICENSE file for details.
import { Injectable } from '@angular/core';
import { Terminal } from 'xterm';
import * as fit from 'xterm/lib/addons/fit/fit';

View File

@ -1,3 +1,6 @@
// Copyright (C) 2018 Avatao.com Innovative Learning Kft.
// All Rights Reserved. See LICENSE file for details.
import { Injectable } from '@angular/core';
import { QueueingSubject } from 'queueing-subject';
import { Observable } from 'rxjs/Observable';

View File

@ -1,3 +1,6 @@
// Copyright (C) 2018 Avatao.com Innovative Learning Kft.
// All Rights Reserved. See LICENSE file for details.
export class WSMessage<T> {
key: string;
trigger?: string;

3
src/app/sidebar/sidebar.component.html Executable file → Normal file
View File

@ -1,3 +1,6 @@
<!-- Copyright (C) 2018 Avatao.com Innovative Learning Kft.
All Rights Reserved. See LICENSE file for details. -->
<div class="tfw-ide-pin" *ngFor="let layoutIter of enabledLayouts">
<div>

3
src/app/sidebar/sidebar.component.scss Executable file → Normal file
View File

@ -1,3 +1,6 @@
// Copyright (C) 2018 Avatao.com Innovative Learning Kft.
// All Rights Reserved. See LICENSE file for details.
@import "../../assets/scss/variables.scss";
@import "../../assets/scss/mixins/layout.scss";

View File

@ -1,3 +1,6 @@
// Copyright (C) 2018 Avatao.com Innovative Learning Kft.
// All Rights Reserved. See LICENSE file for details.
import { Component, Input, Output, EventEmitter } from '@angular/core';
import { config } from '../config';

View File

@ -1 +1,4 @@
<!-- Copyright (C) 2018 Avatao.com Innovative Learning Kft.
All Rights Reserved. See LICENSE file for details. -->
<div #xterm class="tfw-xterm" (window:resize)="fit()"></div>

View File

@ -1,3 +1,6 @@
// Copyright (C) 2018 Avatao.com Innovative Learning Kft.
// All Rights Reserved. See LICENSE file for details.
@import "../../assets/scss/mixins/layout.scss";
@import "../../app/dashboard/dashboard.component.scss";

View File

@ -1,3 +1,6 @@
// Copyright (C) 2018 Avatao.com Innovative Learning Kft.
// All Rights Reserved. See LICENSE file for details.
import { AfterViewInit, Component, ElementRef, OnDestroy, OnInit, ViewChild } from '@angular/core';
import { TerminadoService } from '../services/terminado.service';

View File

@ -1,2 +1,5 @@
<!-- Copyright (C) 2018 Avatao.com Innovative Learning Kft.
All Rights Reserved. See LICENSE file for details. -->
<textarea [(ngModel)]="messageStr" cols="33" rows="7"></textarea><br>
<button class="btn btn-primary" (click)="sendTestMessage()">Send</button>

View File

@ -0,0 +1,3 @@
// Copyright (C) 2018 Avatao.com Innovative Learning Kft.
// All Rights Reserved. See LICENSE file for details.

View File

@ -1,3 +1,6 @@
// Copyright (C) 2018 Avatao.com Innovative Learning Kft.
// All Rights Reserved. See LICENSE file for details.
import { Component, OnInit } from '@angular/core';
import { WebSocketService } from '../services/websocket.service';

View File

@ -1,2 +1,5 @@
<!-- Copyright (C) 2018 Avatao.com Innovative Learning Kft.
All Rights Reserved. See LICENSE file for details. -->
<h2>WebComponent is here!</h2>
<p>Edit me if you want to write your own component in Angular!</p>

View File

@ -0,0 +1,3 @@
// Copyright (C) 2018 Avatao.com Innovative Learning Kft.
// All Rights Reserved. See LICENSE file for details.

View File

@ -1,3 +1,6 @@
// Copyright (C) 2018 Avatao.com Innovative Learning Kft.
// All Rights Reserved. See LICENSE file for details.
// Edit me if you want to write your own component in Angular!
import { Component } from '@angular/core';
import { config } from '../config'

View File

@ -1,3 +1,6 @@
// Copyright (C) 2018 Avatao.com Innovative Learning Kft.
// All Rights Reserved. See LICENSE file for details.
.tao-grid-center-center {
justify-self: center;
align-self: center;

View File

@ -1,3 +1,6 @@
// Copyright (C) 2018 Avatao.com Innovative Learning Kft.
// All Rights Reserved. See LICENSE file for details.
@import
'variables',
'grid';

View File

@ -1,3 +1,6 @@
// Copyright (C) 2018 Avatao.com Innovative Learning Kft.
// All Rights Reserved. See LICENSE file for details.
//
// Spaces
//

View File

@ -1,3 +1,6 @@
// Copyright (C) 2018 Avatao.com Innovative Learning Kft.
// All Rights Reserved. See LICENSE file for details.
$grid-columns-count: 25;
$grid-rows-count: 25;

View File

@ -1,3 +1,6 @@
// Copyright (C) 2018 Avatao.com Innovative Learning Kft.
// All Rights Reserved. See LICENSE file for details.
.tao-btn-primary {
color: $tao-blue-500;
font-size: $font-size-base;