summaryrefslogtreecommitdiff
path: root/templates/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/index.html')
-rw-r--r--templates/index.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/index.html b/templates/index.html
index c5edd1f..ad48dc1 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -2,7 +2,7 @@
<html>
<head>
<title>高中风险地区表格压缩器</title>
- <link rel="stylesheet" href="/static/index.css"
+ <link rel="stylesheet" href="{{ path }}/static/index.css"
</head>
<body>
<h1>高中风险地区表格压缩器</h1>
@@ -15,7 +15,7 @@
</ul>
{% endif %}
{% endwith %}
- <form method="post" action="/" enctype="multipart/form-data">
+ <form method="post" action="{{ path }}" enctype="multipart/form-data">
<input
name="file"
type="file"
@@ -27,7 +27,7 @@
<summary>点击查看使用说明</summary>
<h3>表格格式</h3>
<figure>
- <img src="/static/sheet.png" />
+ <img src="{{ path }}/static/sheet.png" />
</figure>
<p>
图中高亮部分是压缩器会读取的数据,其他部分将会被忽略,但是黄色部分不能删除。