first commit
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
{% extends 'base.html' %}
|
||||
{% load static i18n i18n_tags %}
|
||||
|
||||
{% block breadcrumb %}{% include 'includes/breadcrumb.html' %}{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<section class="section bg-white py-5">
|
||||
<div class="container">
|
||||
<div class="section-title">
|
||||
<h2>{% trans '发展历程' %}</h2>
|
||||
<p>{% trans '见证我们的成长与里程碑' %}</p>
|
||||
</div>
|
||||
<div class="position-relative">
|
||||
<div class="position-absolute top-0 bottom-0 start-50 translate-middle-x border-start border-primary" style="width: 2px;"></div>
|
||||
{% for year, title, desc in milestones %}
|
||||
<div class="row mb-5">
|
||||
<div class="col-md-6 {% if forloop.counter|divisibleby:2 %}offset-md-6{% endif %}">
|
||||
<div class="card p-4">
|
||||
<span class="badge bg-primary w-auto mb-2">{{ year }}</span>
|
||||
<h5>{{ title }}</h5>
|
||||
<p class="text-secondary mb-0">{{ desc }}</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user