The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Need direction with HTML table, Existing table I need to add more functions
Jkearns
post Mar 11 2019, 11:18 AM
Post #1





Group: Members
Posts: 3
Joined: 11-March 19
Member No.: 26,844



Hi all,
I currently have a web page with tables of clickable links that to connect to various pieces equipment. When you click a link it opens another page to that equipment's Web base GUI this all works just fine.

We have a new group that will have access to this page. They are basically call center level people that don't need to have the same functionality my group uses. Specifically we have an IP based power reset bar that has a Web based GUI. When you access the control page on that equipment you have several buttons one is the cycle button. When you press is it another link comes up "http://ipaddress:8081/".'$scontrol.cgi/6?2="CYCLE;"' This commands the unit to cycle power. In my table of links I have added a link with this format. it resets just fine like it should. The problem is it brings up and display that control page. We do not want the call center level people to have access to that page. all I want to do is let them click link in the table and for that page not to display or may pop up for a second and close.


Can someone let me know if this is possible. Would it be a CSS Java type function. I am not extremely versed in HTML.

This post has been edited by Jkearns: Mar 11 2019, 11:20 AM
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Christian J
post Mar 12 2019, 08:53 AM
Post #2


.
********

Group: WDG Moderators
Posts: 8,068
Joined: 10-August 06
Member No.: 7



Hi!

QUOTE(Jkearns @ Mar 11 2019, 05:18 PM) *

The problem is it brings up and display that control page. We do not want the call center level people to have access to that page.

You can easily hide the page from view, but a curious user can still find the URL by looking at the HTML source or on the browser's status bar when hovering the link. If call center staff must not be allowed to find the URL for security reasons you may have to do a major redesign.



User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Jkearns
post Mar 14 2019, 09:37 AM
Post #3





Group: Members
Posts: 3
Joined: 11-March 19
Member No.: 26,844



QUOTE(Christian J @ Mar 12 2019, 09:53 AM) *

Hi!

QUOTE(Jkearns @ Mar 11 2019, 05:18 PM) *

The problem is it brings up and display that control page. We do not want the call center level people to have access to that page.

You can easily hide the page from view, but a curious user can still find the URL by looking at the HTML source or on the browser's status bar when hovering the link. If call center staff must not be allowed to find the URL for security reasons you may have to do a major redesign.



It is not a security issue. The issue it is more of a fat figure protection or more to the point an inadvertent mouse click. In this controllers GUI control page you there clickable buttons if you log straight in and go to that page you have "http://0.0.0.0:8081/$scontrol.cgi". for the link to that page. If you click on the cycle button you get "http://0.0.0.0:8081/$scontrol.cgi/6?2="CYCLE"". If you click ON or OFF it adds ON or OFF to that link. I made my link in the table to be http://0.0.0.0:8081/$scontrol.cgi/6?2...CLE"". This cycles the power just fine just like I want. But is also displays the page and if the call center person is not watching when they are done with the cycle they could turn off the unit by mistake. You mentioned Hide I will look for that. I also thought of trying to use auto close. The controller does not have to load the page completely. It just needs to see "HTTP://xxx.xxx.xxx.xxx/control/CYCLE" I see that the Auto close can be set for less than a second. I am just not sure how. So far my attempts affect the whole table page not the individual.

An example of one of the tables link is below. Can I add something within this line to open and close that link within 1 second?

<td bgcolor="#FFDEAD "><a href="http://0.0.0.0:8081/$scontrol.cgi/6?2="CYCLE""target="_blank">CAXX-LocationName</a>&nbsp
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Christian J
post Mar 14 2019, 10:36 AM
Post #4


.
********

Group: WDG Moderators
Posts: 8,068
Joined: 10-August 06
Member No.: 7



The easiest way to hide the linked page might be to load it in a hidden iframe. Something like this:

CODE
<a href="http://0.0.0.0..." target="foo">Cycle</a>

<iframe name="foo" src="about:blank" style="display: none;"></iframe>

You could also make a Javascript/Ajax request to the server, but that adds unnecessary complexity. Finally, you might indeed open a popup and quickly close it, but again that would require some unnecessary javascript.

User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Mar 14 2019, 08:38 PM
Post #5


Don't like donuts. Don't do MySpace.
********

Group: WDG Moderators
Posts: 18,180
Joined: 9-August 06
Member No.: 6



It really sounds like different groups should be served different pages.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 21st March 2019 - 12:36 PM