aboutsummaryrefslogtreecommitdiffstats
path: root/accounts
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--accounts/templates/accounts/index.html12
-rw-r--r--accounts/views.py4
2 files changed, 5 insertions, 11 deletions
diff --git a/accounts/templates/accounts/index.html b/accounts/templates/accounts/index.html
index 7cd287d..061da5d 100644
--- a/accounts/templates/accounts/index.html
+++ b/accounts/templates/accounts/index.html
@@ -11,15 +11,14 @@
<ul class="tabs tabs-transparent">
<li class="tab"><a class="active" href="#personal">Info Personali</a></li>
<li class="tab"><a href="#medic">Info Mediche</a></li>
- <li class="tab"><a href="#misc">Impostazioni</a></li>
- <li class="tab"><a href="#test">Woooo</a></li>
+ <li class="tab"><a href="#settings">Impostazioni</a></li>
</ul>
</div>
{% endblock%}
{% block content %}
<form action="{% url 'personal'%}" method="post" id="form1" enctype="multipart/form-data">
-<div "personal" class="row">
+<div id="personal" class="row">
<div class="col l8 offset-l2 s12">
<div class="card-panel">
<div class="row">
@@ -314,12 +313,7 @@
</div>
</div>
</div>
-<div id="test" class="row">
- <div class="col s12">
- Helloooooo
- </div>
-</div>
-<div id="misc" class="row">
+<div id="settings" class="row">
<div class="col l8 offset-l2 s12">
<div class="card-panel">
<div class="row">
diff --git a/accounts/views.py b/accounts/views.py
index 2b971b3..26d45fa 100644
--- a/accounts/views.py
+++ b/accounts/views.py
@@ -107,7 +107,7 @@ def oauth_disconnect(request):
usercode.midata_token = ""
usercode.save()
- return HttpResponseRedirect(reverse("personal") + "#misc")
+ return HttpResponseRedirect(reverse("personal") + "#settings")
# callback after acquiring token
@login_required
@@ -133,7 +133,7 @@ def auth_connect(request):
usercode.midata_token = token["access_token"]
usercode.save()
- return HttpResponseRedirect(reverse("personal") + "#misc")
+ return HttpResponseRedirect(reverse("personal") + "#settings")
@sensitive_variables("raw_passsword")
def signup(request):