forked from dabelt-msft/tiqtok.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
115 lines (105 loc) · 5.48 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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
<!DOCTYPE html>
<html>
<head>
<title>ToDo App</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous">
<link rel="stylesheet" type="text/css" href="css/todo.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.2/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js" integrity="sha384-0mSbJDEHialfmuBBQP6A4Qrprq5OVfW37PRR3j5ELqxss1yVqOtnepnHVP9aJ7xS" crossorigin="anonymous"></script>
<script src="https://use.fontawesome.com/f511a3595c.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/toastr.js/latest/js/toastr.js"></script>
<link href="https://cdnjs.cloudflare.com/ajax/libs/toastr.js/latest/css/toastr.css" rel="stylesheet"/>
<script src="js/jquery-ui.js" type="text/javascript"></script>
</head>
<body>
<div class="container">
<!-- <button type="button" class ="btn btn-info" id="show-button">Show Form</button> -->
<!-- MODAL START -->
<button type="button" class="btn btn-primary" data-toggle="modal" data-target="#todoModal" data-whatever="user name" id='add-item-button'>Add Item</button>
<div class="modal fade" id="todoModal" tabindex="-1" role="dialog" aria-labelledby="todoModalLabel">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
<h4 class="modal-title" id="todoModalLabel">New message</h4>
</div>
<div class="modal-body">
<div class="row">
<div id ="form-wrapper">
<div class="col-xs-12">
<form id="form">
<fieldset class="form-group">
<label for="title-input" >Title</label>
<input type="text" class="form-control" id="title-input">
</fieldset>
<fieldset class="form-group">
<label for="description-input">Description</label>
<textarea class="form-control" id="description-input" rows="3"></textarea>
</fieldset>
<fieldset class="form-group">
<label for="time-input">Estimated Hours</label>
<input type="text" class="form-control" id="time-input">
</fieldset>
<fieldset class="form-group">
<label for="priority-input">Priority</label>
<select class="form-control" id="priority-input">
<option>1</option>
<option>2</option>
<option>3</option>
<option>4</option>
<option>6</option>
<option>7</option>
<option>8</option>
<option>9</option>
<option>10</option>
</select>
</fieldset>
</form>
<div style="float:right">
<!-- <button type="button" class ="btn btn-info" id="hide-button">Hide Form</button> -->
</div>
</div>
</div>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
<button type="submit" class="btn btn-primary" id="submit-button">Submit</button>
</div>
</div>
</div>
</div>
<!-- Modal End -->
<div class="row top-buffer">
<div class="col-sm-4" id="toDo">
<h3 class="panel-title bottom-buffer"> To Do </h3>
<ul id="pending-panel-list" class="list-unstyled connected-sortable">
</ul>
</div>
<div class = "col-sm-4 panel" id="inProgress">
<h3 class ="panel-title bottom-buffer"> In Progress </h3>
<ul id="in-progress-panel-list" class="list-unstyled connected-sortable">
</ul>
</div>
<div class = "col-sm-4 panel" id="completed">
<h3 class="panel-title bottom-buffer"> Completed </h3>
<ul id="completed-panel-list" class="list-unstyled connected-sortable">
</ul>
</div>
</div>
</div>
<script src="js/app.js"></script>
<script type="text/template" id="todo-item-template">
<li class="panel panel-info" id="todo-item">
<div class="panel-heading todo-title">
<button type="button" class ="fa fa-trash-o delete-button"></button>
<button type="button" class ="fa fa fa-pencil edit-button"></button>
</div>
<div class="panel-body todo-description"> Description here
</div>
</li>
</script>
<script>
</script>
</body>
</html>