Commit Graph

18 Commits

Author SHA1 Message Date
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