From dab348ee6bd6bf5431795eab0bbb4f76bee88465 Mon Sep 17 00:00:00 2001 From: Johannes Zellner Date: Sat, 9 Aug 2014 19:30:05 -0700 Subject: [PATCH] Use sb-admin also in OAuth views --- src/oauth2views/account.ejs | 20 ++++++++++++---- src/oauth2views/dialog.ejs | 4 ++-- src/oauth2views/footer.ejs | 26 ++++++++++++++++++++ src/oauth2views/header.ejs | 21 ++++++++++++---- src/oauth2views/login.ejs | 48 ++++++++++++++++--------------------- 5 files changed, 81 insertions(+), 38 deletions(-) diff --git a/src/oauth2views/account.ejs b/src/oauth2views/account.ejs index 6d8bea364..3f1777fe0 100644 --- a/src/oauth2views/account.ejs +++ b/src/oauth2views/account.ejs @@ -1,5 +1,17 @@ -

User id: <%= user.id %>

-

Username: <%= user.username %>

-

Email: <%= user.email %>

+<% include header %> -Logout +
+
+
+
+
+
+ Invalid OAuth Client +
+
+
+
+
+
+ +<% include footer %> diff --git a/src/oauth2views/dialog.ejs b/src/oauth2views/dialog.ejs index b47d4e6c7..3938d3e75 100644 --- a/src/oauth2views/dialog.ejs +++ b/src/oauth2views/dialog.ejs @@ -24,8 +24,8 @@
- - + +
diff --git a/src/oauth2views/footer.ejs b/src/oauth2views/footer.ejs index 5179adefc..e31e0cfbd 100644 --- a/src/oauth2views/footer.ejs +++ b/src/oauth2views/footer.ejs @@ -1,3 +1,29 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/oauth2views/header.ejs b/src/oauth2views/header.ejs index 1062171d0..5c7144591 100644 --- a/src/oauth2views/header.ejs +++ b/src/oauth2views/header.ejs @@ -3,11 +3,24 @@ Yellowtent Login - - - + + + + + + + + + + + + + + + + + - diff --git a/src/oauth2views/login.ejs b/src/oauth2views/login.ejs index 954f79a38..1333914e8 100644 --- a/src/oauth2views/login.ejs +++ b/src/oauth2views/login.ejs @@ -1,34 +1,26 @@ <% include header %> -
-
-
-
-
+
+
-
- -
+
+
+

Welcome

+ +
+ + +
+
+ + +
+ + +
+
-
-
- -
-
-
-
- -
-
-
-
- -
-
-
-
-
-
- + +
<% include footer %>