Skip to content

Commit

Permalink
Merge pull request #79 from Anmolsingh0713/main
Browse files Browse the repository at this point in the history
Academics link
  • Loading branch information
Soumyadip-Roy authored Feb 14, 2024
2 parents b15b88b + 9994211 commit 8c48847
Show file tree
Hide file tree
Showing 27 changed files with 1,280 additions and 5 deletions.
3 changes: 3 additions & 0 deletions ABOUT_US.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@
<div style="display: flex;" class="side">
<nav id="navele" class="navele">
<a href="ABOUT_US.html" id="highlight">About Us</a>
<!-- -->
<a href="Academics.html">Academics</a>
<!-- -->
<a href="Admission1.html">Admissions</a>
<a href="ResearchDean.html">Research</a>
<a href="student.html">Students</a>
Expand Down
3 changes: 3 additions & 0 deletions ADMIN_AIT.html
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@
<div style="display: flex;" class="side">
<nav id="navele" class="navele">
<a href="ABOUT_US.html">About Us</a>
<!-- -->
<a href="Academics.html">Academics</a>
<!-- -->
<a href="Admission1.html">Admissions</a>
<a href="ResearchDean.html">Research</a>
<a href="student.html">Students</a>
Expand Down
3 changes: 3 additions & 0 deletions ARIIA.html
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@
<div style="display: flex;" class="side">
<nav id="navele" class="navele">
<a href="ABOUT_US.html">About Us</a>
<!-- -->
<a href="Academics.html">Academics</a>
<!-- -->
<a href="Admission1.html">Admissions</a>
<a href="ResearchDean.html">Research</a>
<a href="student.html">Students</a>
Expand Down
3 changes: 3 additions & 0 deletions ASGE_HOD_DESk.html
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@
<div style="display: flex;" class="side">
<nav id="navele" class="navele">
<a href="ABOUT_US.html">About Us</a>
<!-- -->
<a href="Academics.html">Academics</a>
<!-- -->
<a href="Admission1.html">Admissions</a>
<a href="ResearchDean.html">Research</a>
<a href="student.html">Students</a>
Expand Down
342 changes: 342 additions & 0 deletions Academics.html

Large diffs are not rendered by default.

280 changes: 280 additions & 0 deletions Academics_calander.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,280 @@
<!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="ENTC.css">

</head>
<body>
<div style="position: fixed; width: 100%; z-index: 10;">
<div style="height: 40px; background-color: #0C2695;">
<div class="header_head">
<ul class="header_items">
<a href="index.html">Home</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: 60.041px;"></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="wrapper">
<div class="header_head">
<ul class="header_items">
<a>About Us</a>
<a>Admissions</a>
<a>Research</a>
<a>Students</a>
<a>Admin</a>
</ul>

</div>

<div class="header2">
<div class="logo_text">
<a href="index.html"><div class="logo_ait"><img src="AIT LOGO.png" alt="" width="60.041px">
</div></a>
<a class="logo_textpara" href="index.html" style="text-decoration: none;">
<p>Army Institute</p>
<p>of Technology, Pune</p>
</a>
</div>
<div class="text_part2">
<div class="textii">
<ul>
<a href="ABOUT_US.html" style="text-decoration: none; color: black;">About Us</a>
<a href="Admission1.html" style="text-decoration: none; color: black;">Admissions</a>
<a href="ResearchDean.html" style="text-decoration: none; color: black;">Research</a>
<a href="student.html" style="text-decoration: none; color: black;">Students</a>
<a href="ADMIN_JD.html" style="text-decoration: none; color: black;">Admin</a>
</ul>
</div>
<div class="submit_img"><img src="g20.jpg" alt="" width="40px" height="45px"></div>
</div>
</div>

<div class="header3">
<div class="campus">
<img src="aitcampbanner.jpg">
</div>
<div class="content_campus">
<div class="para2">
<p>Electronics and Telecommunication</p>
</div>
<div class="para3">
<p> "Currents of Creativity, Waves of Connectivity: Explore the Future with Us."</p>
</div>
<div class="buttonha">
<div>Explore</div>
</div>
</div>
</div>

<div class="about_us">
<div class="about_content">
<h2 class="ab">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="rectangle_blue"></div>
<div class="about_image">
<img src="Rectangle 61.png">
</div>
</div>


<div class="main">
<section class="table">
<ul>
<a href="ENTC_HOD_DESk.html" class="fetchLink" data-elementid="hod_content" style="border-top: none;">HOD's Desk</a>
<a href="ENTC_FACULTY&STAFF.html" class="fetchLink" data-elementid="faculty_asge">Faculty & staff</a>
<a href="ENTC_Roll.html" class="fetchLink" data-elementid="student_roll">Student roll</a>
<a href="ENTC_TIMETABLE.html" class="fetchLink" data-elementid="timetable">Timetable</a>
<a href="ENTC_EXAM.html" class="fetchLink" data-elementid="exam_section">Exam schedule</a>
<a href="ENTC_RESULT.html" class="fetchLink" data-elementid="result_asge">Result</a>
<a href="ENTC_ACTIVITIES.html" class="fetchLink" data-elementid="activity_content">Activities</a>
<a href="ENTC_NOTICES.html" class="fetchLink" data-elementid="Notices">Notices</a>
<a href="ENTC_SYLLABUS.html" class="fetchLink" data-elementid="asge_syllabus">Syllabus</a>
<a href="ENTC_RESEARCH.html" class="fetchLink" data-elementid="RandD">Research & development</a>
<a href="ENTC_PROJECT.html" class="fetchLink" data-elementid="project">Projects</a>
<a href="ENTC_INDUSTRY.html" class="fetchLink" data-elementid="industry_in">Industry institute interaction</a>
<a href="ENTC_LAB.html" class="fetchLink" data-elementid="lab-section">Laboratories</a>
<a href="ENTC_PLACEMENT.html" class="fetchLink " data-elementid="timetable">Placement record</a>
<a href="ENTC_MAGZINE.html" class="fetchLink" data-elementid="timetable">E-Magazine</a>
</ul>
</section>
<div id="mainContent">
<div id="faculty_asge">
<h2 class="head_ok">Academic Calendar</h2>
<div class="project_more">
<div class="project_link" style="margin-top: 0.2rem;">
<img src="vector 2.png" alt="">
<a href="" target="_blank">AIT Academic Calendar 2022-23 (Sem I and II)</a>
</div>
<div class="project_link">
<img src="vector 2.png" alt="">
<a href="" target="_blank">AIT Academic Calendar 2021-22 (Sem I and II)</a>
</div>
<div class="project_link">
<img src="vector 2.png" alt="">
<a href="" target="_blank">AIT Academic Calendar 2020-21 (Sem I and II)</a>
</div>

<div class="project_link">
<img src="vector 2.png" alt="">
<a href="" target="_blank">AIT Academic Calendar 2019-20 (Sem I and II)</a>
</div>

<div class="project_link">
<img src="vector 2.png" alt="">
<a href="" target="_blank">AIT Academic Calendar 2018-19 (Sem I)</a>
</div>
<div class="project_link">
<img src="vector 2.png" alt="">
<a href="" target="_blank">AIT Academic Calendar 2018-19 (Sem II)</a>
</div>
</div>


</div>
</div>
</div>
</div>

<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
</script>



</body>
</html>
Loading

0 comments on commit 8c48847

Please sign in to comment.