diff --git a/css/daplie-installer-overrides.css b/css/daplie-installer-overrides.css
index a00cb00..c8312a2 100644
--- a/css/daplie-installer-overrides.css
+++ b/css/daplie-installer-overrides.css
@@ -12,10 +12,6 @@ html, body {
background-color: #282828;
color: #FFFFFF;
}
-/*override bootstrap fade*/
-.fade {
- opacity: 1;
-}
input.emailInput::placeholder {
font-family : Brown Regular;
font-size : 14px;
diff --git a/index.html b/index.html
index 90de3b5..e4deeb5 100644
--- a/index.html
+++ b/index.html
@@ -11,7 +11,8 @@
-
+
+
@@ -139,6 +140,49 @@
+
+
+
+
+
+
OAuth3 Playground
+
+
+
+
+ Login Status:
+
+
+ ...
+
+
+
+
+ Current Sessions:
+
+
+ ...
+
+
+
+
+ Approved Devices:
+
+
+ ...
+
+
+
+
+ Approved Applications:
+
+
+ ...
+
+
+
+
+
diff --git a/js/app.js b/js/app.js
index a4b9139..a069840 100644
--- a/js/app.js
+++ b/js/app.js
@@ -10,7 +10,7 @@ $(function () {
var auth = OAUTH3.create();
auth.init().then(function () {
- $('body').addClass('in');
+ $('.mock-main').addClass('in');
});
auth.setProvider(providerUri).then(function () {
diff --git a/js/issuer.js b/js/issuer.js
index 3fe4572..cf669d0 100644
--- a/js/issuer.js
+++ b/js/issuer.js
@@ -393,6 +393,13 @@ $(function () {
$('.js-logout-container').show();
}
- $('body').addClass('in');
+ if (document.location.hash.slice(1) || document.location.search) {
+ console.log('[DEBUG] search:', document.location.search);
+ console.log('[DEBUG] hash:', document.location.search);
+ $('.mock-main').addClass('in');
+ } else {
+ console.log('[DEBUG] not an auth window');
+ $('.mock-bare').addClass('in');
+ }
});
});