-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathresources.html
More file actions
108 lines (103 loc) · 4.4 KB
/
Copy pathresources.html
File metadata and controls
108 lines (103 loc) · 4.4 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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Scholarly - Study Resources</title>
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="resources.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css">
<script src="auth_check.js" defer></script>
</head>
<body>
<header>
<div class="header-left">
<img id="school-logo" src="" alt="School Logo" class="school-logo" style="display:none;">
<span id="school-name" class="school-name"></span>
</div>
<h1 class="center-title">Study Resources Hub</h1>
<div class="header-right">
<span id="user-name" class="user-name"></span>
<span id="user-role" class="user-role"></span>
</div>
</header>
<nav id="navbar" class="navbar horizontal-navbar">
<ul class="navbar-nav">
<li class="nav-item">
<a href="student_dashboard.html" class="nav-link">
<i class="fas fa-tasks"></i>
<span class="link-text">Dashboard</span>
</a>
</li>
<li class="nav-item">
<a href="chat.html" class="nav-link">
<i class="fas fa-robot"></i>
<span class="link-text">AI Buddy</span>
</a>
</li>
<li class="nav-item">
<a href="resources.html" class="nav-link active"> <i class="fas fa-book"></i>
<span class="link-text">Resources</span>
</a>
</li>
<li class="nav-item">
<a href="notemaking.html" class="nav-link">
<i class="fas fa-book"></i>
<span class="link-text">Notes</span>
</a>
</li>
<li class="nav-item">
<a href="knowledge_map_page.html" class="nav-link">
<i class="fas fa-map"></i>
<span class="link-text">Knowledge Map</span>
</a>
</li>
<li class="nav-item">
<a href="#" class="nav-link logout-link" id="logout-btn">
<i class="fas fa-sign-out-alt"></i>
<span class="link-text">Logout</span>
</a>
</li>
</ul>
</nav>
<div class="content-wrapper">
<div class="container">
<main>
<section id="resource-upload-section" class="resource-section" style="display: none;">
<h2><i class="fas fa-upload"></i> Upload New Resource</h2>
<form id="resource-upload-form">
<div>
<label for="resource-title">Title:</label>
<input type="text" id="resource-title" name="title" required>
</div>
<div>
<label for="resource-url">URL:</label>
<input type="url" id="resource-url" name="url" required>
</div>
<div>
<label for="resource-type">Type:</label>
<select id="resource-type" name="type" required>
<option value="link">Link</option>
<option value="pdf">PDF</option>
<option value="video">Video</option>
</option>
</div>
<button type="submit">Upload Resource</button>
</form>
</section>
<section class="resource-section">
<h2><i class="fas fa-book"></i> School Resources</h2>
<div class="resource-search">
<input type="text" id="resource-search-input" placeholder="Search resources by title...">
<button id="search-resources-btn">Search</button>
</div>
<div id="resource-list" class="resource-grid">
<p>Loading resources...</p>
</div>
</section>
</main>
</div>
</div>
<script src="resources.js"></script>
</body>
</html>