Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adding files #4

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2023 Shiv Shankar Singh

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
281 changes: 281 additions & 0 deletions about.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,281 @@
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="utf-8">
<meta content="width=device-width, initial-scale=1.0" name="viewport">

<title>About - Foundation Day 2023</title>
<meta content="" name="description">
<meta content="" name="keywords">

<!-- Favicons -->
<link href="assets/img/favicon.png" rel="icon">
<link href="assets/img/apple-touch-icon.png" rel="apple-touch-icon">

<!-- Google Fonts -->
<link
href="https://fonts.googleapis.com/css?family=Open+Sans:300,300i,400,400i,600,600i,700,700i|Raleway:300,300i,400,400i,500,500i,600,600i,700,700i|Poppins:300,300i,400,400i,500,500i,600,600i,700,700i"
rel="stylesheet">

<!-- Vendor CSS Files -->
<link href="assets/vendor/animate.css/animate.min.css" rel="stylesheet">
<link href="assets/vendor/aos/aos.css" rel="stylesheet">
<link href="assets/vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet">
<link href="assets/vendor/bootstrap-icons/bootstrap-icons.css" rel="stylesheet">
<link href="assets/vendor/boxicons/css/boxicons.min.css" rel="stylesheet">
<link href="assets/vendor/remixicon/remixicon.css" rel="stylesheet">
<link href="assets/vendor/swiper/swiper-bundle.min.css" rel="stylesheet">

<!-- Template Main CSS File -->
<link href="assets/css/style.css" rel="stylesheet">

</head>

<body>

<!-- ======= Header ======= -->
<header id="header" class="fixed-top">
<div class="container d-flex align-items-center">

<h1 class="logo me-auto"><a href="index.html">Foundation Day 2023</a></h1>
<!-- Uncomment below if you prefer to use an image logo -->
<!-- <a href="index.html" class="logo me-auto"><img src="assets/img/logo.png" alt="" class="img-fluid"></a> -->

<nav id="navbar" class="navbar order-last order-lg-0">
<ul>
<li><a class="active" href="index.html">Home</a></li>
<li><a href="about.html">About</a></li>
<li><a href="competitions.html">Competitions</a></li>
<li><a href="events.html">Demonstrations</a></li>
<li><a href="teams.html">Teams</a></li>
<li><a href="admin.html">Admin</a></li>

</ul>
<i class="bi bi-list mobile-nav-toggle"></i>
</nav>
<!-- .navbar -->

<a href="registrations.html" class="get-started-btn">Register</a>

</div>
</header>
<!-- End Header -->

<main id="main">
<!-- ======= Breadcrumbs ======= -->
<div class="breadcrumbs" data-aos="fade-in">
<div class="container text-center">
<h2>About Us</h2>
<p>Welcome to IISER Mohali. Discover our history, vision, and mission.</p>
</div>
</div><!-- End Breadcrumbs -->

<!-- ======= About Section ======= -->
<section id="about" class="about">
<div class="container" data-aos="fade-up">
<div class="content text-center">
<h3>History of IISER Mohali</h3>
<p>
The foundation stone of IISER Mohali was laid on 27th September 2006 by the then Prime Minister of India,
Dr. Manmohan Singh. The institute started its academic programme in 2007, with a batch of 25 students in the
five-year BS - MS Dual Degree Program. The PhD Program was initiated in 2008 and the Integrated PhD program
in 2012. IISER Mohali's fully residential campus is located in 125 acres of land given by the Punjab
Government, in the Knowledge City at Sector 81, Mohali.
</p>

<h3>Foundation Day</h3>
<p>
Every year IISER Mohali celebrates its foundation day with enthusiasm. On this day, we invite school kids to
our campus to explore and enjoy science. They get the opportunity to learn basic science around them and
have fun along the way.
</p>

<h3>Vision</h3>
<p>
Indian Institute of Science Education and Research Mohali envisions a new generation of scientists dedicated
to the pursuit of knowledge in frontier areas of basic sciences. In an intellectually vibrant academic
environment, IISER Mohali nurtures the basic tenets of science education and research at undergraduate and
postgraduate levels. In so doing, the institute aims to emerge as a global centre of learning, academic
excellence, and innovative research..
</p>

<h3>Mission</h3>
<p>
As a centre of academic excellence, IISER Mohali has as its mission the imparting of quality science
education and the inculcating of the spirit of research through innovative teaching and research
methodologies. It is this unique combination that renders IISER Mohali one of the premier science research
institutes in the country. It fosters a group of young aspiring minds driven by curiosity and a potential
for cutting-edge research. For spearheading robust scientific research, academic freedom is of utmost
importance, and IISER Mohali is the fitting place in this regard. Promoting diversity, IISER Mohali welcomes
a wide spectrum of disciplines, cutting across disciplinary boundaries. The institute provides students with
a platform for interdisciplinary research which not only gives them a well-rounded perspective but also
helps them keep in view the sociological relevance of science education and research.
</p>
<p><a href="[Your Website Link]" target="_blank">Learn More About Us</a></p>
</div>
</div>
</section><!-- End About Section -->

<section id="gallery" class="gallery">
<div class="container">
<div class="section-title text-center">
<h2>Gallery</h2>
<p>Click to view IISER Mohali through years</p>
</div>

<!-- Gallery Collapse Button -->
<div class="text-center">
<button class="btn btn-primary" type="button" data-toggle="collapse" data-target="#galleryCollapse" aria-expanded="false" aria-controls="galleryCollapse">
Toggle Gallery
</button>
</div>

<!-- Gallery Collapse Content -->
<div class="collapse" id="galleryCollapse">
<div class="row mt-4">
<div class="col">
<img src="assets/img/course-1.jpg" alt="Gallery Image 1" class="img-fluid">
</div>
<div class="col">
<img src="assets/img/course-1.jpg" alt="Gallery Image 2" class="img-fluid">
</div>
<div class="col">
<img src="assets/img/course-1.jpg" alt="Gallery Image 3" class="img-fluid">
</div>
<div class="col">
<img src="assets/img/course-1.jpg" alt="Gallery Image 3" class="img-fluid">
</div>
<div class="col">
<img src="assets/img/course-1.jpg" alt="Gallery Image 3" class="img-fluid">
</div>
<div class="col">
<img src="assets/img/course-1.jpg" alt="Gallery Image 3" class="img-fluid">
</div>
<!-- Add more images as needed -->
</div>
</div>

</div>
</section>

<!-- ======= Counts Section ======= -->
<section id="counts" class="counts section-bg">
<div class="container">
<div class="section-title text-center">
<h2>Last Year's Foundation Day at a Glance</h2>
</div>
<div class="row counters">
<div class="col-lg-3 col-6 text-center">
<span data-purecounter-start="0" data-purecounter-end="800" data-purecounter-duration="1" class="purecounter"></span>
<p>Students</p>
</div>
<div class="col-lg-3 col-6 text-center">
<span data-purecounter-start="0" data-purecounter-end="20" data-purecounter-duration="1" class="purecounter"></span>
<p>Demos</p>
</div>
<div class="col-lg-3 col-6 text-center">
<span data-purecounter-start="0" data-purecounter-end="3" data-purecounter-duration="1" class="purecounter"></span>
<p>Quizzes</p>
</div>
<div class="col-lg-3 col-6 text-center">
<span data-purecounter-start="0" data-purecounter-end="2" data-purecounter-duration="1" class="purecounter"></span>
<p>Lectures</p>
</div>
<!-- Add more counters as needed -->
</div>
</div>
</section>
<!-- End Counts Section -->

</main>
<!-- End #main -->


<!-- ======= Footer ======= -->
<footer id="footer">

<div class="footer-top">
<div class="container">
<div class="row">

<!-- Address and Contact Information -->
<div class="col-lg-4 col-md-6 footer-contact">
<h3>IISER Mohali</h3>
<p>
Dean outreach and International Relations <br>
Indian Institure of Science Education and Research (IISER),Mohali <br>
Knowledge city, Sector 81, Manauli, PO<br>
Sahibzada Ajit Singh Nagar, Punjab 140306<br>
India<br><br>
<strong>Phone:</strong> 0172 224 0124<br>
<strong>Email:</strong> [email protected]<br>
</p>
</div>

<!-- Useful Links -->
<div class="col-lg-4 col-md-6 footer-links">
<h4>Useful Links</h4>
<ul>
<li><i class="bx bx-chevron-right"></i> <a href="index.html">Home</a></li>
<li><i class="bx bx-chevron-right"></i> <a href="competitions.html">Competitions</a></li>
<li><i class="bx bx-chevron-right"></i> <a href="events.html">Demonstrations</a></li>
<li><i class="bx bx-chevron-right"></i> <a href="registrations.html">Registrations</a></li>
</ul>
</div>

<!-- Location Map -->
<div class="col-lg-4 col-md-12">
<h4>Reach Us</h4>
<div class="map-container">
<iframe
src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d3431.9410490715145!2d76.72695507631119!3d30.663788474617704!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x390fe956a41db409%3A0x8f96794a996192bb!2sINDIAN%20INSTITUTE%20OF%20SCIENCE%20EDUCATION%20AND%20RESEARCH%2C%20INST%20Hostel%20Rd%2C%20Sector%2081%2C%20Sahibzada%20Ajit%20Singh%20Nagar%2C%20Punjab%20140306!5e0!3m2!1sen!2sin!4v1694265091237!5m2!1sen!2sin"
style="border:0;" allowfullscreen="" loading="lazy"
referrerpolicy="no-referrer-when-downgrade"></iframe>
</div>
</div>

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

<div class="container d-md-flex py-4">

<div class="me-md-auto text-center text-md-start">
<div class="copyright">
&copy; Copyright <strong><span>IISER-Mohali 2023</span></strong>. All Rights Reserved
</div>
</div>

<div class="social-links text-center text-md-right pt-3 pt-md-0">
<a href="#" class="twitter"><i class="bx bxl-twitter"></i></a>
<a href="#" class="facebook"><i class="bx bxl-facebook"></i></a>
<a href="#" class="instagram"><i class="bx bxl-instagram"></i></a>
<a href="#" class="linkedin"><i class="bx bxl-linkedin"></i></a>
</div>
</div>
</footer>
<!-- End Footer -->


<div id="preloader"></div>
<a href="#" class="back-to-top d-flex align-items-center justify-content-center"><i
class="bi bi-arrow-up-short"></i></a>

<!-- Vendor JS Files -->
<script src="https://code.jquery.com/jquery-3.6.0.slim.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@popperjs/[email protected]/dist/umd/popper.min.js"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script>

<script src="assets/vendor/purecounter/purecounter_vanilla.js"></script>
<script src="assets/vendor/aos/aos.js"></script>
<script src="assets/vendor/bootstrap/js/bootstrap.bundle.min.js"></script>
<script src="assets/vendor/swiper/swiper-bundle.min.js"></script>
<script src="assets/vendor/php-email-form/validate.js"></script>

<!-- Template Main JS File -->
<script src="assets/js/main.js"></script>

</body>

</html>
61 changes: 61 additions & 0 deletions admin.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Admin Dashboard</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css">
<script>
function checkCredentials() {
const username = document.getElementById("username").value;
const password = document.getElementById("password").value;

if (username === "admin" && password === "password") {
document.getElementById("authSection").style.display = "none";
document.getElementById("dataSection").style.display = "block";
} else {
document.getElementById("restrictedMessage").style.display = "block";
}
}
</script>
</head>
<body>
<div id="authSection" class="container mt-5">
<h2>Login</h2>
<label for="username">Username: </label>
<input type="text" id="username" class="form-control"><br>
<label for="password">Password: </label>
<input type="password" id="password" class="form-control"><br>
<button onclick="checkCredentials()" class="btn btn-primary">Login</button>
<div id="restrictedMessage" style="display:none; color: red; margin-top: 10px;">
Restricted Page
</div>
</div>
<div id="dataSection" style="display:none;" class="container mt-5">
<h2>Admin Dashboard</h2>
<table class="table table-bordered">
<thead>
<tr>
<th>ID</th>
<th>Candidate's Name</th>
<th>Institution Name</th>
<th>Grade/Class</th>
<th>Mobile Number</th>
<th>Email ID</th>
</tr>
</thead>
<tbody>
{% for registration in registrations %}
<tr>
<td>{{ registration.id }}</td>
<td>{{ registration.candidateName }}</td>
<td>{{ registration.institutionName }}</td>
<td>{{ registration.grade }}</td>
<td>{{ registration.mobileNumber }}</td>
<td>{{ registration.emailId }}</td>
</tr>
{% endfor %}
</tbody>
</table>
</div>
</body>
</html>
Loading