diff --git a/templates/web/test1.html b/templates/web/test1.html new file mode 100644 index 0000000..16c22ac --- /dev/null +++ b/templates/web/test1.html @@ -0,0 +1,24 @@ +{% extends 'layouts/master.html' %} +{% block title %}View{% endblock %} +{% block body %} +

Contacts

+ + + + + + + + + + + {% for contact in contacts %} + + + + + + {% endfor %} + +
公司名称所在城市登录日期
{{ contact.name }}{{ contact.city }}{{ contact.date }}
+{% endblock %} diff --git a/templates/web/test2.html b/templates/web/test2.html new file mode 100644 index 0000000..575846c --- /dev/null +++ b/templates/web/test2.html @@ -0,0 +1,24 @@ +{% extends 'layouts/master.html' %} +{% block title %}View{% endblock %} +{% block body %} +

Contacts

+ + + + + + + + + + + {% for contact in contacts %} + + + + + + {% endfor %} + +
公司名称购买数量单价
{{ contact.name }}{{ contact.number}}{{ contact.price}}
+{% endblock %} diff --git a/templates/web/test3.html b/templates/web/test3.html new file mode 100644 index 0000000..84b2ad5 --- /dev/null +++ b/templates/web/test3.html @@ -0,0 +1,24 @@ +{% extends 'layouts/master.html' %} +{% block title %}View{% endblock %} +{% block body %} +

Contacts

+ + + + + + + + + + + {% for contact in contacts %} + + + + + + {% endfor %} + +
公司名称咨询时间咨询主题
{{ contact.name }}{{ contact.date }}{{ contact.subject }}
+{% endblock %}