Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
dshongphuc committed Nov 7, 2020
1 parent d0800e3 commit d3487a5
Showing 1 changed file with 7 additions and 14 deletions.
21 changes: 7 additions & 14 deletions project/templates/home_index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
{% load static i18n %}

{% block content %}
<section class="mb-3">
<section class="mb-4">
<div class="row">
<div class="col-lg-8 mb-3">
<div class="card card-homepage bg-white">
<div class="col-lg-8 mb-3 mb-lg-0">
<div class="card card-homepage bg-white h-100">
<div class="card-header">
<h5>Hộ dân cần cứu hộ</h5>
<a class="ml-auto" href="{% url 'home_ho_dan' %}">Xem tất cả</a>
Expand Down Expand Up @@ -39,24 +39,17 @@ <h5>Hộ dân cần cứu hộ</h5>
</p>
</div>
<div class="card-footer">
<a class="btn btn-primary mr-md-2" href="{% url 'admin:app_hodan_add' %}">
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M12 0.375C5.57967 0.375 0.375 5.57967 0.375 12C0.375 18.4203 5.57967 23.625 12 23.625C18.4203 23.625 23.625 18.4203 23.625 12C23.625 5.57967 18.4203 0.375 12 0.375ZM20.142 5.97933L17.1702 8.95116C16.6552 8.0812 15.92 7.34559 15.0488 6.82983L18.0207 3.858C18.8281 4.4571 19.5429 5.17189 20.142 5.97933ZM12 16.5C9.51473 16.5 7.5 14.4853 7.5 12C7.5 9.51473 9.51473 7.5 12 7.5C14.4853 7.5 16.5 9.51473 16.5 12C16.5 14.4853 14.4853 16.5 12 16.5ZM5.97933 3.858L8.95116 6.82983C8.0812 7.34484 7.34559 8.07998 6.82983 8.95116L3.858 5.97933C4.45709 5.17187 5.17187 4.45709 5.97933 3.858ZM3.858 18.0207L6.82983 15.0488C7.34484 15.9188 8.07998 16.6544 8.95116 17.1702L5.97933 20.142C5.17189 19.5429 4.4571 18.8281 3.858 18.0207ZM18.0207 20.142L15.0488 17.1702C15.9188 16.6552 16.6544 15.92 17.1702 15.0488L20.142 18.0207C19.5429 18.8281 18.8281 19.5429 18.0207 20.142Z" fill="white"/>
</svg>
<a class="btn btn-outline-primary mr-md-2" href="{% url 'admin:app_hodan_add' %}">
<svg height="24" viewBox="0 0 48 48" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M0 0h48v48H0z" fill="none"/><path d="M24 4C12.95 4 4 12.95 4 24s8.95 20 20 20 20-8.95 20-20S35.05 4 24 4zm10 22h-8v8h-4v-8h-8v-4h8v-8h4v8h8v4z"/></svg>
<span class="ml-2">Thêm hộ dân</span>
</a>
<div class="d-block d-md-none pt-2"> </div>
<a class="btn btn-outline-primary" href="{% url 'home_ho_dan' %}">
<svg width="24" height="20" viewBox="0 0 24 20" xmlns="http://www.w3.org/2000/svg">
<path d="M2.25 0.25C1.80499 0.25 1.36998 0.38196 0.999968 0.629193C0.629957 0.876427 0.341569 1.22783 0.171272 1.63896C0.000974894 2.0501 -0.0435826 2.5025 0.0432341 2.93895C0.130051 3.37541 0.344343 3.77632 0.659011 4.09099C0.973679 4.40566 1.37459 4.61995 1.81105 4.70677C2.24751 4.79358 2.69991 4.74903 3.11104 4.57873C3.52217 4.40843 3.87357 4.12004 4.12081 3.75003C4.36804 3.38002 4.5 2.94501 4.5 2.5C4.5 1.90326 4.26295 1.33097 3.84099 0.90901C3.41903 0.487053 2.84674 0.25 2.25 0.25ZM2.25 7.75C1.80499 7.75 1.36998 7.88196 0.999968 8.12919C0.629957 8.37643 0.341569 8.72783 0.171272 9.13896C0.000974894 9.5501 -0.0435826 10.0025 0.0432341 10.439C0.130051 10.8754 0.344343 11.2763 0.659011 11.591C0.973679 11.9057 1.37459 12.12 1.81105 12.2068C2.24751 12.2936 2.69991 12.249 3.11104 12.0787C3.52217 11.9084 3.87357 11.62 4.12081 11.25C4.36804 10.88 4.5 10.445 4.5 10C4.5 9.40326 4.26295 8.83097 3.84099 8.40901C3.41903 7.98705 2.84674 7.75 2.25 7.75ZM2.25 15.25C1.80499 15.25 1.36998 15.382 0.999968 15.6292C0.629957 15.8764 0.341569 16.2278 0.171272 16.639C0.000974894 17.0501 -0.0435826 17.5025 0.0432341 17.939C0.130051 18.3754 0.344343 18.7763 0.659011 19.091C0.973679 19.4057 1.37459 19.62 1.81105 19.7068C2.24751 19.7936 2.69991 19.749 3.11104 19.5787C3.52217 19.4084 3.87357 19.12 4.12081 18.75C4.36804 18.38 4.5 17.945 4.5 17.5C4.5 16.9033 4.26295 16.331 3.84099 15.909C3.41903 15.4871 2.84674 15.25 2.25 15.25ZM23.25 16H8.25C8.05109 16 7.86032 16.079 7.71967 16.2197C7.57902 16.3603 7.5 16.5511 7.5 16.75V18.25C7.5 18.4489 7.57902 18.6397 7.71967 18.7803C7.86032 18.921 8.05109 19 8.25 19H23.25C23.4489 19 23.6397 18.921 23.7803 18.7803C23.921 18.6397 24 18.4489 24 18.25V16.75C24 16.5511 23.921 16.3603 23.7803 16.2197C23.6397 16.079 23.4489 16 23.25 16ZM23.25 1H8.25C8.05109 1 7.86032 1.07902 7.71967 1.21967C7.57902 1.36032 7.5 1.55109 7.5 1.75V3.25C7.5 3.44891 7.57902 3.63968 7.71967 3.78033C7.86032 3.92098 8.05109 4 8.25 4H23.25C23.4489 4 23.6397 3.92098 23.7803 3.78033C23.921 3.63968 24 3.44891 24 3.25V1.75C24 1.55109 23.921 1.36032 23.7803 1.21967C23.6397 1.07902 23.4489 1 23.25 1ZM23.25 8.5H8.25C8.05109 8.5 7.86032 8.57902 7.71967 8.71967C7.57902 8.86032 7.5 9.05109 7.5 9.25V10.75C7.5 10.9489 7.57902 11.1397 7.71967 11.2803C7.86032 11.421 8.05109 11.5 8.25 11.5H23.25C23.4489 11.5 23.6397 11.421 23.7803 11.2803C23.921 11.1397 24 10.9489 24 10.75V9.25C24 9.05109 23.921 8.86032 23.7803 8.71967C23.6397 8.57902 23.4489 8.5 23.25 8.5Z" />
</svg>
<span class="ml-2">Xem tất cả</span>
</a>

</div>
</div>
</div>
<div class="col-lg-4">
<div class="card card-homepage bg-white">
<div class="card card-homepage bg-white h-100">
<div class="card-header">
<h5>Đội cứu hộ</h5>
<a class="ml-auto" href="{% url 'admin:app_cuuho_changelist' %}">Xem tất cả</a>
Expand Down

0 comments on commit d3487a5

Please sign in to comment.