diff --git a/landing/static/landing/assets/img/Python_for_Beginner_Programmers.png b/landing/static/landing/assets/img/Python_for_Beginner_Programmers.png new file mode 100644 index 0000000..a8932ad Binary files /dev/null and b/landing/static/landing/assets/img/Python_for_Beginner_Programmers.png differ diff --git a/landing/static/landing/assets/img/icon/icon-logo.svg b/landing/static/landing/assets/img/icon/icon-logo.svg index 09da3c5..9bd435c 100644 --- a/landing/static/landing/assets/img/icon/icon-logo.svg +++ b/landing/static/landing/assets/img/icon/icon-logo.svg @@ -1,6 +1 @@ - - - - - - + \ No newline at end of file diff --git a/landing/static/landing/assets/img/logo/codev.png b/landing/static/landing/assets/img/logo/codev.png new file mode 100644 index 0000000..02a7651 Binary files /dev/null and b/landing/static/landing/assets/img/logo/codev.png differ diff --git a/landing/static/landing/assets/img/python_hour/python_hour_1.png b/landing/static/landing/assets/img/python_hour/python_hour_1.png new file mode 100644 index 0000000..0e8ce2a Binary files /dev/null and b/landing/static/landing/assets/img/python_hour/python_hour_1.png differ diff --git a/landing/static/landing/assets/img/python_hour/python_hour_2.png b/landing/static/landing/assets/img/python_hour/python_hour_2.png new file mode 100644 index 0000000..57158c0 Binary files /dev/null and b/landing/static/landing/assets/img/python_hour/python_hour_2.png differ diff --git a/landing/static/landing/assets/img/python_hour/python_hour_3.png b/landing/static/landing/assets/img/python_hour/python_hour_3.png new file mode 100644 index 0000000..9de618a Binary files /dev/null and b/landing/static/landing/assets/img/python_hour/python_hour_3.png differ diff --git a/landing/templates/landing/index.html b/landing/templates/landing/index.html index ddaf6f6..ae1fd8b 100644 --- a/landing/templates/landing/index.html +++ b/landing/templates/landing/index.html @@ -580,11 +580,20 @@

+ {% include "landing/python_hour.html" %}
+
+ + +
+ -
-

- Meetup -

-
-
-
    -
  • Vanessa Bermudez
  • -
  • Jonathan Doydora
  • -
  • Khim Shae Delos Reyes
  • -
  • Von Louie Cruto
  • -
  • Jay Tero
  • -
  • Mark Anthony Yabis
  • -
  • Janine Bagares
  • -
-
    -
  • Laurence Rebadulla
  • -
  • Rommel Philip Afurong
  • -
  • Ciara Bautista
  • -
  • Jay Mendez
  • -
  • First Val Babon
  • -
  • Rhea Baguion
  • -
  • Renz Jeremy Albandia
  • -
-
    -
  • Ariel Conde
  • -
  • Crispin Sarmiento
  • -
  • Jessica Apostol
  • -
  • Freilla Mae Espinola
  • -
  • Lionel Amarado
  • -
-
- -
-
+ {% for commitee in commitees %}

- Admin + {{ commitee.name }}

    -
  • Matt Lebrun
  • -
  • Micaela Reyes
  • -
  • Sony Valdez
  • -
  • Angelica Lapastora
  • -
  • Alysson Alvaran
  • -
  • Ryan Ermita
  • -
  • Zorex Salvo
  • -
  • Vanessa Bermudez
  • -
-
-
-

- Public Training -

-
    -
  • Ryan Ermita
  • -
  • Zorex Salvo
  • -
  • Dan Belza
  • -
  • Albert Yumol
  • + {% for volunteer in commitee.volunteers.all %} +
  • {{ volunteer.display_name }}
  • + {% endfor %}
+ {% endfor %}
diff --git a/landing/templates/landing/python_hour.html b/landing/templates/landing/python_hour.html new file mode 100644 index 0000000..b4eb12a --- /dev/null +++ b/landing/templates/landing/python_hour.html @@ -0,0 +1,87 @@ +{% load static from staticfiles %} + + diff --git a/landing/templates/landing/sponsorship.html b/landing/templates/landing/sponsorship.html index f770a72..5363dad 100644 --- a/landing/templates/landing/sponsorship.html +++ b/landing/templates/landing/sponsorship.html @@ -87,6 +87,21 @@

+
+
+
+ +
+ +
+
diff --git a/landing/views.py b/landing/views.py index f01acc8..ae41cde 100644 --- a/landing/views.py +++ b/landing/views.py @@ -9,10 +9,40 @@ def index(request): sections = Section.available_objects.all() board_members = Volunteer.available_objects.filter(is_staff=True) commitees = Commitee.available_objects.prefetch_related('volunteers') + python_hour = [ + { + "link": "#", + "tag": "Python Hour", + "title": "Let's create animated Memes using Python and MoviePy", + "date": "Thursday, October 13, 2022", + "time": "7PM-8PM PHT", + "location": "Via Zoom and Youtube Live", + "cover_image": "landing/assets/img/python_hour/python_hour_1.png" + }, + { + "link": "#", + "tag": "Python Hour", + "title": "API Development using Flask", + "date": "Thursday, October 20, 2022", + "time": "7PM-8PM PHT", + "location": "Via Zoom and Youtube Live", + "cover_image": "landing/assets/img/python_hour/python_hour_2.png" + }, + { + "link": "#", + "tag": "Python Hour", + "title": "Data Science using Python!", + "date": "Thursday, October 27, 2022", + "time": "7PM-8PM PHT", + "location": "Via Zoom and Youtube Live", + "cover_image": "landing/assets/img/python_hour/python_hour_3.png" + } + ] return render(request, 'landing/index.html', { 'events': events, 'sections': sections, 'board_members': board_members, 'commitees': commitees, + 'python_hour': python_hour, }) diff --git a/organisation/admin.py b/organisation/admin.py index 58ebef3..0d7bb7d 100644 --- a/organisation/admin.py +++ b/organisation/admin.py @@ -3,5 +3,11 @@ from .models import Commitee, Volunteer + +class VolunteerAdmin(admin.ModelAdmin): + list_display = ("display_name", "commitee", "first_name", "last_name",) + list_filter = ("commitee",) + + admin.site.register(Commitee) -admin.site.register(Volunteer) +admin.site.register(Volunteer, VolunteerAdmin)