-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
98 lines (90 loc) · 4.15 KB
/
index.html
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
<!DOCTYPE html>
<html lang="en">
<head>
<title>Goal Tracker</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="shortcut icon" href="gt.ico" />
<link rel="stylesheet" href="css/bootstrap.css">
<link rel="stylesheet" href="css/style.css">
<!-- Template for jquery Template Loader -->
<script type="text/html" id="rowID">
<tr>
<td><input type="checkbox" class="test" name="select" value=""></td>
<td data-content="name"></td>
<td data-content="type"></td>
<td data-content="deadline"></td>
</tr>
</script>
</head>
<body>
<header class="container">
<nav class="navbar navbar-default">
<div class="container-fluid">
<div class="navbar-header">
<a class="navbar-brand" href="#">GoalTacker</a>
</div>
</nav>
</header>
<section class="container">
<div class="row">
<form>
<div class="col-md-3">
<input type="text" id="nameData" class="form-control" name="name" placeholder="Goal Name">
</div>
<div class="col-md-3">
<select class="form-control" id="typeData" >
<option selected>Choose Type</option>
<option>Type 1</option>
<option>Type 2</option>
<option>Type 3</option>
<option>Type 4</option>
</select>
</div>
<div class="col-md-3">
<input type="text" class="form-control" placeholder="DD/MM/YYYY" id="datepicker">
</div>
</form>
<div class="col-md-3">
<button class="btn btn-primary" id="submitBtn" type="button" name="button" onclick="addGoal()">Add Goal</button>
<button class="btn btn-danger" type="button" name="button" onclick="deleteGoal()">Delete</button>
</div>
</div>
<div class="row">
<div class="col-md-12">
<table class="table" id="goalTable">
<thead>
<tr>
<th>Select</th>
<th>Name</th>
<th>Type</th>
<th>Deadline</th>
</tr>
</thead>
<tbody id="placeholderID">
<!-- <tr>
<td><input class="test" type="checkbox" name="select" value=""></td>
<td>Doe</td>
<td>Type 1</td>
<td>21/12/2016</td>
</tr>
<tr>
<td><input type="checkbox" class="test" name="select" value=""></td>
<td>Arjun</td>
<td>Type 4</td>
<td>13/11/2016</td>
</tr> -->
</tbody>
</table>
</div>
</div>
</section>
<script src="js/jquery-3.1.0.min.js"></script>
<!-- Datepicker framework for using datepicker -->
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datepicker/1.6.4/js/bootstrap-datepicker.js"></script>
<!-- <script src="js/bootstrap-datepicker.js"></script> -->
<!-- jquery loadTemplate framework for loading templating -->
<script src="js/jquery.loadTemplate.js" charset="utf-8"></script>
<script src="js/script.js" charset="utf-8"></script>
</body>
</html>