-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathworklog.html.bak
39 lines (39 loc) · 1.33 KB
/
worklog.html.bak
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf8">
<title>工作日志写入页</title>
</head>
<body bgcolor="#ccc">
<form name="worklog" method="post" action="worklogDo.php" style="margin:5px 500px;">
<h1>写日志</h1>
<!-- 日志号:<input type="text" name="work_log_id"/><br/>
项目号:
<select id="project_id">
<?php
$sql = "select project_id,project_name from projects ";
$res=$conn->query($sql);
$arr=$res->fetch_assoc();
while($row=$arr)
{
?>
<option value="<?=$row["project_id"]?>"><?=$row["project_name"]?></option>
<?
}
?>
</select>
任务:<input type="text" name="task_name"/><br/>
耗时(h):<input type="number" name="cost_hours"/><br/>
开始时间 <input type="datetime-local" name="start_time"/><br/>
结束时间 <input type="datetime-local" name="end_time"/><br/>
质量相关性:
<select id="is_quality"">
<option value=0>质量无关</option>
<option value=1>质量相关</option>
</select>
备注:<textarea cols=30 rows=5 name="description"></textarea><br/><br/> -->
<input type="submit" value="保存"/>
</form>
</body>
</html>