-
Notifications
You must be signed in to change notification settings - Fork 0
/
list-documents.php
192 lines (182 loc) · 8.24 KB
/
list-documents.php
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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
<?php
session_start();
include "db_conn.php";
if (isset($_SESSION['sno']) && isset($_SESSION['user_id']))
?>
<!DOCTYPE html>
<html>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<link rel="icon" href="images\logo.jpg" type="image/icon type">
<title>DRM - List Documents</title>
<!-- Head Section -->
<head>
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.8.1/css/all.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/x-icon" href="/images/favicon.ico">
<link rel="stylesheet" href="styles\list-documents.css">
</head>
<!-- Body Section -->
<body>
<script src="script\list-documents.js"></script>
<div class="main">
<div class="section">
<!-- Top Nav Bar Section -->
<div class="navbar">
<div class="hamburger">
<i class="fas fa-bars"></i>
</div>
<h1 class="navbar-heading">List of Documents
<a href="login.php"><button class="logout-btn" name="button" type="button">Logout</button></a>
</h1>
</div>
<!-- Actual Body Container -->
<div class="main-body-container">
<div class="add-btn"><a href="add-document.php" type="button">Add Member</a></div>
<table class="table">
<tr>
<th>Sl No.</th>
<th>Document ID</th>
<th>Document Name</th>
<th>Project</th>
<th>Department</th>
<th>Update</th>
<th>Delete</th>
<th>Download</th>
</tr>
<tr>
<td>1</td>
<td>1234</td>
<td>STR</td>
<td>ABM</td>
<td>DSQA</td>
<td class="update-btn"><a href="update-document.php"><button>Update</button></a></td>
<td class="del-btn"><a href=""><button>Delete</button></a></td>
<td class="dwnld-btn"><a href=""><button>Download</button></a></td>
</tr>
<tr>
<td>2</td>
<td>3412</td>
<td>STD</td>
<td>ABM</td>
<td>DSQA</td>
<td class="update-btn"><a href="update-document.php"><button>Update</button></a></td>
<td class="del-btn"><a href=""><button>Delete</button></a></td>
<td class="dwnld-btn"><a href=""><button>Download</button></a></td>
</tr>
<tr>
<td>3</td>
<td>2341</td>
<td>SRS</td>
<td>ABM</td>
<td>DSQA</td>
<td class="update-btn"><a href="update-document.php"><button>Update</button></a></td>
<td class="del-btn"><a href=""><button>Delete</button></a></td>
<td class="dwnld-btn"><a href=""><button>Download</button></a></td>
</tr>
<tr>
<td>4</td>
<td>2143</td>
<td>SDD</td>
<td>ABM</td>
<td>DSQA</td>
<td class="update-btn"><a href="update-document.php"><button>Update</button></a></td>
<td class="del-btn"><a href=""><button>Delete</button></a></td>
<td class="dwnld-btn"><a href=""><button>Download</button></a></td>
</tr>
<tr>
<td>5</td>
<td>1324</td>
<td>STR</td>
<td>ABM</td>
<td>DSQA</td>
<td class="update-btn"><a href="update-document.php"><button>Update</button></a></td>
<td class="del-btn"><a href=""><button>Delete</button></a></td>
<td class="dwnld-btn"><a href=""><button>Download</button></a></td>
</tr>
<tr>
<td>6</td>
<td>4231</td>
<td>STD</td>
<td>ABM</td>
<td>DSQA</td>
<td class="update-btn"><a href="update-document.php"><button>Update</button></a></td>
<td class="del-btn"><a href=""><button>Delete</button></a></td>
<td class="dwnld-btn"><a href=""><button>Download</button></a></td>
</tr>
<tr>
<td>7</td>
<td>4321</td>
<td>SRS</td>
<td>ABM</td>
<td>DSQA</td>
<td class="update-btn"><a href="update-document.php"><button>Update</button></a></td>
<td class="del-btn"><a href=""><button>Delete</button></a></td>
<td class="dwnld-btn"><a href=""><button>Download</button></a></td>
</tr>
</table>
<div class="pagination">
<a href="#" class="page-num">«</a>
<a href="#" class="page-num">1</a>
<a href="#" class="page-num">2</a>
<a href="#" class="page-num">3</a>
<a href="#" class="page-num">4</a>
<a href="#" class="page-num">»</a>
</div>
</div>
</div>
<!-- Side Bar Section -->
<div class="sidebar">
<div class="profile">
<img src="images\dpp.jpg" alt="profile_picture">
<h3><?php $emptySpace = " "; echo $_SESSION['fname'] . $emptySpace . $_SESSION['lname']; ?></h3>
<p>Technology Head</p>
</div>
<ul>
<li>
<a href="dashboard.php?<?php echo time(); ?>">
<span class="icon"><i class="fas fa-home"></i></span>
<span class="item">Dashboard</span>
</a>
</li>
<li>
<a href="list-members.php?<?php echo time(); ?>">
<span class="icon"><i class="fas fa-users"></i></span>
<span class="item">List of Members</span>
</a>
</li>
<li>
<a href="list-documents.php?<?php echo time(); ?>" class="active">
<span class="icon"><i class="fas fa-list-ol"></i></span>
<span class="item">List of Documents</span>
</a>
</li>
<li>
<a href="doc-assign.php?<?php echo time(); ?>">
<span class="icon"><i class="fas fa-file-signature"></i></span>
<span class="item">Assign to members</span>
</a>
</li>
<li>
<a href="view-review-pts.php?<?php echo time(); ?>">
<span class="icon"><i class="fas fa-solid fa-file-lines"></i></span>
<span class="item">View Review Points</span>
</a>
</li>
<li>
<a href="report-gen.php?<?php echo time(); ?>">
<span class="icon"><i class="fas fa-duotone fa-chart-simple"></i></span>
<span class="item">Report Generation</span>
</a>
</li>
</ul>
</div>
</div>
<script>
var hamburger = document.querySelector(".hamburger");
hamburger.addEventListener("click", function () {
document.querySelector("body").classList.toggle("active");
})
</script>
</body>
</html>