So what we want to do next is to set up a secure back end for the property owner to manage reservations,
and we're going to do that using a different base layout than we do for this page for every page on
the site that we have so far.
So what we want to have is when someone logs in.
So I'm going to log in right now.
When I log in, I want this not just to say log out, I want to change this to a drop down menu, kind
of like this one.
But instead of listing the two rooms, when I click on Log Out or it'll be admin or something like that,
I want to have a link to the admin dashboard and then a log.
So let's do that, first of all, because that's really easy.
So let's go over to our admin base layout or not admin based at our base layout template.
And I'll just copy this drop down menu that we have right here.
This one.
And I'll put it down here and then change it, so let me indent this so it's all nicely formatted and
the first thing I want to do is I don't want to call it rooms, I'll call it admin.
And then it's going to have two menu items.
And the first one will be to the admin dashboard, which is admin dashboard.
That route we set up in the last section.
Better spell dashboard.
Right.
And I'll call this dashboard.
And then log out, which is slash user.
Logo, and we'll call this logo
and then get rid of this because we don't need it anymore, so I should be able to save that, go back
and reload this page and I should change to the admin menu.
And it did.
And I should be able to choose logout or dashboard and I choose Dashboard.
It should take me to that really simple text only page that we created in the last section.
And it does OK.
And logout should work and it does.
All right.
So that's the first thing we've done.
Now, the second thing is when I'm logged in.
I don't want to see this.
I actually want to see a nicely formatted admin back end, and I don't want to go to the trouble of
writing one from scratch because there are so many free ones available to us out there right now.
And I've chosen one here and I've already posted a link to this in the course resources.
This is a free royalty free bootstrap admin template, which looks like it will do exactly what we want.
This is what it's going to look like.
We'll have menu items along here and then we can change the content in here and that will serve exactly
what we need for the purposes that we needed to do.
I can even click on Live Preview.
So that takes us over here.
And we have the ability to have collapsible menu items.
We have all the content we can put in here.
This will do exactly what we want.
I'm going to take most of the functionality that's built into this template out of it, because I want
to make this relatively simple for the purposes of this course.
So what I'll do is go back and download this by coming up here and saying download zip so it will save
the file for me.
So save that, extract it, and then in the next few lectures will convert this into bootstrap templates
or into goal line templates and start building our administrative back end.