-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
96 lines (94 loc) · 3.75 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
<!DOCTYPE html>
<html>
<head>
<title>Task Manager </title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="css/styles.css">
</head>
<body ng-app="appTaskManager">
<header>
<h1><span>Add some title here</span></h1>
<div class="new-task-note">
A few lines for description goes here.... Click on the button here...
<button class="btn btn-add-new-task">Add new task</button>
</div>
</header>
<div ng-controller="ctrl_task" class="container content-wrapper">
<div class="sort-wrapper">
<label>Sort by: </label>
<select ng-model="selectedOrder" ng-options="option for option in sort_options"></select>
</div>
<div class="filter-wrapper">
<label>Filter by:</label>
<select ng-model="filterOption" ng-options="option for option in filter_options"></select>
</div>
<ul class="task-list row">
<li ng-repeat="item in task | orderBy:selectedOrder | filter:filterOption " class="col-md-4 col-sm-6 cols-xs-12">
<div>
<div class="task-header">
<h2><!--{{$index + 001}}:--> {{item.title}}</h2>
<p class="task-action-date">Created on: {{item.created_at |date :'fullDate'}} |
<span ng-if="item.task_priority">Priority: {{item.task_priority}}</span></p>
</div>
<div class="task-body">
<div class="section">
Description:
<p>{{item.description}}</p>
</div>
<!-- <div class="section" ng-if="documents.file_name">
Attachments :
<ul class="documents-list" >
<li ng-repeat="documents in item.Documents"><a href="{{documents.file_path}}" download>{{documents.file_name}}</a></li>
</ul>
</div> -->
</div>
</div>
<p class="links-wrapper">
<a href="javascript:void(0);" class="edit">Edit</a>
<a href="javascript:void(0);" class="delete">Delete</a>
<a href="javascript:void(0);" class="read-more">Read more...</a>
</p>
</li>
</ul>
<div class="pop-up new-task-form">
<span class="glyphicon glyphicon-remove pop-up-close"></span>
<form enctype="multipart/form-data">
<div class="task-intro-wrapper">
<h2>Task details</h2>
<div class="form-group">
<input type="text" class="form-control" id="txt_task_name" placeholder="Task Name" name="task_name" ng-model="title" />
</div>
<div class="form-group">
<textarea class="form-control" id="txt_taskdescription" placeholder="Description" ng-model="description"></textarea>
</div>
<div class="form-group">
<select id="task_priority" name="task_priority" ng-model="task_priority" ng-options="option for option in filter_options"></select>
</div>
</div>
<h2>Documents</h2>
<div class="form-inline doc-upload-wrapper">
<div class="form-group">
<input type="file" class="form-control" id="document_id" placeholder="Document Name" name="name" accept="file_extension"/>
</div>
<button type="submit" class="btn btn-default btn-attach-other">Attach another file</button>
<button type="submit" class="btn btn-default btn-attach-other">Upload from Google Drive</button>
</div>
<div class="btn-wrapper">
<button type="submit" class="btn btn-default btn-submit-task" ng-click="add()">Add task to my list</button>
</div>
</form>
</div>
<div class="pop-up task-details-popup">
<span class="glyphicon glyphicon-remove pop-up-close"></span>
<div class="popup-content">
</div>
</div>
<div class="overlay"></div>
</div>
<script type="text/javascript" src="js/jquery.min.js"></script>
<script type="text/javascript" src="js/angular.min.js"></script>
<script type="text/javascript" src="js/script.js"></script>
</body>
</html>