From e177918b5d5ed48fa9a9f0665cf5081e4df9c510 Mon Sep 17 00:00:00 2001 From: argirok Date: Mon, 11 Mar 2024 13:27:26 +0200 Subject: [PATCH] [plugins-functionality | WIP] --- .../plugin-gateway-information.component.html | 304 +++++++++--------- .../plugin-openaire-products.component.ts | 2 +- .../plugin-search-deposit-link.component.html | 12 +- .../plugin-search-deposit-link.component.less | 4 + 4 files changed, 167 insertions(+), 155 deletions(-) diff --git a/dashboard/plugins/components/gateway-information/plugin-gateway-information.component.html b/dashboard/plugins/components/gateway-information/plugin-gateway-information.component.html index 9a9e8d97..b6a2b4de 100644 --- a/dashboard/plugins/components/gateway-information/plugin-gateway-information.component.html +++ b/dashboard/plugins/components/gateway-information/plugin-gateway-information.component.html @@ -1,90 +1,95 @@
No community info available
-
-
-
-
-

- {{community.shortTitle}} -

-
- {{community.title}} -
-
-
- - -
-
-
-
- -
+
+
+ +
+
+ {{community.shortTitle}} +
+

+ {{community.title}} +

+ +
+ -
-
-
- -
-
- {{ pluginObject.title}} -
- -
- +
+
+
+ +
+
+ {{ pluginObject.title}}
-
- Created: {{community.date | date:'dd-MMM-yyyy'}} -
-
-
-
+
+ +
+
+ Created: {{community.date | date:'dd-MMM-yyyy'}} +
+
+
+
- - {{projectTotal|number}} - - + class="uk-flex uk-flex-column uk-margin-bottom info-number"> + + {{projectTotal|number}} + + Projects -
-
0 && isEntityEnabled('datasource') && isRouteEnabled(searchLinkToDataProviders) && isVisible('datasources')" - class="uk-flex uk-flex-column info-number"> - - {{contentProviderTotal|number}} - - + class="uk-flex uk-flex-column info-number"> + + {{contentProviderTotal|number}} + + Content Providers +
-
-
-
0) && isRouteEnabled(shareInZenodoPage) && isVisible('communities')" - class="uk-flex uk-flex-column uk-margin-bottom info-number"> - - {{zenodoCommunityIdS.length + ((masterZenodoCommunity) ? 1 : 0)}} - - + class="uk-flex uk-flex-column uk-margin-bottom info-number"> + + {{zenodoCommunityIdS.length + ((masterZenodoCommunity) ? 1 : 0)}} + + Linked Zenodo Communities -
- +
-
- -
+ +
-
-
diff --git a/dashboard/plugins/components/openaireProducts/plugin-openaire-products.component.ts b/dashboard/plugins/components/openaireProducts/plugin-openaire-products.component.ts index c523bf99..1c389e7c 100644 --- a/dashboard/plugins/components/openaireProducts/plugin-openaire-products.component.ts +++ b/dashboard/plugins/components/openaireProducts/plugin-openaire-products.component.ts @@ -12,7 +12,7 @@ export class PluginOpenAIREProducts extends PluginBaseInfo{ @Component({ selector: 'plugin-openaire-products', template: ` -
+

{{pluginObject.title}}

diff --git a/dashboard/plugins/components/search-deposit-link/plugin-search-deposit-link.component.html b/dashboard/plugins/components/search-deposit-link/plugin-search-deposit-link.component.html index 580412f8..48ec6083 100644 --- a/dashboard/plugins/components/search-deposit-link/plugin-search-deposit-link.component.html +++ b/dashboard/plugins/components/search-deposit-link/plugin-search-deposit-link.component.html @@ -1,7 +1,7 @@ -
-
+
+
-

+

{{pluginObject.title}}.

@@ -12,10 +12,10 @@
{{card.tag}}
-
+
{{card.title}} -
-
{{card.description}}
+
+
{{card.description}}
diff --git a/dashboard/plugins/components/search-deposit-link/plugin-search-deposit-link.component.less b/dashboard/plugins/components/search-deposit-link/plugin-search-deposit-link.component.less index 77723ecb..d64f48be 100644 --- a/dashboard/plugins/components/search-deposit-link/plugin-search-deposit-link.component.less +++ b/dashboard/plugins/components/search-deposit-link/plugin-search-deposit-link.component.less @@ -1,3 +1,7 @@ //slider-column slider-nav-item .uk-active{ // border-left: solid 2px @primary-color; //} + + +@slider-nav-item-background-active: white; +@slider-nav-item-action-background: rgba(255, 255, 255, 0.50);