Commit dc4ed1ab authored by Diego Louzán's avatar Diego Louzán 🐙

feat: enable MindSphere OS Bar v4

Fixes #12
parent 2d5538e5
Pipeline #37278794 passed with stage
in 5 minutes and 15 seconds
......@@ -4,7 +4,6 @@ SPDX-License-Identifier: MIT
*/
import { browser, by, element } from 'protractor';
import { protractor } from 'protractor/built/ptor';
describe('UserInfo display', () => {
......
screenshot.png

47.7 KB | W: | H:

screenshot.png

50.4 KB | W: | H:

screenshot.png
screenshot.png
screenshot.png
screenshot.png
  • 2-up
  • Swipe
  • Onion skin
{
"name": "todo-backend",
"version": "0.1.0",
"version": "0.2.0",
"description": "The backend of a simple todo app with a MongoDB backend",
"repository": {
"type": "git",
......
......@@ -12,7 +12,7 @@ import { TodoService } from './todo.service';
describe('AppComponent', () => {
beforeEach(async(() => {
(<any>window)._msb = { init: () => {} };
(<any>window)._mdsp = { init: () => {} };
TestBed.configureTestingModule({
imports: [
BrowserModule,
......
......@@ -4,7 +4,7 @@ SPDX-License-Identifier: MIT
*/
import { Component } from '@angular/core';
declare let _msb: any;
declare let _mdsp: any;
@Component({
selector: 'app-root',
......@@ -15,9 +15,11 @@ export class AppComponent {
slogan = 'a minimal todo list';
constructor() {
_msb.init({
title: `${this.title}, ${this.slogan}`,
initialize: true
_mdsp.init({
title: 'DevOps Demo',
appId: '_mdspcontent',
initialize: true,
appInfoPath: '/assets/mdsp-app-info.json'
});
}
}
{
"displayName": "MindSphere DevOps Demo",
"appVersion": "0.2.0",
"appCopyright": "© Siemens AG 2018",
"links": {
"default": [
{
"type": "www",
"name": "Todo - Source Code",
"value": "https://gitlab.com/mindsphere/devops-demo"
}
],
"de": [
{
"type": "www",
"name": "Todo - Quell Code",
"value": "https://gitlab.com/mindsphere/devops-demo"
}
]
}
}
......@@ -6,10 +6,10 @@
<base href="/">
<meta name="viewport" content="width=device-width, initial-scale=1">
<script src="https://static.eu1.mindsphere.io/osbar/js/main.min.js"></script>
<script src="https://static.eu1.mindsphere.io/osbar/v4/js/main.min.js"></script>
</head>
<body>
<div id="_mscontent">
<div id="_mdspcontent">
<app-root></app-root>
</div>
</body>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment