From 06652a1f3dd8c870af311ba186a3a353bb1e7a8e Mon Sep 17 00:00:00 2001 From: Anon Ray Date: Sun, 11 May 2014 02:14:23 +0530 Subject: [PATCH] Add oauth templates; Mistakenly not added in previous commit - Did not add oauth view's templates previously by mistake. Adding them now. --- swtstore/templates/oauth/authorize.html | 43 ++++++++++++++++++++++++++++++ swtstore/templates/oauth/authorized.html | 20 ++++++++++++++ swtstore/templates/oauth/login.html | 40 +++++++++++++++++++++++++++ 3 files changed, 103 insertions(+) create mode 100644 swtstore/templates/oauth/authorize.html create mode 100644 swtstore/templates/oauth/authorized.html create mode 100644 swtstore/templates/oauth/login.html diff --git a/swtstore/templates/oauth/authorize.html b/swtstore/templates/oauth/authorize.html new file mode 100644 index 0000000..1f4856b --- /dev/null +++ b/swtstore/templates/oauth/authorize.html @@ -0,0 +1,43 @@ +{% extends "layout.html" %} +{% block body %} +

Allow Access ?

+

+ The following application wants to get permission to do stuff(?) on the swt + web platform on your behalf. +

+ +
+
+

+ {{ client.name }} at {{ client.host_url }} wants + to get permission to post data to swt store +

+
+
+ +
+

{{ scopes|join(',') }}

+
+
+ + + + {% if state %} + + {% endif %} + + +
+ +{% endblock %} + +{% block scripts %} + + + +{% endblock %} diff --git a/swtstore/templates/oauth/authorized.html b/swtstore/templates/oauth/authorized.html new file mode 100644 index 0000000..6314bbf --- /dev/null +++ b/swtstore/templates/oauth/authorized.html @@ -0,0 +1,20 @@ + +
+ + + + {% if state %} + + {% endif %} + + + +
+ + + diff --git a/swtstore/templates/oauth/login.html b/swtstore/templates/oauth/login.html new file mode 100644 index 0000000..d4b0f85 --- /dev/null +++ b/swtstore/templates/oauth/login.html @@ -0,0 +1,40 @@ +{% extends "layout.html" %} + +{% block scripts %} + +{% endblock %} -- 1.7.10.4