{{n.message}}
diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000..e7672dd Binary files /dev/null and b/.DS_Store differ diff --git a/school/models.py b/school/models.py index 662e96b..3c83197 100644 --- a/school/models.py +++ b/school/models.py @@ -53,3 +53,8 @@ class Notice(models.Model): date=models.DateField(auto_now=True) by=models.CharField(max_length=20,null=True,default='school') message=models.CharField(max_length=500) + +class FormData(models.Model): + name = models.CharField(max_length=100) + email = models.EmailField() + message = models.TextField() diff --git a/school/views.py b/school/views.py index d1bca48..5d0c0ab 100644 --- a/school/views.py +++ b/school/views.py @@ -12,6 +12,16 @@ def home_view(request): return HttpResponseRedirect('afterlogin') return render(request,'school/index.html') +#formdata +def form_view(request): + if request.method == 'POST': + form = FormDataForm(request.POST) + if form.is_valid(): + form.save() + return redirect('afterlogin') # Redirect to success page after form submission + else: + form = FormDataForm() + return render(request, 'form_template.html', {'form': form}) #for showing signup/login button for teacher(by sumit) diff --git a/static/.DS_Store b/static/.DS_Store new file mode 100644 index 0000000..ccb4cee Binary files /dev/null and b/static/.DS_Store differ diff --git a/static/images/How-Does-Volunteering-Help-the-Community_-Hero.jpg b/static/images/How-Does-Volunteering-Help-the-Community_-Hero.jpg new file mode 100644 index 0000000..14efe55 Binary files /dev/null and b/static/images/How-Does-Volunteering-Help-the-Community_-Hero.jpg differ diff --git a/static/images/Tips-for-Volunteering-With-Kids.jpg b/static/images/Tips-for-Volunteering-With-Kids.jpg new file mode 100644 index 0000000..887fb03 Binary files /dev/null and b/static/images/Tips-for-Volunteering-With-Kids.jpg differ diff --git a/static/images/Volunteering-as-a-Newcomer.png b/static/images/Volunteering-as-a-Newcomer.png new file mode 100644 index 0000000..cdc1600 Binary files /dev/null and b/static/images/Volunteering-as-a-Newcomer.png differ diff --git a/static/images/brocolli.gif b/static/images/brocolli.gif new file mode 100644 index 0000000..0aa5c76 Binary files /dev/null and b/static/images/brocolli.gif differ diff --git a/static/images/food1.gif b/static/images/food1.gif new file mode 100644 index 0000000..accabee Binary files /dev/null and b/static/images/food1.gif differ diff --git a/static/images/orange.gif b/static/images/orange.gif new file mode 100644 index 0000000..4cbe20e Binary files /dev/null and b/static/images/orange.gif differ diff --git a/static/images/volunteering-min.jpg b/static/images/volunteering-min.jpg new file mode 100644 index 0000000..510d4b2 Binary files /dev/null and b/static/images/volunteering-min.jpg differ diff --git a/static/images/volunteering.webp b/static/images/volunteering.webp new file mode 100644 index 0000000..4668fba Binary files /dev/null and b/static/images/volunteering.webp differ diff --git a/templates/.DS_Store b/templates/.DS_Store new file mode 100644 index 0000000..b440888 Binary files /dev/null and b/templates/.DS_Store differ diff --git a/templates/school/aboutus.html b/templates/school/aboutus.html index 7bf157b..bd9cd63 100644 --- a/templates/school/aboutus.html +++ b/templates/school/aboutus.html @@ -19,6 +19,41 @@ .alert { margin: 0px; } + + .reduced-image { + width: 25%; /* Adjust as needed */ + height: auto; + display: block; + margin: 0 auto; /* Center the image */ + } + + h1{ + color: #484848; + font-size: 50px; + font-weight: bold; + font-family: monospace; + letter-spacing: 7px; + cursor: pointer + } + h1 span{ + transition: .5s linear + } + h1:hover span:nth-child(1){ + margin-right: 5px + } + h1:hover span:nth-child(1):after{ + content: "'"; + } + h1:hover span:nth-child(2){ + margin-left: 30px + } + h1:hover span{ + color: #238723; + text-shadow: 0 0 10px #, + 0 0 20px #fff, + 0 0 40px #fff; + } +
A service dedicated to Admin, Student and Teacher. We provide online resources, professional support - and guidance to all our students,teacher whenever, and from wherever they have chosen to study.
+ {% comment %}
+ We specialize in connecting high schoolers with rewarding opportunities at local food banks to help them meet their community service hours while developing their social responsibility. Through our platform, students gain valuable experience while making a tangible impact on hunger relief efforts in their neighborhoods. Our mission is to empower young volunteers to become agents of change, creating a brighter future for themselves and those they serve.
Explore our Website.
diff --git a/templates/school/admin_dashboard.html b/templates/school/admin_dashboard.html index 1e01741..a3535d3 100644 --- a/templates/school/admin_dashboard.html +++ b/templates/school/admin_dashboard.html @@ -12,7 +12,7 @@ margin-left: 25%; margin-right: 25%; padding: 20px; - background-color: #f44336; + background-color: #fff; color: white; } @@ -34,6 +34,229 @@ .closebtn:hover { color: black; } + + h1 { + font-size: 5.25vmin; + text-align: center; + color: white; + } + p { + font-size: max(10pt, 2.5vmin); + line-height: 1.4; + color: #0e390e; + margin-bottom: 1.5rem; + } + + .wrap { + display: flex; + flex-wrap: nowrap; + justify-content: space-between; + margin: 2rem auto; + border: 8px solid; + border-image: linear-gradient( + -50deg, + green, + #00b300, + forestgreen, + green, + lightgreen, + #00e600, + green + ) + 1; + transition: 0.3s ease-in-out; + position: relative; + overflow: hidden; + } + .overlay { + position: relative; + display: flex; + width: 100%; + height: 100%; + padding: 1rem 0.75rem; + background: #186218; + transition: 0.4s ease-in-out; + z-index: 1; + } + .overlay-content { + display: flex; + flex-direction: column; + justify-content: space-between; + width: 15vmin; + height: 100%; + padding: 0.5rem 0 0 0.5rem; + border: 3px solid; + border-image: linear-gradient( + to bottom, + #aea724 5%, + forestgreen 35% 65%, + #aea724 95% + ) + 0 0 0 100%; + transition: 0.3s ease-in-out 0.2s; + z-index: 1; + } + .image-content { + position: absolute; + top: 0; + right: 0; + width: 60vmin; + height: 100%; + background-image: url("https://img.freepik.com/free-vector/tiny-volunteers-sharing-canned-food-grocery-products-help-support-assistance-from-people-with-charity-cardboard-box-flat-vector-illustration-voluntary-delivery-humanitarian-aid-concept_74855-22077.jpg?w=2000&t=st=1711741820~exp=1711742420~hmac=55d6e095b6ffb12b8601be7ae9028f645c21e0eb38bf4a6fec0f4bdd5176b496"); + background-size: cover; + transition: 0.3s ease-in-out; + /* border: 1px solid green; */ + } + + .inset { + max-width: 50%; + margin: 0.25em 1em 1em 0; + border-radius: 0.25em; + float: left; + } + + .dots { + position: absolute; + bottom: 1rem; + right: 2rem; + display: flex; + flex-direction: row; + justify-content: space-around; + align-items: center; + width: 55px; + height: 4vmin; + transition: 0.3s ease-in-out 0.3s; + } + .dot { + width: 14px; + height: 14px; + background: yellow; + border: 1px solid indigo; + border-radius: 50%; + transition: 0.3s ease-in-out 0.3s; + } + + .text { + position: absolute; + top: 0; + right: 0; + width: 60vmin; + height: 100%; + padding: 3vmin 4vmin; + background: #fff; + box-shadow: inset 1px 1px 15px 0 rgba(0 0 0 / 0.4); + overflow-y: scroll; + } + + .wrap:hover .overlay { + transform: translateX(-60vmin); + } + .wrap:hover .image-content { + width: 30vmin; + } + .wrap:hover .overlay-content { + border: none; + transition-delay: 0.2s; + transform: translateX(60vmin); + } + .wrap:hover .dots { + transform: translateX(1rem); + } + .wrap:hover .dots .dot { + background: white; + } + + /* Animations and timing delays */ + .animate { + animation-duration: 0.7s; + animation-timing-function: cubic-bezier(0.26, 0.53, 0.74, 1.48); + animation-fill-mode: backwards; + } + /* Pop In */ + .pop { + animation-name: pop; + } + @keyframes pop { + 0% { + opacity: 0; + transform: scale(0.5, 0.5); + } + 100% { + opacity: 1; + transform: scale(1, 1); + } + } + + /* Slide In */ + .slide { + animation-name: slide; + } + @keyframes slide { + 0% { + opacity: 0; + transform: translate(4em, 0); + } + 100% { + opacity: 1; + transform: translate(0, 0); + } + } + + /* Slide Left */ + .slide-left { + animation-name: slide-left; + } + @keyframes slide-left { + 0% { + opacity: 0; + transform: translate(-40px, 0); + } + 100% { + opacity: 1; + transform: translate(0, 0); + } + } + + .slide-up { + animation-name: slide-up; + } + @keyframes slide-up { + 0% { + opacity: 0; + transform: translateY(3em); + } + 100% { + opacity: 1; + transform: translateY(0); + } + } + + .delay-1 { + animation-delay: 0.3s; + } + .delay-2 { + animation-delay: 0.6s; + } + .delay-3 { + animation-delay: 0.9s; + } + .delay-4 { + animation-delay: 1.2s; + } + .delay-5 { + animation-delay: 1.5s; + } + .delay-6 { + animation-delay: 1.8s; + } + .delay-7 { + animation-delay: 2.1s; + } + .delay-8 { + animation-delay: 2.4s; + } + + @@ -48,8 +271,29 @@
{{n.message}}
Knowledge is key to success.
+Where you can contribute to the community by fighting hunger
Take Admission diff --git a/templates/school/student_view_attendance_ask_date.html b/templates/school/student_view_attendance_ask_date.html index e555e6c..dc38509 100644 --- a/templates/school/student_view_attendance_ask_date.html +++ b/templates/school/student_view_attendance_ask_date.html @@ -54,7 +54,7 @@
PLEASE ENTER DATE FOR ATTENDANCE
+PLEASE ENTER AMOUNT FOR DONATION