From 1fc6b860fc2dcfbec1daecf8ae412f16c0e31d26 Mon Sep 17 00:00:00 2001 From: Suraj Shetty Date: Sat, 18 Jul 2020 12:42:54 +0530 Subject: [PATCH] feat: Card Layout - Form sections will now be cards --- frappe/core/doctype/user/user.json | 18 +----------------- frappe/public/js/frappe/ui/page.html | 9 +++------ frappe/public/js/frappe/ui/page.js | 4 ++-- frappe/public/scss/desktop.scss | 4 ++-- frappe/public/scss/form.scss | 13 ++++++------- frappe/public/scss/global.scss | 5 +++++ frappe/public/scss/list.scss | 1 + frappe/public/scss/page.scss | 25 +++++++++++++++++-------- frappe/public/scss/sidebar.scss | 1 - frappe/public/scss/variables.scss | 2 ++ 10 files changed, 39 insertions(+), 43 deletions(-) diff --git a/frappe/core/doctype/user/user.json b/frappe/core/doctype/user/user.json index 890b1de861..c4e5166ce2 100644 --- a/frappe/core/doctype/user/user.json +++ b/frappe/core/doctype/user/user.json @@ -24,9 +24,6 @@ "user_image", "sb1", "role_profile_name", - "column_break_18", - "column_break_19", - "section_break_20", "roles_html", "roles", "short_bio", @@ -598,19 +595,6 @@ { "fieldname": "section_break_63", "fieldtype": "Column Break" - }, - { - "fieldname": "column_break_18", - "fieldtype": "Column Break" - }, - { - "fieldname": "column_break_19", - "fieldtype": "Column Break" - }, - { - "fieldname": "section_break_20", - "fieldtype": "Section Break", - "hide_border": 1 } ], "icon": "fa fa-user", @@ -618,7 +602,7 @@ "image_field": "user_image", "links": [], "max_attachments": 5, - "modified": "2020-06-23 07:49:33.387721", + "modified": "2020-07-18 02:31:18.550537", "modified_by": "Administrator", "module": "Core", "name": "User", diff --git a/frappe/public/js/frappe/ui/page.html b/frappe/public/js/frappe/ui/page.html index 0270e6b62b..08aa38750d 100644 --- a/frappe/public/js/frappe/ui/page.html +++ b/frappe/public/js/frappe/ui/page.html @@ -1,6 +1,6 @@
-
+
@@ -11,12 +11,9 @@
- - - - -
+
+