Parent: [349351] (diff)

Child: [ddf08c] (diff)

Download this file

oauth_applications.html    25 lines (21 with data), 713 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{% set hide_left_bar = True %}
{% extends g.theme.master %}
{% block title %}{{c.user.username}} / Applications {% endblock %}
{% block header %}OAuth applications registered for {{c.user.username}}{% endblock %}
{% block content %}
{% for token in apps %}
<h2>{{token.name}}</h2>
{{token.description_html | safe }}
<dl>
<dt>Consumer Key</dt><dd>{{token.api_key}}</dd>
<dt>Consumer Secret</dt><dd>{{token.secret_key}}</dd>
</dl>
<br>
<form method="POST" action="delete"><input type="hidden" name="id" value="{{token._id}}">
<input type="submit" value="Deregister {{token.name}}">
</form>
<br style="clear:both"/>
{% endfor %}
<h2>Register a new OAuth application</h2>
{{ c.form.display() }}
{% endblock %}