-
Notifications
You must be signed in to change notification settings - Fork 0
/
addtask.hbs
39 lines (34 loc) · 1.46 KB
/
addtask.hbs
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>
<html style="height:100%">
<head>
<script src="http://code.jquery.com/jquery-1.11.0.min.js"></script>
<script src="http://code.jquery.com/jquery-migrate-1.2.1.min.js"></script>
<link type = "text/css" rel = "stylesheet" href = "css/bootstrap.css" />
<ul class = "nav nav-pills">
<li style = "width: 25%;"><a href="#" id = Home data-toggle = "tab">Home</a></li>
<li class="active" style = "width: 25%;"><a href="#" id = AddTask data-toggle = "tab">Add Task</a></li>
</ul>
<script>
$(document).on("click", "#Home", function(){
window.location = '/';
});
$(document).on("click", "#AddTask", function(){
window.location = '/addtask';
});
</script>
<title>Team Tardis</title>
</head>
<body style="font-family:'Calibri'; text-align: center; height:100%">
<form class = "navbar-form" style= "text-align: center" name="input" action="/" method="get">
<h1>Add Task </h1>
<p> Please add your new task <br/></p>
<div class="form-group">
<input type="text" class="form-control" name="task" placeholder = "Task Name" ><br><br>
<input type="text" class="form-control" name="des" placeholder = "Task Description"><br><br>
<input type="text" class="form-control" name="due" placeholder = "Due Date"><br><br>
<input type="text" class="form-control" name="loc" placeholder = "Location"><br><br>
<button type="submit" class="btn btn-default" value="Done">Submit</button>
</div>
</form>
</body>
</html>