增加演示页面ui

This commit is contained in:
shuzheng 2017-05-15 21:12:55 +08:00
parent e73c755641
commit 7a0b84f874
1 changed files with 19 additions and 0 deletions

View File

@ -0,0 +1,19 @@
<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org" xmlns:sec="http://www.thymeleaf.org/thymeleaf-extras-springsecurity3">
<head>
<meta charset="UTF-8"/>
<title>zheng-oss-web AliyunOSS demo</title>
</head>
<body>
<form action="http://shuzheng.oss-cn-shanghai.aliyuncs.com" method="post" enctype="multipart/form-data">
<p>key : <input type="text" name="key" th:value="${policy.dir + '/${filename}'}"/></p>
<p>policy : <input type="text" name="policy" th:value="${policy.policy}"/></p>
<p>OSSAccessKeyId : <input type="text" name="OSSAccessKeyId" th:value="${policy.OSSAccessKeyId}"/></p>
<p>success_action_status : <input type="text" name="success_action_status" value="200"/></p>
<p>callback : <input type="text" name="callback" th:value="${policy.callback}"/></p>
<p>signature : <input type="text" name="signature" th:value="${policy.signature}"/></p>
<p>file : <input type="file" name="file"/></p>
<p><input type="submit" value="上传"/></p>
</form>
</body>
</html>