akveo / akveo/blur-admin

Multiple UI-VIEW(un named) not opening the views inside content page, opens with parent page ui-view.

Open
#77 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
11.3k
Forks
3k
PR merge metrics
No merged PRs in 30d

Description

MIssing thing is, how to load the login page.
1) Create the new module. app.page.login, file Login.module.js file,
2) create controller Login.controller.js file.
3) create services Login.Services.js file.
4) inculde this file in Index.html page.
it loads the Login page in UI-View under the content page,

ISSUE- Side bar and top navigation appreas, ideally login page should render fully across the page.

Solution.
1) Create another root page or main page.
2) if Index.html is root page then main section should be moved to main.html file
3) Create folder Main , create app.page.main mdoule in Main.module.js file, same way add controller and services file.
4) Inject the app.page.Main module in app.page module and

5) Include this new .js files in Index.html files.
6) include UI-VIEW in index.html file,(if it is not there un named ui-view). it will load the login page as full page.
7) on click of login Page user State.go('Main) state to go to main.html file which is having main section with Side,Page top, top content and another UI-VIEW. which will load the Side bar, page top, and content page, on click of menu, it should open the views in content page.

ISSUE- it opens the views with parent UI-VIEW(index.html) not in child view(Main.html).

There are two UI-Views (un named). one in Index.html page, another in Main.html page.
how to load the views on click of side bar in content page(main.html). Why it opens the views with Index.html page. Its really may be a bug or there way to load the content inside child view(main.html).

total there are 3 UI-VIEW, a) Index.html for login page to render, b) main.html to render the content,c) which loads submenu iteams( abstract true).

In Blur admin there are two UI-VIEW which works fine, why it doesn't works with 3 UI-VIEW.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.