From 75ab468f6e0efc0dcc6881f28d6fd52121f35bb0 Mon Sep 17 00:00:00 2001 From: Dmitry Tretyakov <76806170+tretdm@users.noreply.github.com> Date: Mon, 24 Apr 2023 19:21:15 +0700 Subject: [PATCH] restyling file pickers button --- Web/Presenters/templates/Group/Edit.xml | 3 +- .../templates/Group/EditBackdrop.xml | 7 ++-- Web/Presenters/templates/User/Edit.xml | 42 ++++++++++--------- Web/static/css/style.css | 1 + 4 files changed, 29 insertions(+), 24 deletions(-) diff --git a/Web/Presenters/templates/Group/Edit.xml b/Web/Presenters/templates/Group/Edit.xml index ce9a8f04..51a29c9d 100644 --- a/Web/Presenters/templates/Group/Edit.xml +++ b/Web/Presenters/templates/Group/Edit.xml @@ -71,7 +71,8 @@ {_avatar}: - + +
diff --git a/Web/Presenters/templates/Group/EditBackdrop.xml b/Web/Presenters/templates/Group/EditBackdrop.xml index f5127e9a..15b1d714 100644 --- a/Web/Presenters/templates/Group/EditBackdrop.xml +++ b/Web/Presenters/templates/Group/EditBackdrop.xml @@ -37,9 +37,10 @@
- -
- + +
+ +
diff --git a/Web/Presenters/templates/User/Edit.xml b/Web/Presenters/templates/User/Edit.xml index b74f04b3..7a26d58b 100644 --- a/Web/Presenters/templates/User/Edit.xml +++ b/Web/Presenters/templates/User/Edit.xml @@ -20,7 +20,7 @@ Подтверждение номера телефона
Введите код для подтверждения смены номера: ввести код. - +
{_main} @@ -38,10 +38,10 @@ {_backdrop_short}
- +
{if $isMain} - +

{_main_information}

@@ -133,7 +133,7 @@ - + @@ -162,7 +162,7 @@
- + @@ -172,9 +172,9 @@
- + {elseif $isContacts} - +

{_contact_information}

@@ -221,7 +221,7 @@
- + @@ -231,9 +231,9 @@
- + {elseif $isInterests} - +

{_personal_information}

@@ -296,7 +296,7 @@
- + @@ -306,9 +306,9 @@
- + {elseif $isAvatar} - +

{_profile_picture}

@@ -318,12 +318,13 @@ {_picture}:
- + +
- + @@ -333,7 +334,7 @@
- + {elseif $isBackDrop}

{_backdrop}

@@ -341,9 +342,10 @@
- -
- + +
+ +
@@ -366,5 +368,5 @@ {/if}
- + {/block} diff --git a/Web/static/css/style.css b/Web/static/css/style.css index 4fff0fba..76abeb47 100644 --- a/Web/static/css/style.css +++ b/Web/static/css/style.css @@ -231,6 +231,7 @@ h1 { position: absolute; top: 140px; padding: 0 19px; + margin: 24px; } #backdropFilePicker > input {