Fix resources page
This commit is contained in:
parent
0d9057eac4
commit
0ebf804976
|
@ -1,9 +1,7 @@
|
|||
{% extends 'base.html' %}
|
||||
{% block content %}
|
||||
{% load i18n %}
|
||||
{% get_current_language as lang %}
|
||||
<div class="row">
|
||||
<div class="col-sm-12 col-md-9">
|
||||
<div class="col-sm-12 col-md-6">
|
||||
<div class="ctf-block">
|
||||
<div class="ctf-head">
|
||||
<h3>{% trans "What is 42CTF ?" %}</h3>
|
||||
|
@ -30,5 +28,4 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
{% endblock %}
|
|
@ -1,9 +1,7 @@
|
|||
{% extends 'base.html' %}
|
||||
{% block content %}
|
||||
{% load i18n %}
|
||||
{% get_current_language as lang %}
|
||||
<div class="row">
|
||||
<div class="col-sm-12 col-md-9">
|
||||
<div class="col-sm-12 col-md-6">
|
||||
<div class="ctf-block">
|
||||
<div class="ctf-head">
|
||||
<h3>{% trans "Create new challenges" %}</h3>
|
||||
|
@ -18,5 +16,4 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
{% endblock %}
|
|
@ -1,9 +1,7 @@
|
|||
{% extends 'base.html' %}
|
||||
{% block content %}
|
||||
{% load i18n %}
|
||||
{% get_current_language as lang %}
|
||||
<div class="row">
|
||||
<div class="col-sm-12 col-md-9">
|
||||
<div class="col-sm-12">
|
||||
<div class="ctf-block">
|
||||
<div class="ctf-head">
|
||||
<h3>{% trans "Donate" %}</h3>
|
||||
|
@ -48,6 +46,4 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
{% endblock %}
|
|
@ -1,9 +1,7 @@
|
|||
{% extends 'base.html' %}
|
||||
{% block content %}
|
||||
{% load i18n %}
|
||||
{% get_current_language as lang %}
|
||||
<div class="row">
|
||||
<div class="col-sm-12 col-md-9">
|
||||
<div class="col-sm-12 col-md-6">
|
||||
<div class="ctf-block">
|
||||
<div class="ctf-head">
|
||||
<h3>{% trans "Edit this page" %}</h3>
|
||||
|
@ -13,6 +11,4 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
{% endblock %}
|
|
@ -3,38 +3,23 @@
|
|||
{% load i18n %}
|
||||
{% get_current_language as lang %}
|
||||
<div class="row">
|
||||
<div class="col-lg-9 col-sm-12 news-card">
|
||||
|
||||
<div class="card news-card">
|
||||
<ul class="list-group">
|
||||
<li class="list-group-item active">{% trans "Getting started" %}</li>
|
||||
<li class="list-group-item">
|
||||
<a href="{% url 'resources:42ctf' %}">{% trans "What is 42CTF ?" %}</a></br>
|
||||
<a href="{% url 'resources:tools' %}">{% trans "Recommended Tools" %}</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="card news-card">
|
||||
<ul class="list-group">
|
||||
<li class="list-group-item active">{% trans "Technical documentation" %}</li>
|
||||
<li class="list-group-item">{% trans "No docs available, contact us if you want to write some :)" %}</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="card news-card">
|
||||
<ul class="list-group">
|
||||
<li class="list-group-item active">{% trans "Contribute" %}</li>
|
||||
<li class="list-group-item">
|
||||
<a href="{% url 'resources:create_challenge' %}">{% trans "Create new challenges" %}</a></br>
|
||||
<a href="{% url 'resources:translate' %}">{% trans "Translate 42CTF" %}</a></br>
|
||||
<a href="{% url 'resources:edit' %}">{% trans "Edit this page" %}</a></br>
|
||||
<a href="{% url 'resources:donate' %}">{% trans "Donate" %}</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
{% block 42ctf %}
|
||||
{% include "./42ctf.html" %}
|
||||
{% endblock %}
|
||||
{% block tools %}
|
||||
{% include "./tools.html" %}
|
||||
{% endblock %}
|
||||
{% block translate %}
|
||||
{% include "./translate.html" %}
|
||||
{% endblock %}
|
||||
{% block create_challenge %}
|
||||
{% include "./create_challenge.html" %}
|
||||
{% endblock %}
|
||||
{% block edit %}
|
||||
{% include "./edit.html" %}
|
||||
{% endblock %}
|
||||
{% block donate %}
|
||||
{% include "./donate.html" %}
|
||||
{% endblock %}
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
|
|
|
@ -1,9 +1,7 @@
|
|||
{% extends 'base.html' %}
|
||||
{% block content %}
|
||||
{% load i18n %}
|
||||
{% get_current_language as lang %}
|
||||
<div class="row">
|
||||
<div class="col-sm-12 col-md-9">
|
||||
<div class="col-sm-12 col-md-6">
|
||||
<div class="ctf-block">
|
||||
<div class="ctf-head">
|
||||
<h3>{% trans "Recommended Tools" %}</h3>
|
||||
|
@ -31,5 +29,4 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
{% endblock %}
|
|
@ -1,9 +1,7 @@
|
|||
{% extends 'base.html' %}
|
||||
{% block content %}
|
||||
{% load i18n %}
|
||||
{% get_current_language as lang %}
|
||||
<div class="row">
|
||||
<div class="col-sm-12 col-md-9">
|
||||
<div class="col-sm-12">
|
||||
<div class="ctf-block">
|
||||
<div class="ctf-head">
|
||||
<h3>{% trans "Translate 42CTF" %}</h3>
|
||||
|
@ -19,5 +17,4 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
{% endblock %}
|
Loading…
Reference in New Issue