diff --git a/OpenBench/static/style.css b/OpenBench/static/style.css index 8b46e9b..fb8edbe 100644 --- a/OpenBench/static/style.css +++ b/OpenBench/static/style.css @@ -36,7 +36,7 @@ a:link, a:visited, a:hover, a:active { } #content label { - width: 150px; + width: 120px; font-weight:bold; text-align: right; display: inline-block; @@ -249,7 +249,7 @@ a:link, a:visited, a:hover, a:active { } #content form h3 { - margin-left: 160px; + margin-left: 130px; margin-bottom: 0px; color: #00CCFF; } @@ -262,7 +262,6 @@ a:link, a:visited, a:hover, a:active { #content form #right-settings { float: left; padding-bottom: 4px; - padding-left: 32px; } #content #test-mode-buttons button { diff --git a/OpenBench/views.py b/OpenBench/views.py index c8ac849..35f600f 100644 --- a/OpenBench/views.py +++ b/OpenBench/views.py @@ -242,7 +242,7 @@ def viewUser(request, username, page=0): def users(request): # Build context dictionary for template - data = {'profiles' : Profile.objects.order_by('-games')} + data = {'profiles' : Profile.objects.order_by('-games', '-tests', '-enabled')} return render(request, 'users.html', data) def machines(request): diff --git a/Templates/OpenBench/newTest.html b/Templates/OpenBench/newTest.html index 9fdd0f9..c001d80 100644 --- a/Templates/OpenBench/newTest.html +++ b/Templates/OpenBench/newTest.html @@ -84,7 +84,7 @@