mirror of
https://github.com/suhf/No1WMSPython.git
synced 2026-02-04 12:13:27 +09:00
flask 트리 구성
url 셋팅 및 테스트
This commit is contained in:
16
templates/form.html
Normal file
16
templates/form.html
Normal file
@@ -0,0 +1,16 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<body>
|
||||
|
||||
<h2>WMS</h2>
|
||||
|
||||
<form action="/method" method="POST">
|
||||
<label for="fname">사번:</label><br>
|
||||
<input type="text" id="fname" name="num"><br>
|
||||
<label for="lname">이름:</label><br>
|
||||
<input type="text" id="lname" name="name"><br><br>
|
||||
<input type="submit" value="확인">
|
||||
</form>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
1
templates/hello.html
Normal file
1
templates/hello.html
Normal file
@@ -0,0 +1 @@
|
||||
hello no1
|
||||
13
templates/myimage.html
Normal file
13
templates/myimage.html
Normal file
@@ -0,0 +1,13 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<body>
|
||||
|
||||
<h2>도라에몽</h2>
|
||||
<a href="/hellos/도라에몽">
|
||||
<img src="static/img/dora.png">
|
||||
</a>
|
||||
<a href={{ url_for('hellos', name='도라에몽') }}>
|
||||
<img src={{ url_for('static', filename='img/dora.png') }}>
|
||||
</a>
|
||||
</body>
|
||||
</html>
|
||||
8
templates/naver.html
Normal file
8
templates/naver.html
Normal file
@@ -0,0 +1,8 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<body>
|
||||
<script>
|
||||
location.href="https://www.naver.com/";
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user