diff --git a/electron/src/main-app/main-app.component.html b/electron/src/main-app/main-app.component.html
new file mode 100644
index 00000000..b276bb9e
--- /dev/null
+++ b/electron/src/main-app/main-app.component.html
@@ -0,0 +1,6 @@
+
+
+
+
+
+
diff --git a/electron/src/main-app/main-app.component.ts b/electron/src/main-app/main-app.component.ts
index 7107f39f..46983280 100644
--- a/electron/src/main-app/main-app.component.ts
+++ b/electron/src/main-app/main-app.component.ts
@@ -11,7 +11,7 @@ import { UhkDeviceService } from '../services/uhk-device.service';
@Component({
selector: 'main-app',
- templateUrl: '../shared/main-app/main-app.component.html',
+ templateUrl: './main-app.component.html',
styleUrls: ['../shared/main-app/main-app.component.scss'],
encapsulation: ViewEncapsulation.None
})
diff --git a/shared/src/main-app/main-app.component.scss b/shared/src/main-app/main-app.component.scss
index 5769f6bc..84412b34 100644
--- a/shared/src/main-app/main-app.component.scss
+++ b/shared/src/main-app/main-app.component.scss
@@ -41,36 +41,3 @@ main-app {
.select2-container--default .select2-dropdown--below .select2-results > .select2-results__options {
max-height: 300px;
}
-
-/* GitHub ribbon */
-.github-fork-ribbon {
- background-color: #a00;
- overflow: hidden;
- white-space: nowrap;
- position: fixed;
- right: -50px;
- bottom: 40px;
- z-index: 2000;
- /* stylelint-disable indentation */
- -webkit-transform: rotate(-45deg);
- -moz-transform: rotate(-45deg);
- -ms-transform: rotate(-45deg);
- -o-transform: rotate(-45deg);
- transform: rotate(-45deg);
- -webkit-box-shadow: 0 0 10px #888;
- -moz-box-shadow: 0 0 10px #888;
- box-shadow: 0 0 10px #888;
- /* stylelint-enable indentation */
-
- a {
- border: 1px solid #faa;
- color: #fff;
- display: block;
- font: bold 81.25% 'Helvetica Neue', Helvetica, Arial, sans-serif;
- margin: 1px 0;
- padding: 10px 50px;
- text-align: center;
- text-decoration: none;
- text-shadow: 0 0 5px #444;
- }
-}
diff --git a/shared/src/main-app/main-app.component.html b/web/src/main-app/main-app.component.html
similarity index 100%
rename from shared/src/main-app/main-app.component.html
rename to web/src/main-app/main-app.component.html
diff --git a/web/src/main-app/main-app.component.scss b/web/src/main-app/main-app.component.scss
new file mode 100644
index 00000000..40dfa9a8
--- /dev/null
+++ b/web/src/main-app/main-app.component.scss
@@ -0,0 +1,32 @@
+/* GitHub ribbon */
+.github-fork-ribbon {
+ background-color: #a00;
+ overflow: hidden;
+ white-space: nowrap;
+ position: fixed;
+ right: -50px;
+ bottom: 40px;
+ z-index: 2000;
+ /* stylelint-disable indentation */
+ -webkit-transform: rotate(-45deg);
+ -moz-transform: rotate(-45deg);
+ -ms-transform: rotate(-45deg);
+ -o-transform: rotate(-45deg);
+ transform: rotate(-45deg);
+ -webkit-box-shadow: 0 0 10px #888;
+ -moz-box-shadow: 0 0 10px #888;
+ box-shadow: 0 0 10px #888;
+ /* stylelint-enable indentation */
+
+ a {
+ border: 1px solid #faa;
+ color: #fff;
+ display: block;
+ font: bold 81.25% 'Helvetica Neue', Helvetica, Arial, sans-serif;
+ margin: 1px 0;
+ padding: 10px 50px;
+ text-align: center;
+ text-decoration: none;
+ text-shadow: 0 0 5px #444;
+ }
+}
diff --git a/web/src/main-app/main-app.component.ts b/web/src/main-app/main-app.component.ts
index cd852683..f965f64e 100644
--- a/web/src/main-app/main-app.component.ts
+++ b/web/src/main-app/main-app.component.ts
@@ -2,8 +2,11 @@ import { Component, ViewEncapsulation } from '@angular/core';
@Component({
selector: 'main-app',
- templateUrl: '../shared/main-app/main-app.component.html',
- styleUrls: ['../shared/main-app/main-app.component.scss'],
+ templateUrl: './main-app.component.html',
+ styleUrls: [
+ '../shared/main-app/main-app.component.scss',
+ './main-app.component.scss'
+ ],
encapsulation: ViewEncapsulation.None
})
export class MainAppComponent { }