-
Notifications
You must be signed in to change notification settings - Fork 123
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Admin dashboard route and page #187
Conversation
<a class="nav-link @@if (context.page === 'allcourses') { active }" | ||
href="@@webRoot/pages/dashboard/admin-course-overview.html"> | ||
Settings | ||
</a> | ||
</li> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When we get to work on this page let's make sure to use https://github.com/comfy/active_link_to which makes things a bit easier to show active states on links.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes the hrefs in there right now are dropped in from the template. All need replacing.
…render navbar and the appropriate template
I updated to use a dashboard layout template that renders the navbar and whatever template is required depending on the selection from the navbar using yield. I think all we have to do is set up other templates, named and routed appropriately, and add below and it will work with the
|
FYI: I made this PR yesterday as a little launch pad for Jade to continue on with. As such, there's a few things that are incomplete with the intent they will be continue. I guess Jade could contribute to this branch if we don't want to merge it in. I am open. |
Describe your change in plain English.
This PR:
Note that