aboutsummaryrefslogtreecommitdiff
path: root/frontend/src/app/_pages/only-authorized
diff options
context:
space:
mode:
authorDanijel Andjelkovic <adanijel99@gmail.com>2022-03-07 19:15:03 +0100
committerDanijel Andjelkovic <adanijel99@gmail.com>2022-03-07 19:15:03 +0100
commit9eb7f0dd8c22782fed9ccf96fbfec3cedff2b892 (patch)
tree410d87cfa28f1497819fe99b2f54180d364d6857 /frontend/src/app/_pages/only-authorized
parent5fdb50247c66811964fb20801f0abc2a7c585303 (diff)
parentc59ff03b96d7b638623c254dfe8477055aeb2a35 (diff)
Merge branch 'frontend' 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 {
+ }
+
+}