Page MenuHomeDevCentral

Parse URL in JavaScript in infra.nasqueron.org/config
Open, NormalPublic

Description

The https://infra.nasqueron.org/config/ allows to browse the resolved roles by server.
It first print a list of servers, then of roles for that server.

It would be interesting to allow to select elements and "navigate" to a specific server or server + role by reading the URL.

JavaScript code has normally access to the anchor (the #item at the end of an URL) for that.

Implementation should:

  • read anchor
  • call navigation functions according the anchor value

  • Anchors like roles.builder should be rewritten as #foo;roles.builder, so we can also reach them after open the right server config.