aboutsummaryrefslogtreecommitdiff
path: root/frontend/src/app/_pages/only-authorized
diff options
context:
space:
mode:
authorTAMARA JERINIC <tamara.jerinic@gmail.com>2022-03-09 22:19:52 +0100
committerTAMARA JERINIC <tamara.jerinic@gmail.com>2022-03-09 22:19:52 +0100
commit1ef8894a7ae00ce8c4ded39c82b4c43993cfa923 (patch)
treeea835844fb6acb404806af9d7768f6fc5c0109c4 /frontend/src/app/_pages/only-authorized
parent2f67bfab8ecc3d565a6940226bd9d42c1a85159b (diff)
parenta95a921478435cc6400236d291281c3d0156a7e1 (diff)
Merge branch 'dev' of http://gitlab.pmf.kg.ac.rs/igrannonica/neuronstellar into dev
Diffstat (limited to 'frontend/src/app/_pages/only-authorized')
-rw-r--r--frontend/src/app/_pages/only-authorized/only-authorized.component.css0
-rw-r--r--frontend/src/app/_pages/only-authorized/only-authorized.component.html1
-rw-r--r--frontend/src/app/_pages/only-authorized/only-authorized.component.spec.ts25
-rw-r--r--frontend/src/app/_pages/only-authorized/only-authorized.component.ts15
4 files changed, 41 insertions, 0 deletions
diff --git a/frontend/src/app/_pages/only-authorized/only-authorized.component.css b/frontend/src/app/_pages/only-authorized/only-authorized.component.css
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/frontend/src/app/_pages/only-authorized/only-authorized.component.css
diff --git a/frontend/src/app/_pages/only-authorized/only-authorized.component.html b/frontend/src/app/_pages/only-authorized/only-authorized.component.html
new file mode 100644
index 00000000..27bbcf09
--- /dev/null
+++ b/frontend/src/app/_pages/only-authorized/only-authorized.component.html
@@ -0,0 +1 @@
+<p>only-authorized works!</p>
diff --git a/frontend/src/app/_pages/only-authorized/only-authorized.component.spec.ts b/frontend/src/app/_pages/only-authorized/only-authorized.component.spec.ts
new file mode 100644
index 00000000..82a01f63
--- /dev/null
+++ b/frontend/src/app/_pages/only-authorized/only-authorized.component.spec.ts
@@ -0,0 +1,25 @@
+import { ComponentFixture, TestBed } from '@angular/core/testing';
+
+import { OnlyAuthorizedComponent } from './only-authorized.component';
+
+describe('OnlyAuthorizedComponent', () => {
+ let component: OnlyAuthorizedComponent;
+ let fixture: ComponentFixture<OnlyAuthorizedComponent>;
+
+ beforeEach(async () => {
+ await TestBed.configureTestingModule({
+ declarations: [ OnlyAuthorizedComponent ]
+ })
+ .compileComponents();
+ });
+
+ beforeEach(() => {
+ fixture = TestBed.createComponent(OnlyAuthorizedComponent);
+ component = fixture.componentInstance;
+ fixture.detectChanges();
+ });
+
+ it('should create', () => {
+ expect(component).toBeTruthy();
+ });
+});
diff --git a/frontend/src/app/_pages/only-authorized/only-authorized.component.ts b/frontend/src/app/_pages/only-authorized/only-authorized.component.ts
new file mode 100644
index 00000000..be88365f
--- /dev/null
+++ b/frontend/src/app/_pages/only-authorized/only-authorized.component.ts
@@ -0,0 +1,15 @@
+import { Component, OnInit } from '@angular/core';
+
+@Component({
+ selector: 'app-only-authorized',
+ templateUrl: './only-authorized.component.html',
+ styleUrls: ['./only-authorized.component.css']
+})
+export class OnlyAuthorizedComponent implements OnInit {
+
+ constructor() { }
+
+ ngOnInit(): void {
+ }
+
+}