From 424f99e6f37668601a475065c1126a1d6e6514b8 Mon Sep 17 00:00:00 2001 From: Rushabh Mehta Date: Wed, 26 Oct 2016 16:47:50 +0530 Subject: [PATCH] [cleanup] dashboard filters --- frappe/core/doctype/docfield/docfield.json | 88 +++++----- .../doctype/boilerplate/controller_list.html | 2 +- frappe/core/doctype/doctype/doctype.json | 132 +++++++++++---- .../page/desktop/desktop_module_icon.html | 2 +- .../modules_setup/includes/module_icons.html | 2 +- .../page/modules_setup/modules_setup.html | 8 + .../core/page/modules_setup/modules_setup.js | 7 +- .../core/page/modules_setup/modules_setup.py | 3 +- .../doctype/custom_field/custom_field.json | 72 ++++---- .../doctype/customize_form/customize_form.py | 2 +- .../customize_form_field.json | 72 ++++---- frappe/data/Framework.sql | 1 + frappe/desk/page/chat/chat_sidebar.html | 2 +- frappe/desk/reportview.py | 23 ++- .../print_format_builder_sidebar.html | 2 +- frappe/public/build.json | 6 +- frappe/public/css/common.css | 17 +- frappe/public/css/daterangepicker.css | 20 +-- frappe/public/css/desk.css | 18 +- frappe/public/css/docs.css | 9 + frappe/public/css/filter_dashboard.css | 159 +++++++++++------- frappe/public/css/form_grid.css | 9 + frappe/public/css/mixins.css | 1 + frappe/public/css/mobile.css | 9 + frappe/public/css/navbar.css | 9 + frappe/public/css/page.css | 9 + frappe/public/css/sidebar.css | 9 + frappe/public/css/website.css | 19 ++- frappe/public/js/frappe/form/control.js | 2 +- .../js/frappe/form/footer/attachments.js | 2 +- .../js/frappe/form/footer/timeline_item.html | 2 +- frappe/public/js/frappe/form/grid.js | 2 +- .../js/frappe/list/image_view_item_row.html | 2 +- .../public/js/frappe/list/list_item_main.html | 2 +- .../js/frappe/list/list_item_main_head.html | 2 +- .../public/js/frappe/list/list_item_row.html | 2 +- .../ui/filters/filter_dash_stat_head.html | 30 ---- ...filter_dash.html => filter_dashboard.html} | 2 +- .../ui/filters/filter_dashboard_head.html | 45 +++++ ...stats.html => filter_dashboard_value.html} | 2 +- frappe/public/js/frappe/ui/filters/filters.js | 131 +++++++++------ frappe/public/js/frappe/ui/listing.html | 10 +- frappe/public/js/frappe/ui/messages.js | 2 +- frappe/public/js/frappe/ui/page.html | 4 +- .../public/js/frappe/ui/toolbar/navbar.html | 4 +- frappe/public/js/frappe/upload.js | 2 +- frappe/public/less/common.less | 20 +-- frappe/public/less/filter_dashboard.less | 119 +++++++++++++ frappe/public/less/mixins.less | 17 ++ 49 files changed, 744 insertions(+), 372 deletions(-) delete mode 100644 frappe/public/js/frappe/ui/filters/filter_dash_stat_head.html rename frappe/public/js/frappe/ui/filters/{filter_dash.html => filter_dashboard.html} (65%) create mode 100644 frappe/public/js/frappe/ui/filters/filter_dashboard_head.html rename frappe/public/js/frappe/ui/filters/{filter_dash_stats.html => filter_dashboard_value.html} (94%) create mode 100644 frappe/public/less/filter_dashboard.less diff --git a/frappe/core/doctype/docfield/docfield.json b/frappe/core/doctype/docfield/docfield.json index 6f8d8a3aad..a90a62f757 100644 --- a/frappe/core/doctype/docfield/docfield.json +++ b/frappe/core/doctype/docfield/docfield.json @@ -22,8 +22,8 @@ "ignore_user_permissions": 0, "ignore_xss_filter": 0, "in_filter": 0, - "in_filter_dash": 0, "in_list_view": 0, + "in_standard_filter": 0, "label": "", "length": 0, "no_copy": 0, @@ -48,8 +48,8 @@ "ignore_user_permissions": 0, "ignore_xss_filter": 0, "in_filter": 0, - "in_filter_dash": 0, "in_list_view": 1, + "in_standard_filter": 0, "label": "Label", "length": 0, "no_copy": 0, @@ -79,8 +79,8 @@ "ignore_user_permissions": 0, "ignore_xss_filter": 0, "in_filter": 0, - "in_filter_dash": 0, "in_list_view": 1, + "in_standard_filter": 0, "label": "Type", "length": 0, "no_copy": 0, @@ -108,8 +108,8 @@ "ignore_user_permissions": 0, "ignore_xss_filter": 0, "in_filter": 0, - "in_filter_dash": 0, "in_list_view": 1, + "in_standard_filter": 0, "label": "Name", "length": 0, "no_copy": 0, @@ -136,8 +136,8 @@ "ignore_user_permissions": 0, "ignore_xss_filter": 0, "in_filter": 0, - "in_filter_dash": 0, "in_list_view": 1, + "in_standard_filter": 0, "label": "Mandatory", "length": 0, "no_copy": 0, @@ -168,8 +168,8 @@ "ignore_user_permissions": 0, "ignore_xss_filter": 0, "in_filter": 0, - "in_filter_dash": 0, "in_list_view": 0, + "in_standard_filter": 0, "label": "Precision", "length": 0, "no_copy": 0, @@ -196,8 +196,8 @@ "ignore_user_permissions": 0, "ignore_xss_filter": 0, "in_filter": 0, - "in_filter_dash": 0, "in_list_view": 0, + "in_standard_filter": 0, "label": "Length", "length": 0, "no_copy": 0, @@ -223,8 +223,8 @@ "ignore_user_permissions": 0, "ignore_xss_filter": 0, "in_filter": 0, - "in_filter_dash": 0, "in_list_view": 0, + "in_standard_filter": 0, "label": "Index", "length": 0, "no_copy": 0, @@ -253,8 +253,8 @@ "ignore_user_permissions": 0, "ignore_xss_filter": 0, "in_filter": 0, - "in_filter_dash": 0, "in_list_view": 0, + "in_standard_filter": 0, "label": "In List View", "length": 0, "no_copy": 0, @@ -275,14 +275,14 @@ "bold": 0, "collapsible": 0, "columns": 0, - "fieldname": "in_filter_dash", + "fieldname": "in_standard_filter", "fieldtype": "Check", "hidden": 0, "ignore_user_permissions": 0, "ignore_xss_filter": 0, "in_filter": 0, - "in_filter_dash": 0, "in_list_view": 0, + "in_standard_filter": 0, "label": "In Standard Filter", "length": 0, "no_copy": 0, @@ -301,14 +301,15 @@ "allow_on_submit": 0, "bold": 0, "collapsible": 0, + "columns": 0, "fieldname": "bold", "fieldtype": "Check", "hidden": 0, "ignore_user_permissions": 0, "ignore_xss_filter": 0, "in_filter": 0, - "in_filter_dash": 0, "in_list_view": 0, + "in_standard_filter": 0, "label": "Bold", "length": 0, "no_copy": 0, @@ -335,8 +336,8 @@ "ignore_user_permissions": 0, "ignore_xss_filter": 0, "in_filter": 0, - "in_filter_dash": 0, "in_list_view": 0, + "in_standard_filter": 0, "label": "Collapsible", "length": 255, "no_copy": 0, @@ -363,8 +364,8 @@ "ignore_user_permissions": 0, "ignore_xss_filter": 0, "in_filter": 0, - "in_filter_dash": 0, "in_list_view": 0, + "in_standard_filter": 0, "label": "Collapsible Depends On", "length": 0, "no_copy": 0, @@ -390,8 +391,8 @@ "ignore_user_permissions": 0, "ignore_xss_filter": 0, "in_filter": 0, - "in_filter_dash": 0, "in_list_view": 0, + "in_standard_filter": 0, "length": 0, "no_copy": 0, "permlevel": 0, @@ -416,8 +417,8 @@ "ignore_user_permissions": 0, "ignore_xss_filter": 0, "in_filter": 0, - "in_filter_dash": 0, "in_list_view": 1, + "in_standard_filter": 0, "label": "Options", "length": 0, "no_copy": 0, @@ -444,8 +445,8 @@ "ignore_user_permissions": 0, "ignore_xss_filter": 0, "in_filter": 0, - "in_filter_dash": 0, "in_list_view": 0, + "in_standard_filter": 0, "label": "Default", "length": 0, "no_copy": 0, @@ -472,8 +473,8 @@ "ignore_user_permissions": 0, "ignore_xss_filter": 0, "in_filter": 0, - "in_filter_dash": 0, "in_list_view": 0, + "in_standard_filter": 0, "label": "Permissions", "length": 0, "no_copy": 0, @@ -498,8 +499,8 @@ "ignore_user_permissions": 0, "ignore_xss_filter": 0, "in_filter": 0, - "in_filter_dash": 0, "in_list_view": 0, + "in_standard_filter": 0, "label": "Display Depends On", "length": 255, "no_copy": 0, @@ -526,8 +527,8 @@ "ignore_user_permissions": 0, "ignore_xss_filter": 0, "in_filter": 0, - "in_filter_dash": 0, "in_list_view": 0, + "in_standard_filter": 0, "label": "Hidden", "length": 0, "no_copy": 0, @@ -556,8 +557,8 @@ "ignore_user_permissions": 0, "ignore_xss_filter": 0, "in_filter": 0, - "in_filter_dash": 0, "in_list_view": 0, + "in_standard_filter": 0, "label": "Read Only", "length": 0, "no_copy": 0, @@ -584,8 +585,8 @@ "ignore_user_permissions": 0, "ignore_xss_filter": 0, "in_filter": 0, - "in_filter_dash": 0, "in_list_view": 0, + "in_standard_filter": 0, "label": "Unique", "length": 0, "no_copy": 0, @@ -612,8 +613,8 @@ "ignore_user_permissions": 0, "ignore_xss_filter": 0, "in_filter": 0, - "in_filter_dash": 0, "in_list_view": 0, + "in_standard_filter": 0, "label": "Set Only Once", "length": 0, "no_copy": 0, @@ -638,8 +639,8 @@ "ignore_user_permissions": 0, "ignore_xss_filter": 0, "in_filter": 0, - "in_filter_dash": 0, "in_list_view": 0, + "in_standard_filter": 0, "length": 0, "no_copy": 0, "permlevel": 0, @@ -664,8 +665,8 @@ "ignore_user_permissions": 0, "ignore_xss_filter": 0, "in_filter": 0, - "in_filter_dash": 0, "in_list_view": 0, + "in_standard_filter": 0, "label": "Perm Level", "length": 0, "no_copy": 0, @@ -695,8 +696,8 @@ "ignore_user_permissions": 0, "ignore_xss_filter": 0, "in_filter": 0, - "in_filter_dash": 0, "in_list_view": 0, + "in_standard_filter": 0, "label": "Ignore User Permissions", "length": 0, "no_copy": 0, @@ -721,8 +722,8 @@ "ignore_user_permissions": 0, "ignore_xss_filter": 0, "in_filter": 0, - "in_filter_dash": 0, "in_list_view": 0, + "in_standard_filter": 0, "label": "Allow on Submit", "length": 0, "no_copy": 0, @@ -751,8 +752,8 @@ "ignore_user_permissions": 0, "ignore_xss_filter": 0, "in_filter": 0, - "in_filter_dash": 0, "in_list_view": 0, + "in_standard_filter": 0, "label": "Report Hide", "length": 0, "no_copy": 0, @@ -782,8 +783,8 @@ "ignore_user_permissions": 0, "ignore_xss_filter": 0, "in_filter": 0, - "in_filter_dash": 0, "in_list_view": 0, + "in_standard_filter": 0, "label": "Ignore XSS Filter", "length": 0, "no_copy": 0, @@ -809,8 +810,8 @@ "ignore_user_permissions": 0, "ignore_xss_filter": 0, "in_filter": 0, - "in_filter_dash": 0, "in_list_view": 0, + "in_standard_filter": 0, "label": "Display", "length": 0, "no_copy": 0, @@ -835,8 +836,8 @@ "ignore_user_permissions": 0, "ignore_xss_filter": 0, "in_filter": 0, - "in_filter_dash": 0, "in_list_view": 0, + "in_standard_filter": 0, "label": "In Filter", "length": 0, "no_copy": 0, @@ -865,8 +866,8 @@ "ignore_user_permissions": 0, "ignore_xss_filter": 0, "in_filter": 0, - "in_filter_dash": 0, "in_list_view": 0, + "in_standard_filter": 0, "label": "No Copy", "length": 0, "no_copy": 0, @@ -895,8 +896,8 @@ "ignore_user_permissions": 0, "ignore_xss_filter": 0, "in_filter": 0, - "in_filter_dash": 0, "in_list_view": 0, + "in_standard_filter": 0, "label": "Print Hide", "length": 0, "no_copy": 0, @@ -926,8 +927,8 @@ "ignore_user_permissions": 0, "ignore_xss_filter": 0, "in_filter": 0, - "in_filter_dash": 0, "in_list_view": 0, + "in_standard_filter": 0, "label": "Print Hide If No Value", "length": 0, "no_copy": 0, @@ -953,8 +954,8 @@ "ignore_user_permissions": 0, "ignore_xss_filter": 0, "in_filter": 0, - "in_filter_dash": 0, "in_list_view": 0, + "in_standard_filter": 0, "label": "Print Width", "length": 0, "no_copy": 0, @@ -979,8 +980,8 @@ "ignore_user_permissions": 0, "ignore_xss_filter": 0, "in_filter": 0, - "in_filter_dash": 0, "in_list_view": 0, + "in_standard_filter": 0, "label": "Width", "length": 0, "no_copy": 0, @@ -1012,6 +1013,7 @@ "ignore_xss_filter": 0, "in_filter": 0, "in_list_view": 0, + "in_standard_filter": 0, "label": "Columns", "length": 0, "no_copy": 0, @@ -1037,8 +1039,8 @@ "ignore_user_permissions": 0, "ignore_xss_filter": 0, "in_filter": 0, - "in_filter_dash": 0, "in_list_view": 0, + "in_standard_filter": 0, "length": 0, "no_copy": 0, "permlevel": 0, @@ -1062,8 +1064,8 @@ "ignore_user_permissions": 0, "ignore_xss_filter": 0, "in_filter": 0, - "in_filter_dash": 0, "in_list_view": 1, + "in_standard_filter": 0, "label": "Description", "length": 0, "no_copy": 0, @@ -1092,8 +1094,8 @@ "ignore_user_permissions": 0, "ignore_xss_filter": 0, "in_filter": 0, - "in_filter_dash": 0, "in_list_view": 0, + "in_standard_filter": 0, "length": 0, "no_copy": 0, "oldfieldname": "oldfieldname", @@ -1119,8 +1121,8 @@ "ignore_user_permissions": 0, "ignore_xss_filter": 0, "in_filter": 0, - "in_filter_dash": 0, "in_list_view": 0, + "in_standard_filter": 0, "length": 0, "no_copy": 0, "oldfieldname": "oldfieldtype", @@ -1146,7 +1148,7 @@ "issingle": 0, "istable": 1, "max_attachments": 0, - "modified": "2016-10-18 11:59:07.036627", + "modified": "2016-10-26 07:08:29.980636", "modified_by": "Administrator", "module": "Core", "name": "DocField", @@ -1156,5 +1158,5 @@ "read_only": 0, "read_only_onload": 0, "sort_order": "ASC", - "track_seen": 0 -} + "track_seen": 0 +} \ No newline at end of file diff --git a/frappe/core/doctype/doctype/boilerplate/controller_list.html b/frappe/core/doctype/doctype/boilerplate/controller_list.html index 0ad19e561b..5af47827f9 100644 --- a/frappe/core/doctype/doctype/boilerplate/controller_list.html +++ b/frappe/core/doctype/doctype/boilerplate/controller_list.html @@ -1,6 +1,6 @@
-
+
{{%= list.get_avatar_and_id(doc) %}} diff --git a/frappe/core/doctype/doctype/doctype.json b/frappe/core/doctype/doctype/doctype.json index f7eb5b2180..24a03d18ab 100644 --- a/frappe/core/doctype/doctype/doctype.json +++ b/frappe/core/doctype/doctype/doctype.json @@ -25,6 +25,7 @@ "ignore_xss_filter": 0, "in_filter": 0, "in_list_view": 0, + "in_standard_filter": 0, "label": "", "length": 0, "no_copy": 0, @@ -51,6 +52,7 @@ "ignore_xss_filter": 0, "in_filter": 0, "in_list_view": 1, + "in_standard_filter": 1, "label": "Module", "length": 0, "no_copy": 0, @@ -80,6 +82,7 @@ "ignore_xss_filter": 0, "in_filter": 0, "in_list_view": 0, + "in_standard_filter": 1, "label": "Is Child Table", "length": 0, "no_copy": 0, @@ -109,6 +112,7 @@ "ignore_xss_filter": 0, "in_filter": 0, "in_list_view": 0, + "in_standard_filter": 0, "label": "Editable Grid", "length": 0, "no_copy": 0, @@ -136,6 +140,7 @@ "ignore_xss_filter": 0, "in_filter": 0, "in_list_view": 0, + "in_standard_filter": 1, "label": "Is Single", "length": 0, "no_copy": 0, @@ -163,6 +168,7 @@ "ignore_xss_filter": 0, "in_filter": 0, "in_list_view": 0, + "in_standard_filter": 0, "length": 0, "no_copy": 0, "permlevel": 0, @@ -187,6 +193,7 @@ "ignore_xss_filter": 0, "in_filter": 0, "in_list_view": 0, + "in_standard_filter": 0, "label": "Document Type", "length": 0, "no_copy": 0, @@ -203,35 +210,6 @@ "set_only_once": 0, "unique": 0 }, - { - "allow_on_submit": 0, - "bold": 0, - "collapsible": 0, - "columns": 0, - "default": "InnoDB", - "depends_on": "eval:!doc.issingle", - "fieldname": "engine", - "fieldtype": "Select", - "hidden": 0, - "ignore_user_permissions": 0, - "ignore_xss_filter": 0, - "in_filter": 0, - "in_list_view": 0, - "label": "Database Engine", - "length": 0, - "no_copy": 0, - "options": "InnoDB\nMyISAM", - "permlevel": 0, - "precision": "", - "print_hide": 0, - "print_hide_if_no_value": 0, - "read_only": 0, - "report_hide": 0, - "reqd": 0, - "search_index": 0, - "set_only_once": 0, - "unique": 0 - }, { "allow_on_submit": 0, "bold": 0, @@ -244,6 +222,7 @@ "ignore_xss_filter": 0, "in_filter": 0, "in_list_view": 0, + "in_standard_filter": 0, "label": "Icon", "length": 0, "no_copy": 0, @@ -269,6 +248,7 @@ "ignore_xss_filter": 0, "in_filter": 0, "in_list_view": 0, + "in_standard_filter": 0, "label": "Custom?", "length": 0, "no_copy": 0, @@ -294,6 +274,7 @@ "ignore_xss_filter": 0, "in_filter": 0, "in_list_view": 0, + "in_standard_filter": 0, "label": "Beta", "length": 0, "no_copy": 0, @@ -322,6 +303,7 @@ "ignore_xss_filter": 0, "in_filter": 0, "in_list_view": 0, + "in_standard_filter": 0, "label": "Image View", "length": 0, "no_copy": 0, @@ -348,6 +330,7 @@ "ignore_xss_filter": 0, "in_filter": 0, "in_list_view": 0, + "in_standard_filter": 0, "label": "Plugin", "length": 0, "no_copy": 0, @@ -373,6 +356,7 @@ "ignore_xss_filter": 0, "in_filter": 0, "in_list_view": 0, + "in_standard_filter": 0, "label": "Fields", "length": 0, "no_copy": 0, @@ -399,6 +383,7 @@ "ignore_xss_filter": 0, "in_filter": 0, "in_list_view": 0, + "in_standard_filter": 0, "label": "Fields", "length": 0, "no_copy": 0, @@ -427,6 +412,7 @@ "ignore_xss_filter": 0, "in_filter": 0, "in_list_view": 0, + "in_standard_filter": 0, "label": "Naming", "length": 0, "no_copy": 0, @@ -453,6 +439,7 @@ "ignore_xss_filter": 0, "in_filter": 0, "in_list_view": 0, + "in_standard_filter": 0, "label": "Auto Name", "length": 0, "no_copy": 0, @@ -480,6 +467,7 @@ "ignore_xss_filter": 0, "in_filter": 0, "in_list_view": 0, + "in_standard_filter": 0, "label": "Name Case", "length": 0, "no_copy": 0, @@ -508,6 +496,7 @@ "ignore_xss_filter": 0, "in_filter": 0, "in_list_view": 0, + "in_standard_filter": 0, "label": "Description", "length": 0, "no_copy": 0, @@ -536,6 +525,7 @@ "ignore_xss_filter": 0, "in_filter": 0, "in_list_view": 0, + "in_standard_filter": 0, "length": 0, "no_copy": 0, "permlevel": 0, @@ -562,6 +552,7 @@ "ignore_xss_filter": 0, "in_filter": 0, "in_list_view": 0, + "in_standard_filter": 0, "label": "Title Field", "length": 0, "no_copy": 0, @@ -588,6 +579,7 @@ "ignore_xss_filter": 0, "in_filter": 0, "in_list_view": 0, + "in_standard_filter": 0, "label": "Search Fields", "length": 0, "no_copy": 0, @@ -616,6 +608,7 @@ "ignore_xss_filter": 0, "in_filter": 0, "in_list_view": 0, + "in_standard_filter": 0, "label": "Image Field", "length": 0, "no_copy": 0, @@ -645,6 +638,7 @@ "ignore_xss_filter": 0, "in_filter": 0, "in_list_view": 0, + "in_standard_filter": 0, "label": "Sort Field", "length": 0, "no_copy": 0, @@ -672,6 +666,7 @@ "ignore_xss_filter": 0, "in_filter": 0, "in_list_view": 0, + "in_standard_filter": 0, "label": "Sort Order", "length": 0, "no_copy": 0, @@ -700,6 +695,7 @@ "ignore_xss_filter": 0, "in_filter": 0, "in_list_view": 0, + "in_standard_filter": 0, "label": "Timeline Field", "length": 0, "no_copy": 0, @@ -727,6 +723,7 @@ "ignore_xss_filter": 0, "in_filter": 0, "in_list_view": 0, + "in_standard_filter": 0, "label": "Permission Rules", "length": 0, "no_copy": 0, @@ -753,6 +750,7 @@ "ignore_xss_filter": 0, "in_filter": 0, "in_list_view": 0, + "in_standard_filter": 0, "label": "Permissions", "length": 0, "no_copy": 0, @@ -782,6 +780,7 @@ "ignore_xss_filter": 0, "in_filter": 0, "in_list_view": 0, + "in_standard_filter": 0, "length": 0, "no_copy": 0, "permlevel": 0, @@ -806,6 +805,7 @@ "ignore_xss_filter": 0, "in_filter": 0, "in_list_view": 0, + "in_standard_filter": 0, "label": "Permissions Settings", "length": 0, "no_copy": 0, @@ -831,6 +831,7 @@ "ignore_xss_filter": 0, "in_filter": 0, "in_list_view": 0, + "in_standard_filter": 0, "label": "User Cannot Create", "length": 0, "no_copy": 0, @@ -858,6 +859,7 @@ "ignore_xss_filter": 0, "in_filter": 0, "in_list_view": 0, + "in_standard_filter": 0, "label": "User Cannot Search", "length": 0, "no_copy": 0, @@ -885,6 +887,7 @@ "ignore_xss_filter": 0, "in_filter": 0, "in_list_view": 0, + "in_standard_filter": 0, "label": "Is Submittable", "length": 0, "no_copy": 0, @@ -911,6 +914,7 @@ "ignore_xss_filter": 0, "in_filter": 0, "in_list_view": 0, + "in_standard_filter": 0, "label": "Allow Import", "length": 0, "no_copy": 0, @@ -936,6 +940,7 @@ "ignore_xss_filter": 0, "in_filter": 0, "in_list_view": 0, + "in_standard_filter": 0, "label": "Allow Rename", "length": 0, "no_copy": 0, @@ -963,6 +968,7 @@ "ignore_xss_filter": 0, "in_filter": 0, "in_list_view": 0, + "in_standard_filter": 0, "label": "In Dialog", "length": 0, "no_copy": 0, @@ -990,6 +996,7 @@ "ignore_xss_filter": 0, "in_filter": 0, "in_list_view": 0, + "in_standard_filter": 0, "label": "Show Print First", "length": 0, "no_copy": 0, @@ -1017,6 +1024,7 @@ "ignore_xss_filter": 0, "in_filter": 0, "in_list_view": 0, + "in_standard_filter": 0, "label": "Max Attachments", "length": 0, "no_copy": 0, @@ -1044,6 +1052,7 @@ "ignore_xss_filter": 0, "in_filter": 0, "in_list_view": 0, + "in_standard_filter": 0, "label": "Other Settings", "length": 0, "no_copy": 0, @@ -1069,6 +1078,7 @@ "ignore_xss_filter": 0, "in_filter": 0, "in_list_view": 0, + "in_standard_filter": 0, "label": "Hide Heading", "length": 0, "no_copy": 0, @@ -1096,6 +1106,7 @@ "ignore_xss_filter": 0, "in_filter": 0, "in_list_view": 0, + "in_standard_filter": 0, "label": "Hide Toolbar", "length": 0, "no_copy": 0, @@ -1123,6 +1134,7 @@ "ignore_xss_filter": 0, "in_filter": 0, "in_list_view": 0, + "in_standard_filter": 0, "label": "Hide Copy", "length": 0, "no_copy": 0, @@ -1150,6 +1162,7 @@ "ignore_xss_filter": 0, "in_filter": 0, "in_list_view": 0, + "in_standard_filter": 0, "label": "Track Seen", "length": 0, "no_copy": 0, @@ -1177,6 +1190,7 @@ "ignore_xss_filter": 0, "in_filter": 0, "in_list_view": 0, + "in_standard_filter": 0, "label": "Quick Entry", "length": 0, "no_copy": 0, @@ -1203,6 +1217,7 @@ "ignore_xss_filter": 0, "in_filter": 0, "in_list_view": 0, + "in_standard_filter": 0, "label": "Default Print Format", "length": 0, "no_copy": 0, @@ -1215,6 +1230,63 @@ "search_index": 0, "set_only_once": 0, "unique": 0 + }, + { + "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, + "columns": 0, + "fieldname": "advanced", + "fieldtype": "Section Break", + "hidden": 0, + "ignore_user_permissions": 0, + "ignore_xss_filter": 0, + "in_filter": 0, + "in_list_view": 0, + "in_standard_filter": 0, + "label": "Advanced", + "length": 0, + "no_copy": 0, + "permlevel": 0, + "precision": "", + "print_hide": 0, + "print_hide_if_no_value": 0, + "read_only": 0, + "report_hide": 0, + "reqd": 0, + "search_index": 0, + "set_only_once": 0, + "unique": 0 + }, + { + "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, + "columns": 0, + "default": "InnoDB", + "depends_on": "eval:!doc.issingle", + "fieldname": "engine", + "fieldtype": "Select", + "hidden": 0, + "ignore_user_permissions": 0, + "ignore_xss_filter": 0, + "in_filter": 0, + "in_list_view": 0, + "in_standard_filter": 0, + "label": "Database Engine", + "length": 0, + "no_copy": 0, + "options": "InnoDB\nMyISAM", + "permlevel": 0, + "precision": "", + "print_hide": 0, + "print_hide_if_no_value": 0, + "read_only": 0, + "report_hide": 0, + "reqd": 0, + "search_index": 0, + "set_only_once": 0, + "unique": 0 } ], "hide_heading": 0, @@ -1228,7 +1300,7 @@ "issingle": 0, "istable": 0, "max_attachments": 0, - "modified": "2016-10-13 01:13:58.133080", + "modified": "2016-10-26 07:10:02.183706", "modified_by": "Administrator", "module": "Core", "name": "DocType", diff --git a/frappe/core/page/desktop/desktop_module_icon.html b/frappe/core/page/desktop/desktop_module_icon.html index e384c9285d..f2681944f7 100644 --- a/frappe/core/page/desktop/desktop_module_icon.html +++ b/frappe/core/page/desktop/desktop_module_icon.html @@ -1,7 +1,7 @@
{{ app_icon }} -
+
diff --git a/frappe/core/page/modules_setup/includes/module_icons.html b/frappe/core/page/modules_setup/includes/module_icons.html index fd57ef32b3..12a23feecc 100644 --- a/frappe/core/page/modules_setup/includes/module_icons.html +++ b/frappe/core/page/modules_setup/includes/module_icons.html @@ -3,7 +3,7 @@
diff --git a/frappe/core/page/modules_setup/modules_setup.html b/frappe/core/page/modules_setup/modules_setup.html index ac59d12a71..48e186d37f 100644 --- a/frappe/core/page/modules_setup/modules_setup.html +++ b/frappe/core/page/modules_setup/modules_setup.html @@ -19,6 +19,14 @@ {% endfor %}
+
+
+ +
+