Fix Link bug: Replace <a> with <Link> and add more demo page(dl.html)
This commit is contained in:
parent
69d83ea493
commit
ce646ffc20
4 changed files with 50 additions and 17 deletions
28
public/tmpl/dl.html
Normal file
28
public/tmpl/dl.html
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Test Download DOCX a</title>
|
||||
</head>
|
||||
<body>
|
||||
<h2 className="font-semibold text-blue-600 mb-2">A a Get</h2>
|
||||
<a href="/docedit/api/template/download-docx?tid=T_X&fid=T_no_warning&uid=john&uname=John%20Doe">T_no_warning_john_xxx.docx</a><br/>
|
||||
<a href="/docedit/api/template/download-docx?tid=T_X&fid=TF_no_warning_P2&uid=john&uname=John%20Doe">TF_no_warning_P2_john_xxx.docx</a><br/>
|
||||
<a href="/docedit/api/template/download-docx?tid=T_X&fid=TS_P2_IN&uid=john&uname=John%20Doe">TS_P2_IN_john_xxx.docx</a><br/>
|
||||
|
||||
<a href="/docedit/api/template/download-docx?tid=T12_X&fid=T12_b2_IN&uid=john&uname=John%20Doe">T12_b2_IN_john_xxx.docx</a><br/>
|
||||
<a href="/docedit/api/template/download-docx?tid=T12_X&fid=T12_FD155_3s-long&uid=john&uname=John%20Doe">T12_FD155_3s-long_john_xxx.docx</a><br/>
|
||||
|
||||
<h2 className="font-semibold text-blue-600 mb-2">Template & Data</h2>
|
||||
Template: <a href="../tmpl/T_X.docx">T_X.docx</a>,
|
||||
<a href="/docedit/tmpl/T12_X.docx">T12_X.docx</a><br/>
|
||||
Data: <a href="/docedit/tmpl/TF_no_warning_P2.json">TF_no_warning_P2.json</a>,
|
||||
<a href="/docedit/tmpl/T_no_warning.json">T_no_warning.json</a>,
|
||||
<a href="/docedit/tmpl/TS_P2_IN.json">TS_P2_IN.json</a><br/>
|
||||
<a href="/docedit/tmpl/T12_b2_IN.json">T12_b2_IN.json</a>,
|
||||
<a href="/docedit/tmpl/T12_FD155_3s-long.json">T12_FD155_3s-long.json</a>
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue