From 78a70b56bff97f398fc6f106f652d1f40ed445e4 Mon Sep 17 00:00:00 2001 From: argirok Date: Tue, 5 Dec 2023 14:51:29 +0200 Subject: [PATCH] [develop | DONE | CHANGED] Upload dois: add loggedin guard, improvements for smaller screens, improvements when there are no found results or valid dois --- .../upload-dois/upload-dois-routing.module.ts | 3 +- .../upload-dois/upload-dois.component.html | 47 ++++++++++++------- src/app/upload-dois/upload-dois.component.ts | 38 +++++++++------ 3 files changed, 54 insertions(+), 34 deletions(-) diff --git a/src/app/upload-dois/upload-dois-routing.module.ts b/src/app/upload-dois/upload-dois-routing.module.ts index 1acd0b3..4b99430 100644 --- a/src/app/upload-dois/upload-dois-routing.module.ts +++ b/src/app/upload-dois/upload-dois-routing.module.ts @@ -1,13 +1,14 @@ import {NgModule} from "@angular/core"; import {RouterModule} from "@angular/router"; import {UploadDoisComponent} from "./upload-dois.component"; +import {LoginGuard} from "../openaireLibrary/login/loginGuard.guard"; @NgModule({ imports: [ RouterModule.forChild([ { path: '', - component: UploadDoisComponent + component: UploadDoisComponent, canActivate: [LoginGuard] } ]) ] diff --git a/src/app/upload-dois/upload-dois.component.html b/src/app/upload-dois/upload-dois.component.html index 3e370ef..5588e6f 100644 --- a/src/app/upload-dois/upload-dois.component.html +++ b/src/app/upload-dois/upload-dois.component.html @@ -7,7 +7,7 @@

Title

Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore.
-
+