-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathrecent_pastes_v2.html
104 lines (96 loc) · 3.27 KB
/
recent_pastes_v2.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
<!-- aaron elcheson: 261047851 -> RECENT PASTES PAGE: responsive layout for recent pastes, displayed in a table and populated from the database-->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Aesbin Recent Pastes</title>
<link rel="stylesheet" href="./animation.css" />
<link rel="stylesheet" href="./recent_pastes_styles.css" />
<script src="common.js"></script>
</head>
<body>
<header class="navbar">
<div class="logo">
<img src="./logo.PNG" alt="Logo" />
</div>
<nav>
<ul class="nav-links">
<li><a href="./index.html">Home</a></li>
<li><a href="./about.html">About</a></li>
<li><a href="./recent_pastes_v2.html">Recent</a></li>
<li><a href="./login.php" id="login-button">Login</a></li>
<li><a href="./dashboard.html">Dashboard</a></li>
<li>
<a
href="./logout.php"
id="logout-button"
style="cursor: pointer; font-weight: bold"
>Logout</a
>
</li>
</ul>
</nav>
</header>
<!-- ############################################### MAIN TABLE AND BODY CONTENT BEGIN ####################################################-->
<main class="main-content">
<div class="paste-search-area">
<div class="paste-search-buttons">
<button class="paste-button active">Recent</button>
<!-- buttons for populating the table with pastes - recent, popular, or random (can remove any as needed)-->
<button class="paste-button">Popular</button>
<button class="paste-button">Oldest</button>
</div>
<div class="paste-search-bar">
<input type="text" placeholder="Paste search..." />
<!-- user can search for a paste here -->
<button>Search</button>
</div>
</div>
<div class="table-container">
<table>
<thead>
<tr>
<th>Posted date</th>
<th>Id</th>
<th>Content</th>
<th>Visits</th>
</tr>
</thead>
<tbody>
<tr>
<td>2024-12-15</td>
<td>1</td>
<td>Sample Content</td>
<td>0</td>
</tr>
<tr>
<td>2024-12-13</td>
<td>2</td>
<td>Sample Content</td>
<td>1</td>
</tr>
<tr>
<td>2024-12-12</td>
<td>3</td>
<td>Sample Content</td>
<td>1</td>
</tr>
</tbody>
</table>
</div>
<div class="page-buttons">
<button id="prevPage" class="page-button" disabled>Previous</button>
<span id="pageNumber">Page 1</span>
<button id="nextPage" class="page-button">Next</button>
</div>
</main>
<footer
class="footer"
style="font-family: 'Courier New', Courier, monospace; font-weight: bold"
>
AESbin 2024
</footer>
<script src="recent_script.js"></script>
</body>
</html>