-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathproject.html
More file actions
88 lines (81 loc) · 3.45 KB
/
Copy pathproject.html
File metadata and controls
88 lines (81 loc) · 3.45 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>View Project</title>
<link rel="icon" href="assets/images/favicon.png">
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="assets/css//bootstrap.min.css">
<link rel="stylesheet" href="assets/css/style.css">
<link rel="stylesheet" href="assets/css/project.css">
</head>
<body>
<header>
<h1><a href="index.html">projectPulse</a></h1>
</header>
<main>
<p id="emptyDiv">There is no project to display</p>
<div id="projectDiv" class="d-none">
<h2 id="name"></h2>
<p id="description"></p>
<div id="taskList">
<p>(No tasks yet)</p>
</div>
<div id="buttonGroup">
<button id="addTask" class="btn btn-success">Add Task</button>
<button id="deleteProject" class="btn btn-danger">Delete Project</button>
</div>
</div>
<button id="createTestProject" class="d-none">Create Project (Debug)</button>
</main>
<div id="addTaskModal" class="modal" tabindex="-1" role="dialog">
<div class="modal-dialog" role="document">
<div class="modal-content">
<form>
<div class="modal-header">
<h5 class="modal-title">Add Task</h5>
</div>
<div class="modal-body">
<label for="name">Enter a name for the new task</label><br/>
<input id="taskName" type="text" placeholder="Task name" />
<p id="errorText" class="d-none">Please enter a value</p>
</div>
<div class="modal-footer">
<button id="confirm" type="submit" class="btn btn-primary">Create Task</button>
<button id="cancel" type="button" class="btn btn-secondary" data-dismiss="modal">Cancel</button>
</div>
</form>
</div>
</div>
</div>
<div id="deleteConfirmModal" class="modal" tabindex="-1" role="dialog">
<div class="modal-dialog" role="document">
<div class="modal-content">
<form>
<div class="modal-header">
<h5 class="modal-title">Delete Project</h5>
</div>
<div class="modal-body">
<div class="alert alert-danger">
<p>This will permanently delete the project. This action cannot be undone!</p>
<p>Are you sure you want to do this?</p>
</div>
</div>
<div class="modal-footer">
<button id="confirmDeletion" type="button" class="btn btn-danger">Delete Project</button>
<button id="cancelDeletion" type="button" class="btn btn-secondary" data-dismiss="modal">Cancel</button>
</div>
</form>
</div>
</div>
</div>
<footer>
<h6>Created by the Lucky13's</h6>
</footer>
<!-- Bootstrap Javascript -->
<script src="assets/js/bootstrap.min.js"></script>
<script src="assets/js/logic.js"></script>
<script src="assets/js/project.js"></script>
</body>
</html>