Skip to content
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
42 changes: 26 additions & 16 deletions sponsorship/templates/sponsorship/sponsorshipprofile_list.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,27 +2,37 @@
{% load allauth i18n %}
{% load django_bootstrap5 %}
{% load render_table from django_tables2 %}
{% block head_title %}
PyLadiesCon Portal - Sponsorship
{% endblock head_title %}
{% block og_title %}
PyLadiesCon Portal - Sponsorship
{% endblock og_title %}
{% block og_description %}
View and manage sponsorships for PyLadiesCon. Support the global PyLadies conference by becoming a sponsor.
{% endblock og_description %}
{% block body %}
{% endblock body %}
{% block content %}
<h1 class="display-5">
{% if request.user.is_superuser %}
Manage Sponsors <a class="btn btn-primary"
href="{% url 'sponsorship:sponsorship_profile_new' %}">Add New Sponsor</a>
{% else %}
View Sponsors
{% endif %}
</h1>
{% include "sponsorship/sponsorship_stats.html" %}
{% if filter %}
<form action="" method="get" class="form">
{% bootstrap_form filter.form %}
{% bootstrap_button 'Search' %}
{% if filter.form.is_bound %}
<a href="{% url 'sponsorship:sponsorship_list' %}"
class="btn btn-secondary">Reset Filters</a>
{% endif %}
</form>
href="{% url 'sponsorship:sponsorship_profile_new' %}">Add New
Sponsor</a>
{% else %}
View Sponsors
{% endif %}
{% render_table table %}
</h1>
{% include "sponsorship/sponsorship_stats.html" %}
{% if filter %}
<form action="" method="get" class="form">
{% bootstrap_form filter.form %}
{% bootstrap_button 'Search' %}
{% if filter.form.is_bound %}
<a href="{% url 'sponsorship:sponsorship_list' %}"
class="btn btn-secondary">Reset Filters</a>
{% endif %}
</form>
{% endif %}
{% render_table table %}
{% endblock content %}
10 changes: 9 additions & 1 deletion templates/account/login.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@
{% block head_title %}
{% trans "Sign In" %}
{% endblock head_title %}
{% block og_title %}
PyLadiesCon Portal - Sign In
{% endblock og_title %}
{% block og_description %}
Sign in to PyLadiesCon Portal to manage your volunteer profile, sponsorships, and contribute to the conference.
{% endblock og_description %}
{% block content %}
{% element h1 %}
{% trans "Sign In" %}
Expand All @@ -16,7 +22,9 @@
</a>
{% endsetvar %}
{% element p %}
{% blocktranslate %}If you have not created an account yet, then please {{ link }}sign up{{ end_link }} first.{% endblocktranslate %}
{% blocktranslate %}
If you have not created an account yet, then please {{ link }}sign up{{ end_link }} first.
{% endblocktranslate %}
{% endelement %}
{% url 'account_login' as login_url %}
{% element form form=form method="post" action=login_url tags="entrance,login" %}
Expand Down
7 changes: 7 additions & 0 deletions templates/account/signup.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@
{% block head_title %}
{% trans "Signup" %}
{% endblock head_title %}
{% block og_title %}
PyLadiesCon Portal - Sign Up
{% endblock og_title %}
{% block og_description %}
Create an account on PyLadiesCon Portal to join as a volunteer, view sponsorships, and be part of the global PyLadies
conference community.
{% endblock og_description %}
{% block content %}
{% element h1 %}
{% trans "Sign Up" %}
Expand Down
41 changes: 24 additions & 17 deletions templates/portal/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,16 @@
content="{% block og_image_alt %}PyLadiesCon logo{% endblock og_image_alt %}">
<meta property="og:site_name" content="PyLadiesCon Portal" />
<meta property="og:locale" content="en_US">
<meta name="twitter:card"
content="{% block twitter_card %}summary_large_image{% endblock twitter_card %}" />
<meta name="twitter:title"
content="{% block twitter_title %}{% block og_title_twitter %}PyLadiesCon Portal{% endblock og_title_twitter %}{% endblock twitter_title %}" />
<meta name="twitter:description"
content="{% block twitter_description %}{% block og_description_twitter %}PyLadiesCon volunteer portal and conference management system{% endblock og_description_twitter %}{% endblock twitter_description %}" />
<meta name="twitter:image"
content="{% block twitter_image %}{% block og_image_twitter %}https://conference.pyladies.com/img/banner.png{% endblock og_image_twitter %}{% endblock twitter_image %}" />
<meta name="twitter:image:alt"
content="{% block twitter_image_alt %}{% block og_image_alt_twitter %}PyLadiesCon logo{% endblock og_image_alt_twitter %}{% endblock twitter_image_alt %}" />
{% block extra_head %}
<script src="https://kit.fontawesome.com/8774ceef9d.js"
crossorigin="anonymous"></script>
Expand All @@ -44,7 +54,7 @@
<nav class="navbar navbar-expand-md navbar-dark bg-dark"
aria-label="Fourth navbar example">
<div class="container-fluid">
<a class="navbar-brand" href="{% url "index" %}">PyLadiesCon Portal</a>
<a class="navbar-brand" href="{% url 'index' %}">PyLadiesCon Portal</a>
<button class="navbar-toggler"
type="button"
data-bs-toggle="collapse"
Expand All @@ -57,7 +67,7 @@
<div class="collapse navbar-collapse" id="navbarsExample04">
<ul class="navbar-nav me-auto mb-2 mb-md-0">
<li class="nav-item">
<a class="nav-link active" aria-current="page" href="{% url "index" %}">Home</a>
<a class="nav-link active" aria-current="page" href="{% url 'index' %}">Home</a>
</li>
{% if user.is_authenticated %}
<li class="nav-item">
Expand All @@ -74,9 +84,6 @@
<a class="nav-link" href="{% url 'sponsorship:sponsorship_list' %}">Sponsorship</a>
</li>
{% endif %}
<li class="nav-item">
<a class="nav-link" href="{% url 'chapters' %}">PyLadies Chapters</a>
</li>
<li class="nav-item">
<a class="nav-link" href="https://pyladiescon-portal-docs.netlify.app/">Documentation</a>
</li>
Expand All @@ -87,10 +94,10 @@
<form action="{% url 'set_language' %}" method="post">
{% csrf_token %}
<input name="next" type="hidden" value="{{ redirect_to }}">
{% get_current_language as LANGUAGE_CODE %}
{% get_available_languages as LANGUAGES %}
{% get_language_info_list for LANGUAGES as languages %}
<select name="language">
{% get_current_language as LANGUAGE_CODE %}
{% get_available_languages as LANGUAGES %}
{% get_language_info_list for LANGUAGES as languages %}
{% for language in languages %}
<option value="{{ language.code }}"
{% if language.code == LANGUAGE_CODE %} selected{% endif %}>
Expand All @@ -110,16 +117,15 @@
aria-expanded="true">
{% trans "Welcome, " %}{{ user.username }}
{# djlint:off #}
{# <img src="https://github.com/mdo.png" alt="mdo" width="32" height="32" class="rounded-circle">#}
{# <img src="https://github.com/mdo.png" alt="mdo" width="32" height="32"
class="rounded-circle">#}
{# djlint:on #}
</a>
{# djlint:off #}
<ul class="dropdown-menu text-small"
style="position: absolute;
<ul class="dropdown-menu text-small" style="position: absolute;
inset: 0px 0px auto auto;
margin: 0px;
transform: translate(0px, 34px)"
data-popper-placement="bottom-end">
transform: translate(0px, 34px)" data-popper-placement="bottom-end">
{# djlint:on #}
{% if user.is_superuser %}
<li>
Expand All @@ -130,7 +136,8 @@
</li>
{% endif %}
<li>
<a class="dropdown-item" href="{% url 'portal_account:index' %}">{% trans "Manage Profile" %}</a>
<a class="dropdown-item" href="{% url 'portal_account:index' %}">{% trans "Manage Profile"
%}</a>
</li>
{% url 'account_email' as email_url_ %}
{% if email_url_ %}
Expand Down Expand Up @@ -163,9 +170,9 @@
</div>
{% endif %}
{# djlint:off #}
{# <form role="search">#}
{# <input class="form-control" type="search" placeholder="Search" aria-label="Search">#}
{# </form>#}
{# <form role="search">#}
{# <input class="form-control" type="search" placeholder="Search" aria-label="Search">#}
{# </form>#}
{# djlint:on #}
</div>
</div>
Expand Down
32 changes: 25 additions & 7 deletions templates/portal/index.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,16 @@
{% extends "portal/base.html" %}
{% load allauth i18n %}
{% load django_bootstrap5 %}
{% block head_title %}
PyLadiesCon Portal - Home
{% endblock head_title %}
{% block og_title %}
PyLadiesCon Portal - Home
{% endblock og_title %}
{% block og_description %}
Welcome to PyLadiesCon Portal - The volunteer and conference management system for PyLadiesCon. Join us to volunteer,
manage sponsorships, and contribute to the global PyLadies conference.
{% endblock og_description %}
{% block body %}
{% endblock body %}
{% block content %}
Expand All @@ -19,7 +29,9 @@ <h3 class="fs-2 text-body-emphasis">
</h3>
<p>
{% if user.is_authenticated and volunteer_profile %}
{% translate "Thanks for signing up to volunteer. Check back here to manage your volunteer profile and your availabilities. You can always update your profile in case there has been changes to your situation and/or availabilities." %}
{% translate "Thanks for signing up to volunteer. Check back here to manage your volunteer profile and
your availabilities. You can always update your profile in case there has been changes to your situation
and/or availabilities." %}
{% else %}
{% translate "Sign up to volunteer with us! Fill in your Volunteer profile and we'll get you set up." %}
{% endif %}
Expand Down Expand Up @@ -74,7 +86,8 @@ <h3 class="fs-2 text-body-emphasis">
<ul class="list-unstyled ps-8">
<li>
<a href="https://2025.conference.pyladies.com/en/sponsors/"
class="icon-link">Sponsorship Packages <i class="fa-solid fa-chevron-right"></i></a>
class="icon-link">Sponsorship Packages
<i class="fa-solid fa-chevron-right"></i></a>
</li>
{% if user.is_authenticated and volunteer_profile and volunteer_profile.is_approved %}
<li>
Expand All @@ -96,7 +109,8 @@ <h3 class="fs-2 text-body-emphasis">
<ul class="list-unstyled ps-8">
<li>
<a href="https://conference.pyladies.com/docs/speakers/speaker_guide/"
class="icon-link">Speaker Guide <i class="fa-solid fa-chevron-right"></i></a>
class="icon-link">Speaker
Guide <i class="fa-solid fa-chevron-right"></i></a>
</li>
<li>
<a href="https://conference.pyladies.com/docs/speakers/keynote_speaker_guide/"
Expand Down Expand Up @@ -173,7 +187,8 @@ <h2 class="fw-bold text-body-emphasis">
</h2>
<p class="text-body-secondary">
Interested in volunteering with us? You're in the right place!
<a href="{% url 'account_signup' %}">Sign up</a> for an account to get started, and then fill in your Volunteer Profile.
<a href="{% url 'account_signup' %}">Sign up</a> for an account to get started, and then fill in your
Volunteer Profile.
</p>
<p>
<a href="{% url 'account_signup' %}" class="btn btn-primary btn-lg">Sign up!</a>
Expand All @@ -191,7 +206,8 @@ <h4 class="fw-semibold mb-0 text-body-emphasis">
Sign up to Volunteer
</h4>
<p class="text-body-secondary">
We're always looking for volunteers and team members! Sign up and fill in your volunteer profile to get started
We're always looking for volunteers and team members! Sign up and fill in your volunteer profile
to get started
</p>
<a href="{% url 'account_signup' %}">Sign up</a>
</div>
Expand All @@ -211,9 +227,11 @@ <h4 class="fw-semibold mb-0 text-body-emphasis">
Responsibilities
</h4>
<p class="text-body-secondary">
Familiarize yourself with your responsibilities and the required commitments as one of our volunteers.
Familiarize yourself with your responsibilities and the required commitments as one of our
volunteers.
</p>
<a href="https://conference.pyladies.com/docs/roles_and_responsibilities/">Understand the responsibilities</a>
<a href="https://conference.pyladies.com/docs/roles_and_responsibilities/">Understand the
responsibilities</a>
</div>
<div class="col d-flex flex-column gap-2">
<h4 class="fw-semibold mb-0 text-body-emphasis">
Expand Down
10 changes: 10 additions & 0 deletions templates/portal/stats.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,16 @@
{% extends "portal/base.html" %}
{% load allauth i18n %}
{% load django_bootstrap5 %}
{% block head_title %}
PyLadiesCon Portal - Stats and Numbers
{% endblock head_title %}
{% block og_title %}
PyLadiesCon Portal - Stats and Numbers
{% endblock og_title %}
{% block og_description %}
View statistics and numbers for PyLadiesCon including volunteer participation, sponsorship levels, and conference
metrics.
{% endblock og_description %}
{% block extra_head %}
{{ block.super }}
<!--Google Charts-->
Expand Down
Loading