forked from AIT-Website/aitpune
-
Notifications
You must be signed in to change notification settings - Fork 0
/
IIC_DOWNLOAD.html
300 lines (262 loc) · 14 KB
/
IIC_DOWNLOAD.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
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
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,200;1,300;1,400;1,500;1,600;1,700&display=swap" rel="stylesheet">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,200;1,300;1,400;1,500;1,600;1,700&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<link rel="stylesheet" href="IT.css">
</head>
<body>
<div style="position: fixed; width: 100%; z-index: 10;">
<div class="topper">
<div>
<ul class="header_items">
<a href="ABOUT_US.html">About Us</a>
<a href="Alumini.html">Alumini</a>
<a href="PLACEMENT_T&P.html">Placements</a>
<a href="CLUBS.html">Clubs</a>
<a href="ADMIN_AIT.html">Admin</a>
</ul>
</div>
</div>
<div class="header" id="header">
<div class="head">
<a href="index.html"><img src="AIT LOGO.png" alt="logo ait" style="width: 60px;"></a>
<a href="index.html" style="text-decoration: none ; color: #0C2695;"><p>Army Institute of Technology, Pune</p></a>
</div>
<div style="display: flex;" class="side">
<nav id="navele" class="navele">
<a href="ABOUT_US.html">About Us</a>
<a href="Admission1.html">Admissions</a>
<a href="ResearchDean.html">Research</a>
<a href="student.html">Students</a>
<a href="ADMIN_AIT.html">Admin</a>
<img src="awes.jpg" alt="" id="always" style="height: 50px; margin-bottom: 15px;" >
</nav>
</div>
<div class="hamburger" onclick="menuView()">
<div id = "hamburger">
<img src="./img/icons/cancel.svg" alt="cancel">
<img src="./img/icons/ham.svg" alt="ham">
</div>
</div>
</div>
</div>
<div class="empty" style="height: 120px;width: 100%;"></div>
<div class="header3">
<div class="show">
<p class="a">Information Technology</p>
<p class="b"> "Empowering Campus Innovation Through Technology." </p>
<p class="c"> <a href="#main">Explore</a> </p>
</div>
</div>
<div class="about_us">
<div class="main_content">
<h2 class="ab" style="text-align: left;">About</h2>
<p class="about_vision">Vision</p>
<p class="about_content">We strive to empower the students with knowledge of all basic engineering and applied science subjects and to provide avenues for development of their physical, intellectual, emotional and spiritual quotients.</p>
<p class="about_mission">Mission</p>
<div class="about_list">
<ul>
<li>To provide a stimulating learning environment and state of the art infrastructure with the aim of providing a sound foundation to their engineering studies.</li>
<li>To develop creative thinking and inculcate a habit of lifelong learning in students.</li>
<li>To encourage the faculty to acquire latest technical knowledge and pedagogical techniques.</li>
<li>To strive for a holistic personality development of students.</li>
</ul>
</div>
</div>
<div class="about_image">
<img src="Rectangle 61.png">
</div>
</div>
<div id="box_hide" onclick="change_view()"></div>
<div class="main" id="main">
<section class="jd_table">
<ul>
<a href="IT_HOD_DESk.html" class="fetchLink" data-elementid="hod_content" style="border-top: none;">HOD's Desk</a>
<a href="Departments/IT/IT_FACULTY&STAFF.html" class="fetchLink" data-elementid="faculty_asge">Faculty & staff</a>
<a href="Departments/IT/IT_Roll.html" class="fetchLink" data-elementid="student_roll">Student roll</a>
<a href="Departments/IT/IT_TIMETABLE.html" class="fetchLink" data-elementid="timetable">Timetable</a>
<a href="Departments/IT/IT_EXAM.html" class="fetchLink" data-elementid="exam_section">Exam schedule</a>
<a href="Departments/IT/IT_RESULT.html" class="fetchLink" data-elementid="result_asge">Result</a>
<a href="Departments/IT/IT_ACTIVITIES.html" class="fetchLink" data-elementid="activity_content">Activities</a>
<a href="Departments/IT/IT_NOTICES.html" class="fetchLink" data-elementid="Notices">Notices</a>
<a href="Departments/IT/IT_SYLLABUS.html" class="fetchLink" data-elementid="asge_syllabus">Syllabus</a>
<a href="Departments/IT/IT_RESEARCH.html" class="fetchLink" data-elementid="RandD">Research & development</a>
<a href="Departments/IT/IT_PROJECT.html" class="fetchLink" data-elementid="project">Projects</a>
<a href="Departments/IT/IT_INDUSTRY.html" class="fetchLink" data-elementid="RandD">Industry institute interaction</a>
<a href="Departments/IT/IT_LAB.html" class="fetchLink" data-elementid="lab-section">Laboratories</a>
<a href="Departments/IT/IT_PLACEMENT.html" class="fetchLink" data-elementid="timetable">Placement record</a>
<a href="Departments/IT/IT_MAGZINE.html" class="fetchLink" data-elementid="timetable">E-Magazine</a>
</ul>
</section>
<div id="mainContent">
<div id="student_roll">
<h2 class="head_ok">Downloads</h2>
<div class="project_more">
<div class="project_link" style="margin-top: 0.2rem;">
<img src="vector 2.png" alt="">
<a href="https://iic.mic.gov.in/assets/html/index.html" target="_blank">IIC Guidelines</a>
</div>
<div class="project_link" style="margin-top: 0.2rem;">
<img src="vector 2.png" alt="">
<a href="https://aitpuneedu-my.sharepoint.com/:f:/g/personal/jyoti_aitpune_edu_in/EgxjPNQtXRpJgcuqLrqIUAcByrJztelJp4KAiHHUIXUf8g?e=hfCaN5" target="_blank">Publicity with Photos</a>
</div>
</div>
<div class="ariia1">
<div class="ariia_link">
<div class="ariia_img">
<img src="https://firebasestorage.googleapis.com/v0/b/ait-website-81159.appspot.com/o/AIT-ARIIA%2Fiic%203%20dec%2021%20cert.jpg?alt=media&token=5162ffa4-b8ad-4456-8540-0283ded5a2f7" alt="">
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<script src="buttons.js"></script>
<script>
function fetchAndDisplaySpecificContent(pageUrl, elementId) {
fetch(pageUrl)
.then(response => response.text())
.then(data => {
const tempElement = document.createElement('div');
tempElement.innerHTML = data;
const specificContent = tempElement.querySelector(`#${elementId}`);
document.getElementById('mainContent').innerHTML = '';
document.getElementById('mainContent').appendChild(specificContent);
const scriptTags = tempElement.querySelectorAll('script');
scriptTags.forEach(script => {
const newScript = document.createElement('script');
if (script.src) {
newScript.src = script.src;
} else {
newScript.textContent = script.textContent;
}
document.body.appendChild(newScript);
});
})
.catch(error => console.error('Error fetching content:', error));
}
const ASGERollLink = document.querySelector('.fetchLink[data-elementid="student_roll"]');
ASGERollLink.addEventListener('click', function(event) {
event.preventDefault();
const url = this.getAttribute('href');
const elementId = this.getAttribute('data-elementid');
fetchAndDisplaySpecificContent(url, elementId);
});
const fetchLinks = document.querySelectorAll('.fetchLink');
fetchLinks.forEach(link => {
link.addEventListener('click', function(event) {
event.preventDefault();
const url = this.getAttribute('href');
const elementId = this.getAttribute('data-elementid');
fetchAndDisplaySpecificContent(url, elementId);
});
});
const anchorTags = document.querySelectorAll('.fetchLink');
anchorTags.forEach(link => {
link.addEventListener('click', function(event) {
event.preventDefault();
anchorTags.forEach(otherLink => {
otherLink.style.fontWeight = 'normal';
otherLink.style.color = '';
});
link.style.fontWeight = 'bold';
link.style.color = '#0c2695';
});
});
const HODLink = document.querySelector('[data-elementid="hod_content"]');
HODLink.style.fontWeight = 'bold';
HODLink.style.color = '#0c2695';
function hideAllExceptCurrent(currentElementId) {
const allContent = document.querySelectorAll('.roll_student_list');
allContent.forEach(content => {
if (content.id !== currentElementId) {
content.style.display = 'none';
} else {
content.style.display = 'block';
}
});
}
const pageLinks = document.querySelectorAll('.pageLink');
pageLinks.forEach(link => {
link.addEventListener('click', function(event) {
event.preventDefault();
const elementId = this.getAttribute('data-elementid');
hideAllExceptCurrent(elementId);
});
});
hideAllExceptCurrent('student_list_1'); // Display the first list by default
function fetchAndDisplaySpecificContent(pageUrl, elementId) {
fetch(pageUrl)
.then(response => response.text())
.then(data => {
const tempElement = document.createElement('div');
tempElement.innerHTML = data;
const specificContent = tempElement.querySelector(`#${elementId}`);
document.getElementById('mainContent').innerHTML = '';
document.getElementById('mainContent').appendChild(specificContent);
const scriptTags = tempElement.querySelectorAll('script');
scriptTags.forEach(script => {
const newScript = document.createElement('script');
if (script.src) {
newScript.src = script.src;
} else {
newScript.textContent = script.textContent;
}
document.body.appendChild(newScript);
});
})
.catch(error => console.error('Error fetching content:', error));
}
// Add event listeners to all anchor tags within the jd_table division
const jdTableLinks = document.querySelectorAll('.jd_table ul a');
jdTableLinks.forEach(link => {
link.addEventListener('click', function(event) {
event.preventDefault();
const url = this.getAttribute('href');
const elementId = this.getAttribute('data-elementid');
fetchAndDisplaySpecificContent(url, elementId);
});
});
// Add styles when a link is clicked
jdTableLinks.forEach(link => {
link.addEventListener('click', function(event) {
event.preventDefault();
jdTableLinks.forEach(otherLink => {
otherLink.style.fontWeight = 'normal';
otherLink.style.color = '';
});
link.style.fontWeight = 'bold';
link.style.color = '#0c2695';
});
});
function loadContent(file, event) {
event.preventDefault();
fetch(file)
.then(response => {
if (!response.ok) {
throw new Error(`Error loading file: ${response.statusText}`);
}
return response.text();
})
.then(data => {
const contentContainer = document.getElementById('contentContainer');
contentContainer.innerHTML = data;
contentContainer.classList.remove('content-transition');
void contentContainer.offsetWidth;
contentContainer.classList.add('content-transition');
})
.catch(error => console.error('Error:', error));
}
</script>
</body>
</html>