From 7864a02989f8e181294e242a46fcdffca5586bd0 Mon Sep 17 00:00:00 2001 From: Ian leggett <> Date: Tue, 26 Nov 2024 15:14:18 +0000 Subject: [PATCH] fix: update breadcrumb and styles --- .../js/react/components/ConfirmDialog/index.tsx | 12 ++++++++---- .../manage_permissions/review_access.html | 15 +++++++-------- .../datasets/search_authorised_users.html | 9 +++++++-- 3 files changed, 22 insertions(+), 14 deletions(-) diff --git a/dataworkspace/dataworkspace/static/js/react/components/ConfirmDialog/index.tsx b/dataworkspace/dataworkspace/static/js/react/components/ConfirmDialog/index.tsx index ab0893b1d7..4ea7cbad1a 100644 --- a/dataworkspace/dataworkspace/static/js/react/components/ConfirmDialog/index.tsx +++ b/dataworkspace/dataworkspace/static/js/react/components/ConfirmDialog/index.tsx @@ -18,13 +18,17 @@ const ContainerButtonGroup = styled('div')` const Dialog = styled('dialog')` padding: 30px 30px 0px; - width: 660px; + width: 600px; `; const StyledLink = styled(Link)` display: inline-block; font-size: 20px; - margin-top: 5px; +`; + +const StyledForm = styled('form')` + display: flex; + align-items: baseline; `; export const ConfirmDialog = (props: ConfirmDialogProps) => { @@ -43,7 +47,7 @@ export const ConfirmDialog = (props: ConfirmDialogProps) => {

{props.title}

-
{ Cancel -
+
); diff --git a/dataworkspace/dataworkspace/templates/datasets/manage_permissions/review_access.html b/dataworkspace/dataworkspace/templates/datasets/manage_permissions/review_access.html index ac4a695861..0f116cb42c 100644 --- a/dataworkspace/dataworkspace/templates/datasets/manage_permissions/review_access.html +++ b/dataworkspace/dataworkspace/templates/datasets/manage_permissions/review_access.html @@ -34,15 +34,14 @@
{% include 'design_system/error_summary.html' with form=form %}

Review {{full_name}}'s access to {{obj.name}}

-

Requestor

-

{{full_name}}

-

{{email}}

-

Requestor's reason for access

-

{{reason_for_access}}

+

Requestor

+

{{full_name}}
{{email}}

+

Requestor's reason for access

+

{{reason_for_access}}

{% if eligibility_criteria is not null %} -

Have the eligibility requirements been met?

+

Have the eligibility requirements been met?

- + Eligibility requirements needed to access this data @@ -60,7 +59,7 @@

Have the eligibility requiremen

{% if is_eligible %} -

The requestor answered that they do meet the eligibility requirements

+

The requestor answered that they do meet the eligibility requirements

{% else %}

The requestor answered that they do not meet the eligibility requirements

You can still grant them access if they have a good reason for it.

diff --git a/dataworkspace/dataworkspace/templates/datasets/search_authorised_users.html b/dataworkspace/dataworkspace/templates/datasets/search_authorised_users.html index 06ce9e5a93..d575265dca 100644 --- a/dataworkspace/dataworkspace/templates/datasets/search_authorised_users.html +++ b/dataworkspace/dataworkspace/templates/datasets/search_authorised_users.html @@ -5,7 +5,7 @@ {% block breadcrumbs %}
-
+
  1. @@ -18,7 +18,12 @@ Manage this dataset
  2. - Manage permissions + + Manage access + +
  3. +
  4. + Add user