From 4753a2a84c1ebe05aae3cc1c9674f998aa43290f Mon Sep 17 00:00:00 2001 From: Thomas Waldmann Date: Sat, 2 Nov 2013 08:26:15 +0100 Subject: [PATCH] (de)associate local profile with remote accounts --- .../templates/accounts/user_profile.html | 34 ++++++++++++++----- 1 file changed, 26 insertions(+), 8 deletions(-) diff --git a/nsupdate/accounts/templates/accounts/user_profile.html b/nsupdate/accounts/templates/accounts/user_profile.html index c65599e..f15af82 100644 --- a/nsupdate/accounts/templates/accounts/user_profile.html +++ b/nsupdate/accounts/templates/accounts/user_profile.html @@ -2,14 +2,32 @@ {% load bootstrap %} {% block content %} -

User Profile of {{ request.user.username }}

-
-
- {% csrf_token %} - {{ form|bootstrap }} - -
-
+
+

User Profile of {{ request.user.username }}

+
+ {% csrf_token %} + {{ form|bootstrap }} + +
+
+
+
+
+

Associate with remote Account

+
    + {% for backend in backends.not_associated %} +
  • {{ backend }}
  • + {% endfor %} +
+

Deassociate from remote Account

+ +
+
+
{% endblock %}