mock up pages

This commit is contained in:
Chen Shuyang 2021-02-28 08:21:57 +00:00
parent 0a0e8da232
commit e6ea7fa2d1
3 changed files with 72 additions and 0 deletions

24
templates/web/test1.html Normal file
View File

@ -0,0 +1,24 @@
{% extends 'layouts/master.html' %}
{% block title %}View{% endblock %}
{% block body %}
<h1>Contacts</h1>
<table class="table table-hover">
<thead>
<tr>
<th scope="col">公司名称</th>
<th scope="col">所在城市</th>
<th scope="col">登录日期</th>
<td></td>
</tr>
</thead>
<tbody>
{% for contact in contacts %}
<tr>
<td>{{ contact.name }}</td>
<td>{{ contact.city }}</td>
<td>{{ contact.date }}</td>
</tr>
{% endfor %}
</tbody>
</table>
{% endblock %}

24
templates/web/test2.html Normal file
View File

@ -0,0 +1,24 @@
{% extends 'layouts/master.html' %}
{% block title %}View{% endblock %}
{% block body %}
<h1>Contacts</h1>
<table class="table table-hover">
<thead>
<tr>
<th scope="col">公司名称</th>
<th scope="col">购买数量</th>
<th scope="col">单价</th>
<td></td>
</tr>
</thead>
<tbody>
{% for contact in contacts %}
<tr>
<td>{{ contact.name }}</td>
<td>{{ contact.number}}</td>
<td>{{ contact.price}}</td>
</tr>
{% endfor %}
</tbody>
</table>
{% endblock %}

24
templates/web/test3.html Normal file
View File

@ -0,0 +1,24 @@
{% extends 'layouts/master.html' %}
{% block title %}View{% endblock %}
{% block body %}
<h1>Contacts</h1>
<table class="table table-hover">
<thead>
<tr>
<th scope="col">公司名称</th>
<th scope="col">咨询时间</th>
<th scope="col">咨询主题</th>
<td></td>
</tr>
</thead>
<tbody>
{% for contact in contacts %}
<tr>
<td>{{ contact.name }}</td>
<td>{{ contact.date }}</td>
<td>{{ contact.subject }}</td>
</tr>
{% endfor %}
</tbody>
</table>
{% endblock %}