Git Product home page Git Product logo

Comments (1)

brijesh1ec avatar brijesh1ec commented on May 14, 2024

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.

from ngx-admin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.