Commit Graph

24 Commits

Author SHA1 Message Date
Konstantina Galouni acdba43c8b [Connect Admin | Trunk & Library | angular-14]: Allow curators with profile to be invisible in the Gateway | Dynamically align custom menu.
1. CuratorInfo.ts: In Curator class added visible: boolean = true;
2. personal-info.module.ts: Imported MatSlideToggleModule.
3. personal-info.component.ts: Added slider to set curator profile to visible or invisible (default to visible).
4. menu.ts: In Menu class added field "featuredAlignment: MenuAlignment;" | Added enum MenuAlignment.
5. menu.component: Updated title "Menu settings" | Added "Menu Alignment" setting, to set if custom menu will be left, center or right alligned | Added notification when menu visibility changes.
6. help-content.service.ts: Added "alignMenu()" method to align custom menu dynamically.
2022-12-09 16:43:36 +02:00
Konstantina Galouni 4cec2907da [Explore | Library | new-theme]: resources.service.ts & menu.ts & navigationBar.component.ts & navigationBar.component.html & app.component.ts: Removed deprecated RootMenuItem and used MenuItem instead. 2022-09-20 18:00:19 +03:00
Alex Martzios 5ec26ce0cf create Menu class for mapping AP response 2022-07-15 13:36:55 +03:00
Alex Martzios e81b3bdc72 finish menu items for non-admins 2022-07-15 13:28:55 +03:00
Konstantina Galouni bbbb711865 [Library | new-theme]: Bug fix in download from of result landing links | In menu items added "target" field to define if urls open in new tab and have external icon.
1. availableOn.component.ts: [Bug fix] Added class "uk-link-text" in links of license and providers.
2. menu.ts: In MenuItem added field target: string = "_blank"; and in constructor added parameters and initialization of target, type, isFeatured.
3. navigationBar.component.html: Updated checks for "custom-external" class and target according to target field of MenuItem.
4. app.component.ts: In "Manage" menu item set target to "_self".
5. menu.component.ts: (Admin form) In method "menuItemSaveConfirmed()" added: this.menuItemForm.value.target = this.menuItemForm.value['type'] == "internal" ? "_self" : "_blank";
2022-06-29 13:56:19 +03:00
Konstantinos Triantafyllou 5e1fde7841 Add blend multiply to all logos in page content header. Add placeholder logo to getLogoURL function. Fix a bug with active menu item. Finish UI of pages, entities, portals, classes and class page content. 2022-06-26 23:30:54 +03:00
Konstantinos Triantafyllou 510f4c56ba 1. LayoutService: Delete isDashboard. 2. Navbar: fix a bug with class add and remove. 3. Role-users: Add new search-input. 4. Modal make title h5 2022-04-07 01:09:49 +03:00
Konstantina Galouni 99ed7ea6ba [Library & Monitor Dashboard | new-theme]: Sidebar & Navbar checks updated to use the same method | "activeMenuItem" in route data (optional) to set which menu item is active when url does not match | Bug fix in <my-tabs>.
1. layout.service.ts: Added "activeMenuItemSubject" to keep value of data['activeMenuItem'].
2. menu.ts: Removed "markAsActive" (not used) | Set RootMenuItem as deprecated (should use only MenuItem) | Added "isTheActiveMenuItem()" method to check if a MenuItem (root or not / sidebar or navbar) is active.
3. navigationBar.component.ts: Updated "isTheActiveMenu()" method to call MenuItem.isTheActiveMenu() | Removed method "isTheActiveMenuItem()".
4. navigationBar.component.html: Always call "isTheActiveMenu()" method.
5. sideBar.component.ts: Added "get currentRoute()" and updated method "isTheActiveMenuItem()".
6. tabs.component.ts: [Bug fix] Removed [class.uk-active] from <li> of tabs (since small-tabs are not currently used it is ok to remove this) - caused by version update of Uikit.
7. monitor-routing.module.ts: Set activeMenuItem: "dashboard" for any path under a stakeholder that has nothing or anything under a topic. | Set activeMenuItem: "search" in paths under search.
8. app-routing.module.ts: Set activeMenuItem: "manage" for paths under admin/:stakeholder.
9. app.component.ts: Updated menu in Admin Dashboard (all items visible and logo of monitor used) | Set value for MenuItem.routeActive when adding menu items of topics and users.
2022-03-28 11:40:21 +03:00
Alex Martzios a2a34d3958 add featured menu item functionality - admin 2022-03-02 12:26:28 +02:00
Alex Martzios 97fc6f033a add changes for pages and dynamic menus - dev only 2022-01-11 12:05:40 +02:00
Alex Martzios 259ca4b5b1 working on sending menu save/update/delete on the backend - dev only 2022-01-05 16:41:49 +02:00
Alex Martzios 0cddbdf857 Work in progress for new dymanic menu - dev only 2021-12-17 09:22:07 +02:00
k.triantafyllou 1b1e0170e1 [Library | Trunk]: 1. Fix user info id on parsing. 2. Add activeRoute field on MenuItem. 3. Finish inivte subscriber
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60284 d315682c-612b-4755-9ff5-7f18f6832af3
2021-01-22 18:09:44 +00:00
k.triantafyllou 57c0da003a [Library | Trunk]: 1. FIx menu active items base on routes. 2. Add input to role verification
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59829 d315682c-612b-4755-9ff5-7f18f6832af3
2020-11-12 17:49:20 +00:00
argiro.kokogiannaki 0283df0b52 [Library|Trunk]
-add check about active menu



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59788 d315682c-612b-4755-9ff5-7f18f6832af3
2020-11-05 16:47:23 +00:00
k.triantafyllou 7db42368ec [Library | Trunk]: Change sidebar, add some icons
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59728 d315682c-612b-4755-9ff5-7f18f6832af3
2020-10-31 15:44:19 +00:00
k.triantafyllou a1bccfe527 [Library | Trunk]: Change manager and members page
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59718 d315682c-612b-4755-9ff5-7f18f6832af3
2020-10-29 14:20:41 +00:00
k.triantafyllou c87f16dac3 [Library | Trunk]: 1. Add fragment on menu items. 2. Add footer option for fp-slider. 3. Add sushilite porperty
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59388 d315682c-612b-4755-9ff5-7f18f6832af3
2020-09-15 13:53:18 +00:00
argiro.kokogiannaki d471f09a3b [Library|Trunk]
menu.ts - isTheActiveMenu (): check if route or part of the route is the active




git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59288 d315682c-612b-4755-9ff5-7f18f6832af3
2020-08-17 11:03:39 +00:00
argiro.kokogiannaki 36c797b14b [Library|Trunk]
Dashboard:

Layout service: add mini menu option, front page option
Sidebar: updates accorrding to the new mocks



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@58836 d315682c-612b-4755-9ff5-7f18f6832af3
2020-06-04 11:21:32 +00:00
argiro.kokogiannaki 66e46004b8 [Library| Trunk]
dashboard:
	move sidebar under library
	use menuItems class & add new fields needed


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@57935 d315682c-612b-4755-9ff5-7f18f6832af3
2019-12-23 12:52:26 +00:00
argiro.kokogiannaki 84f7929b67 [Library|Trunk]
user component:
	show user info only when there is no error code
navBar:
	mark as active the current route
	add markAsActive property in  class MenuItem and mark root menu item only when it is set true.
	mark by default


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@56199 d315682c-612b-4755-9ff5-7f18f6832af3
2019-06-25 13:26:24 +00:00
k.triantafyllou d9733cbf66 [Trunk|Library]: 1. Add a sideBarMenuItem class in menu.ts. 2. Create a new component for sidebar menu.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@55405 d315682c-612b-4755-9ff5-7f18f6832af3
2019-04-22 10:32:25 +00:00
argiro.kokogiannaki 91b7c11f0a USe a json file to read properties | replace openaire Properties | parameterize menu (use params, community, ) | parameterize search pages (hide community information)
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@50586 d315682c-612b-4755-9ff5-7f18f6832af3
2018-02-05 13:14:59 +00:00