home.pug 1.2 KB
doctype html
html
	head
		meta(charset='utf-8')
		title 분류 리스트
		
		
		
	body
		form(action="../directory_check" method="post")
			p 새로 만들 분류명:
			input(name="directoryName", type="text")
			input(type="submit", value="생성")
		br
		br
		
		form(action="../test" method="post" enctype="multipart/form-data")
			p 테스트할 이미지:
			input(name="TestImage", type="file", accept=".jpg, .jpeg")
			input(type="submit", value="테스트")
		br
		br
		br
		
		div(style="margin-right:10px; float:left;")
			form(action="../imageLearning" method="get")
				input(type="submit", value="이미지 학습시키기" style="font-size:24px; font-weight:bold")
		
		- var learnTime=learntime
		div(style="margin-right:30px;")
			p="(최근 학습 시간: " + learnTime + ")"
			
		br
		
		ul
			- var folderList=fileList
			each folder in folderList
				div(style="margin-right:30px; float:left;")
					li 
						a(href="./"+folder+"/")=folder
						
				div(style="margin-right:5px; float:left;")
					form(action="./"+folder+"/modify/" method="get")
						input(type="submit", value="수정")
						
				div
					form(action="./"+folder+"/delete/" method="get")
						input(type="submit", value="삭제")
				br