diff --git a/app/templates/index.html b/app/templates/index.html index f2f9eb2..a75d274 100644 --- a/app/templates/index.html +++ b/app/templates/index.html @@ -5,17 +5,22 @@ Request Counter | {{ remote_address }} + +
+

+ 应用名: 访问次数计数器 +

+

+ 简介: 可以使用SVG矢量图的形式来显示页面的访问次数 +
+ 或者通过API的方式获取原始计数数据 +

+
-
- 看到这句话就说明程序正常运行啦!! 查看文档 -
-
- 服务端使用Flask开发没有使用异步编程 -
- 快速查看当前示例试用例 + 点击查看当但实例调用示例
点击查看已部署好的调用示例 @@ -31,9 +36,32 @@ 你可以在注明来源版权信息的情况下对源代码进行任意分发和修改以及衍生
-
- 你的IP地址为: {{ remote_address }} + +
+ 请求地址来源: {{ remote_address }} +
+
+
+
+ fast_test_example_svg +
+
+ +
+ test-example当前计数数据值: +

+
+
+
+
+ 开发周期
\ No newline at end of file diff --git a/app/templates/list.html b/app/templates/list.html index 4bdcfcb..c1447a8 100644 --- a/app/templates/list.html +++ b/app/templates/list.html @@ -1,10 +1,32 @@ - - $Title$ + + All data + -$END$ +
+

+ 数据库内已有数据 +

+ + + + + + {#使用Jinja2模板来快速遍历传入的列表数据#} + {% for value in data %} + + + + + {% endfor %} +
+ 名称 + + 次数 +
{{ value['name'] }}{{ value['times'] }}
+
\ No newline at end of file