From 3c473c334e4f99c6d1bae2801d3927cb6bd8f4ec Mon Sep 17 00:00:00 2001 From: Ruben Verborgh Date: Thu, 14 Sep 2017 10:05:30 -0400 Subject: [PATCH 1/2] Add popup. Closes #590. --- common/popup.html | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 common/popup.html diff --git a/common/popup.html b/common/popup.html new file mode 100644 index 000000000..adcbea23c --- /dev/null +++ b/common/popup.html @@ -0,0 +1,24 @@ + + + + Select your Identity Provider + + + + + +
+ + From f79f7a2e01151570952b47fac57a938110e99a61 Mon Sep 17 00:00:00 2001 From: Ruben Verborgh Date: Thu, 14 Sep 2017 11:11:22 -0400 Subject: [PATCH 2/2] Update databrowser. Closes #583. --- static/databrowser.html | 32 ++++++++++++++++++-------------- 1 file changed, 18 insertions(+), 14 deletions(-) diff --git a/static/databrowser.html b/static/databrowser.html index 018a58072..02d725f6c 100644 --- a/static/databrowser.html +++ b/static/databrowser.html @@ -2,23 +2,27 @@ + - + UI.authn.checkUser() + .then(function () { + var uri = window.location.href + var dataUri = window.document.title = uri.slice(0, uri.lastIndexOf('/')+1) + '' + var subject = UI.rdf.sym(dataUri) + UI.outline.GotoSubject(subject, true, undefined, true, undefined) + }) + }) +