Commit 7d4a896d authored by freetux's avatar freetux

add page for last weightes table

parent a8e555f4
{% extends "sites/base_site.html" %}
{% block title %} dash {% endblock title %}
{% block stylesheets %}
{{ block.super }}
{% endblock stylesheets %}
{% block location %}
آنالیز وزن
{% endblock location %}
{% block content %}
<div class="container-fluid">
<div class="animated fadeIn">
<div class="row">
<div class="col-lg-6">
<div class="card">
<div class="card-header">
<i class="fa fa-align-justify"></i> قد و وزن
</div>
<div class="card-block">
<table class="table">
<thead>
<tr>
<th>#</th>
<th>تاریخ ایجاد</th>
<th>وزن</th>
<th>قد</th>
<th>یادداشت</th>
</tr>
</thead>
<tbody>
{% for weight in weights %}
<tr>
<td>{{ weight.id }}</td>
<td>{{ weight.date_created }}</td>
<td>{{ weight.weight }}</td>
<td>{{ weight.height }}</td>
<td>{{ weight.text }}</td>
</tr>
{% endfor %}
</tbody>
</table>
<ul class="pagination">
<li class="page-item"><a class="page-link" href="#">Prev</a>
</li>
<li class="page-item active">
<a class="page-link" href="#">1</a>
</li>
<li class="page-item"><a class="page-link" href="#">2</a>
</li>
<li class="page-item"><a class="page-link" href="#">3</a>
</li>
<li class="page-item"><a class="page-link" href="#">4</a>
</li>
<li class="page-item"><a class="page-link" href="#">Next</a>
</li>
</ul>
</div>
</div>
</div>
<!--/col-->
<div class="col-lg-6">
<div class="card">
<div class="card-header">
<i class="fa fa-align-justify"></i> Striped Table
</div>
<div class="card-block">
<table class="table table-striped">
<thead>
<tr>
<th>Username</th>
<th>Date registered</th>
<th>Role</th>
<th>Status</th>
</tr>
</thead>
<tbody>
<tr>
<td>Yiorgos Avraamu</td>
<td>2012/01/01</td>
<td>Member</td>
<td>
<span class="tag tag-success">Active</span>
</td>
</tr>
<tr>
<td>Avram Tarasios</td>
<td>2012/02/01</td>
<td>Staff</td>
<td>
<span class="tag tag-danger">Banned</span>
</td>
</tr>
<tr>
<td>Quintin Ed</td>
<td>2012/02/01</td>
<td>Admin</td>
<td>
<span class="tag tag-default">Inactive</span>
</td>
</tr>
<tr>
<td>Enéas Kwadwo</td>
<td>2012/03/01</td>
<td>Member</td>
<td>
<span class="tag tag-warning">Pending</span>
</td>
</tr>
<tr>
<td>Agapetus Tadeáš</td>
<td>2012/01/21</td>
<td>Staff</td>
<td>
<span class="tag tag-success">Active</span>
</td>
</tr>
</tbody>
</table>
<ul class="pagination">
<li class="page-item"><a class="page-link" href="#">Prev</a>
</li>
<li class="page-item active">
<a class="page-link" href="#">1</a>
</li>
<li class="page-item"><a class="page-link" href="#">2</a>
</li>
<li class="page-item"><a class="page-link" href="#">3</a>
</li>
<li class="page-item"><a class="page-link" href="#">4</a>
</li>
<li class="page-item"><a class="page-link" href="#">Next</a>
</li>
</ul>
</div>
</div>
</div>
<!--/col-->
</div>
<!--/row-->
</div>
<!-- /.conainer-fluid -->
{% endblock content %}
{% block javascripts %}
{{ block.super }}
{% endblock javascripts %}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment