summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeif Johansson <leifj@sunet.se>2011-11-09 09:02:03 +0100
committerLeif Johansson <leifj@sunet.se>2011-11-09 09:02:03 +0100
commit4386fdd114a3aff00a71adac858882d7cf8e3c28 (patch)
tree7fed4220fafb24f7e2470c6d5492ed9c58887b49
parent27b30b5190326fe330b5aba247e91cbbee9bafb8 (diff)
local skin for oauth
-rw-r--r--templates/django_oauth2_lite/base.html25
1 files changed, 25 insertions, 0 deletions
diff --git a/templates/django_oauth2_lite/base.html b/templates/django_oauth2_lite/base.html
new file mode 100644
index 0000000..a224929
--- /dev/null
+++ b/templates/django_oauth2_lite/base.html
@@ -0,0 +1,25 @@
+{% extends "tree.html" %}
+{% block widgets %}
+$(".oauth2-clients").accordion({
+ header: 'h3',
+ collapsible: true,
+ active: false,
+ autoHeight: false
+ });
+$(".oauth2-scopes").accordion({
+ header: 'h3',
+ collapsible: true,
+ active: false,
+ autoHeight: false
+ });
+$(".oauth2-tokens").accordion({
+ header: 'h3',
+ collapsible: true,
+ active: false,
+ autoHeight: false
+ });
+{% endblock %}
+{% block headline %}{%endblock%}
+{% block content %}
+{% block body %}{% endblock %}
+{% endblock %} \ No newline at end of file