Linking various HTML files in template

25 views
Skip to first unread message

Anointed

unread,
Dec 3, 2019, 8:27:42 PM12/3/19
to Django users
Hello guys,
I need a description of how to link several HTML pages as in a navigation bar

Dominick Del Ponte

unread,
Dec 6, 2019, 12:08:51 AM12/6/19
to django...@googlegroups.com
If you can, for ease of development, I'd recommend picking a css framework for your application and using whatever navigation container it provides. There's a bunch of different frameworks but two would be:


Then you can just follow the examples they have to add a nav-bar to your page. You'll likely want the nav-bar to be either in a base.html file that you extend for most pages or in an include template.

Hope that helps,


On Wed, Dec 4, 2019 at 7:26 AM Anointed <anointedpa...@gmail.com> wrote:
Hello guys,
 I need a description of how to link several HTML pages as in a navigation bar

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/6ae84e5a-cd06-40ac-90e9-cb2e4a0c0e6b%40googlegroups.com.

darno...@aol.com

unread,
Dec 6, 2019, 11:33:38 PM12/6/19
to django...@googlegroups.com
Dominick, you've been a great help and I thank you for it.

I used a CSS container with the table inside of it and it looks great.  I had already used a CSS Nav-bar and it looks great too, as well as it works as intended.  I was just unsure how to get the table data into the table.
My data is a variable with each list item corresponding to a row in the table.  Each list item also contains a list of 5 items which constitute the columns.  Looks like I was on the right track thinking that a for loop was the secret.  and it was.  But, I just didn't have any examples of the syntax until you sent It to me.  The links you sent also have some examples.  So, now i'll give a try and let you know how I made out.

Dick Arnold
Houston, TX

Reply all
Reply to author
Forward
0 new messages