Browse Source

gui improvement

Signed-off-by: Stephan Richter <s.richter@srsoftware.de>
main
Stephan Richter 1 month ago
parent
commit
7ed00d6376
  1. 2
      de.srsoftware.oidc.web/src/main/resources/en/scripts/index.js

2
de.srsoftware.oidc.web/src/main/resources/en/scripts/index.js

@ -15,7 +15,7 @@ function handleDash(response){
var client = clients[id]; var client = clients[id];
if (client.landing_page){ if (client.landing_page){
var div = document.createElement("div"); var div = document.createElement("div");
div.innerHTML = `<button onclick="window.location.href='${client.landing_page}';">${client.name}</button>`; div.innerHTML = `<button onclick="window.open('${client.landing_page}','_blank').focus();">${client.name}</button>`;
content.append(div); content.append(div);
any = true; any = true;
} }

Loading…
Cancel
Save