From ef9fc596f57d63c1bf9c26614d746bf37394f832 Mon Sep 17 00:00:00 2001 From: Philipp Dormann Date: Thu, 14 Jan 2021 18:21:48 +0100 Subject: [PATCH 01/17] =?UTF-8?q?=F0=9F=99=8B=E2=80=8D=E2=99=82=EF=B8=8F?= =?UTF-8?q?=20UserDetail=20-=20disable=20profile=20picture=20edit?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ref #12 --- src/components/UserDetail.svelte | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/components/UserDetail.svelte b/src/components/UserDetail.svelte index fbe7687b..fcac0a38 100644 --- a/src/components/UserDetail.svelte +++ b/src/components/UserDetail.svelte @@ -171,14 +171,16 @@ {/if} -
+
+

Profile Picture

{$_('profile-picture')} - + class="ml-5 bg-white py-2 px-3 border border-gray-300 rounded-md shadow-sm text-sm leading-4 font-medium text-gray-700 hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500">Change -->
-- 2.47.2 From 86c54e04a84917383d3726b324c416ca1bd74627 Mon Sep 17 00:00:00 2001 From: Philipp Dormann Date: Thu, 14 Jan 2021 18:22:09 +0100 Subject: [PATCH 02/17] =?UTF-8?q?=F0=9F=99=8B=E2=80=8D=E2=99=82=EF=B8=8F?= =?UTF-8?q?=20UserDetail=20-=20active/inactive=20user=20state=20edit?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ref #12 --- src/components/UserDetail.svelte | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/components/UserDetail.svelte b/src/components/UserDetail.svelte index fcac0a38..ac28a1e3 100644 --- a/src/components/UserDetail.svelte +++ b/src/components/UserDetail.svelte @@ -184,7 +184,11 @@
- Active? +
+

{ editable_userdata.enabled = !editable_userdata.enabled; @@ -193,11 +197,7 @@ name="enabled" type="checkbox" checked={editable_userdata.enabled} - class="focus:ring-indigo-500 h-4 w-4 text-indigo-600 border-gray-300 rounded" /> - -

set the user active/ inactive

+ class="focus:ring-indigo-500 h-4 w-4 text-indigo-600 border-gray-300 rounded" /> set the user active/ inactive