From cbea9ec0e1288a83f888d1388272a07ecc83098d Mon Sep 17 00:00:00 2001 From: Joel Addison Date: Tue, 22 Oct 2019 09:28:47 +1000 Subject: [PATCH] Improved dashboard styling Display proposals in rows and columns, instead of all on one row. Fix spacing for sections on the page. Improve small screen display of page. --- pinaxcon/templates/dashboard.html | 61 +++---------------- .../symposion/dashboard/_categories.html | 48 +++++++-------- .../symposion/dashboard/_new_proposal.html | 6 +- .../symposion/dashboard/_profile.html | 4 +- .../symposion/dashboard/speaking.html | 54 ++++++++++++++-- .../proposals/_pending_proposal_row.html | 53 ++++++++-------- .../symposion/proposals/_proposal_row.html | 23 ++++--- 7 files changed, 125 insertions(+), 124 deletions(-) diff --git a/pinaxcon/templates/dashboard.html b/pinaxcon/templates/dashboard.html index 30bdc221..e94b7d73 100644 --- a/pinaxcon/templates/dashboard.html +++ b/pinaxcon/templates/dashboard.html @@ -1,7 +1,7 @@ {% extends "site_base.html" %} {% load staticfiles %} {% load i18n %} -{% load proposal_tags %} + {% load review_tags %} {% load teams_tags %} {% load registrasion_tags %} @@ -22,61 +22,18 @@ {% include "symposion/dashboard/_categories.html" %} {% endif %} -
+
{% include "symposion/dashboard/speaking.html" %}
-{% if user.speaker_profile %} -{% if user.speaker_profile.proposals.exists %} -
-
-
-

Your Proposals

-
-
-
-
-
- {% for proposal in user.speaker_profile.proposals.all %} - {% include "symposion/proposals/_proposal_row.html" %} - {% endfor %} -
-
-
-
-{% endif %} -{% endif %} - -{% if user.speaker_profile %} -{% associated_proposals as associated_proposals %} -{% pending_proposals as pending_proposals %} -{% if associated_proposals or pending_proposals %} -
-
-
-

Copresenter Proposals

-
-
-
- {% for proposal in associated_proposals %} - {% include "symposion/proposals/_proposal_row.html" %} - {% endfor %} - {% for proposal in pending_proposals %} - {% include "symposion/proposals/_pending_proposal_row.html" %} - {% endfor %} -
-
-{% endif %} -{% endif %} - {% if review_sections %} -
+
-

{% trans "Reviews" %}

+

{% trans "Reviews" %}

{% for section in review_sections %} -
+

{{ section }}

@@ -110,9 +67,9 @@ {% available_teams as available_teams %} {% if user.memberships.exists or available_teams %} -
+
-

{% trans "Teams "%}

+

{% trans "Teams "%}

{% if user.memberships.exists %}
@@ -120,7 +77,7 @@
{% for membership in user.memberships.all %} -
+
{% include "symposion/teams/_team_row.html" with team=membership.team %}
{% endfor %} @@ -132,7 +89,7 @@
{% for team in available_teams %} -
+
{% include "symposion/teams/_team_row.html" %}
{% endfor %} diff --git a/pinaxcon/templates/symposion/dashboard/_categories.html b/pinaxcon/templates/symposion/dashboard/_categories.html index 2a3c440e..db69f5d9 100644 --- a/pinaxcon/templates/symposion/dashboard/_categories.html +++ b/pinaxcon/templates/symposion/dashboard/_categories.html @@ -28,50 +28,45 @@

{% trans "Attend" %} {% conference_name %}

-
-{% if not user.attendee.completed_registration %} -
+ {% if not user.attendee.completed_registration %}

Register

To attend the conference, you must create an attendee profile and purchase your ticket

-
-
-{% else %} -
+ {% else %}
-
+

Attendee Profile

If you would like to change the details on your badge or your attendee statistics, you may edit your attendee profile here.

- -
+

Account Management

If you would like to change your registered email address or password, you can use our self-service account management portal

-
-
-
+ {% items_pending as pending %}
- {% items_pending as pending %} -
-

Account

+

Account

+
+
{% if pending %} -
+

Items pending payment

{% include "registrasion/_items_list.html" with items=pending %} Check out and pay @@ -80,24 +75,23 @@ {% items_purchased as purchased %} {% if purchased %} -
+

Paid Items

{% include "registrasion/_items_list.html" with items=purchased %}
{% endif %} -
+

Add/Update Items

{% include "registrasion/_category_list.html" with categories=categories %}
{% invoices as invoices %} {% if invoices %} -
+

Invoices

    {% for invoice in invoices %} -