diff --git a/local/views.py b/local/views.py index ac42c77..d888da0 100644 --- a/local/views.py +++ b/local/views.py @@ -17,7 +17,6 @@ from minecraft.forms import ProfileForm from minecraft.models import MinecraftProfile from django.conf import settings -@login_required def profile(request, username=None, mc_username=None): if username is None and mc_username is None: user = request.user @@ -83,7 +82,7 @@ def register(request): login(request, user) del request.session['profile-invite'] return HttpResponseRedirect(reverse('welcome')) - return render_to_response('local/register.html', {'userForm': userForm, 'profileForm': profileForm, 'invite':invite}, context_instance = RequestContext(request)) + return render_to_response('local/register.html', {'userForm': userForm, 'member_count': len(User.objects.all()), 'profileForm': profileForm, 'invite':invite}, context_instance = RequestContext(request)) @login_required def deleteInvite(request, code=None): diff --git a/static/css/main.css b/static/css/main.css index 24d1fff..d9a788e 100644 --- a/static/css/main.css +++ b/static/css/main.css @@ -462,3 +462,11 @@ fieldset { #donation-text a { color: #fff; } + +#register-form { + display: none; +} + +#register-button { + font-size: xx-large; +} diff --git a/templates/local/register.html b/templates/local/register.html index e7a7694..bd01a46 100644 --- a/templates/local/register.html +++ b/templates/local/register.html @@ -1,11 +1,44 @@ {% extends "base_simple.html" %} +{% block extrahead %} + +{% endblock %} {%block title%}Register an Account{%endblock%} {% block sectiontitle %}Welcome!{%endblock%} {%block content %} -

Congratulations on recieving a caminus invite! You were invited here by {{invite.creator}}.

-

To accept this invite, please register an account:

+

Congratulations on recieving a caminus invite!

+

Founded in 2010 in an Akron, Ohio basement, caminus is a minecraft +community that has since grown to {{member_count}} players and a world that is the size of a +small earth city. While we aim to play as vanilla as possible, we have a number of unique features:

+ +

You were invited here by {{invite.creator}}. +To accept this invite, please register an account:

+ +
{% csrf_token %}
@@ -14,5 +47,6 @@
+
{%endblock%}