Merge pull request 'Broken CSS register page' (#61) from html-refacto into main

Reviewed-on: 42CTF/website#61
This commit is contained in:
Starthur 2022-05-28 12:05:24 +02:00
commit a1ec3e5f20
1 changed files with 35 additions and 37 deletions

View File

@ -2,12 +2,11 @@
{% block content %} {% block content %}
{% load i18n %} {% load i18n %}
<div class="row"> <div class="row">
<div class="col-sm-12 col-md-9"> <div class="col-sm-12 col-md-9">
<div class="ctf-block"> <div class="ctf-block">
<div class="ctf-head"> <div class="ctf-head">
<h3>Register</h3> <h3>Register</h3>
</div> </div>
<div class="ctf-body sign-body"> <div class="ctf-body sign-body">
<div class="col-sm-8 col-md-6 mx-auto"> <div class="col-sm-8 col-md-6 mx-auto">
{% if registered %} {% if registered %}
@ -31,7 +30,7 @@
</div> </div>
</div> </div>
</div> </div>
</div>
<div class="col-sm-12 col-md-3 right-sidebar"> <div class="col-sm-12 col-md-3 right-sidebar">
<ul class="list-group"> <ul class="list-group">
<a href="/accounts/signup" class="list-group-item">{% trans "Sign up" %}</a> <a href="/accounts/signup" class="list-group-item">{% trans "Sign up" %}</a>
@ -40,4 +39,3 @@
</div> </div>
</div> </div>
{% endblock %} {% endblock %}