Skip to content

Commit c63efce

Browse files
samay-rgbtushhr
andauthored
Add constitution and minutes of meeting 2022 (#98)
* added constitution and minutes of meeting * Add constitution and MoM Co-authored-by: Tushhr <[email protected]>
1 parent 4ae162d commit c63efce

File tree

8 files changed

+79
-25
lines changed

8 files changed

+79
-25
lines changed

AlumniConnect/urls.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,8 @@
5959
path('chapter/', include('applications.chapter.urls')),
6060
path('adminportal/', include('applications.adminportal.urls')),
6161
path('jobs/', include('applications.job_posting.urls')),
62-
re_path(r'favicon.ico', favicon_view)
62+
re_path(r'favicon.ico', favicon_view),
63+
path('constitution/', views.constitution, name='constitution'),
6364
#path('', views.index, name='home'),
6465
]
6566

AlumniConnect/views.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -224,3 +224,6 @@ def change_password(request):
224224
else:
225225
form = PasswordChangeForm(request.user)
226226
return render(request, 'AlumniConnect/change_password.html', {'form': form})
227+
228+
def constitution(request):
229+
return render(request, 'AlumniConnect/constitution.html')
Binary file not shown.
Binary file not shown.
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
{% extends 'globals/base.html' %}
2+
{% load static %}
3+
4+
{% block title %}
5+
Alumni Constitution
6+
{% endblock %}
7+
8+
{% block css %}
9+
<style>
10+
.constitution{
11+
text-align:center;
12+
}
13+
.constitutionContainer{
14+
width:800px;
15+
height:800px;
16+
}
17+
@media (max-width: 768px) {
18+
.constitutionContainer {
19+
width: 90%;
20+
height: 400px;
21+
}
22+
}
23+
</style>
24+
{% endblock %}
25+
26+
{% block body %}
27+
28+
{% include 'globals/navbar.html' %}
29+
30+
<div class="p-0 m-0 masthead-bg w-100 h-100 parallax" style="min-height:300px !important; height:300px !important; background-position-y: 300px;"></div>
31+
32+
<header class="masthead text-center text-white d-flex" style="height:0px; min-height:300px;">
33+
<div class="container my-auto" style="margin-bottom:50px !important;">
34+
<div class="row">
35+
<div class="col-lg-8 mx-auto align-middle">
36+
<h1 class="text-uppercase mt-4 font-open-sans">
37+
<strong>ALUMNI CONSTITUTION</strong>
38+
</h1>
39+
</div>
40+
</div>
41+
</div>
42+
</header>
43+
<section id="constitution" class="constitution text-center p-3">
44+
<iframe src="{% static 'AlumniConnect/assets/alumni_constitution.pdf' %}" class="constitutionContainer">
45+
</iframe>
46+
</section>
47+
{% endblock %}
48+
49+
{% include 'globals/footer.html' %}

templates/events_news/index.html

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,22 @@
11
{% extends 'globals/base.html' %}
22
{% load static %}
3-
3+
{% block css%}
4+
<style>
5+
.constitution{
6+
text-align:center;
7+
}
8+
.constitutionContainer{
9+
width:800px;
10+
height:800px;
11+
}
12+
@media (max-width: 768px) {
13+
.constitutionContainer {
14+
width: 90%;
15+
height: 400px;
16+
}
17+
}
18+
</style>
19+
{%endblock%}
420
{% block title %}
521
Events
622
{% endblock %}
@@ -24,7 +40,10 @@ <h1 class="text-uppercase mt-4">
2440

2541
<section id="services" class="bg-primary p-1">
2642
</section>
27-
43+
<section id="constitution" class="constitution text-center p-3">
44+
<h1 class="section-title text-center">Minutes of Meeting - Alumni Meet 2022 </h1>
45+
<iframe src="{% static 'AlumniConnect/assets/minutes_of_meeting_2022.pdf' %}" class="constitutionContainer"></iframe>
46+
</section>
2847
<div class="events-container container text-left p-2 mx-auto my-4">
2948
{% for item in events %}
3049
<div class="card shadow bg-light m-4">

templates/globals/navbar.html

Lines changed: 1 addition & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -49,30 +49,10 @@
4949
<li><a class="dropdown-item" href="{% url 'publications:index' %}">Publications</a></li>
5050
<li><a href="https://www.iiitdmj.ac.in/about_us.php" target="_blank" class="dropdown-item">IIIT Jabalpur</a></li>
5151
<li><a href="{% url 'members:alumnibody' %}" class="dropdown-item">Alumni Body</a></li>
52+
<li><a href="{% url 'constitution' %}" class="dropdown-item">Alumni Constitution</a></li>
5253
</ul>
5354

5455
</li>
55-
<!-- <li class="nav-item">
56-
<a class="nav-link js-scroll-trigger" href="{% url 'publications:index' %}">Publications</a>
57-
<div class="btn-group">
58-
<button type="button" class="btn nav-link" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"
59-
style="border-radius:0px;color:#212529;font-size: .9rem;">
60-
Publications
61-
</button>
62-
<div class="dropdown-menu">
63-
<a class="dropdown-item" href="#">Action</a>
64-
<a class="dropdown-item" href="#">Another action</a>
65-
<a class="dropdown-item" href="#">Something else here</a>
66-
<div class="dropdown-divider"></div>%
67-
<a class="dropdown-item" href="#">Separated link</a>
68-
</div>
69-
</div>
70-
</li> -->
71-
<!--
72-
<li class="nav-item">
73-
<a class="nav-link js-scroll-trigger" href="">Opportunities</a>
74-
</li>
75-
-->
7656

7757
{% if not user.is_authenticated %}
7858
<li class="nav-item">

templates/members/alumnibody.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,9 @@
137137
width: 120px;
138138
height: 120px;
139139
border-radius: 50%;
140-
}</style>
140+
}
141+
142+
</style>
141143
{% endblock %}
142144
{% block body %}
143145
<!-- <body id="page-top" class="font-open-sans" style="background-color: #eaedf5"> -->

0 commit comments

Comments
 (0)