added presentation

This commit is contained in:
VLE2FE 2020-08-07 15:22:14 +02:00
parent 05a118b069
commit 620104f65e
4 changed files with 22 additions and 3 deletions

View File

@ -32,7 +32,7 @@
<rb-icon-button icon="mail" mode="primary" (mouseup)="closeBugReport(close)">Send report</rb-icon-button> <rb-icon-button icon="mail" mode="primary" (mouseup)="closeBugReport(close)">Send report</rb-icon-button>
</a> </a>
</ng-template> </ng-template>
<span class="dev-label" *ngIf="devMode">DEVELOPMENT</span> <!-- <span class="dev-label" *ngIf="devMode">DEVELOPMENT</span>-->
DeFinMa DeFinMa
</div> </div>
</rb-full-header> </rb-full-header>

View File

@ -4,6 +4,22 @@
Find the API documentation here: Find the API documentation here:
<a href="https://definma-api.apps.de1.bosch-iot-cloud.com/api-doc/"> <a href="https://definma-api.apps.de1.bosch-iot-cloud.com/api-doc/">
https://definma-api.apps.de1.bosch-iot-cloud.com/api-doc/ https://definma-api.apps.de1.bosch-iot-cloud.com/api-doc/
</a><br>
Code repository UI
<a href="https://sourcecode.socialcoding.bosch.com/users/vle2fe/repos/definma-ui">
https://sourcecode.socialcoding.bosch.com/users/vle2fe/repos/definma-ui
</a><br>
Code repository API
<a href="https://sourcecode.socialcoding.bosch.com/users/vle2fe/repos/definma-api">
https://sourcecode.socialcoding.bosch.com/users/vle2fe/repos/definma-api
</a><br>
</p>
<h4>Introduction</h4>
<p>
<a [href]="api.hostName + '/static/intro-presentation'">
View the presentation explaining the main functions
</a> </a>
</p> </p>

View File

@ -1,4 +1,5 @@
import { Component, OnInit } from '@angular/core'; import { Component, OnInit } from '@angular/core';
import {ApiService} from '../services/api.service';
@Component({ @Component({
selector: 'app-documentation', selector: 'app-documentation',
@ -7,7 +8,9 @@ import { Component, OnInit } from '@angular/core';
}) })
export class DocumentationComponent implements OnInit { export class DocumentationComponent implements OnInit {
constructor() { } constructor(
public api: ApiService
) { }
ngOnInit(): void { ngOnInit(): void {
} }

View File

@ -135,7 +135,7 @@
<div *ngIf="generatedSamples.length && !loading"> <div *ngIf="generatedSamples.length && !loading">
<div *ngIf="!editSampleBase"> <div *ngIf="!editSampleBase">
<h3 *ngIf="new">Successfully added samples:</h3> <h3 *ngIf="new">Successfully added samples:</h3>
<span class="rb-ic rb-ic-edit clickable" (click)="checkFormAfterInit = editSampleBase = true"></span> <span *ngIf="!new" class="rb-ic rb-ic-edit clickable" (click)="checkFormAfterInit = editSampleBase = true"></span>
<rb-table id="response-data"> <rb-table id="response-data">
<tr><td>Material</td><td>{{generatedSamples[0].material.name}}</td></tr> <tr><td>Material</td><td>{{generatedSamples[0].material.name}}</td></tr>
<tr><td>Type</td><td>{{generatedSamples[0].type}}</td></tr> <tr><td>Type</td><td>{{generatedSamples[0].type}}</td></tr>