Creating a second webpage
-
nathanplatt
- Posts: 267
- Joined: Thu May 07, 2015 4:59 am
Re: Creating a second webpage
I modify the map.html to what i want and rename it map1.html, but all it does is spin the loading icon rather than loading the map... any ideas?
-
nathanplatt
- Posts: 267
- Joined: Thu May 07, 2015 4:59 am
Re: Creating a second webpage
I removed the section above and including map-links.html, but i have copied the original and called it map1.html (without removing anything) and it still won't show me the map. I think there's a link to somewhere else that requires the file to be called map
Re: Creating a second webpage
Ok sorry, I did not expect that, maybe somebody else could jump in? 
Rob Hassing


Re: Creating a second webpage
Disclaimer: I am not a web designer, and this probably breaks something.
Try renaming infobox.html inside of /usr/local/nagios/share. This should get rid of the frame. Do you still have a need for two URLs, or is just loading the map.html going to work in this case?
Try renaming infobox.html inside of /usr/local/nagios/share. This should get rid of the frame. Do you still have a need for two URLs, or is just loading the map.html going to work in this case?
Former Nagios Employee.
me.
me.
-
nathanplatt
- Posts: 267
- Joined: Thu May 07, 2015 4:59 am
Re: Creating a second webpage
I'll like it to show on one screen as just the map, and any other screen as normal. If this was normal webpage I would just have a indexrpi.htm and a normal index.htm etc but it does seem to work here
Re: Creating a second webpage
After looking at it for quite awhile, I really don't think there is a great way to make this work without spending a lot of time looking at all of the javascript that this uses. The 'easy' way to do this is going to be to rename the file I mentioned in my previous post, beyond that, it is getting close to custom development territory. I really don't want to push the whole custom development sales pitch on you. Have you looked on the Nagios Exchange to see if there is anything that may fit your needs there?
Former Nagios Employee.
me.
me.
-
nathanplatt
- Posts: 267
- Joined: Thu May 07, 2015 4:59 am
Re: Creating a second webpage
Okay, thank you for your help (everyone). The company won't pay for custom development, so i'll leave it there for now.
Thank you
Nathan
Thank you
Nathan
Re: Creating a second webpage
I'm sorry I couldn't hack it together for you. I'm not much of a coder, but I feel like there is something that is actually piping the data to that url specifically.
Former Nagios Employee.
me.
me.