1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Widened page layout; improved mobile rendering

This commit is contained in:
Jeremy Stretch
2016-12-09 16:23:11 -05:00
parent bd40f72ad5
commit 298ac1ba7a
26 changed files with 205 additions and 247 deletions

View File

@@ -56,6 +56,7 @@ def logout(request):
def profile(request):
return render(request, 'users/profile.html', {
'active_tab': 'profile',
})
@@ -75,6 +76,7 @@ def change_password(request):
return render(request, 'users/change_password.html', {
'form': form,
'active_tab': 'change_password',
})
@@ -88,6 +90,7 @@ def userkey(request):
return render(request, 'users/userkey.html', {
'userkey': userkey,
'active_tab': 'userkey',
})
@@ -114,6 +117,7 @@ def userkey_edit(request):
return render(request, 'users/userkey_edit.html', {
'userkey': userkey,
'form': form,
'active_tab': 'userkey',
})
@@ -121,5 +125,6 @@ def userkey_edit(request):
def recent_activity(request):
return render(request, 'users/recent_activity.html', {
'recent_activity': request.user.actions.all()[:50]
'recent_activity': request.user.actions.all()[:50],
'active_tab': 'recent_activity',
})