diff --git a/.gitignore b/.gitignore index 7ecd1159..ae9f794f 100644 --- a/.gitignore +++ b/.gitignore @@ -4,5 +4,3 @@ *.swp tags foundation/docs/current -.kdev4/ -*.kdev4 diff --git a/foundation/erpnext_foundation/doctype/foundation_fellowship/foundation_fellowship.json b/foundation/erpnext_foundation/doctype/foundation_fellowship/foundation_fellowship.json index b74cfafc..37746f3a 100644 --- a/foundation/erpnext_foundation/doctype/foundation_fellowship/foundation_fellowship.json +++ b/foundation/erpnext_foundation/doctype/foundation_fellowship/foundation_fellowship.json @@ -1,544 +1,560 @@ { - "allow_copy": 0, - "allow_guest_to_view": 1, - "allow_import": 0, - "allow_rename": 0, - "autoname": "field:title", - "beta": 0, - "creation": "2017-10-27 05:03:24.894001", - "custom": 0, - "docstatus": 0, - "doctype": "DocType", - "document_type": "", - "editable_grid": 1, - "engine": "InnoDB", + "allow_copy": 0, + "allow_guest_to_view": 1, + "allow_import": 0, + "allow_rename": 0, + "autoname": "field:title", + "beta": 0, + "creation": "2017-10-27 05:03:24.894001", + "custom": 0, + "docstatus": 0, + "doctype": "DocType", + "document_type": "", + "editable_grid": 1, + "engine": "InnoDB", "fields": [ { - "allow_bulk_edit": 0, - "allow_on_submit": 0, - "bold": 0, - "collapsible": 0, - "columns": 0, - "fieldname": "title", - "fieldtype": "Data", - "hidden": 0, - "ignore_user_permissions": 0, - "ignore_xss_filter": 0, - "in_filter": 0, - "in_global_search": 1, - "in_list_view": 1, - "in_standard_filter": 0, - "label": "Title", - "length": 0, - "no_copy": 0, - "permlevel": 0, - "precision": "", - "print_hide": 0, - "print_hide_if_no_value": 0, - "read_only": 0, - "remember_last_selected_value": 0, - "report_hide": 0, - "reqd": 1, - "search_index": 0, - "set_only_once": 0, + "allow_bulk_edit": 0, + "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, + "columns": 0, + "fieldname": "title", + "fieldtype": "Data", + "hidden": 0, + "ignore_user_permissions": 0, + "ignore_xss_filter": 0, + "in_filter": 0, + "in_global_search": 1, + "in_list_view": 1, + "in_standard_filter": 0, + "label": "Title", + "length": 0, + "no_copy": 0, + "permlevel": 0, + "precision": "", + "print_hide": 0, + "print_hide_if_no_value": 0, + "read_only": 0, + "remember_last_selected_value": 0, + "report_hide": 0, + "reqd": 1, + "search_index": 0, + "set_only_once": 0, + "translatable": 0, "unique": 0 - }, + }, { - "allow_bulk_edit": 0, - "allow_on_submit": 0, - "bold": 0, - "collapsible": 0, - "columns": 0, - "fieldname": "country", - "fieldtype": "Link", - "hidden": 0, - "ignore_user_permissions": 0, - "ignore_xss_filter": 0, - "in_filter": 0, - "in_global_search": 0, - "in_list_view": 1, - "in_standard_filter": 0, - "label": "Country", - "length": 0, - "no_copy": 0, - "options": "Country", - "permlevel": 0, - "precision": "", - "print_hide": 0, - "print_hide_if_no_value": 0, - "read_only": 0, - "remember_last_selected_value": 0, - "report_hide": 0, - "reqd": 1, - "search_index": 0, - "set_only_once": 0, + "allow_bulk_edit": 0, + "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, + "columns": 0, + "fieldname": "country", + "fieldtype": "Link", + "hidden": 0, + "ignore_user_permissions": 0, + "ignore_xss_filter": 0, + "in_filter": 0, + "in_global_search": 0, + "in_list_view": 1, + "in_standard_filter": 0, + "label": "Country", + "length": 0, + "no_copy": 0, + "options": "Country", + "permlevel": 0, + "precision": "", + "print_hide": 0, + "print_hide_if_no_value": 0, + "read_only": 0, + "remember_last_selected_value": 0, + "report_hide": 0, + "reqd": 1, + "search_index": 0, + "set_only_once": 0, + "translatable": 0, "unique": 0 - }, + }, { - "allow_bulk_edit": 0, - "allow_on_submit": 0, - "bold": 0, - "collapsible": 0, - "columns": 0, - "fieldname": "email", - "fieldtype": "Data", - "hidden": 0, - "ignore_user_permissions": 0, - "ignore_xss_filter": 0, - "in_filter": 0, - "in_global_search": 0, - "in_list_view": 0, - "in_standard_filter": 0, - "label": "Email", - "length": 0, - "no_copy": 0, - "permlevel": 0, - "precision": "", - "print_hide": 0, - "print_hide_if_no_value": 0, - "read_only": 0, - "remember_last_selected_value": 0, - "report_hide": 0, - "reqd": 0, - "search_index": 0, - "set_only_once": 0, + "allow_bulk_edit": 0, + "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, + "columns": 0, + "fieldname": "email", + "fieldtype": "Data", + "hidden": 0, + "ignore_user_permissions": 0, + "ignore_xss_filter": 0, + "in_filter": 0, + "in_global_search": 0, + "in_list_view": 0, + "in_standard_filter": 0, + "label": "Email", + "length": 0, + "no_copy": 0, + "permlevel": 0, + "precision": "", + "print_hide": 0, + "print_hide_if_no_value": 0, + "read_only": 0, + "remember_last_selected_value": 0, + "report_hide": 0, + "reqd": 0, + "search_index": 0, + "set_only_once": 0, + "translatable": 0, "unique": 0 - }, + }, { - "allow_bulk_edit": 0, - "allow_on_submit": 0, - "bold": 0, - "collapsible": 0, - "columns": 0, - "fieldname": "phone", - "fieldtype": "Data", - "hidden": 0, - "ignore_user_permissions": 0, - "ignore_xss_filter": 0, - "in_filter": 0, - "in_global_search": 0, - "in_list_view": 0, - "in_standard_filter": 0, - "label": "Phone", - "length": 0, - "no_copy": 0, - "permlevel": 0, - "precision": "", - "print_hide": 0, - "print_hide_if_no_value": 0, - "read_only": 0, - "remember_last_selected_value": 0, - "report_hide": 0, - "reqd": 0, - "search_index": 0, - "set_only_once": 0, + "allow_bulk_edit": 0, + "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, + "columns": 0, + "fieldname": "phone", + "fieldtype": "Data", + "hidden": 0, + "ignore_user_permissions": 0, + "ignore_xss_filter": 0, + "in_filter": 0, + "in_global_search": 0, + "in_list_view": 0, + "in_standard_filter": 0, + "label": "Phone", + "length": 0, + "no_copy": 0, + "permlevel": 0, + "precision": "", + "print_hide": 0, + "print_hide_if_no_value": 0, + "read_only": 0, + "remember_last_selected_value": 0, + "report_hide": 0, + "reqd": 0, + "search_index": 0, + "set_only_once": 0, + "translatable": 0, "unique": 0 - }, + }, { - "allow_bulk_edit": 0, - "allow_on_submit": 0, - "bold": 0, - "collapsible": 0, - "columns": 0, - "fieldname": "website", - "fieldtype": "Data", - "hidden": 0, - "ignore_user_permissions": 0, - "ignore_xss_filter": 0, - "in_filter": 0, - "in_global_search": 0, - "in_list_view": 0, - "in_standard_filter": 0, - "label": "Website", - "length": 0, - "no_copy": 0, - "permlevel": 0, - "precision": "", - "print_hide": 0, - "print_hide_if_no_value": 0, - "read_only": 0, - "remember_last_selected_value": 0, - "report_hide": 0, - "reqd": 0, - "search_index": 0, - "set_only_once": 0, + "allow_bulk_edit": 0, + "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, + "columns": 0, + "fieldname": "website_url", + "fieldtype": "Data", + "hidden": 0, + "ignore_user_permissions": 0, + "ignore_xss_filter": 0, + "in_filter": 0, + "in_global_search": 0, + "in_list_view": 0, + "in_standard_filter": 0, + "label": "Website", + "length": 0, + "no_copy": 0, + "permlevel": 0, + "precision": "", + "print_hide": 0, + "print_hide_if_no_value": 0, + "read_only": 0, + "remember_last_selected_value": 0, + "report_hide": 0, + "reqd": 0, + "search_index": 0, + "set_only_once": 0, + "translatable": 0, "unique": 0 - }, + }, { - "allow_bulk_edit": 0, - "allow_on_submit": 0, - "bold": 0, - "collapsible": 0, - "columns": 0, - "fieldname": "address", - "fieldtype": "Small Text", - "hidden": 0, - "ignore_user_permissions": 0, - "ignore_xss_filter": 0, - "in_filter": 0, - "in_global_search": 0, - "in_list_view": 0, - "in_standard_filter": 0, - "label": "Address", - "length": 0, - "no_copy": 0, - "permlevel": 0, - "precision": "", - "print_hide": 0, - "print_hide_if_no_value": 0, - "read_only": 0, - "remember_last_selected_value": 0, - "report_hide": 0, - "reqd": 0, - "search_index": 0, - "set_only_once": 0, + "allow_bulk_edit": 0, + "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, + "columns": 0, + "fieldname": "address", + "fieldtype": "Small Text", + "hidden": 0, + "ignore_user_permissions": 0, + "ignore_xss_filter": 0, + "in_filter": 0, + "in_global_search": 0, + "in_list_view": 0, + "in_standard_filter": 0, + "label": "Address", + "length": 0, + "no_copy": 0, + "permlevel": 0, + "precision": "", + "print_hide": 0, + "print_hide_if_no_value": 0, + "read_only": 0, + "remember_last_selected_value": 0, + "report_hide": 0, + "reqd": 0, + "search_index": 0, + "set_only_once": 0, + "translatable": 0, "unique": 0 - }, + }, { - "allow_bulk_edit": 0, - "allow_on_submit": 0, - "bold": 0, - "collapsible": 0, - "columns": 0, - "fieldname": "column_break_8", - "fieldtype": "Column Break", - "hidden": 0, - "ignore_user_permissions": 0, - "ignore_xss_filter": 0, - "in_filter": 0, - "in_global_search": 0, - "in_list_view": 0, - "in_standard_filter": 0, - "length": 0, - "no_copy": 0, - "permlevel": 0, - "precision": "", - "print_hide": 0, - "print_hide_if_no_value": 0, - "read_only": 0, - "remember_last_selected_value": 0, - "report_hide": 0, - "reqd": 0, - "search_index": 0, - "set_only_once": 0, + "allow_bulk_edit": 0, + "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, + "columns": 0, + "fieldname": "column_break_8", + "fieldtype": "Column Break", + "hidden": 0, + "ignore_user_permissions": 0, + "ignore_xss_filter": 0, + "in_filter": 0, + "in_global_search": 0, + "in_list_view": 0, + "in_standard_filter": 0, + "length": 0, + "no_copy": 0, + "permlevel": 0, + "precision": "", + "print_hide": 0, + "print_hide_if_no_value": 0, + "read_only": 0, + "remember_last_selected_value": 0, + "report_hide": 0, + "reqd": 0, + "search_index": 0, + "set_only_once": 0, + "translatable": 0, "unique": 0 - }, + }, { - "allow_bulk_edit": 0, - "allow_on_submit": 0, - "bold": 0, - "collapsible": 0, - "columns": 0, - "fieldname": "image", - "fieldtype": "Attach Image", - "hidden": 0, - "ignore_user_permissions": 0, - "ignore_xss_filter": 0, - "in_filter": 0, - "in_global_search": 0, - "in_list_view": 0, - "in_standard_filter": 0, - "label": "Image", - "length": 0, - "no_copy": 0, - "permlevel": 0, - "precision": "", - "print_hide": 0, - "print_hide_if_no_value": 0, - "read_only": 0, - "remember_last_selected_value": 0, - "report_hide": 0, - "reqd": 0, - "search_index": 0, - "set_only_once": 0, + "allow_bulk_edit": 0, + "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, + "columns": 0, + "fieldname": "image", + "fieldtype": "Attach Image", + "hidden": 0, + "ignore_user_permissions": 0, + "ignore_xss_filter": 0, + "in_filter": 0, + "in_global_search": 0, + "in_list_view": 0, + "in_standard_filter": 0, + "label": "Image", + "length": 0, + "no_copy": 0, + "permlevel": 0, + "precision": "", + "print_hide": 0, + "print_hide_if_no_value": 0, + "read_only": 0, + "remember_last_selected_value": 0, + "report_hide": 0, + "reqd": 0, + "search_index": 0, + "set_only_once": 0, + "translatable": 0, "unique": 0 - }, + }, { - "allow_bulk_edit": 0, - "allow_on_submit": 0, - "bold": 0, - "collapsible": 0, - "columns": 0, - "fieldname": "section_break_10", - "fieldtype": "Section Break", - "hidden": 0, - "ignore_user_permissions": 0, - "ignore_xss_filter": 0, - "in_filter": 0, - "in_global_search": 0, - "in_list_view": 0, - "in_standard_filter": 0, - "length": 0, - "no_copy": 0, - "permlevel": 0, - "precision": "", - "print_hide": 0, - "print_hide_if_no_value": 0, - "read_only": 0, - "remember_last_selected_value": 0, - "report_hide": 0, - "reqd": 0, - "search_index": 0, - "set_only_once": 0, + "allow_bulk_edit": 0, + "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, + "columns": 0, + "fieldname": "section_break_10", + "fieldtype": "Section Break", + "hidden": 0, + "ignore_user_permissions": 0, + "ignore_xss_filter": 0, + "in_filter": 0, + "in_global_search": 0, + "in_list_view": 0, + "in_standard_filter": 0, + "length": 0, + "no_copy": 0, + "permlevel": 0, + "precision": "", + "print_hide": 0, + "print_hide_if_no_value": 0, + "read_only": 0, + "remember_last_selected_value": 0, + "report_hide": 0, + "reqd": 0, + "search_index": 0, + "set_only_once": 0, + "translatable": 0, "unique": 0 - }, + }, { - "allow_bulk_edit": 0, - "allow_on_submit": 0, - "bold": 0, - "collapsible": 0, - "columns": 0, - "fieldname": "introduction", - "fieldtype": "Small Text", - "hidden": 0, - "ignore_user_permissions": 0, - "ignore_xss_filter": 0, - "in_filter": 0, - "in_global_search": 1, - "in_list_view": 1, - "in_standard_filter": 0, - "label": "Introduction", - "length": 0, - "no_copy": 0, - "permlevel": 0, - "precision": "", - "print_hide": 0, - "print_hide_if_no_value": 0, - "read_only": 0, - "remember_last_selected_value": 0, - "report_hide": 0, - "reqd": 1, - "search_index": 0, - "set_only_once": 0, + "allow_bulk_edit": 0, + "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, + "columns": 0, + "fieldname": "introduction", + "fieldtype": "Small Text", + "hidden": 0, + "ignore_user_permissions": 0, + "ignore_xss_filter": 0, + "in_filter": 0, + "in_global_search": 1, + "in_list_view": 1, + "in_standard_filter": 0, + "label": "Introduction", + "length": 0, + "no_copy": 0, + "permlevel": 0, + "precision": "", + "print_hide": 0, + "print_hide_if_no_value": 0, + "read_only": 0, + "remember_last_selected_value": 0, + "report_hide": 0, + "reqd": 1, + "search_index": 0, + "set_only_once": 0, + "translatable": 0, "unique": 0 - }, + }, { - "allow_bulk_edit": 0, - "allow_on_submit": 0, - "bold": 0, - "collapsible": 0, - "columns": 0, - "fieldname": "details", - "fieldtype": "Text Editor", - "hidden": 0, - "ignore_user_permissions": 0, - "ignore_xss_filter": 0, - "in_filter": 0, - "in_global_search": 1, - "in_list_view": 1, - "in_standard_filter": 0, - "label": "Details", - "length": 0, - "no_copy": 0, - "permlevel": 0, - "precision": "", - "print_hide": 0, - "print_hide_if_no_value": 0, - "read_only": 0, - "remember_last_selected_value": 0, - "report_hide": 0, - "reqd": 1, - "search_index": 0, - "set_only_once": 0, + "allow_bulk_edit": 0, + "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, + "columns": 0, + "fieldname": "details", + "fieldtype": "Text Editor", + "hidden": 0, + "ignore_user_permissions": 0, + "ignore_xss_filter": 0, + "in_filter": 0, + "in_global_search": 1, + "in_list_view": 1, + "in_standard_filter": 0, + "label": "Details", + "length": 0, + "no_copy": 0, + "permlevel": 0, + "precision": "", + "print_hide": 0, + "print_hide_if_no_value": 0, + "read_only": 0, + "remember_last_selected_value": 0, + "report_hide": 0, + "reqd": 1, + "search_index": 0, + "set_only_once": 0, + "translatable": 0, "unique": 0 - }, + }, { - "allow_bulk_edit": 0, - "allow_on_submit": 0, - "bold": 0, - "collapsible": 0, - "columns": 0, - "fieldname": "section_break_13", - "fieldtype": "Section Break", - "hidden": 0, - "ignore_user_permissions": 0, - "ignore_xss_filter": 0, - "in_filter": 0, - "in_global_search": 0, - "in_list_view": 0, - "in_standard_filter": 0, - "length": 0, - "no_copy": 0, - "permlevel": 0, - "precision": "", - "print_hide": 0, - "print_hide_if_no_value": 0, - "read_only": 0, - "remember_last_selected_value": 0, - "report_hide": 0, - "reqd": 0, - "search_index": 0, - "set_only_once": 0, + "allow_bulk_edit": 0, + "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, + "columns": 0, + "fieldname": "section_break_13", + "fieldtype": "Section Break", + "hidden": 0, + "ignore_user_permissions": 0, + "ignore_xss_filter": 0, + "in_filter": 0, + "in_global_search": 0, + "in_list_view": 0, + "in_standard_filter": 0, + "length": 0, + "no_copy": 0, + "permlevel": 0, + "precision": "", + "print_hide": 0, + "print_hide_if_no_value": 0, + "read_only": 0, + "remember_last_selected_value": 0, + "report_hide": 0, + "reqd": 0, + "search_index": 0, + "set_only_once": 0, + "translatable": 0, "unique": 0 - }, + }, { - "allow_bulk_edit": 0, - "allow_on_submit": 0, - "bold": 0, - "collapsible": 0, - "columns": 0, - "fieldname": "discuss_id", - "fieldtype": "Data", - "hidden": 0, - "ignore_user_permissions": 0, - "ignore_xss_filter": 0, - "in_filter": 0, - "in_global_search": 0, - "in_list_view": 0, - "in_standard_filter": 0, - "label": "Discuss ID", - "length": 0, - "no_copy": 0, - "permlevel": 0, - "precision": "", - "print_hide": 0, - "print_hide_if_no_value": 0, - "read_only": 0, - "remember_last_selected_value": 0, - "report_hide": 0, - "reqd": 0, - "search_index": 0, - "set_only_once": 0, + "allow_bulk_edit": 0, + "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, + "columns": 0, + "fieldname": "discuss_id", + "fieldtype": "Data", + "hidden": 0, + "ignore_user_permissions": 0, + "ignore_xss_filter": 0, + "in_filter": 0, + "in_global_search": 0, + "in_list_view": 0, + "in_standard_filter": 0, + "label": "Discuss ID", + "length": 0, + "no_copy": 0, + "permlevel": 0, + "precision": "", + "print_hide": 0, + "print_hide_if_no_value": 0, + "read_only": 0, + "remember_last_selected_value": 0, + "report_hide": 0, + "reqd": 0, + "search_index": 0, + "set_only_once": 0, + "translatable": 0, "unique": 0 - }, + }, { - "allow_bulk_edit": 0, - "allow_on_submit": 0, - "bold": 0, - "collapsible": 0, - "columns": 0, - "fieldname": "github_id", - "fieldtype": "Data", - "hidden": 0, - "ignore_user_permissions": 0, - "ignore_xss_filter": 0, - "in_filter": 0, - "in_global_search": 0, - "in_list_view": 0, - "in_standard_filter": 0, - "label": "GitHub ID", - "length": 0, - "no_copy": 0, - "permlevel": 0, - "precision": "", - "print_hide": 0, - "print_hide_if_no_value": 0, - "read_only": 0, - "remember_last_selected_value": 0, - "report_hide": 0, - "reqd": 0, - "search_index": 0, - "set_only_once": 0, + "allow_bulk_edit": 0, + "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, + "columns": 0, + "fieldname": "github_id", + "fieldtype": "Data", + "hidden": 0, + "ignore_user_permissions": 0, + "ignore_xss_filter": 0, + "in_filter": 0, + "in_global_search": 0, + "in_list_view": 0, + "in_standard_filter": 0, + "label": "GitHub ID", + "length": 0, + "no_copy": 0, + "permlevel": 0, + "precision": "", + "print_hide": 0, + "print_hide_if_no_value": 0, + "read_only": 0, + "remember_last_selected_value": 0, + "report_hide": 0, + "reqd": 0, + "search_index": 0, + "set_only_once": 0, + "translatable": 0, "unique": 0 - }, + }, { - "allow_bulk_edit": 0, - "allow_on_submit": 0, - "bold": 0, - "collapsible": 0, - "columns": 0, - "fieldname": "route", - "fieldtype": "Data", - "hidden": 0, - "ignore_user_permissions": 0, - "ignore_xss_filter": 0, - "in_filter": 0, - "in_global_search": 0, - "in_list_view": 0, - "in_standard_filter": 0, - "label": "Route", - "length": 0, - "no_copy": 0, - "permlevel": 0, - "precision": "", - "print_hide": 0, - "print_hide_if_no_value": 0, - "read_only": 0, - "remember_last_selected_value": 0, - "report_hide": 0, - "reqd": 0, - "search_index": 0, - "set_only_once": 0, + "allow_bulk_edit": 0, + "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, + "columns": 0, + "fieldname": "route", + "fieldtype": "Data", + "hidden": 0, + "ignore_user_permissions": 0, + "ignore_xss_filter": 0, + "in_filter": 0, + "in_global_search": 0, + "in_list_view": 0, + "in_standard_filter": 0, + "label": "Route", + "length": 0, + "no_copy": 0, + "permlevel": 0, + "precision": "", + "print_hide": 0, + "print_hide_if_no_value": 0, + "read_only": 0, + "remember_last_selected_value": 0, + "report_hide": 0, + "reqd": 0, + "search_index": 0, + "set_only_once": 0, + "translatable": 0, "unique": 0 - }, + }, { - "allow_bulk_edit": 0, - "allow_on_submit": 0, - "bold": 0, - "collapsible": 0, - "columns": 0, - "fieldname": "show_in_website", - "fieldtype": "Check", - "hidden": 0, - "ignore_user_permissions": 0, - "ignore_xss_filter": 0, - "in_filter": 0, - "in_global_search": 0, - "in_list_view": 0, - "in_standard_filter": 0, - "label": "Show in Website", - "length": 0, - "no_copy": 0, - "permlevel": 0, - "precision": "", - "print_hide": 0, - "print_hide_if_no_value": 0, - "read_only": 0, - "remember_last_selected_value": 0, - "report_hide": 0, - "reqd": 0, - "search_index": 0, - "set_only_once": 0, + "allow_bulk_edit": 0, + "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, + "columns": 0, + "fieldname": "show_in_website", + "fieldtype": "Check", + "hidden": 0, + "ignore_user_permissions": 0, + "ignore_xss_filter": 0, + "in_filter": 0, + "in_global_search": 0, + "in_list_view": 0, + "in_standard_filter": 0, + "label": "Show in Website", + "length": 0, + "no_copy": 0, + "permlevel": 0, + "precision": "", + "print_hide": 0, + "print_hide_if_no_value": 0, + "read_only": 0, + "remember_last_selected_value": 0, + "report_hide": 0, + "reqd": 0, + "search_index": 0, + "set_only_once": 0, + "translatable": 0, "unique": 0 } - ], - "has_web_view": 1, - "hide_heading": 0, - "hide_toolbar": 0, - "idx": 0, - "image_field": "image", - "image_view": 0, - "in_create": 0, - "is_published_field": "show_in_website", - "is_submittable": 0, - "issingle": 0, - "istable": 0, - "max_attachments": 0, - "modified": "2017-10-27 05:14:36.189151", - "modified_by": "Administrator", - "module": "ERPNext Foundation", - "name": "Foundation Fellowship", - "name_case": "", - "owner": "Administrator", + ], + "has_web_view": 1, + "hide_heading": 0, + "hide_toolbar": 0, + "idx": 0, + "image_field": "image", + "image_view": 0, + "in_create": 0, + "is_published_field": "show_in_website", + "is_submittable": 0, + "issingle": 0, + "istable": 0, + "max_attachments": 0, + "modified": "2018-03-01 17:08:43.568397", + "modified_by": "Administrator", + "module": "ERPNext Foundation", + "name": "Foundation Fellowship", + "name_case": "", + "owner": "Administrator", "permissions": [ { - "amend": 0, - "apply_user_permissions": 0, - "cancel": 0, - "create": 1, - "delete": 1, - "email": 1, - "export": 1, - "if_owner": 0, - "import": 0, - "permlevel": 0, - "print": 1, - "read": 1, - "report": 1, - "role": "System Manager", - "set_user_permissions": 0, - "share": 1, - "submit": 0, + "amend": 0, + "apply_user_permissions": 0, + "cancel": 0, + "create": 1, + "delete": 1, + "email": 1, + "export": 1, + "if_owner": 0, + "import": 0, + "permlevel": 0, + "print": 1, + "read": 1, + "report": 1, + "role": "System Manager", + "set_user_permissions": 0, + "share": 1, + "submit": 0, "write": 1 } - ], - "quick_entry": 1, - "read_only": 0, - "read_only_onload": 0, - "route": "foundation-fellow", - "show_name_in_global_search": 0, - "sort_field": "modified", - "sort_order": "DESC", - "track_changes": 1, + ], + "quick_entry": 1, + "read_only": 0, + "read_only_onload": 0, + "route": "foundation-fellow", + "show_name_in_global_search": 0, + "sort_field": "modified", + "sort_order": "DESC", + "track_changes": 1, "track_seen": 0 -} \ No newline at end of file +} diff --git a/foundation/erpnext_foundation/doctype/foundation_fellowship/foundation_fellowship.py b/foundation/erpnext_foundation/doctype/foundation_fellowship/foundation_fellowship.py index 52019838..c15540d8 100644 --- a/foundation/erpnext_foundation/doctype/foundation_fellowship/foundation_fellowship.py +++ b/foundation/erpnext_foundation/doctype/foundation_fellowship/foundation_fellowship.py @@ -7,9 +7,10 @@ import frappe from frappe.website.website_generator import WebsiteGenerator class FoundationFellowship(WebsiteGenerator): - _website = frappe._dict( - condition_field = "show_in_website", + website = frappe._dict( + condition_field = "show_in_website" ) + def validate(self): if not self.route: self.route = 'foundation-fellow/' + self.scrub(self.name) @@ -26,4 +27,4 @@ def get_list_context(context): context.no_cache = True context.no_breadcrumbs = True context.order_by = 'creation desc' - context.introduction = '

Following are the Foundation Fellows

' \ No newline at end of file + context.introduction = '

Following are the Foundation Fellows

' diff --git a/foundation/erpnext_foundation/doctype/foundation_fellowship/templates/foundation_fellowship.html b/foundation/erpnext_foundation/doctype/foundation_fellowship/templates/foundation_fellowship.html index c733dd1b..33cf49fd 100644 --- a/foundation/erpnext_foundation/doctype/foundation_fellowship/templates/foundation_fellowship.html +++ b/foundation/erpnext_foundation/doctype/foundation_fellowship/templates/foundation_fellowship.html @@ -5,7 +5,7 @@ {% block page_content %}

{{ title }}

-
+
Website - {{ website }} diff --git a/foundation/erpnext_foundation/doctype/foundation_fellowship/templates/foundation_fellowship_row.html b/foundation/erpnext_foundation/doctype/foundation_fellowship/templates/foundation_fellowship_row.html index 049a778b..8856b485 100644 --- a/foundation/erpnext_foundation/doctype/foundation_fellowship/templates/foundation_fellowship_row.html +++ b/foundation/erpnext_foundation/doctype/foundation_fellowship/templates/foundation_fellowship_row.html @@ -1,11 +1,16 @@ -
- -

{{ doc.title }}

-

+

+ +
+ {% if title %}

{{ doc.title }}

{% endif %} +

{{ frappe.format_date(doc.creation) }} {{ doc.country }} - -

- +

+
diff --git a/foundation/erpnext_foundation/doctype/service_provider/service_provider.py b/foundation/erpnext_foundation/doctype/service_provider/service_provider.py index 280c983e..bd86f850 100644 --- a/foundation/erpnext_foundation/doctype/service_provider/service_provider.py +++ b/foundation/erpnext_foundation/doctype/service_provider/service_provider.py @@ -23,6 +23,14 @@ class ServiceProvider(WebsiteGenerator): context.membership_type = frappe.get_value('Member', self.member, 'membership_type') if context.website and not context.website.startswith('http'): context.website = 'http://' + context.website + if not context.image: + if context.membership_type == "Gold": + context.image = "/assets/foundation/img/gold.png" + elif context.membership_type == "Silver": + context.image = "/assets/foundation/img/silver.png" + else: + context.image = "/assets/foundation/img/default-membership-logo.png" + def send_alert_to_inactive_service_providers(): @@ -55,4 +63,4 @@ def get_last_login_diff(user): last_login = frappe.db.get_value("User", user, ["last_login"]) for x in xrange(1,10): print((get_datetime() - get_datetime(last_login)).days, user) - return (get_datetime() - get_datetime(last_login)).days \ No newline at end of file + return (get_datetime() - get_datetime(last_login)).days diff --git a/foundation/erpnext_foundation/doctype/service_provider/templates/service_provider.html b/foundation/erpnext_foundation/doctype/service_provider/templates/service_provider.html index 1f9c4e08..e312e5ce 100644 --- a/foundation/erpnext_foundation/doctype/service_provider/templates/service_provider.html +++ b/foundation/erpnext_foundation/doctype/service_provider/templates/service_provider.html @@ -1,25 +1,22 @@ {% extends "templates/web.html" %} {% from "foundation/templates/includes/macros.html" import media %} - {% block page_content %}

{{ title }}

{% if membership_type %}

{{ membership_type }} Member

{% endif %}
-
-
+
+
{{ introduction }} - +
@@ -52,5 +49,4 @@

Contact {{ title }}

- {% endblock %} diff --git a/foundation/hooks.py b/foundation/hooks.py index 86dd8cc9..d72e7e6e 100644 --- a/foundation/hooks.py +++ b/foundation/hooks.py @@ -36,14 +36,11 @@ app_license = "MIT" # application home page (will override Website Settings) home_page = "index" -template_apps = ['foundation', 'frappe_theme', 'erpnext', 'frappe'] +template_apps = ['foundation', 'erpnext', 'frappe'] website_context = { # "navbar_search": 1, - "brand_html": "ERPNext.org", - "copyright": "ERPNext Open Source Software Foundation", - "footer_address": "
ERPNext is and will always be 100% Open Source", + "brand_html": "Oensource ERP SoftwareERPNext.org", "top_bar_items": [ - {"label": "User Manual", "url": "/docs", "right": 1}, {"label": "Foundation", "child_items":[ {"label": "Chapter", "url": "/chapters","right": 1}, {"label": "Foundation Fellow", "url": "/foundation-fellow","right": 1} @@ -52,10 +49,9 @@ website_context = { {"label": "Service Providers", "url": "/service-providers","right": 1}, {"label": "Freelancer Jobs", "url": "/erpnext-jobs", "right": 1}, ], "right":1}, - {"label": "About", "url": "/about", "right": 1}, ], "hide_login": 0, - "favicon": "/assets/frappe_theme/img/favicon.ico" + "favicon": "/assets/foundation/img/favicon.ico" } # website user home page (by Role) # role_home_page = { diff --git a/foundation/patches.txt b/foundation/patches.txt index 0694358b..f98b4977 100644 --- a/foundation/patches.txt +++ b/foundation/patches.txt @@ -1 +1,2 @@ -foundation.patches.v0_0.update_erpnext_job_route \ No newline at end of file +foundation.patches.v0_0.update_erpnext_job_route +foundation.patches.v0_0.change_website_to_website_url diff --git a/foundation/patches/v0_0/change_website_to_website_url.py b/foundation/patches/v0_0/change_website_to_website_url.py new file mode 100644 index 00000000..4beb63a8 --- /dev/null +++ b/foundation/patches/v0_0/change_website_to_website_url.py @@ -0,0 +1,6 @@ +import frappe + +def execute(): + frappe.db.sql(''' + ALTER TABLE `tabFoundation Fellowship` CHANGE `website` `website_url` varchar(140); + ''') \ No newline at end of file diff --git a/foundation/public/build.json b/foundation/public/build.json new file mode 100644 index 00000000..929db60a --- /dev/null +++ b/foundation/public/build.json @@ -0,0 +1,5 @@ +{ + "foundation/css/erpnext-org-theme.css": [ + "public/less/erpnext-org-theme.less" + ] +} diff --git a/foundation/public/css/bootstrap-for-webform.css b/foundation/public/css/bootstrap-for-webform.css new file mode 100644 index 00000000..aa81aaa6 --- /dev/null +++ b/foundation/public/css/bootstrap-for-webform.css @@ -0,0 +1,1725 @@ +.table { + width: 100%; + max-width: 100%; + margin-bottom: 20px; +} +.table > thead > tr > th, +.table > tbody > tr > th, +.table > tfoot > tr > th, +.table > thead > tr > td, +.table > tbody > tr > td, +.table > tfoot > tr > td { + padding: 8px; + line-height: 1.42857143; + vertical-align: top; + border-top: 1px solid #d1d8dd; +} +.table > thead > tr > th { + vertical-align: bottom; + border-bottom: 2px solid #d1d8dd; +} +.table > caption + thead > tr:first-child > th, +.table > colgroup + thead > tr:first-child > th, +.table > thead:first-child > tr:first-child > th, +.table > caption + thead > tr:first-child > td, +.table > colgroup + thead > tr:first-child > td, +.table > thead:first-child > tr:first-child > td { + border-top: 0; +} +.table > tbody + tbody { + border-top: 2px solid #d1d8dd; +} +.table .table { + background-color: #fff; +} +.table-condensed > thead > tr > th, +.table-condensed > tbody > tr > th, +.table-condensed > tfoot > tr > th, +.table-condensed > thead > tr > td, +.table-condensed > tbody > tr > td, +.table-condensed > tfoot > tr > td { + padding: 5px; +} +.table-bordered { + border: 1px solid #d1d8dd; +} +.table-bordered > thead > tr > th, +.table-bordered > tbody > tr > th, +.table-bordered > tfoot > tr > th, +.table-bordered > thead > tr > td, +.table-bordered > tbody > tr > td, +.table-bordered > tfoot > tr > td { + border: 1px solid #d1d8dd; +} +.table-bordered > thead > tr > th, +.table-bordered > thead > tr > td { + border-bottom-width: 2px; +} +.table-striped > tbody > tr:nth-child(odd) { + background-color: #f9f9f9; +} +.table-hover > tbody > tr:hover { + background-color: #f5f5f5; +} +table col[class*="col-"] { + position: static; + display: table-column; + float: none; +} +table td[class*="col-"], +table th[class*="col-"] { + position: static; + display: table-cell; + float: none; +} +.table > thead > tr > td.active, +.table > tbody > tr > td.active, +.table > tfoot > tr > td.active, +.table > thead > tr > th.active, +.table > tbody > tr > th.active, +.table > tfoot > tr > th.active, +.table > thead > tr.active > td, +.table > tbody > tr.active > td, +.table > tfoot > tr.active > td, +.table > thead > tr.active > th, +.table > tbody > tr.active > th, +.table > tfoot > tr.active > th { + background-color: #f5f5f5; +} +.table-hover > tbody > tr > td.active:hover, +.table-hover > tbody > tr > th.active:hover, +.table-hover > tbody > tr.active:hover > td, +.table-hover > tbody > tr:hover > .active, +.table-hover > tbody > tr.active:hover > th { + background-color: #e8e8e8; +} +.table > thead > tr > td.success, +.table > tbody > tr > td.success, +.table > tfoot > tr > td.success, +.table > thead > tr > th.success, +.table > tbody > tr > th.success, +.table > tfoot > tr > th.success, +.table > thead > tr.success > td, +.table > tbody > tr.success > td, +.table > tfoot > tr.success > td, +.table > thead > tr.success > th, +.table > tbody > tr.success > th, +.table > tfoot > tr.success > th { + background-color: transparent; +} +.table-hover > tbody > tr > td.success:hover, +.table-hover > tbody > tr > th.success:hover, +.table-hover > tbody > tr.success:hover > td, +.table-hover > tbody > tr:hover > .success, +.table-hover > tbody > tr.success:hover > th { + background-color: rgba(0, 0, 0, 0); +} +.table > thead > tr > td.info, +.table > tbody > tr > td.info, +.table > tfoot > tr > td.info, +.table > thead > tr > th.info, +.table > tbody > tr > th.info, +.table > tfoot > tr > th.info, +.table > thead > tr.info > td, +.table > tbody > tr.info > td, +.table > tfoot > tr.info > td, +.table > thead > tr.info > th, +.table > tbody > tr.info > th, +.table > tfoot > tr.info > th { + background-color: transparent; +} +.table-hover > tbody > tr > td.info:hover, +.table-hover > tbody > tr > th.info:hover, +.table-hover > tbody > tr.info:hover > td, +.table-hover > tbody > tr:hover > .info, +.table-hover > tbody > tr.info:hover > th { + background-color: rgba(0, 0, 0, 0); +} +.table > thead > tr > td.warning, +.table > tbody > tr > td.warning, +.table > tfoot > tr > td.warning, +.table > thead > tr > th.warning, +.table > tbody > tr > th.warning, +.table > tfoot > tr > th.warning, +.table > thead > tr.warning > td, +.table > tbody > tr.warning > td, +.table > tfoot > tr.warning > td, +.table > thead > tr.warning > th, +.table > tbody > tr.warning > th, +.table > tfoot > tr.warning > th { + background-color: transparent; +} +.table-hover > tbody > tr > td.warning:hover, +.table-hover > tbody > tr > th.warning:hover, +.table-hover > tbody > tr.warning:hover > td, +.table-hover > tbody > tr:hover > .warning, +.table-hover > tbody > tr.warning:hover > th { + background-color: rgba(0, 0, 0, 0); +} +.table > thead > tr > td.danger, +.table > tbody > tr > td.danger, +.table > tfoot > tr > td.danger, +.table > thead > tr > th.danger, +.table > tbody > tr > th.danger, +.table > tfoot > tr > th.danger, +.table > thead > tr.danger > td, +.table > tbody > tr.danger > td, +.table > tfoot > tr.danger > td, +.table > thead > tr.danger > th, +.table > tbody > tr.danger > th, +.table > tfoot > tr.danger > th { + background-color: transparent; +} +.table-hover > tbody > tr > td.danger:hover, +.table-hover > tbody > tr > th.danger:hover, +.table-hover > tbody > tr.danger:hover > td, +.table-hover > tbody > tr:hover > .danger, +.table-hover > tbody > tr.danger:hover > th { + background-color: rgba(0, 0, 0, 0); +} +.table-responsive { + min-height: .01%; + overflow-x: auto; +} +@media screen and (max-width: 767px) { + .table-responsive { + width: 100%; + margin-bottom: 15px; + overflow-y: hidden; + -ms-overflow-style: -ms-autohiding-scrollbar; + border: 1px solid #d1d8dd; + } + .table-responsive > .table { + margin-bottom: 0; + } + .table-responsive > .table > thead > tr > th, + .table-responsive > .table > tbody > tr > th, + .table-responsive > .table > tfoot > tr > th, + .table-responsive > .table > thead > tr > td, + .table-responsive > .table > tbody > tr > td, + .table-responsive > .table > tfoot > tr > td { + white-space: nowrap; + } + .table-responsive > .table-bordered { + border: 0; + } + .table-responsive > .table-bordered > thead > tr > th:first-child, + .table-responsive > .table-bordered > tbody > tr > th:first-child, + .table-responsive > .table-bordered > tfoot > tr > th:first-child, + .table-responsive > .table-bordered > thead > tr > td:first-child, + .table-responsive > .table-bordered > tbody > tr > td:first-child, + .table-responsive > .table-bordered > tfoot > tr > td:first-child { + border-left: 0; + } + .table-responsive > .table-bordered > thead > tr > th:last-child, + .table-responsive > .table-bordered > tbody > tr > th:last-child, + .table-responsive > .table-bordered > tfoot > tr > th:last-child, + .table-responsive > .table-bordered > thead > tr > td:last-child, + .table-responsive > .table-bordered > tbody > tr > td:last-child, + .table-responsive > .table-bordered > tfoot > tr > td:last-child { + border-right: 0; + } + .table-responsive > .table-bordered > tbody > tr:last-child > th, + .table-responsive > .table-bordered > tfoot > tr:last-child > th, + .table-responsive > .table-bordered > tbody > tr:last-child > td, + .table-responsive > .table-bordered > tfoot > tr:last-child > td { + border-bottom: 0; + } +} +fieldset { + min-width: 0; + padding: 0; + margin: 0; + border: 0; +} +legend { + display: block; + width: 100%; + padding: 0; + margin-bottom: 20px; + font-size: 21px; + line-height: inherit; + color: #333; + border: 0; + border-bottom: 1px solid #e5e5e5; +} +label { + display: inline-block; + max-width: 100%; + margin-bottom: 5px; + font-weight: bold; +} +input[type="search"] { + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; +} +input[type="radio"], +input[type="checkbox"] { + margin: 4px 0 0; + margin-top: 1px \9; + line-height: normal; +} +input[type="file"] { + display: block; +} +input[type="range"] { + display: block; + width: 100%; +} +select[multiple], +select[size] { + height: auto; +} +input[type="file"]:focus, +input[type="radio"]:focus, +input[type="checkbox"]:focus { + outline: thin dotted; + outline: 5px auto -webkit-focus-ring-color; + outline-offset: -2px; +} +output { + display: block; + padding-top: 5px; + font-size: 14px; + line-height: 1.42857143; + color: #555; +} +.form-control { + display: block; + width: 100%; + height: 30px; + padding: 4px 10px; + font-size: 14px; + line-height: 1.42857143; + color: #555; + background-color: #fff; + background-image: none; + border: 1px solid #d1d8dd; + border-radius: 4px; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075); + box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075); + -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s; + -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s; + transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s; +} +.form-control:focus { + border-color: #ced5db; + outline: 0; + -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(206, 213, 219, .6); + box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(206, 213, 219, .6); +} +.form-control:focus { + border-color: #ced5db; + outline: 0; + -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 3px rgba(206, 213, 219, .6); + box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 3px rgba(206, 213, 219, .6); +} +.form-control::-moz-placeholder { + color: #d1d8dd; + opacity: 1; +} +.form-control:-ms-input-placeholder { + color: #d1d8dd; +} +.form-control::-webkit-input-placeholder { + color: #d1d8dd; +} +.form-control[disabled], +.form-control[readonly], +fieldset[disabled] .form-control { + cursor: not-allowed; + background-color: #eee; + opacity: 1; +} +textarea.form-control { + height: auto; +} +input[type="search"] { + -webkit-appearance: none; +} +@media screen and (-webkit-min-device-pixel-ratio: 0) { + input[type="date"], + input[type="time"], + input[type="datetime-local"], + input[type="month"] { + line-height: 30px; + } + input[type="date"].input-sm, + input[type="time"].input-sm, + input[type="datetime-local"].input-sm, + input[type="month"].input-sm, + .input-group-sm input[type="date"], + .input-group-sm input[type="time"], + .input-group-sm input[type="datetime-local"], + .input-group-sm input[type="month"] { + line-height: 30px; + } + input[type="date"].input-lg, + input[type="time"].input-lg, + input[type="datetime-local"].input-lg, + input[type="month"].input-lg, + .input-group-lg input[type="date"], + .input-group-lg input[type="time"], + .input-group-lg input[type="datetime-local"], + .input-group-lg input[type="month"] { + line-height: 46px; + } +} +.form-group { + margin-bottom: 15px; +} +.radio, +.checkbox { + position: relative; + display: block; + margin-top: 10px; + margin-bottom: 10px; +} +.radio label, +.checkbox label { + min-height: 20px; + padding-left: 20px; + margin-bottom: 0; + font-weight: normal; + cursor: pointer; +} +.radio input[type="radio"], +.radio-inline input[type="radio"], +.checkbox input[type="checkbox"], +.checkbox-inline input[type="checkbox"] { + position: absolute; + margin-top: 4px \9; + margin-left: -20px; +} +.radio + .radio, +.checkbox + .checkbox { + margin-top: -5px; +} +.radio-inline, +.checkbox-inline { + display: inline-block; + padding-left: 20px; + margin-bottom: 0; + font-weight: normal; + vertical-align: middle; + cursor: pointer; +} +.radio-inline + .radio-inline, +.checkbox-inline + .checkbox-inline { + margin-top: 0; + margin-left: 10px; +} +input[type="radio"][disabled], +input[type="checkbox"][disabled], +input[type="radio"].disabled, +input[type="checkbox"].disabled, +fieldset[disabled] input[type="radio"], +fieldset[disabled] input[type="checkbox"] { + cursor: not-allowed; +} +.radio-inline.disabled, +.checkbox-inline.disabled, +fieldset[disabled] .radio-inline, +fieldset[disabled] .checkbox-inline { + cursor: not-allowed; +} +.radio.disabled label, +.checkbox.disabled label, +fieldset[disabled] .radio label, +fieldset[disabled] .checkbox label { + cursor: not-allowed; +} +.form-control-static { + padding-top: 5px; + padding-bottom: 5px; + margin-bottom: 0; +} +.form-control-static.input-lg, +.form-control-static.input-sm { + padding-right: 0; + padding-left: 0; +} +.input-sm { + height: 30px; + padding: 5px 10px; + font-size: 12px; + line-height: 1.5; + border-radius: 3px; +} +select.input-sm { + height: 30px; + line-height: 30px; +} +textarea.input-sm, +select[multiple].input-sm { + height: auto; +} +.form-group-sm .form-control { + height: 30px; + padding: 5px 10px; + font-size: 12px; + line-height: 1.5; + border-radius: 3px; +} +select.form-group-sm .form-control { + height: 30px; + line-height: 30px; +} +textarea.form-group-sm .form-control, +select[multiple].form-group-sm .form-control { + height: auto; +} +.input-lg { + height: 46px; + padding: 10px 16px; + font-size: 18px; + line-height: 1.33; + border-radius: 6px; +} +select.input-lg { + height: 46px; + line-height: 46px; +} +textarea.input-lg, +select[multiple].input-lg { + height: auto; +} +.form-group-lg .form-control { + height: 46px; + padding: 10px 16px; + font-size: 18px; + line-height: 1.33; + border-radius: 6px; +} +select.form-group-lg .form-control { + height: 46px; + line-height: 46px; +} +textarea.form-group-lg .form-control, +select[multiple].form-group-lg .form-control { + height: auto; +} +.has-feedback { + position: relative; +} +.has-feedback .form-control { + padding-right: 37.5px; +} +.form-control-feedback { + position: absolute; + top: 0; + right: 0; + z-index: 2; + display: block; + width: 30px; + height: 30px; + line-height: 30px; + text-align: center; + pointer-events: none; +} +.input-lg + .form-control-feedback { + width: 46px; + height: 46px; + line-height: 46px; +} +.input-sm + .form-control-feedback { + width: 30px; + height: 30px; + line-height: 30px; +} +.has-success .help-block, +.has-success .control-label, +.has-success .radio, +.has-success .checkbox, +.has-success .radio-inline, +.has-success .checkbox-inline, +.has-success.radio label, +.has-success.checkbox label, +.has-success.radio-inline label, +.has-success.checkbox-inline label { + color: #98d85b; +} +.has-success .form-control { + border-color: #98d85b; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075); + box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075); +} +.has-success .form-control:focus { + border-color: #7ece32; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #ccecad; + box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #ccecad; +} +.has-success .input-group-addon { + color: #98d85b; + background-color: transparent; + border-color: #98d85b; +} +.has-success .form-control-feedback { + color: #98d85b; +} +.has-warning .help-block, +.has-warning .control-label, +.has-warning .radio, +.has-warning .checkbox, +.has-warning .radio-inline, +.has-warning .checkbox-inline, +.has-warning.radio label, +.has-warning.checkbox label, +.has-warning.radio-inline label, +.has-warning.checkbox-inline label { + color: #ffa00a; +} +.has-warning .form-control { + border-color: #ffa00a; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075); + box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075); +} +.has-warning .form-control:focus { + border-color: #d68300; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #ffc870; + box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #ffc870; +} +.has-warning .input-group-addon { + color: #ffa00a; + background-color: transparent; + border-color: #ffa00a; +} +.has-warning .form-control-feedback { + color: #ffa00a; +} +.has-error .help-block, +.has-error .control-label, +.has-error .radio, +.has-error .checkbox, +.has-error .radio-inline, +.has-error .checkbox-inline, +.has-error.radio label, +.has-error.checkbox label, +.has-error.radio-inline label, +.has-error.checkbox-inline label { + color: #ff5858; +} +.has-error .form-control { + border-color: #ff5858; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075); + box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075); +} +.has-error .form-control:focus { + border-color: #ff2525; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #ffbebe; + box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #ffbebe; +} +.has-error .input-group-addon { + color: #ff5858; + background-color: transparent; + border-color: #ff5858; +} +.has-error .form-control-feedback { + color: #ff5858; +} +.has-feedback label ~ .form-control-feedback { + top: 25px; +} +.has-feedback label.sr-only ~ .form-control-feedback { + top: 0; +} +.help-block { + display: block; + margin-top: 5px; + margin-bottom: 10px; + color: #6b8196; +} +@media (min-width: 768px) { + .form-inline .form-group { + display: inline-block; + margin-bottom: 0; + vertical-align: middle; + } + .form-inline .form-control { + display: inline-block; + width: auto; + vertical-align: middle; + } + .form-inline .form-control-static { + display: inline-block; + } + .form-inline .input-group { + display: inline-table; + vertical-align: middle; + } + .form-inline .input-group .input-group-addon, + .form-inline .input-group .input-group-btn, + .form-inline .input-group .form-control { + width: auto; + } + .form-inline .input-group > .form-control { + width: 100%; + } + .form-inline .control-label { + margin-bottom: 0; + vertical-align: middle; + } + .form-inline .radio, + .form-inline .checkbox { + display: inline-block; + margin-top: 0; + margin-bottom: 0; + vertical-align: middle; + } + .form-inline .radio label, + .form-inline .checkbox label { + padding-left: 0; + } + .form-inline .radio input[type="radio"], + .form-inline .checkbox input[type="checkbox"] { + position: relative; + margin-left: 0; + } + .form-inline .has-feedback .form-control-feedback { + top: 0; + } +} +.form-horizontal .radio, +.form-horizontal .checkbox, +.form-horizontal .radio-inline, +.form-horizontal .checkbox-inline { + padding-top: 5px; + margin-top: 0; + margin-bottom: 0; +} +.form-horizontal .radio, +.form-horizontal .checkbox { + min-height: 25px; +} +.form-horizontal .form-group { + margin-right: -15px; + margin-left: -15px; +} +@media (min-width: 768px) { + .form-horizontal .control-label { + padding-top: 5px; + margin-bottom: 0; + text-align: right; + } +} +.form-horizontal .has-feedback .form-control-feedback { + right: 15px; +} +@media (min-width: 768px) { + .form-horizontal .form-group-lg .control-label { + padding-top: 14.3px; + } +} +@media (min-width: 768px) { + .form-horizontal .form-group-sm .control-label { + padding-top: 6px; + } +} +.btn { + display: inline-block; + padding: .25rem .5rem; + margin-bottom: 0; + font-size: 1rem; + font-weight: normal; + line-height: 1.42857143; + text-align: center; + white-space: nowrap; + vertical-align: middle; + -ms-touch-action: manipulation; + touch-action: manipulation; + cursor: pointer; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + background-image: none; + border: 1px solid transparent; + border-radius: .25rem; +} +.btn:focus, +.btn:active:focus, +.btn.active:focus, +.btn.focus, +.btn:active.focus, +.btn.active.focus { + outline: thin dotted; + outline: 5px auto -webkit-focus-ring-color; + outline-offset: -2px; +} +.btn:hover, +.btn:focus, +.btn.focus { + color: inherit; + text-decoration: none; +} +.btn:active, +.btn.active { + background-image: none; + outline: 0; + -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125); + box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125); +} +.btn.disabled, +.btn[disabled], +fieldset[disabled] .btn { + pointer-events: none; + cursor: not-allowed; + filter: alpha(opacity=65); + -webkit-box-shadow: none; + box-shadow: none; + opacity: .65; +} +.btn-default { + color: inherit; + background-color: #f0f4f7; + border-color: transparent; +} +.btn-default:hover, +.btn-default:focus, +.btn-default.focus, +.btn-default:active, +.btn-default.active, +.open > .dropdown-toggle.btn-default { + color: inherit; + background-color: #cfdce5; + border-color: rgba(0, 0, 0, 0); +} +.btn-default:active, +.btn-default.active, +.open > .dropdown-toggle.btn-default { + background-image: none; +} +.btn-default.disabled, +.btn-default[disabled], +fieldset[disabled] .btn-default, +.btn-default.disabled:hover, +.btn-default[disabled]:hover, +fieldset[disabled] .btn-default:hover, +.btn-default.disabled:focus, +.btn-default[disabled]:focus, +fieldset[disabled] .btn-default:focus, +.btn-default.disabled.focus, +.btn-default[disabled].focus, +fieldset[disabled] .btn-default.focus, +.btn-default.disabled:active, +.btn-default[disabled]:active, +fieldset[disabled] .btn-default:active, +.btn-default.disabled.active, +.btn-default[disabled].active, +fieldset[disabled] .btn-default.active { + background-color: #f0f4f7; + border-color: transparent; +} +.btn-default .badge { + color: #f0f4f7; + background-color: inherit; +} +.btn-primary { + color: #fff; + background-color: #5e64ff; + border-color: #444bff; +} +.btn-primary:hover, +.btn-primary:focus, +.btn-primary.focus, +.btn-primary:active, +.btn-primary.active, +.open > .dropdown-toggle.btn-primary { + color: #fff; + background-color: #2b33ff; + border-color: #0711ff; +} +.btn-primary:active, +.btn-primary.active, +.open > .dropdown-toggle.btn-primary { + background-image: none; +} +.btn-primary.disabled, +.btn-primary[disabled], +fieldset[disabled] .btn-primary, +.btn-primary.disabled:hover, +.btn-primary[disabled]:hover, +fieldset[disabled] .btn-primary:hover, +.btn-primary.disabled:focus, +.btn-primary[disabled]:focus, +fieldset[disabled] .btn-primary:focus, +.btn-primary.disabled.focus, +.btn-primary[disabled].focus, +fieldset[disabled] .btn-primary.focus, +.btn-primary.disabled:active, +.btn-primary[disabled]:active, +fieldset[disabled] .btn-primary:active, +.btn-primary.disabled.active, +.btn-primary[disabled].active, +fieldset[disabled] .btn-primary.active { + background-color: #5e64ff; + border-color: #444bff; +} +.btn-primary .badge { + color: #5e64ff; + background-color: #fff; +} +.btn-success { + color: #fff; + background-color: #98d85b; + border-color: #8bd346; +} +.btn-success:hover, +.btn-success:focus, +.btn-success.focus, +.btn-success:active, +.btn-success.active, +.open > .dropdown-toggle.btn-success { + color: #fff; + background-color: #7ece32; + border-color: #6db22a; +} +.btn-success:active, +.btn-success.active, +.open > .dropdown-toggle.btn-success { + background-image: none; +} +.btn-success.disabled, +.btn-success[disabled], +fieldset[disabled] .btn-success, +.btn-success.disabled:hover, +.btn-success[disabled]:hover, +fieldset[disabled] .btn-success:hover, +.btn-success.disabled:focus, +.btn-success[disabled]:focus, +fieldset[disabled] .btn-success:focus, +.btn-success.disabled.focus, +.btn-success[disabled].focus, +fieldset[disabled] .btn-success.focus, +.btn-success.disabled:active, +.btn-success[disabled]:active, +fieldset[disabled] .btn-success:active, +.btn-success.disabled.active, +.btn-success[disabled].active, +fieldset[disabled] .btn-success.active { + background-color: #98d85b; + border-color: #8bd346; +} +.btn-success .badge { + color: #98d85b; + background-color: #fff; +} +.btn-info { + color: #fff; + background-color: #8d99a6; + border-color: #7f8c9b; +} +.btn-info:hover, +.btn-info:focus, +.btn-info.focus, +.btn-info:active, +.btn-info.active, +.open > .dropdown-toggle.btn-info { + color: #fff; + background-color: #707f90; + border-color: #616e7c; +} +.btn-info:active, +.btn-info.active, +.open > .dropdown-toggle.btn-info { + background-image: none; +} +.btn-info.disabled, +.btn-info[disabled], +fieldset[disabled] .btn-info, +.btn-info.disabled:hover, +.btn-info[disabled]:hover, +fieldset[disabled] .btn-info:hover, +.btn-info.disabled:focus, +.btn-info[disabled]:focus, +fieldset[disabled] .btn-info:focus, +.btn-info.disabled.focus, +.btn-info[disabled].focus, +fieldset[disabled] .btn-info.focus, +.btn-info.disabled:active, +.btn-info[disabled]:active, +fieldset[disabled] .btn-info:active, +.btn-info.disabled.active, +.btn-info[disabled].active, +fieldset[disabled] .btn-info.active { + background-color: #8d99a6; + border-color: #7f8c9b; +} +.btn-info .badge { + color: #8d99a6; + background-color: #fff; +} +.btn-warning { + color: #fff; + background-color: #ffa00a; + border-color: #f09300; +} +.btn-warning:hover, +.btn-warning:focus, +.btn-warning.focus, +.btn-warning:active, +.btn-warning.active, +.open > .dropdown-toggle.btn-warning { + color: #fff; + background-color: #d68300; + border-color: #b26d00; +} +.btn-warning:active, +.btn-warning.active, +.open > .dropdown-toggle.btn-warning { + background-image: none; +} +.btn-warning.disabled, +.btn-warning[disabled], +fieldset[disabled] .btn-warning, +.btn-warning.disabled:hover, +.btn-warning[disabled]:hover, +fieldset[disabled] .btn-warning:hover, +.btn-warning.disabled:focus, +.btn-warning[disabled]:focus, +fieldset[disabled] .btn-warning:focus, +.btn-warning.disabled.focus, +.btn-warning[disabled].focus, +fieldset[disabled] .btn-warning.focus, +.btn-warning.disabled:active, +.btn-warning[disabled]:active, +fieldset[disabled] .btn-warning:active, +.btn-warning.disabled.active, +.btn-warning[disabled].active, +fieldset[disabled] .btn-warning.active { + background-color: #ffa00a; + border-color: #f09300; +} +.btn-warning .badge { + color: #ffa00a; + background-color: #fff; +} +.btn-danger { + color: #fff; + background-color: #ff5858; + border-color: #ff3f3f; +} +.btn-danger:hover, +.btn-danger:focus, +.btn-danger.focus, +.btn-danger:active, +.btn-danger.active, +.open > .dropdown-toggle.btn-danger { + color: #fff; + background-color: #ff2525; + border-color: #ff0101; +} +.btn-danger:active, +.btn-danger.active, +.open > .dropdown-toggle.btn-danger { + background-image: none; +} +.btn-danger.disabled, +.btn-danger[disabled], +fieldset[disabled] .btn-danger, +.btn-danger.disabled:hover, +.btn-danger[disabled]:hover, +fieldset[disabled] .btn-danger:hover, +.btn-danger.disabled:focus, +.btn-danger[disabled]:focus, +fieldset[disabled] .btn-danger:focus, +.btn-danger.disabled.focus, +.btn-danger[disabled].focus, +fieldset[disabled] .btn-danger.focus, +.btn-danger.disabled:active, +.btn-danger[disabled]:active, +fieldset[disabled] .btn-danger:active, +.btn-danger.disabled.active, +.btn-danger[disabled].active, +fieldset[disabled] .btn-danger.active { + background-color: #ff5858; + border-color: #ff3f3f; +} +.btn-danger .badge { + color: #ff5858; + background-color: #fff; +} +.btn-link { + font-weight: normal; + color: #36414c; + border-radius: 0; +} +.btn-link, +.btn-link:active, +.btn-link.active, +.btn-link[disabled], +fieldset[disabled] .btn-link { + background-color: transparent; + -webkit-box-shadow: none; + box-shadow: none; +} +.btn-link, +.btn-link:hover, +.btn-link:focus, +.btn-link:active { + border-color: transparent; +} +.btn-link:hover, +.btn-link:focus { + color: #161b1f; + text-decoration: underline; + background-color: transparent; +} +.btn-link[disabled]:hover, +fieldset[disabled] .btn-link:hover, +.btn-link[disabled]:focus, +fieldset[disabled] .btn-link:focus { + color: #777; + text-decoration: none; +} +.btn-lg, +.btn-group-lg > .btn { + padding: 10px 16px; + font-size: 18px; + line-height: 1.33; + border-radius: 6px; +} +.btn-sm, +.btn-group-sm > .btn { + padding: 5px 10px; + font-size: 12px; + line-height: 1.5; + border-radius: 3px; +} +.btn-xs, +.btn-group-xs > .btn { + padding: 1px 5px; + font-size: 12px; + line-height: 1.5; + border-radius: 3px; +} +.btn-block { + display: block; + width: 100%; +} +.btn-block + .btn-block { + margin-top: 5px; +} +input[type="submit"].btn-block, +input[type="reset"].btn-block, +input[type="button"].btn-block { + width: 100%; +} + +.collapse { + display: none; + visibility: hidden; +} +.collapse.in { + display: block; + visibility: visible; +} +tr.collapse.in { + display: table-row; +} +tbody.collapse.in { + display: table-row-group; +} +.collapsing { + position: relative; + height: 0; + overflow: hidden; + -webkit-transition-timing-function: ease; + -o-transition-timing-function: ease; + transition-timing-function: ease; + -webkit-transition-duration: .35s; + -o-transition-duration: .35s; + transition-duration: .35s; + -webkit-transition-property: height, visibility; + -o-transition-property: height, visibility; + transition-property: height, visibility; +} +.caret { + display: inline-block; + width: 0; + height: 0; + margin-left: 2px; + vertical-align: middle; + border-top: 4px solid; + border-right: 4px solid transparent; + border-left: 4px solid transparent; +} +.dropdown { + position: relative; +} +.dropdown-toggle:focus { + outline: 0; +} +.dropdown-menu { + position: absolute; + top: 100%; + left: 0; + z-index: 1000; + display: none; + float: left; + min-width: 160px; + padding: 5px 0; + margin: 2px 0 0; + font-size: 14px; + text-align: left; + list-style: none; + background-color: #fff; + -webkit-background-clip: padding-box; + background-clip: padding-box; + border: 1px solid #ccc; + border: 1px solid rgba(0, 0, 0, .15); + border-radius: 4px; + -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, .175); + box-shadow: 0 6px 12px rgba(0, 0, 0, .175); +} +.dropdown-menu.pull-right { + right: 0; + left: auto; +} +.dropdown-menu .divider { + height: 1px; + margin: 9px 0; + overflow: hidden; + background-color: #d8dfe5; +} +.dropdown-menu > li > a { + display: block; + padding: 3px 20px; + clear: both; + font-weight: normal; + line-height: 1.42857143; + color: #333; + white-space: nowrap; +} +.dropdown-menu > li > a:hover, +.dropdown-menu > li > a:focus { + color: #262626; + text-decoration: none; + background-color: #f0f4f7; +} +.dropdown-menu > .active > a, +.dropdown-menu > .active > a:hover, +.dropdown-menu > .active > a:focus { + color: inherit; + text-decoration: none; + background-color: #f0f4f7; + outline: 0; +} +.dropdown-menu > .disabled > a, +.dropdown-menu > .disabled > a:hover, +.dropdown-menu > .disabled > a:focus { + color: #777; +} +.dropdown-menu > .disabled > a:hover, +.dropdown-menu > .disabled > a:focus { + text-decoration: none; + cursor: not-allowed; + background-color: transparent; + background-image: none; + filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); +} +.open > .dropdown-menu { + display: block; +} +.open > a { + outline: 0; +} +.dropdown-menu-right { + right: 0; + left: auto; +} +.dropdown-menu-left { + right: auto; + left: 0; +} +.dropdown-header { + display: block; + padding: 3px 20px; + font-size: 12px; + line-height: 1.42857143; + color: #777; + white-space: nowrap; +} +.dropdown-backdrop { + position: fixed; + top: 0; + right: 0; + bottom: 0; + left: 0; + z-index: 990; +} +.pull-right > .dropdown-menu { + right: 0; + left: auto; +} +.dropup .caret, +.navbar-fixed-bottom .dropdown .caret { + content: ""; + border-top: 0; + border-bottom: 4px solid; +} +.dropup .dropdown-menu, +.navbar-fixed-bottom .dropdown .dropdown-menu { + top: auto; + bottom: 100%; + margin-bottom: 2px; +} +@media (min-width: 768px) { + .navbar-right .dropdown-menu { + right: 0; + left: auto; + } + .navbar-right .dropdown-menu-left { + right: auto; + left: 0; + } +} +.btn-group, +.btn-group-vertical { + position: relative; + display: inline-block; + vertical-align: middle; +} +.btn-group > .btn, +.btn-group-vertical > .btn { + position: relative; + float: left; +} +.btn-group > .btn:hover, +.btn-group-vertical > .btn:hover, +.btn-group > .btn:focus, +.btn-group-vertical > .btn:focus, +.btn-group > .btn:active, +.btn-group-vertical > .btn:active, +.btn-group > .btn.active, +.btn-group-vertical > .btn.active { + z-index: 2; +} +.btn-group .btn + .btn, +.btn-group .btn + .btn-group, +.btn-group .btn-group + .btn, +.btn-group .btn-group + .btn-group { + margin-left: -1px; +} +.btn-toolbar { + margin-left: -5px; +} +.btn-toolbar .btn-group, +.btn-toolbar .input-group { + float: left; +} +.btn-toolbar > .btn, +.btn-toolbar > .btn-group, +.btn-toolbar > .input-group { + margin-left: 5px; +} +.btn-group > .btn:not(:first-child):not(:last-child):not(.dropdown-toggle) { + border-radius: 0; +} +.btn-group > .btn:first-child { + margin-left: 0; +} +.btn-group > .btn:first-child:not(:last-child):not(.dropdown-toggle) { + border-top-right-radius: 0; + border-bottom-right-radius: 0; +} +.btn-group > .btn:last-child:not(:first-child), +.btn-group > .dropdown-toggle:not(:first-child) { + border-top-left-radius: 0; + border-bottom-left-radius: 0; +} +.btn-group > .btn-group { + float: left; +} +.btn-group > .btn-group:not(:first-child):not(:last-child) > .btn { + border-radius: 0; +} +.btn-group > .btn-group:first-child > .btn:last-child, +.btn-group > .btn-group:first-child > .dropdown-toggle { + border-top-right-radius: 0; + border-bottom-right-radius: 0; +} +.btn-group > .btn-group:last-child > .btn:first-child { + border-top-left-radius: 0; + border-bottom-left-radius: 0; +} +.btn-group .dropdown-toggle:active, +.btn-group.open .dropdown-toggle { + outline: 0; +} +.btn-group > .btn + .dropdown-toggle { + padding-right: 8px; + padding-left: 8px; +} +.btn-group > .btn-lg + .dropdown-toggle { + padding-right: 12px; + padding-left: 12px; +} +.btn-group.open .dropdown-toggle { + -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125); + box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125); +} +.btn-group.open .dropdown-toggle.btn-link { + -webkit-box-shadow: none; + box-shadow: none; +} +.btn .caret { + margin-left: 0; +} +.btn-lg .caret { + border-width: 5px 5px 0; + border-bottom-width: 0; +} +.dropup .btn-lg .caret { + border-width: 0 5px 5px; +} +.btn-group-vertical > .btn, +.btn-group-vertical > .btn-group, +.btn-group-vertical > .btn-group > .btn { + display: block; + float: none; + width: 100%; + max-width: 100%; +} +.btn-group-vertical > .btn-group > .btn { + float: none; +} +.btn-group-vertical > .btn + .btn, +.btn-group-vertical > .btn + .btn-group, +.btn-group-vertical > .btn-group + .btn, +.btn-group-vertical > .btn-group + .btn-group { + margin-top: -1px; + margin-left: 0; +} +.btn-group-vertical > .btn:not(:first-child):not(:last-child) { + border-radius: 0; +} +.btn-group-vertical > .btn:first-child:not(:last-child) { + border-top-right-radius: 4px; + border-bottom-right-radius: 0; + border-bottom-left-radius: 0; +} +.btn-group-vertical > .btn:last-child:not(:first-child) { + border-top-left-radius: 0; + border-top-right-radius: 0; + border-bottom-left-radius: 4px; +} +.btn-group-vertical > .btn-group:not(:first-child):not(:last-child) > .btn { + border-radius: 0; +} +.btn-group-vertical > .btn-group:first-child:not(:last-child) > .btn:last-child, +.btn-group-vertical > .btn-group:first-child:not(:last-child) > .dropdown-toggle { + border-bottom-right-radius: 0; + border-bottom-left-radius: 0; +} +.btn-group-vertical > .btn-group:last-child:not(:first-child) > .btn:first-child { + border-top-left-radius: 0; + border-top-right-radius: 0; +} +.btn-group-justified { + display: table; + width: 100%; + table-layout: fixed; + border-collapse: separate; +} +.btn-group-justified > .btn, +.btn-group-justified > .btn-group { + display: table-cell; + float: none; + width: 1%; +} +.btn-group-justified > .btn-group .btn { + width: 100%; +} +.btn-group-justified > .btn-group .dropdown-menu { + left: auto; +} +[data-toggle="buttons"] > .btn input[type="radio"], +[data-toggle="buttons"] > .btn-group > .btn input[type="radio"], +[data-toggle="buttons"] > .btn input[type="checkbox"], +[data-toggle="buttons"] > .btn-group > .btn input[type="checkbox"] { + position: absolute; + clip: rect(0, 0, 0, 0); + pointer-events: none; +} +.input-group { + position: relative; + display: table; + border-collapse: separate; +} +.input-group[class*="col-"] { + float: none; + padding-right: 0; + padding-left: 0; +} +.input-group .form-control { + position: relative; + z-index: 2; + float: left; + width: 100%; + margin-bottom: 0; +} +.input-group-lg > .form-control, +.input-group-lg > .input-group-addon, +.input-group-lg > .input-group-btn > .btn { + height: 46px; + padding: 10px 16px; + font-size: 18px; + line-height: 1.33; + border-radius: 6px; +} +select.input-group-lg > .form-control, +select.input-group-lg > .input-group-addon, +select.input-group-lg > .input-group-btn > .btn { + height: 46px; + line-height: 46px; +} +textarea.input-group-lg > .form-control, +textarea.input-group-lg > .input-group-addon, +textarea.input-group-lg > .input-group-btn > .btn, +select[multiple].input-group-lg > .form-control, +select[multiple].input-group-lg > .input-group-addon, +select[multiple].input-group-lg > .input-group-btn > .btn { + height: auto; +} +.input-group-sm > .form-control, +.input-group-sm > .input-group-addon, +.input-group-sm > .input-group-btn > .btn { + height: 30px; + padding: 5px 10px; + font-size: 12px; + line-height: 1.5; + border-radius: 3px; +} +select.input-group-sm > .form-control, +select.input-group-sm > .input-group-addon, +select.input-group-sm > .input-group-btn > .btn { + height: 30px; + line-height: 30px; +} +textarea.input-group-sm > .form-control, +textarea.input-group-sm > .input-group-addon, +textarea.input-group-sm > .input-group-btn > .btn, +select[multiple].input-group-sm > .form-control, +select[multiple].input-group-sm > .input-group-addon, +select[multiple].input-group-sm > .input-group-btn > .btn { + height: auto; +} +.input-group-addon, +.input-group-btn, +.input-group .form-control { + display: table-cell; +} +.input-group-addon:not(:first-child):not(:last-child), +.input-group-btn:not(:first-child):not(:last-child), +.input-group .form-control:not(:first-child):not(:last-child) { + border-radius: 0; +} +.input-group-addon, +.input-group-btn { + width: 1%; + white-space: nowrap; + vertical-align: middle; +} +.input-group-addon { + padding: 4px 10px; + font-size: 14px; + font-weight: normal; + line-height: 1; + color: #555; + text-align: center; + background-color: #f0f4f7; + border: 1px solid #d1d8dd; + border-radius: 4px; +} +.input-group-addon.input-sm { + padding: 5px 10px; + font-size: 12px; + border-radius: 3px; +} +.input-group-addon.input-lg { + padding: 10px 16px; + font-size: 18px; + border-radius: 6px; +} +.input-group-addon input[type="radio"], +.input-group-addon input[type="checkbox"] { + margin-top: 0; +} +.input-group .form-control:first-child, +.input-group-addon:first-child, +.input-group-btn:first-child > .btn, +.input-group-btn:first-child > .btn-group > .btn, +.input-group-btn:first-child > .dropdown-toggle, +.input-group-btn:last-child > .btn:not(:last-child):not(.dropdown-toggle), +.input-group-btn:last-child > .btn-group:not(:last-child) > .btn { + border-top-right-radius: 0; + border-bottom-right-radius: 0; +} +.input-group-addon:first-child { + border-right: 0; +} +.input-group .form-control:last-child, +.input-group-addon:last-child, +.input-group-btn:last-child > .btn, +.input-group-btn:last-child > .btn-group > .btn, +.input-group-btn:last-child > .dropdown-toggle, +.input-group-btn:first-child > .btn:not(:first-child), +.input-group-btn:first-child > .btn-group:not(:first-child) > .btn { + border-top-left-radius: 0; + border-bottom-left-radius: 0; +} +.input-group-addon:last-child { + border-left: 0; +} +.input-group-btn { + position: relative; + font-size: 0; + white-space: nowrap; +} +.input-group-btn > .btn { + position: relative; +} +.input-group-btn > .btn + .btn { + margin-left: -1px; +} +.input-group-btn > .btn:hover, +.input-group-btn > .btn:focus, +.input-group-btn > .btn:active { + z-index: 2; +} +.input-group-btn:first-child > .btn, +.input-group-btn:first-child > .btn-group { + margin-right: -1px; +} +.input-group-btn:last-child > .btn, +.input-group-btn:last-child > .btn-group { + margin-left: -1px; +} +.tooltip { + position: absolute; + z-index: 1070; + display: block; + font-size: 12px; + font-weight: normal; + line-height: 1.4; + visibility: visible; + filter: alpha(opacity=0); + opacity: 0; +} +.tooltip.in { + filter: alpha(opacity=90); + opacity: .9; +} +.tooltip.top { + padding: 5px 0; + margin-top: -3px; +} +.tooltip.right { + padding: 0 5px; + margin-left: 3px; +} +.tooltip.bottom { + padding: 5px 0; + margin-top: 3px; +} +.tooltip.left { + padding: 0 5px; + margin-left: -3px; +} +.tooltip-inner { + max-width: 200px; + padding: 3px 8px; + color: #fff; + text-align: center; + text-decoration: none; + background-color: #000; + border-radius: 4px; +} +.tooltip-arrow { + position: absolute; + width: 0; + height: 0; + border-color: transparent; + border-style: solid; +} +.tooltip.top .tooltip-arrow { + bottom: 0; + left: 50%; + margin-left: -5px; + border-width: 5px 5px 0; + border-top-color: #000; +} +.tooltip.top-left .tooltip-arrow { + right: 5px; + bottom: 0; + margin-bottom: -5px; + border-width: 5px 5px 0; + border-top-color: #000; +} +.tooltip.top-right .tooltip-arrow { + bottom: 0; + left: 5px; + margin-bottom: -5px; + border-width: 5px 5px 0; + border-top-color: #000; +} +.tooltip.right .tooltip-arrow { + top: 50%; + left: 0; + margin-top: -5px; + border-width: 5px 5px 5px 0; + border-right-color: #000; +} +.tooltip.left .tooltip-arrow { + top: 50%; + right: 0; + margin-top: -5px; + border-width: 5px 0 5px 5px; + border-left-color: #000; +} +.tooltip.bottom .tooltip-arrow { + top: 0; + left: 50%; + margin-left: -5px; + border-width: 0 5px 5px; + border-bottom-color: #000; +} +.tooltip.bottom-left .tooltip-arrow { + top: 0; + right: 5px; + margin-top: -5px; + border-width: 0 5px 5px; + border-bottom-color: #000; +} +.tooltip.bottom-right .tooltip-arrow { + top: 0; + left: 5px; + margin-top: -5px; + border-width: 0 5px 5px; + border-bottom-color: #000; +} + +.popover { + position: absolute; + top: 0; + left: 0; + z-index: 1060; + display: none; + max-width: 276px; + padding: 1px; + font-size: 14px; + font-weight: normal; + line-height: 1.42857143; + text-align: left; + white-space: normal; + background-color: #fff; + -webkit-background-clip: padding-box; + background-clip: padding-box; + border: 1px solid #ccc; + border: 1px solid rgba(0, 0, 0, .2); + border-radius: 6px; + -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, .2); + box-shadow: 0 5px 10px rgba(0, 0, 0, .2); +} diff --git a/foundation/public/css/erpnext-org-theme.css b/foundation/public/css/erpnext-org-theme.css new file mode 100644 index 00000000..a7c90ef3 --- /dev/null +++ b/foundation/public/css/erpnext-org-theme.css @@ -0,0 +1,1057 @@ +/*utilities*/ +@import "reset.css"; +.align-items-center { + align-items: center; +} +.hide, +.hidden { + display: none; + visibility: hidden; +} +.top-zero { + margin-top: 0; +} +.bottom-zero { + margin-bottom: 0; +} +.top-spacer { + margin-top: 2.5rem; +} +.bottom-spacer { + margin-bottom: 2.5rem; +} +.top-spacer-4 { + margin-top: 4rem; +} +.bottom-spacer-4 { + margin-bottom: 4rem; +} +.gray-bg { + background-color: #fafbfc; +} +.dark-bg { + background-color: #2E3338; +} +.left-aligned { + text-align: left; +} +.right-aligned { + text-align: right; +} +.text-center { + text-align: center; +} +.text-muted { + color: #8D99A6; +} +.text-light { + color: #6c7680; +} +.text-white { + color: #fff; +} +.text-medium { + font-size: 1.5rem; +} +.text-small { + font-size: 0.5rem; +} +.centered { + margin: 0 auto; +} +.bold { + font-weight: bold; +} +.list-unstyled { + padding: 0; +} +.list-unstyled li { + list-style: none; +} +.list-circle { + list-style: circle; +} +.border { + border: 1px solid #d1d8dd; +} +.border-top { + border-top: 1px solid #d1d8dd; +} +.saturate { + filter: grayscale(100%); +} +.saturate:hover { + filter: grayscale(0%); +} +.indicator, +.indicator-right { + background: none; + font-size: 12px; + vertical-align: middle; + font-weight: bold; + color: #6c7680; +} +.indicator::before, +.indicator-right::after { + content: ""; + display: inline-block; + height: 8px; + width: 8px; + border-radius: 8px; +} +.indicator::before { + margin: 0 4px 0 0; +} +.indicator-right::after { + margin: 0 0 0 4px; +} +.indicator.grey::before, +.indicator-right.grey::after { + background: #F0F4F7; +} +.indicator.blue::before, +.indicator-right.blue::after { + background: #5e64ff; +} +.indicator.red::before, +.indicator-right.red::after { + background: #ff5858; +} +.indicator.green::before, +.indicator-right.green::after { + background: #98d85b; +} +.indicator.orange::before, +.indicator-right.orange::after { + background: #ffa00a; +} +.indicator.purple::before, +.indicator-right.purple::after { + background: #743ee2; +} +.indicator.darkgrey::before, +.indicator-right.darkgrey::after { + background: #b8c2cc; +} +.indicator.black::before, +.indicator-right.black::after { + background: #36414C; +} +.indicator.yellow::before, +.indicator-right.yellow::after { + background: #FEEF72; +} +.indicator.light-blue::before, +.indicator-right.light-blue::after { + background: #7CD6FD; +} +.indicator.lightblue::before, +.indicator-right.lightblue::after { + background: #7CD6FD; +} +.modal-header .indicator { + float: left; + margin-top: 7.5px; + margin-right: 3px; +} +a { + color: #7575ff; + text-decoration: none; + transition: color 0.3s ease-out; +} +a:hover { + color: #2E3338; + text-decoration: underline; +} +a:focus, +a:visited { + outline: 0; +} +.header-1 { + font-size: 2.5rem; + line-height: 1.025; +} +.header-2 { + font-size: 1.5rem; + line-height: 1.025; +} +.header-3 { + font-size: 1rem; + line-height: 1.025; +} +.navbar { + padding: 1rem; + background-color: #fff; + box-shadow: 0 5px 9px 0 rgba(0, 0, 0, 0.05); +} +@media screen and (min-width: 767px) { + .navbar { + padding: 1rem 2.5rem; + } +} +.navbar-header { + display: flex; + justify-content: space-between; + align-items: center; +} +.navbar-icon { + width: 1.5rem; + margin-right: 0.5rem; + padding-bottom: 0.07rem; +} +.navbar-brand { + font-size: 1rem; + font-weight: bold; + letter-spacing: 0.005em; + text-decoration: none; + color: #36414C; +} +.navbar-brand:hover { + text-decoration: none; + color: #2E3338; +} +.navbar-brand:visited { + color: #36414C; +} +.menu { + display: flex; + margin: 0; +} +.menu-items { + padding-left: 1.5rem; +} +.menu-links { + color: #6c7680; + text-decoration: none; +} +.menu-links:hover { + text-decoration: none; +} +.container, +.page-content-wrapper { + max-width: 100%; + margin: 0 auto; +} +@media screen and (min-width: 1199px) { + .container, + .page-content-wrapper { + max-width: 1199px; + } +} +.feature, +.footer { + padding: 4rem 1rem; + border-top: 1px solid #EBEFF2; +} +@media screen and (min-width: 767px) { + .feature, + .footer { + padding: 8rem 2.5rem; + } +} +.page { + padding: 0 1rem; + border-top: 1px solid #EBEFF2; +} +@media screen and (min-width: 767px) { + .page { + padding: 0 2.5rem; + } +} +.hero-illustration { + width: 100%; + max-width: 800px; +} +.list-items { + text-align: center; + border-radius: 0.5rem; + background-color: #fff; + min-width: 200px; + transition: all 0.3s ease-out; +} +.list-items:hover { + box-shadow: 0 5px 9px 0 rgba(0, 0, 0, 0.05); +} +.grid-of-four, +.grid-of-three { + grid-gap: 2.5rem; + display: grid; +} +.grid-of-four { + grid-template-columns: repeat(1, 1fr); +} +@media screen and (min-width: 500px) { + .grid-of-four { + grid-template-columns: repeat(2, 1fr); + } +} +@media screen and (min-width: 767px) { + .grid-of-four { + grid-template-columns: repeat(3, 1fr); + } +} +@media screen and (min-width: 991px) { + .grid-of-four { + grid-template-columns: repeat(4, 1fr); + } +} +.grid-of-three { + grid-template-columns: repeat(1, 1fr); +} +@media screen and (min-width: 500px) { + .grid-of-three { + grid-template-columns: repeat(2, 1fr); + } +} +@media screen and (min-width: 767px) { + .grid-of-three { + grid-template-columns: repeat(3, 1fr); + } +} +.two-column, +.three-column, +.four-column { + display: flex; + justify-content: space-between; + flex-direction: column; +} +@media screen and (min-width: 767px) { + .two-column, + .three-column, + .four-column { + flex-direction: row; + } +} +.contact-content { + max-width: 90%; +} +@media screen and (min-width: 500px) { + .contact-content { + max-width: 50%; + } +} +.columns { + margin-bottom: 1rem; +} +@media screen and (min-width: 767px) { + .columns { + margin: 0; + } +} +.countries { + max-width: 100%; +} +@media screen and (min-width: 500px) { + .countries { + max-width: 50%; + min-width: 50%; + } +} +@media screen and (min-width: 767px) { + .countries { + max-width: 25%; + min-width: 25%; + } +} +.flex-wrap { + flex-wrap: wrap; + justify-content: flex-start; +} +.intro-copy { + max-width: 599.5px; + margin: 0 auto 1.5rem auto; +} +.primary-links { + color: #6c7680; + transition: all 0.3s ease-out; +} +.primary-links:hover { + color: #2E3338; + text-decoration: none; +} +.button { + padding: 1rem 1.5rem; + border-radius: 0.25em; + cursor: pointer; + transition: all 0.3s ease-out; + border-bottom: 3px solid rgba(0, 0, 0, 0.2); + text-decoration: none; +} +.button:hover { + text-decoration: none; +} +.button-primary { + font-size: 1.5em; + color: #fff; + background: #7575ff; + border-right: 0; + border-left: 0; + border-top: 0; + line-height: 3; +} +.button-primary:hover { + background: #5e5ec9; + color: #fff; +} +.button-secondary { + font-size: 1.5em; + color: #6c7680; + background: #F0F4F7; + border-right: 0; + border-left: 0; + border-top: 0; + line-height: 3; +} +.button-secondary:hover { + background: #ffffff; + color: #2E3338; +} +.secondary-link { + color: #6c7680; + transition: color 0.3s ease-out; +} +.secondary-link:hover { + color: #2E3338; +} +.bulleted-list { + margin: 0; + padding-left: 1em; +} +.bulleted-list li { + padding-bottom: 1em; +} +.footer-list { + padding-left: 0; +} +.page_content li, +.sidebar-item, +.footer-list li { + margin-bottom: 1rem; +} +.page-container { + display: flex; + max-width: 1199px; + margin: 0 auto; + flex-direction: column-reverse; +} +@media screen and (min-width: 767px) { + .page-container { + flex-direction: row; + } +} +.page-content { + width: 100%; + padding: 4rem 0; +} +.page-content h1:first-child { + margin-top: 0; +} +.breadcrumb { + padding: 0; + margin-bottom: 1.5rem; +} +.breadcrumb a { + background-color: transparent; + color: #8D99A6; +} +.breadcrumb a:focus, +.breadcrumb a:visited { + background-color: transparent; + color: #8D99A6; +} +.breadcrumb a:hover { + color: #2E3338; + transition: color 0.3s ease-out; +} +.breadcrumb > li { + display: inline-block; +} +.breadcrumb > li + li::before { + padding: 0 5px; + color: #8D99A6; + content: "/\00a0"; +} +.sidebar-block { + padding: 4rem 0; + min-width: 200px; + border-top: 1px solid #EBEFF2; +} +@media screen and (min-width: 767px) { + .sidebar-block { + border-right: 1px solid #EBEFF2; + border-top: 0; + } +} +.blog-page { + padding: 4rem 0; + max-width: 700px; + margin: 0 auto; +} +.page-content.with-sidebar { + padding: 1rem; +} +@media screen and (min-width: 767px) { + .page-content.with-sidebar { + padding: 4rem 0 4rem 2.5rem; + } +} +hr { + margin-top: 20px; + margin-bottom: 20px; + border: 0; + border-top: 1px solid #EBEFF2; +} +.footer-end { + border-top: 1px solid #354047; + padding-top: 1rem; + margin-top: 1rem; + font-size: 0.75rem; +} +@media screen and (min-width: 767px) { + .footer-end { + padding-top: 2.5rem; + margin-top: 1.5rem; + } +} +.footer a { + color: #8D99A6; +} +.footer a:hover { + color: #fff; +} +.footer-icon { + width: 1.5rem; + margin-right: 0.5em; +} +/* loaned from bootstrap need to cleanup*/ +/*progress bar*/ +.progress { + height: 1.5rem; + margin-bottom: 1.5rem; + overflow: hidden; + background-color: #f5f5f5; + border-radius: 0.25rem; + -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1); + box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1); +} +.progress-bar { + height: inherit; +} +.progress-bar-success { + background-color: #98d85b; +} +.sr-only { + position: absolute; + width: 1px; + height: 1px; + padding: 0; + margin: -1px; + overflow: hidden; + clip: rect(0, 0, 0, 0); + border: 0; +} +/*progress bar*/ +.clickable a { + color: #36414C; +} +.clickable a:focus { + outline: 0; +} +.fade.in { + opacity: 1; +} +caption { + padding-top: 8px; + padding-bottom: 8px; + color: #8D99A6; + text-align: left; +} +th { + text-align: left; +} +.input-group { + position: relative; + display: table; + border-collapse: separate; +} +.btn-group, +.btn-group-vertical { + position: relative; + display: inline-block; + vertical-align: middle; +} +.note-popover .popover-content > .btn-group, +.panel-heading.note-toolbar > .btn-group { + margin-top: 5px; + margin-right: 5px; + margin-left: 0; +} +.note-popover .popover-content, +.panel-heading.note-toolbar { + padding: 0 0 5px 5px; + margin: 0; +} +.panel-heading { + padding: 0.5rem 1rem; + border-bottom: 1px solid transparent; + border-top-left-radius: 0.25em; + border-top-right-radius: 0.25em; +} +.panel-default > .panel-heading { + color: #333; + background-color: #f7fafc; + border-color: #d1d8dd; +} +.panel-body { + padding-left: 1rem; +} +.modal { + position: fixed; + top: 0; + right: 0; + bottom: 0; + left: 0; + z-index: 1040; + display: none; + overflow: hidden; + outline: 0; +} +.modal-open .modal { + overflow-x: hidden; + overflow-y: auto; +} +.modal-backdrop.in { + filter: alpha(opacity=50); + opacity: 0.5; +} +.modal-backdrop { + position: absolute; + top: 0; + right: 0; + left: 0; + background-color: #334143; +} +.modal-dialog { + width: 600px; + margin: 2rem auto; +} +.modal.in .modal-dialog { + transform: translate(0, 0); +} +.modal-content { + position: relative; + background-color: #fff; + background-clip: padding-box; + border: 1px solid #d1d8dd; + border-radius: 0.25rem; + outline: 0; + box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5); +} +.modal-header { + min-height: 1rem; + padding: 1rem; + border-bottom: 1px solid #d1d8dd; +} +.modal-title { + margin: 0; + line-height: 1.42857143; +} +.modal-body { + position: relative; + padding: 1rem; +} +.close { + float: right; + font-size: 1.5rem; + font-weight: bold; + line-height: 1; + color: #000; + text-shadow: 0 1px 0 #fff; + filter: alpha(opacity=20); + opacity: 0.2; +} +.modal-header .close { + margin-top: -2px; +} +.close:hover, +.close:focus { + color: #000; + text-decoration: none; + cursor: pointer; + filter: alpha(opacity=50); + opacity: 0.5; +} +.btn-default { + color: inherit; + background-color: #f0f4f7; + border-color: transparent; +} +.btn { + display: inline-block; + padding: 0.25em 0.75em; + margin-bottom: 0; + font-size: 1em; + font-weight: normal; + text-align: center; + white-space: nowrap; + vertical-align: middle; + cursor: pointer; + user-select: none; + background-image: none; + border: 1px solid transparent; + border-radius: 0.25em; +} +.btn-block { + background-image: none; + border: 1px solid transparent; + border-radius: 0.25em; + display: block; + width: 100%; +} +.form-control { + display: block; + width: 100%; + height: 2em; + padding: 0.5em; + color: #2e3338; + background-color: #fff; + background-image: none; + border: 1px solid #d1d8dd; + border-radius: 0.25em; + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); + transition: border-color ease-out 0.15s, box-shadow ease-out 0.15s; +} +.form-signin .form-control { + position: relative; + height: auto; + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; + padding: 0.5rem; + margin-bottom: 0.5rem; +} +code { + color: #fc4f51; + background: #fff5f5; + padding: 0.25em; + border-radius: 0.25em; + font-size: 0.85em; +} +/*loaned from frappe*/ +textarea.form-control { + height: auto; +} +.col-sm-6 { + margin-bottom: 1rem; +} +@media screen and (min-width: 767px) { + .col-sm-8 { + width: 66.66%; + } +} +.comment-view { + padding-bottom: 2.5rem; +} +.no-results { + text-align: center; + padding: 10rem 0; +} +.add-comment-section { + padding-bottom: 2rem; +} +.comment-header { + border-bottom: 1px solid #d1d8dd; + padding: 2rem 0 1rem; +} +.comment-row { + margin: 0 1rem; + padding: 1rem; +} +.comment-row:last-child { + margin-bottom: 2rem; + border-bottom: 0; +} +.page-card { + max-width: 360px; + padding: 1em; + margin: 8rem auto; + border: 1px solid #d1d8dd; + border-radius: 0.25em; + background-color: #fff; + box-shadow: 0 0.25em 0.5em rgba(0, 0, 0, 0.1); +} +.page-card .page-card-head { + padding: 0.75em 1em; + margin: -1em; + margin-bottom: 1em; + border-bottom: 1px solid #d1d8dd; +} +.login-content .btn { + margin-top: 3rem; +} +.btn-primary { + background-color: #7575ff; + border-color: #7575ff; + color: #fff; + transition: background-color 0.3s ease-in; +} +.btn-primary:hover, +.btn-primary:focus, +.btn-primary.focus, +.btn-primary:active, +.btn-primary.active, +.open > .dropdown-toggle.btn-primary { + color: #fff; + background-color: #5e5ec9; + border-color: #5e5ec9; + text-decoration: none; +} +.screenshot, +.img-responsive { + max-width: 800px; + margin: auto; + width: auto; +} +img.blog-cover-image, +.blog-text img, +.screenshot { + box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1); + border: 1px solid #d1d8dd; +} +.btn-next-wrapper { + margin-top: 4rem; +} +.input-group-btn { + display: table-cell; + vertical-align: middle; + white-space: nowrap; + height: 2rem; +} +.dropdown-menu { + display: none; + position: absolute; + list-style: none; + margin: 0; + padding: 0; + box-shadow: 0 5px 9px 0 rgba(0, 0, 0, 0.05); + background-color: #fff; +} +.dropdown-menu li { + padding: 0.5rem; + margin: 0; + transition: background-color 0.3s ease-out; + cursor: pointer; +} +.dropdown-menu li:hover { + background-color: #F0F4F7; +} +.display-block { + display: block; +} +.caret { + display: inline-block; + width: 0; + height: 0; + margin-left: 2px; + vertical-align: middle; + border-top: 0.25rem solid; + border-right: 0.25rem solid transparent; + border-left: 0.25rem solid transparent; +} +.bounty-amount .form-control { + margin-right: 1.5rem; +} +.input-group-btn .dropdown-toggle { + margin-left: 1.5rem; +} +/*blog*/ +/*TODO Needs refactor in frappe to use utilities.less*/ +.blog-list-content { + border: 0; + background: transparent; +} +.blog-list-item { + padding-bottom: 4rem; + border-bottom: 1px solid #EBEFF2; +} +.blog-list-item:last-child { + border-bottom: 0; +} +.blog-list-item a { + color: #36414C; +} +.blog-list-item h1 { + margin-top: 0; +} +.blog-list-item:not(:first-child) { + padding-top: 4rem; +} +.blogpost-cover-img { + width: 75%; + margin-bottom: 0.5rem; +} +.blog-header { + font-size: 2.5rem; +} +.blog-container img { + margin-bottom: 1.5rem; +} +.blog-comments { + position: relative; + border-top: 1px solid #d1d8dd; +} +.blog-info { + margin: 2.5rem 0; +} +.blog-text { + font-size: 1.15em; + line-height: 1.62; +} +.blog-content { + margin-bottom: 2.5rem; +} +.blogger { + padding-top: 0; + padding-bottom: 2.5rem; +} +.blogger-name { + margin-top: 0.25em; + font-weight: normal; + font-size: 1rem; +} +.blogger-name a { + color: #36414C; +} +.avatar { + display: inline-block; + width: 3rem; + height: 3rem; + margin-right: 1rem; +} +.blog-list-item .avatar { + margin-right: 1em; +} +.avatar img { + max-width: 100%; + max-height: 100%; + border-radius: 0.25em; +} +.avatar-medium { + margin-right: 0.25em; + width: 2rem; + height: 2rem; +} +.inline-block { + display: inline-block; +} +.blog-container, +.max-width-medium { + max-width: 700px; +} +.media { + display: flex; + background: #fafbfc; + margin-bottom: 1.5rem; + border-radius: 0.25em; + padding: 1.5rem; + flex-direction: column; +} +@media screen and (min-width: 500px) { + .media { + flex-direction: row; + } +} +.media-left { + width: 10%; + margin-right: 2.5rem; +} +.media-heading { + margin-top: 0; +} +.with-border { + border-radius: 0.25em; + padding: 1rem; + margin-bottom: 2rem; + border: 1px solid #d1d8dd; +} +.with-border a { + text-decoration: none; + color: #36414C; +} +.with-border a:hover { + text-decoration: none; + color: #2E3338; +} +.with-border:hover { + background-color: #fafbfc; +} +/* individual elements */ +.gold-member { + display: flex; + padding: 2.5rem 0; + transition: background-color 0.3s ease-out; + border-bottom: 1px solid #d1d8dd; +} +.gold-member:hover { + background-color: #fafbfc; +} +.individual-member { + border-bottom: 1px solid #d1d8dd; + padding-bottom: 2.5rem; +} +.box { + padding: 1.5rem; + border: 1px solid #d1d8dd; + border-radius: 0.25em; + transition: background-color 0.3s ease-out; +} +.box:hover { + background-color: #fafbfc; +} +.grid-boxes { + font-size: 1.5rem; + display: block; + padding: 1.5rem; +} +.grid-boxes span { + display: block; +} +.thumb-small { + width: 100px; +} +.grid-images { + width: 150px; + padding-bottom: 1.5rem; +} +.feature-img { + max-width: 250px; +} +.community-bg { + background-image: linear-gradient(to bottom, rgba(117, 116, 254, 0.52), #7574fe), url("/assets/foundation/img/community-2016.jpg"); + background-size: cover; + background-repeat: no-repeat; + background-position: center; + background-attachment: fixed; +} +.community-bg .intro-copy, +.about .intro-copy { + max-width: 800px; +} +/* added to make iframe responsive */ +.embed-container { + position: relative; + padding-bottom: 56.25%; + height: 0; + overflow: hidden; + max-width: 800px; + width: auto; +} +.embed-container iframe, +.embed-container object, +.embed-container embed { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; +} diff --git a/foundation/public/css/reset.css b/foundation/public/css/reset.css new file mode 100644 index 00000000..0389a522 --- /dev/null +++ b/foundation/public/css/reset.css @@ -0,0 +1,366 @@ +/*! + * this reset is a copy of bootstrap's reboot.css which is inturn a fork of normalise* + * + * + * Bootstrap Reboot v4.0.0-beta.3 (https://getbootstrap.com) + * Copyright 2011-2017 The Bootstrap Authors + * Copyright 2011-2017 Twitter, Inc. + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) + * Forked from Normalize.css, licensed MIT (https://github.com/necolas/normalize.css/blob/master/LICENSE.md) + */ + +*, +*::before, +*::after { + box-sizing: border-box; +} + +html { + font-family: sans-serif; + -webkit-text-size-adjust: 100%; + -ms-text-size-adjust: 100%; + -ms-overflow-style: scrollbar; + -webkit-tap-highlight-color: transparent; + line-height: 1.62; + font-size: 14px; +} + +@media screen and (min-width: 767px) { + html { + font-size: 16px; + } +} + +@-ms-viewport { + width: device-width; +} + +article, +aside, +dialog, +figcaption, +figure, +footer, +header, +hgroup, +main, +nav, +section { + display: block; +} + +body { + margin: 0; + font-weight: 400; + text-align: left; + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica", "Arial", "Noto", "Oxygen-Sans", "Noto Sans", "Ubuntu", "Cantarell", sans-serif, "Apple Color Emoji", "Noto Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; + color: #36414c; + font-feature-settings: "kern" 1; + font-kerning: normal; + text-rendering: optimizeLegibility; +} + +[ tabindex = "-1" ]:focus { + outline: 0; +} + +hr { + box-sizing: content-box; + height: 0; + overflow: visible; +} + +h1, +h2, +h3, +h4, +h5, +h6 { + margin-bottom: 1rem; + margin-top: 0; +} + +p { + margin-top: 0; + margin-bottom: 1rem; +} + +abbr[ title ], +abbr[ data-original-title ] { + text-decoration: underline; + -webkit-text-decoration: underline dotted; + cursor: help; + border-bottom: 0; +} + +address { + margin-bottom: 1rem; + font-style: normal; + line-height: inherit; +} + +ol, +ul, +dl { + margin-top: 0; + margin-bottom: 1rem; +} + +ol ol, +ul ul, +ol ul, +ul ol { + margin-bottom: 0; +} + +dt { + font-weight: 700; +} + +dd { + margin-bottom: 0.5rem; + margin-left: 0; +} + +blockquote { + margin: 0 0 1rem; +} + +dfn { + font-style: italic; +} + +b, +strong { + font-weight: bolder; +} + +small { + font-size: 80%; +} + +sub, +sup { + position: relative; + font-size: 75%; + line-height: 0; + vertical-align: baseline; +} + +sub { + bottom: -0.25em; +} + +sup { + top: -0.5em; +} + +a { + text-decoration: none; + background-color: transparent; + -webkit-text-decoration-skip: objects; +} + +a:hover { + text-decoration: underline; +} + +a:not([ href ]):not([ tabindex ]) { + text-decoration: none; +} + +a:not([ href ]):not([ tabindex ]):focus, +a:not([ href ]):not([ tabindex ]):hover { + text-decoration: none; +} + +a:not([ href ]):not([ tabindex ]):focus { + outline: 0; +} + +pre, +code, +kbd, +samp { + font-family: monospace, monospace; + font-size: 1em; +} + +pre { + margin-top: 0; + margin-bottom: 1rem; + overflow: auto; + -ms-overflow-style: scrollbar; +} + +figure { + margin: 0 0 1rem; +} + +img { + vertical-align: middle; + border-style: none; + width: 100%; + border-radius: 0.25em; +} + +svg:not(:root) { + overflow: hidden; +} + +a, +area, +button, +[ role = "button" ], +input:not([ type = "range" ]), +label, +select, +summary, +textarea { + -ms-touch-action: manipulation; + touch-action: manipulation; +} + +table { + border-collapse: collapse; +} + +caption { + padding-top: 0.75rem; + padding-bottom: 0.75rem; + color: #6c757d; + text-align: left; + caption-side: bottom; +} + +th { + text-align: inherit; +} + +label { + display: inline-block; + margin-bottom: 0.5rem; +} + +button { + border-radius: 0; +} + +button:focus { + outline: none; + outline: 5px auto -webkit-focus-ring-color; +} + +input, +button, +select, +optgroup, +textarea { + margin: 0; + font-family: inherit; + font-size: inherit; + line-height: inherit; +} + +button, +input { + overflow: visible; +} + +button, +select { + text-transform: none; +} + +button, +html [type="button"], +[type="reset"], +[type="submit"] { + -webkit-appearance: button; +} + +button::-moz-focus-inner, +[type="button"]::-moz-focus-inner, +[type="reset"]::-moz-focus-inner, +[type="submit"]::-moz-focus-inner { + padding: 0; + border-style: none; +} + +input[type="radio"], +input[type="checkbox"] { + box-sizing: border-box; + padding: 0; +} + +input[type="date"], +input[type="time"], +input[type="datetime-local"], +input[type="month"] { + -webkit-appearance: listbox; +} + +textarea { + overflow: auto; + resize: vertical; +} + +fieldset { + min-width: 0; + padding: 0; + margin: 0; + border: 0; +} + +legend { + display: block; + width: 100%; + max-width: 100%; + padding: 0; + margin-bottom: 0.5rem; + font-size: 1.5rem; + line-height: inherit; + color: inherit; + white-space: normal; +} + +progress { + vertical-align: baseline; +} + +[type="number"]::-webkit-inner-spin-button, +[type="number"]::-webkit-outer-spin-button { + height: auto; +} + +[type="search"] { + outline-offset: -2px; + -webkit-appearance: none; +} + +[type="search"]::-webkit-search-cancel-button, +[type="search"]::-webkit-search-decoration { + -webkit-appearance: none; +} + +::-webkit-file-upload-button { + font: inherit; + -webkit-appearance: button; +} + +output { + display: inline-block; +} + +summary { + display: list-item; + cursor: pointer; +} + +template { + display: none; +} + +[hidden] { + display: none !important; +} diff --git a/foundation/public/img/agriculture.png b/foundation/public/img/agriculture.png new file mode 100644 index 00000000..132db4fb Binary files /dev/null and b/foundation/public/img/agriculture.png differ diff --git a/foundation/public/img/bench-logo.png b/foundation/public/img/bench-logo.png new file mode 100644 index 00000000..ae605289 Binary files /dev/null and b/foundation/public/img/bench-logo.png differ diff --git a/foundation/public/img/cloud.png b/foundation/public/img/cloud.png new file mode 100644 index 00000000..1b4ac07b Binary files /dev/null and b/foundation/public/img/cloud.png differ diff --git a/foundation/public/img/community-2016.jpg b/foundation/public/img/community-2016.jpg new file mode 100644 index 00000000..a969a0ce Binary files /dev/null and b/foundation/public/img/community-2016.jpg differ diff --git a/foundation/public/img/community-colored.jpg b/foundation/public/img/community-colored.jpg new file mode 100644 index 00000000..ce9436de Binary files /dev/null and b/foundation/public/img/community-colored.jpg differ diff --git a/foundation/public/img/community.jpeg b/foundation/public/img/community.jpeg deleted file mode 100644 index 4e03d31d..00000000 Binary files a/foundation/public/img/community.jpeg and /dev/null differ diff --git a/foundation/public/img/community.png b/foundation/public/img/community.png deleted file mode 100644 index 5ff687f5..00000000 Binary files a/foundation/public/img/community.png and /dev/null differ diff --git a/foundation/public/img/conf/sponsors/cloude8.png b/foundation/public/img/conf/sponsors/cloude8.png new file mode 100644 index 00000000..b986fcf5 Binary files /dev/null and b/foundation/public/img/conf/sponsors/cloude8.png differ diff --git a/foundation/public/img/conf/sponsors/cloude8.webp b/foundation/public/img/conf/sponsors/cloude8.webp deleted file mode 100644 index d03a9d62..00000000 Binary files a/foundation/public/img/conf/sponsors/cloude8.webp and /dev/null differ diff --git a/foundation/public/img/conf/sponsors/digithinkit.png b/foundation/public/img/conf/sponsors/digithinkit.png index 28019917..36d6e47c 100644 Binary files a/foundation/public/img/conf/sponsors/digithinkit.png and b/foundation/public/img/conf/sponsors/digithinkit.png differ diff --git a/foundation/public/img/conf/sponsors/indictrans.jpg b/foundation/public/img/conf/sponsors/indictrans.jpg deleted file mode 100644 index 7ce8a5bb..00000000 Binary files a/foundation/public/img/conf/sponsors/indictrans.jpg and /dev/null differ diff --git a/foundation/public/img/conf/sponsors/indictrans.png b/foundation/public/img/conf/sponsors/indictrans.png new file mode 100644 index 00000000..3044bba8 Binary files /dev/null and b/foundation/public/img/conf/sponsors/indictrans.png differ diff --git a/foundation/public/img/conf/sponsors/mnt-logo.png b/foundation/public/img/conf/sponsors/mnt-logo.png index 1a72cab3..5ffe63c2 100644 Binary files a/foundation/public/img/conf/sponsors/mnt-logo.png and b/foundation/public/img/conf/sponsors/mnt-logo.png differ diff --git a/foundation/public/img/conf/sponsors/mnt.png b/foundation/public/img/conf/sponsors/mnt.png new file mode 100644 index 00000000..ae77f389 Binary files /dev/null and b/foundation/public/img/conf/sponsors/mnt.png differ diff --git a/foundation/public/img/conf/sponsors/mnt.svg b/foundation/public/img/conf/sponsors/mnt.svg deleted file mode 100644 index d1128535..00000000 --- a/foundation/public/img/conf/sponsors/mnt.svg +++ /dev/null @@ -1,125 +0,0 @@ - - - - - - - - - - image/svg+xml - - - - - - - - - MN Technique - - - - - - - - - - - diff --git a/foundation/public/img/conf/sponsors/shs-logo.png b/foundation/public/img/conf/sponsors/shs-logo.png index f01b8917..7a62be2a 100644 Binary files a/foundation/public/img/conf/sponsors/shs-logo.png and b/foundation/public/img/conf/sponsors/shs-logo.png differ diff --git a/foundation/public/img/distribution.png b/foundation/public/img/distribution.png new file mode 100644 index 00000000..41c89de7 Binary files /dev/null and b/foundation/public/img/distribution.png differ diff --git a/foundation/public/img/education.png b/foundation/public/img/education.png new file mode 100644 index 00000000..4a3bd28a Binary files /dev/null and b/foundation/public/img/education.png differ diff --git a/foundation/public/img/erpnext-foundation-icon.svg b/foundation/public/img/erpnext-foundation-icon.svg deleted file mode 100644 index e6053e18..00000000 --- a/foundation/public/img/erpnext-foundation-icon.svg +++ /dev/null @@ -1,13 +0,0 @@ - - - - erp-icon - Created with Sketch. - - - - - - - - \ No newline at end of file diff --git a/foundation/public/img/erpnext-foundation.png b/foundation/public/img/erpnext-foundation.png deleted file mode 100644 index 7ad3cf86..00000000 Binary files a/foundation/public/img/erpnext-foundation.png and /dev/null differ diff --git a/foundation/public/img/erpnext-logo.jpg b/foundation/public/img/erpnext-logo.jpg deleted file mode 100644 index 811eca83..00000000 Binary files a/foundation/public/img/erpnext-logo.jpg and /dev/null differ diff --git a/foundation/public/img/erpnext-logo.svg b/foundation/public/img/erpnext-logo.svg index 60b3d4d0..9fd07256 100644 --- a/foundation/public/img/erpnext-logo.svg +++ b/foundation/public/img/erpnext-logo.svg @@ -1,36 +1,94 @@ - - - - - - - - - - - - - - + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/foundation/public/img/favicon.ico b/foundation/public/img/favicon.ico new file mode 100644 index 00000000..b7cfff1f Binary files /dev/null and b/foundation/public/img/favicon.ico differ diff --git a/foundation/public/img/frappe-bird-black.svg b/foundation/public/img/frappe-bird-black.svg index 4077d24e..167a9512 100644 --- a/foundation/public/img/frappe-bird-black.svg +++ b/foundation/public/img/frappe-bird-black.svg @@ -1,16 +1,29 @@ - - - - Group - Created with Sketch. - - - - - - - - - - - \ No newline at end of file + +image/svg+xml \ No newline at end of file diff --git a/foundation/public/img/frappe-bird-grey.svg b/foundation/public/img/frappe-bird-grey.svg index de72dc1c..f20ef203 100644 --- a/foundation/public/img/frappe-bird-grey.svg +++ b/foundation/public/img/frappe-bird-grey.svg @@ -1,13 +1,43 @@ - - - - - - - - - - - - - + +image/svg+xml \ No newline at end of file diff --git a/foundation/public/img/healthcare.png b/foundation/public/img/healthcare.png new file mode 100644 index 00000000..3a84d684 Binary files /dev/null and b/foundation/public/img/healthcare.png differ diff --git a/foundation/public/img/hero-illustration-erpnext.png b/foundation/public/img/hero-illustration-erpnext.png index 4866790a..4b34c116 100644 Binary files a/foundation/public/img/hero-illustration-erpnext.png and b/foundation/public/img/hero-illustration-erpnext.png differ diff --git a/foundation/public/img/manufacturing-domain.png b/foundation/public/img/manufacturing-domain.png new file mode 100644 index 00000000..b0b95cd6 Binary files /dev/null and b/foundation/public/img/manufacturing-domain.png differ diff --git a/foundation/public/img/non-profit.png b/foundation/public/img/non-profit.png new file mode 100644 index 00000000..eb8db7dc Binary files /dev/null and b/foundation/public/img/non-profit.png differ diff --git a/foundation/public/img/retail.png b/foundation/public/img/retail.png new file mode 100644 index 00000000..9f79a52f Binary files /dev/null and b/foundation/public/img/retail.png differ diff --git a/foundation/public/img/service-providers.png b/foundation/public/img/service-providers.png new file mode 100644 index 00000000..db82d2df Binary files /dev/null and b/foundation/public/img/service-providers.png differ diff --git a/foundation/public/img/services.png b/foundation/public/img/services.png new file mode 100644 index 00000000..0b455423 Binary files /dev/null and b/foundation/public/img/services.png differ diff --git a/foundation/public/img/vm-dev-vagrant.png b/foundation/public/img/vm-dev-vagrant.png new file mode 100644 index 00000000..4d04d298 Binary files /dev/null and b/foundation/public/img/vm-dev-vagrant.png differ diff --git a/foundation/public/img/vm-development.png b/foundation/public/img/vm-development.png new file mode 100644 index 00000000..c80816ea Binary files /dev/null and b/foundation/public/img/vm-development.png differ diff --git a/foundation/public/img/vm-production.png b/foundation/public/img/vm-production.png new file mode 100644 index 00000000..a8c5f2e6 Binary files /dev/null and b/foundation/public/img/vm-production.png differ diff --git a/foundation/public/less/base.less b/foundation/public/less/base.less new file mode 100644 index 00000000..485d6af7 --- /dev/null +++ b/foundation/public/less/base.less @@ -0,0 +1,110 @@ +/*utilities*/ +.align-items-center { + align-items: center; +} + +.hide, +.hidden { + display: none; + visibility: hidden; +} + +.top-zero { + margin-top: 0; +} + +.bottom-zero { + margin-bottom: 0; +} + +.top-spacer { + margin-top: 2.5rem; +} + +.bottom-spacer { + margin-bottom: 2.5rem; +} + +.top-spacer-4 { + margin-top: 4rem; +} + +.bottom-spacer-4 { + margin-bottom: 4rem; +} + +.gray-bg { + background-color: @light-bg; +} + +.dark-bg { + background-color: @text-dark; +} + +.left-aligned { + text-align: left; +} + +.right-aligned { + text-align: right; +} + +.text-center { + text-align: center; +} + +.text-muted { + color: @text-muted; +} + +.text-light { + color: @text-light; +} + +.text-white { + color: #fff; +} + +.text-medium { + font-size: 1.5rem; +} + +.text-small { + font-size: 0.5rem; +} + +.centered { + margin: 0 auto; +} + +.bold { + font-weight: bold; +} + +.list-unstyled { + padding: 0; + + li { + list-style: none; + } +} + +.list-circle { + list-style: circle; +} + +.border { + border: @border; +} + +.border-top { + border-top: @border; +} + +.saturate { + filter: grayscale(100%); + + &:hover { + filter: grayscale(0%); + } +} diff --git a/foundation/public/less/erpnext-org-theme.less b/foundation/public/less/erpnext-org-theme.less new file mode 100644 index 00000000..619ddcb8 --- /dev/null +++ b/foundation/public/less/erpnext-org-theme.less @@ -0,0 +1,1051 @@ +@import "variables.less"; +@import "base.less"; +@import (css) "reset.css"; +@import "indicator.less"; + +a { + color: @brand-primary; + text-decoration: none; + transition: color @transition; + + &:hover { + color: @text-dark; + text-decoration: underline; + } + + &:focus, + &:visited { + outline: 0; + } +} + +.header-1 { + font-size: 2.5rem; + line-height: 1.025; +} + +.header-2 { + font-size: 1.5rem; + line-height: 1.025; +} + +.header-3 { + font-size: 1rem; + line-height: 1.025; +} + +.navbar { + padding: 1rem; + background-color: #fff; + box-shadow: 0 5px 9px 0 rgba(0, 0, 0, 0.05); + + @media screen and (min-width: @screen-xs) { + padding: 1rem 2.5rem; + } +} + +.navbar-header { + display: flex; + justify-content: space-between; + align-items: center; +} + +.navbar-icon { + width: 1.5rem; + margin-right: 0.5rem; + padding-bottom: 0.07rem; +} + +.navbar-brand { + font-size: 1rem; + font-weight: bold; + letter-spacing: 0.005em; + text-decoration: none; + color: @text-color; + + &:hover { + text-decoration: none; + color: @text-dark; + } +} + +.navbar-brand:visited { + color: @text-color; +} + +.menu { + display: flex; + margin: 0; +} + +.menu-items { + padding-left: 1.5rem; +} + +.menu-links { + color: @text-light; + text-decoration: none; + + &:hover { + text-decoration: none; + } +} + +.container, +.page-content-wrapper { + max-width: 100%; + margin: 0 auto; + + @media screen and (min-width: @screen-md) { + max-width: @screen-md; + } +} + +.feature, +.footer { + padding: 4rem 1rem; + border-top: 1px solid @light-border-color; + + @media screen and (min-width: @screen-xs) { + padding: 8rem 2.5rem; + } +} + +.page { + padding: 0 1rem; + border-top: 1px solid @light-border-color; + + @media screen and (min-width: @screen-xs) { + padding: 0 2.5rem; + } +} + +.hero-illustration { + width: 100%; + max-width: 800px; +} + +.list-items { + text-align: center; + border-radius: 0.5rem; + background-color: #fff; + min-width: 200px; + transition: all @transition; + + &:hover { + box-shadow: 0 5px 9px 0 rgba(0, 0, 0, 0.05); + } +} + +.grid-of-four, +.grid-of-three { + grid-gap: 2.5rem; + display: grid; +} + +.grid-of-four { + grid-template-columns: repeat(1, 1fr); + + @media screen and (min-width: @screen-palm) { + grid-template-columns: repeat(2, 1fr); + } + + @media screen and (min-width: @screen-xs) { + grid-template-columns: repeat(3, 1fr); + } + + @media screen and (min-width: @screen-sm) { + grid-template-columns: repeat(4, 1fr); + } +} + +.grid-of-three { + grid-template-columns: repeat(1, 1fr); + + @media screen and (min-width: @screen-palm) { + grid-template-columns: repeat(2, 1fr); + } + + @media screen and (min-width: @screen-xs) { + grid-template-columns: repeat(3, 1fr); + } +} + +.two-column, +.three-column, +.four-column { + display: flex; + justify-content: space-between; + flex-direction: column; + + @media screen and (min-width: @screen-xs) { + flex-direction: row; + } +} + +.contact-content { + max-width: 90%; + + @media screen and (min-width: @screen-palm) { + max-width: 50%; + } +} + +.columns { + margin-bottom: 1rem; + + @media screen and (min-width: @screen-xs) { + margin: 0; + } +} + +.countries { + max-width: 100%; + + @media screen and (min-width: @screen-palm) { + max-width: 50%; + min-width: 50%; + } + + @media screen and (min-width: @screen-xs) { + max-width: 25%; + min-width: 25%; + } +} + +.flex-wrap { + flex-wrap: wrap; + justify-content: flex-start; +} + +.intro-copy { + max-width: @screen-md/2; + margin: 0 auto 1.5rem auto; +} + +.primary-links { + color: @text-light; + transition: all @transition; + + &:hover { + color: @text-dark; + text-decoration: none; + } +} + +.button { + padding: 1rem 1.5rem; + border-radius: 0.25em; + cursor: pointer; + transition: all @transition; + border-bottom: 3px solid rgba(0, 0, 0, 0.2); + text-decoration: none; + + &:hover { + text-decoration: none; + } +} + +.button-primary { + font-size: 1.5em; + color: #fff; + background: @brand-primary; + border-right: 0; + border-left: 0; + border-top: 0; + line-height: 3; + + &:hover { + background: @button-primary-hover; + color: #fff; + } +} + +.button-secondary { + font-size: 1.5em; + color: @text-light; + background: @btn-bg; + border-right: 0; + border-left: 0; + border-top: 0; + line-height: 3; + + &:hover { + background: @button-secondary-hover; + color: @text-dark; + } +} + +.secondary-link { + color: @text-light; + transition: color @transition; + + &:hover { + color: @text-dark; + } +} + +.bulleted-list { + margin: 0; + padding-left: 1em; + + li { + padding-bottom: 1em; + } +} + +.footer-list { + padding-left: 0; +} + +.page_content li, +.sidebar-item, +.footer-list li { + margin-bottom: 1rem; +} + +.page-container { + display: flex; + max-width: @screen-md; + margin: 0 auto; + flex-direction: column-reverse; + + @media screen and (min-width: @screen-xs) { + flex-direction: row; + } +} + +.page-content { + width: 100%; + padding: 4rem 0; + + h1:first-child { + margin-top: 0; + } +} + +.breadcrumb { + padding: 0; + margin-bottom: 1.5rem; + + a { + background-color: transparent; + color: @text-muted; + + &:focus, + &:visited { + background-color: transparent; + color: @text-muted; + } + + &:hover { + color: @text-dark; + transition: color @transition; + } + } +} + +.breadcrumb > li { + display: inline-block; +} + +.breadcrumb > li + li::before { + padding: 0 5px; + color: @text-muted; + content: "/\00a0"; +} + +.sidebar-block { + padding: 4rem 0; + min-width: 200px; + border-top: 1px solid @light-border-color; + + @media screen and (min-width: @screen-xs) { + border-right: 1px solid @light-border-color; + border-top: 0; + } +} + +.blog-page { + padding: 4rem 0; + max-width: 700px; + margin: 0 auto; +} + +.page-content.with-sidebar { + @media screen and (min-width: @screen-xs) { + padding: 4rem 0 4rem 2.5rem; + } + + padding: 1rem; +} + +hr { + margin-top: 20px; + margin-bottom: 20px; + border: 0; + border-top: 1px solid @light-border-color; +} + +.footer-end { + border-top: 1px solid @dark-border-color; + padding-top: 1rem; + margin-top: 1rem; + font-size: 0.75rem; + + @media screen and (min-width: @screen-xs) { + padding-top: 2.5rem; + margin-top: 1.5rem; + } +} + +.footer a { + color: @text-muted; + + &:hover { + color: #fff; + } +} + +.footer-icon { + width: 1.5rem; + margin-right: 0.5em; +} + +/* loaned from bootstrap need to cleanup*/ + +/*progress bar*/ +.progress { + height: 1.5rem; + margin-bottom: 1.5rem; + overflow: hidden; + background-color: #f5f5f5; + border-radius: 0.25rem; + -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1); + box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1); +} + +.progress-bar { + height: inherit; +} + +.progress-bar-success { + background-color: #98d85b; +} + +.sr-only { + position: absolute; + width: 1px; + height: 1px; + padding: 0; + margin: -1px; + overflow: hidden; + clip: rect(0, 0, 0, 0); + border: 0; +} + +/*progress bar*/ +.clickable a { + color: @text-color; +} + +.clickable a:focus { + outline: 0; +} + +.fade.in { + opacity: 1; +} + +caption { + padding-top: 8px; + padding-bottom: 8px; + color: @text-muted; + text-align: left; +} + +th { + text-align: left; +} + +.input-group { + position: relative; + display: table; + border-collapse: separate; +} + +.btn-group, +.btn-group-vertical { + position: relative; + display: inline-block; + vertical-align: middle; +} + +.note-popover .popover-content > .btn-group, +.panel-heading.note-toolbar > .btn-group { + margin-top: 5px; + margin-right: 5px; + margin-left: 0; +} + +.note-popover .popover-content, +.panel-heading.note-toolbar { + padding: 0 0 5px 5px; + margin: 0; +} + +.panel-heading { + padding: 0.5rem 1rem; + border-bottom: 1px solid transparent; + border-top-left-radius: 0.25em; + border-top-right-radius: 0.25em; +} + +.panel-default > .panel-heading { + color: #333; + background-color: #f7fafc; + border-color: @border-color; +} + +.panel-body { + padding-left: 1rem; +} + +.modal { + position: fixed; + top: 0; + right: 0; + bottom: 0; + left: 0; + z-index: 1040; + display: none; + overflow: hidden; + outline: 0; +} + +.modal-open .modal { + overflow-x: hidden; + overflow-y: auto; +} + +.modal-backdrop.in { + filter: alpha(opacity=50); + opacity: 0.5; +} + +.modal-backdrop { + position: absolute; + top: 0; + right: 0; + left: 0; + background-color: #334143; +} + +.modal-dialog { + width: 600px; + margin: 2rem auto; +} + +.modal.in .modal-dialog { + transform: translate(0, 0); +} + +.modal-content { + position: relative; + background-color: #fff; + background-clip: padding-box; + border: 1px solid #d1d8dd; + border-radius: 0.25rem; + outline: 0; + box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5); +} + +.modal-header { + min-height: 1rem; + padding: 1rem; + border-bottom: 1px solid #d1d8dd; +} + +.modal-title { + margin: 0; + line-height: 1.42857143; +} + +.modal-body { + position: relative; + padding: 1rem; +} + +.close { + float: right; + font-size: 1.5rem; + font-weight: bold; + line-height: 1; + color: #000; + text-shadow: 0 1px 0 #fff; + filter: alpha(opacity=20); + opacity: 0.2; +} + +.modal-header .close { + margin-top: -2px; +} + +.close:hover, +.close:focus { + color: #000; + text-decoration: none; + cursor: pointer; + filter: alpha(opacity=50); + opacity: 0.5; +} + +.btn-default { + color: inherit; + background-color: #f0f4f7; + border-color: transparent; +} + +.btn { + display: inline-block; + padding: 0.25em 0.75em; + margin-bottom: 0; + font-size: 1em; + font-weight: normal; + text-align: center; + white-space: nowrap; + vertical-align: middle; + cursor: pointer; + user-select: none; + background-image: none; + border: 1px solid transparent; + border-radius: 0.25em; +} + +.btn-block { + background-image: none; + border: 1px solid transparent; + border-radius: 0.25em; + display: block; + width: 100%; +} + +.form-control { + display: block; + width: 100%; + height: 2em; + padding: 0.5em; + color: #2e3338; + background-color: #fff; + background-image: none; + border: 1px solid #d1d8dd; + border-radius: 0.25em; + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); + transition: border-color ease-out 0.15s, box-shadow ease-out 0.15s; +} + +.form-signin .form-control { + position: relative; + height: auto; + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; + padding: 0.5rem; + margin-bottom: 0.5rem; +} + +code { + color: #fc4f51; + background: #fff5f5; + padding: 0.25em; + border-radius: 0.25em; + font-size: 0.85em; +} + +/*loaned from frappe*/ +textarea.form-control { + height: auto; +} + +.col-sm-6 { + margin-bottom: 1rem; +} + +.col-sm-8 { + @media screen and (min-width: @screen-xs) { + width: 66.66%; + } +} + +.comment-view { + padding-bottom: 2.5rem; +} + +.no-results { + text-align: center; + padding: 10rem 0; +} + +.add-comment-section { + padding-bottom: 2rem; +} + +.comment-header { + border-bottom: @border; + padding: 2rem 0 1rem; +} + +.comment-row { + margin: 0 1rem; + padding: 1rem; +} + +.comment-row:last-child { + margin-bottom: 2rem; + border-bottom: 0; +} + +.page-card { + max-width: 360px; + padding: 1em; + margin: 8rem auto; + border: @border; + border-radius: 0.25em; + background-color: #fff; + box-shadow: 0 0.25em 0.5em rgba(0, 0, 0, 0.1); +} + +.page-card .page-card-head { + padding: 0.75em 1em; + margin: -1em; + margin-bottom: 1em; + border-bottom: @border; +} + +.login-content .btn { + margin-top: 3rem; +} + +.btn-primary { + background-color: @brand-primary; + border-color: @brand-primary; + color: #fff; + transition: background-color 0.3s ease-in; +} + +.btn-primary:hover, +.btn-primary:focus, +.btn-primary.focus, +.btn-primary:active, +.btn-primary.active, +.open > .dropdown-toggle.btn-primary { + color: #fff; + background-color: @button-primary-hover; + border-color: @button-primary-hover; + text-decoration: none; +} + +.screenshot, +.img-responsive { + max-width: 800px; + margin: auto; + width: auto; +} + +img.blog-cover-image, +.blog-text img, +.screenshot { + box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1); + border: 1px solid #d1d8dd; +} + +.btn-next-wrapper { + margin-top: 4rem; +} + +.input-group-btn { + display: table-cell; + vertical-align: middle; + white-space: nowrap; + height: 2rem; +} + +.dropdown-menu { + display: none; + position: absolute; + list-style: none; + margin: 0; + padding: 0; + box-shadow: 0 5px 9px 0 rgba(0, 0, 0, 0.05); + background-color: #fff; + + li { + padding: 0.5rem; + margin: 0; + transition: background-color @transition; + cursor: pointer; + + &:hover { + background-color: @btn-bg; + } + } +} + +.display-block { + display: block; +} + +.caret { + display: inline-block; + width: 0; + height: 0; + margin-left: 2px; + vertical-align: middle; + border-top: 0.25rem solid; + border-right: 0.25rem solid transparent; + border-left: 0.25rem solid transparent; +} + +.bounty-amount .form-control { + margin-right: 1.5rem; +} + +.input-group-btn .dropdown-toggle { + margin-left: 1.5rem; +} + +/*blog*/ + +/*TODO Needs refactor in frappe to use utilities.less*/ + +.blog-list-content { + border: 0; + background: transparent; +} + +.blog-list-item { + padding-bottom: 4rem; + border-bottom: 1px solid @navbar-default-border; + + &:last-child { + border-bottom: 0; + } + + a { + color: @text-color; + } + + h1{ + margin-top: 0; + } +} + +.blog-list-item:not(:first-child) { + padding-top: 4rem; +} + +.blogpost-cover-img { + width: 75%; + margin-bottom: 0.5rem; +} + +.blog-header { + font-size: 2.5rem; +} + +.blog-container img { + margin-bottom: 1.5rem; +} + +.blog-comments { + position: relative; + border-top: @border; +} + +.blog-info { + margin: 2.5rem 0; +} + +.blog-text { + font-size: 1.15em; + line-height: 1.62; +} + +.blog-content { + margin-bottom: 2.5rem; +} + +.blogger { + padding-top: 0; + padding-bottom: 2.5rem; +} + +.blogger-name { + margin-top: 0.25em; + font-weight: normal; + font-size: 1rem; + + a { + color: @text-color; + } +} + +.avatar { + display: inline-block; + width: 3rem; + height: 3rem; + margin-right: 1rem; +} + +.blog-list-item .avatar { + margin-right: 1em; +} + +.avatar img { + max-width: 100%; + max-height: 100%; + border-radius: 0.25em; +} + +.avatar-medium { + margin-right: 0.25em; + width: 2rem; + height: 2rem; +} + +.inline-block { + display: inline-block; +} + +.blog-container, +.max-width-medium { + max-width: 700px; +} + +.media { + display: flex; + background: @light-bg; + margin-bottom: 1.5rem; + border-radius: 0.25em; + padding: 1.5rem; + flex-direction: column; + + @media screen and (min-width: @screen-palm) { + flex-direction: row; + } +} + +.media-left { + width: 10%; + margin-right: 2.5rem; +} + +.media-heading { + margin-top: 0; +} + +.with-border { + border-radius: 0.25em; + padding: 1rem; + margin-bottom: 2rem; + border: 1px solid @border-color; + + a { + text-decoration: none; + color: @text-color; + + &:hover { + text-decoration: none; + color: @text-dark; + } + } + + &:hover { + background-color: @light-bg; + } +} + +/* individual elements */ + +.gold-member { + display: flex; + padding: 2.5rem 0; + transition: background-color @transition; + border-bottom: 1px solid @border-color; + + &:hover { + background-color: @light-bg; + } +} + +.individual-member { + border-bottom: 1px solid @border-color; + padding-bottom: 2.5rem; +} + +.box { + padding: 1.5rem; + border: 1px solid @border-color; + border-radius: 0.25em; + transition: background-color @transition; + + &:hover { + background-color: @light-bg; + } +} + +.grid-boxes { + font-size: 1.5rem; + display: block; + padding: 1.5rem; + + span { + display: block; + } +} + +.thumb-small { + width: 100px; +} + +.grid-images { + width: 150px; + padding-bottom: 1.5rem; +} + +.feature-img { + max-width: 250px; +} + +.community-bg { + background-image: linear-gradient(to bottom, rgba(117, 116, 254, 0.52), rgb(117, 116, 254)), url("/assets/foundation/img/community-2016.jpg"); + background-size: cover; + background-repeat: no-repeat; + background-position: center; + background-attachment: fixed; +} + +.community-bg .intro-copy, +.about .intro-copy { + max-width: 800px; +} + +/* added to make iframe responsive */ +.embed-container { + position: relative; + padding-bottom: 56.25%; + height: 0; + overflow: hidden; + max-width: 800px; + width: auto; +} + +.embed-container iframe, +.embed-container object, +.embed-container embed { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; +} diff --git a/foundation/public/less/indicator.less b/foundation/public/less/indicator.less new file mode 100644 index 00000000..42f9feeb --- /dev/null +++ b/foundation/public/less/indicator.less @@ -0,0 +1,88 @@ +@import "../../../../frappe/frappe/public/less/variables.less"; + +.indicator, +.indicator-right { + background: none; + font-size: 12px; + vertical-align: middle; + font-weight: bold; + color: #6c7680; +} + +.indicator::before, +.indicator-right::after { + content: ""; + display: inline-block; + height: 8px; + width: 8px; + border-radius: 8px; +} + +.indicator::before { + margin: 0 4px 0 0; +} + +.indicator-right::after { + margin: 0 0 0 4px; +} + +.indicator.grey::before, +.indicator-right.grey::after { + background: @btn-bg; +} + +.indicator.blue::before, +.indicator-right.blue::after { + background: @indicator-blue; +} + +.indicator.red::before, +.indicator-right.red::after { + background: @indicator-red; +} + +.indicator.green::before, +.indicator-right.green::after { + background: @indicator-green; +} + +.indicator.orange::before, +.indicator-right.orange::after { + background: @indicator-orange; +} + +.indicator.purple::before, +.indicator-right.purple::after { + background: @indicator-purple; +} + +.indicator.darkgrey::before, +.indicator-right.darkgrey::after { + background: @indicator-darkgrey; +} + +.indicator.black::before, +.indicator-right.black::after { + background: @text-color; +} + +.indicator.yellow::before, +.indicator-right.yellow::after { + background: @indicator-yellow; +} + +.indicator.light-blue::before, +.indicator-right.light-blue::after { + background: @indicator-light-blue; +} + +.indicator.lightblue::before, +.indicator-right.lightblue::after { + background: @indicator-light-blue; +} + +.modal-header .indicator { + float: left; + margin-top: 7.5px; + margin-right: 3px; +} diff --git a/foundation/public/less/variables.less b/foundation/public/less/variables.less new file mode 100644 index 00000000..8d7f3c32 --- /dev/null +++ b/foundation/public/less/variables.less @@ -0,0 +1,12 @@ +@import "../../../../frappe/frappe/public/less/variables.less"; + +@brand-primary: #7575ff; +@screen-sm-min: 768px; +@screen-xs-max: (@screen-sm-min - 1); +@button-primary-hover: darken(desaturate(@brand-primary, 50%), 15%); +@button-secondary-hover: lighten(@light-bg, 15%); +@primary-link-color: lighten(@brand-primary, 5%); +@border: 1px solid @border-color; +@transition: 0.3s ease-out; +@screen-palm: 500px; +@dark-border-color: darken(@border-color, 60%); diff --git a/foundation/templates/base.html b/foundation/templates/base.html new file mode 100644 index 00000000..8016adfd --- /dev/null +++ b/foundation/templates/base.html @@ -0,0 +1,69 @@ + + + + + + + {% block title %} {{ title | striptags }} {% endblock %} + + {% block favicon %} + + + {% endblock %} + {%- block head -%} + {% block meta_block %}{% endblock %} + + {% if path != '' %} + + + + {% endif %} + {% if path == 'contact' %} + + {% endif %} + {%- endblock -%} + {%- block head_include %}{{ head_include or "" }}{% endblock -%} + {%- block style %}{%- endblock -%} + + + +
+ {%- block navbar -%}{% include "templates/includes/navbar/navbar.html" %}{%- endblock -%} + {% block content %} + {{ content }} + {% endblock %} + {%- block footer -%}{% include "templates/includes/footer/footer.html" %}{%- endblock -%} +
+ {% block base_scripts %} + + + + {% endblock %} + {%- if js_globals is defined %} + + {% endif -%} + {%- for link in web_include_js %} + + {%- endfor -%} + {%- block script %}{%- endblock %} + + {%- block body_include %}{{ body_include or "" }}{% endblock -%} + + diff --git a/foundation/templates/includes/custom.css b/foundation/templates/includes/custom.css deleted file mode 100644 index f0739081..00000000 --- a/foundation/templates/includes/custom.css +++ /dev/null @@ -1,152 +0,0 @@ -@import url('https://fonts.googleapis.com/css?family=Rubik'); -body { - font-family: 'Rubik', sans-serif; - font-size: 15px; - color: #161c23; - text-rendering: optimizeLegibility !important; - line-height: 1.5em; - -moz-osx-font-smoothing: grayscale; - -webkit-font-smoothing: antialiased; -} - -section { - padding: 10px 0px; -} - -section:last-child { - padding-bottom: 60px; -} - -section p, section li, section .media-body { - font-size: 15px; - line-height: 1.6em; -} - - -h1 { - font-size: 32px; -} - -.page_content { - min-height: 400px; -} - -.conf-hero { - padding: 90px 0px; -} - -.label { - font-weight: normal; - background-color: #d1d8dd; - font-size: 13px; - padding: 3px 7px; - margin-right: 10px; -} - -.web-footer { - padding-top: 0px; -} - -.footer-bottom-line .text-muted { - font-size: 15px; - color: #161c23 !important; -} - -.row-full{ - width: 100vw; - position: relative; - margin-left: -50vw; - margin-top: 0px; - left: 50%; -} - -.with-border { - border: 1px solid #d1d8dd; - border-radius: 3px; - padding: 15px; - margin-bottom: 30px; -} - -.with-border h3 { - margin-top: 0px; -} - -a { - color: #5E64FF; -} - -.clickable a { - color: #161c23; -} - -.with-border.clickable:hover { - border-color: #36414C; - background-color: #fafbfc; - -} - -.with-border a, .with-border a:hover { - text-decoration: none; -} - -.web-footer { - background-color: #fafbfc; - border-top: 4px solid #d1d8dd; - padding-bottom: 0px; - padding-top: 20px; -} - -@media (max-width: 767px) { - .web-footer { - padding-left: 15px; - } -} - -.footer-group-label, .navbar-brand { - color: #161c23 !important; -} - -.web-footer .col-sm-6:first-child { - width: 60%; -} - -.web-footer .col-sm-6:last-child { - width: 40%; -} - -/*#website-post-login { - display: none !important; -} -*/ -.silver-member { - padding: 0px 15px; - min-height: 205px; -} - -.page-breadcrumbs .breadcrumb { - margin-bottom: 10px; - font-size: 15px; - /*color: #8D99A6;*/ -} - -.full-name { - display: none; -} - -.sponsor { - height: 200px; - margin-top: 30px; - text-align: center; - vertical-align: center; - border: 1px solid #d1d8dd; - border-radius: 3px; - padding: 20px; -} - -.sponsor .lead { - margin-top: 60px; -} - -.sponsor img { - max-width: 150px; -} diff --git a/foundation/templates/includes/footer.html b/foundation/templates/includes/footer.html deleted file mode 100644 index b5f32fed..00000000 --- a/foundation/templates/includes/footer.html +++ /dev/null @@ -1,46 +0,0 @@ - - - - - diff --git a/foundation/templates/includes/footer/footer.html b/foundation/templates/includes/footer/footer.html new file mode 100644 index 00000000..42412ea9 --- /dev/null +++ b/foundation/templates/includes/footer/footer.html @@ -0,0 +1,147 @@ + diff --git a/foundation/templates/includes/macros.html b/foundation/templates/includes/macros.html index 6c69f91a..43c65a3b 100644 --- a/foundation/templates/includes/macros.html +++ b/foundation/templates/includes/macros.html @@ -1,12 +1,12 @@ {% macro media(title, content, image, link) %} - + {% for df in frappe.get_meta(field.options).fields %} + {% if df.in_list_view %} + <{{ 'th' if d==None else 'td' }} style="width: {{ (df.columns or 2) * 8.3333 }}%;"> + {% if d!=None %} + {{ render_field(df, d, False) }} + {% else %} + {{ _(df.label) }} + {% endif %} + + {% endif %} + {% endfor %} + + +{% endmacro %} + +{% macro render_table(field) %} + {{ label(field) }} +
+
Country {{ country }}
+ + {{ render_row(field) }} + + + {{ render_row(field, {}, True) }} + {% if doc and doc.get(field.fieldname) %} + {% for d in doc.get(field.fieldname) %} + {{ render_row(field, d) }} + {% endfor %} + {% endif %} + +
+
+

+{% endmacro %} + + +{% if not frappe.form_dict.new and layout|len > 1 %} +
+ {% for page in layout %} + + {% endfor %} +
+{% endif %} + +
+ {% if frappe.form_dict.name and web_page_link_text %} + + {% endif %} + + {% for page in layout %} + {% set last_page = True if loop.index == layout|len else False %} +
+ {% if page.label %} +

{{ _(page.label) }}

+ {% endif %} + {% if page.description %} +

{{ _(page.description) }}

+
+ {% endif %} + + {% for section in page.sections %} +
+ {% if section.label %} +
{{ _(section.label) }}
+ {{ _(section.description) }} + {% endif %} +
+ {% for column in section.columns %} +
+ {% for field in column %} + {% if field.fieldtype=='Table' %} + {{ render_table(field) }} + {% else %} + {{ render_field(field, doc) }} + {% endif %} + {% endfor %} +
+ {% endfor %} +
+
+ {% endfor %} + {% if last_page and accept_payment %} +
+ {% if not doc.paid %} + {% if payment_button_help %} +
+ {{ payment_button_help }}
+ {% endif %} + + {{ payment_button_label or "Pay"}} + {% else %} +
{{ _("Payment Complete") }}
+ {% endif %} +
+ {% endif %} + +
+ {% if layout|len > 1 %} +

+ {{ _("Page {0} of {1}").format(loop.index, layout|len) }}

+ {% endif %} +
+

+ {%- if loop.index > 1 -%} + + {%- endif -%} + + {% if (loop.index == layout|len or frappe.form_dict.new) %} + {% if not read_only %} + + {% endif %} + {% elif layout|len > 1 %} + + {% endif %} +

+
+
+ {% endfor %} + +
+ +{% if allow_comments and not frappe.form_dict.new -%} +
+

+

{{ _("Comments") }}

+ {% include 'templates/includes/comments/comments.html' %} +
+{%- endif %} +{% endif %} +
+{% endblock %} + +{% block script %} + + + + + +{% endblock %} + +{% block style %} + + + +{% endblock %} diff --git a/foundation/website/doctype/web_form/templates/web_form_row.html b/foundation/website/doctype/web_form/templates/web_form_row.html new file mode 100644 index 00000000..2b999819 --- /dev/null +++ b/foundation/website/doctype/web_form/templates/web_form_row.html @@ -0,0 +1,4 @@ + + \ No newline at end of file diff --git a/foundation/www/about.html b/foundation/www/about.html index 46204118..e87c4a5c 100644 --- a/foundation/www/about.html +++ b/foundation/www/about.html @@ -1,19 +1,29 @@ -{% extends "templates/web.html" %} +{% extends "templates/base.html" %} {% block title %}About ERPNext Foundation{% endblock %} {% from "foundation/templates/includes/macros.html" import media %} -{% block page_content %} -
- {{ doc.company_introduction }} -
-
-

People

- {% for member in doc.team_members %} - {{ media(member.full_name, member.bio, member.image_link) }} - {% endfor %} -

Want to talk to someone in the foundation? Get in touch

- -
+{% block content%} +
+
+
+ +

ERPNext Foundation

+

We are a Non Profit Foundation representing a community of ERPNext Users, Developers and Service Providers. Our goal is to provide a platform for the ERPNext Community to + come together, join hands and build assets to help build and enhance ERPNext around the world.

ERPNext Foundation aims to be a community driven organization and run in a transparent manner. If you want to be more involved in the ERPNext Community, read the FAQ. +

+
+
+
+
+

{{ doc.team_members_heading }}

+ {% for member in doc.team_members %} + {{ media(member.full_name, member.bio, member.image_link) }} + {% endfor %} +

Want to talk to someone in the foundation? Get in touch

+
+
+
{% endblock %} + diff --git a/foundation/www/docs/user/manual/en/stock/stock-entry.md b/foundation/www/docs/user/manual/en/stock/stock-entry.md index b0053aa1..cd5adf79 100644 --- a/foundation/www/docs/user/manual/en/stock/stock-entry.md +++ b/foundation/www/docs/user/manual/en/stock/stock-entry.md @@ -40,7 +40,6 @@ If perpetual inventory system is enabled, additional costs will be booked in "Ex Additional Costs General Ledger - > **Note:** To update Stock from a spreadsheet, see [Stock Reconciliation]({{doc_base_url}}/user/manual/en/setting-up/stock-reconciliation-for-non-serialized-item.html). {next} diff --git a/foundation/www/get-started.html b/foundation/www/get-started.html new file mode 100644 index 00000000..ac5700db --- /dev/null +++ b/foundation/www/get-started.html @@ -0,0 +1,65 @@ +{% extends "foundation/templates/base.html" %} +{% block title %} Get Started - ERPNext Foundation{% endblock %} +{% block content %} +
+
+

+ +

+

Install ERPNext with Bench

+

Bench is our in-house tool to install and manage ERPNext.

+ Read the instructions on our wiki +
+
+
+
+

+ +

+

Get ERPNext on cloud

+

Start right away with a free trial account
and get priority support.

+ Free 30 Day Trial

+
+
+
+
+

Virtual Machine Images

+

Download a pre-installed Virtual Box Images

+
    +
  • + + Download ERPNext Production Image + +

    Download Production Image

    +

    Stable build for Production use
    (approx 1.5GB) | MD5

    +
  • +
  • + + Download ERPNext Development Image + +

    Download Development Image

    +

    Bleeding edge build for development only
    (approx 1.5GB) | MD5 +

    +
  • +
  • + + Download ERPNext Vagrant Box + +

    Download Vagrant Box

    +

    Bleeding edge Vagrant box for development only
    (approx 1.5GB) | MD5 +

    +
  • +
+
+
+
+
+

+ +

+

Contact Service Providers

+

For additional customisations, implementation and training requirements.

+ See the list of all Service Providers +
+
+{% endblock %} diff --git a/foundation/www/index.css b/foundation/www/index.css deleted file mode 100644 index 8167bd04..00000000 --- a/foundation/www/index.css +++ /dev/null @@ -1,25 +0,0 @@ -.page-content { - padding-top: 0px; - margin-top: -3px; -} - -section { - padding-bottom: 15px; - border-bottom: 1px solid #e1e9f0; -} - -section h3 { - margin-bottom: 0px; -} -section p.small { - margin-top: 0px; -} - -section:last-child, .hero { - border-bottom: none; -} - -.section-grid .col-sm-4 { - padding-top: 10px; - padding-bottom: 10px; -} \ No newline at end of file diff --git a/foundation/www/index.html b/foundation/www/index.html index 028f3ad5..947c323b 100644 --- a/foundation/www/index.html +++ b/foundation/www/index.html @@ -1,192 +1,107 @@ -{% extends "templates/web.html" %} +{% extends "foundation/templates/base.html" %} {% block title %}ERPNext Foundation{% endblock %} -{% block page_content %} -
-
- -
-

ERP for Everybody

-

Do-It-Yourself Business Management System that will help you stay in control

-

100% Open Source

+{% block content %} +
+
+ ERP software for Everybody +

ERP for Everybody

+

World's leading fully open source ERP software that helps you stay in control of your business

+ Get Started +
-
-

Standard Modules

-

ERPNext comes with hundreds of features and is very customizable

- -

-
-
-

Domains

-

Ready features for multiple domains that you can start using today

-
- -
- Services -
-
- Retail -
- -
- Education -
+
+
-
-

Community

-

Use and build ERPNext with a community of over 5000 strong

- +
+
+
+

ERPNext Foundation

+

ERPNext Foundation is a community of ERPNext users, developers and service providers. The goal of the ERPNext Foundation is to provide a platform for the ERPNext Community to come together, join hands and build assets to help build and enhance ERPNext around the world.

+ Become a Member +
+
- -
-

Get Started

-

Explore or self-implement ERPNext

- -
-
-

Documentation

-

Learn to use or develop on ERPNext

- -
-
-

Localize

-

Help in updating translations and accounting features specific to your country or region

- -
-
-

Foundation

-

Join the not-for-profit that brings the community together on a common platform

-
- -
- Chapters -
- - -
- About -
-
- Contact -
-
+
+
+
+
+

Events & Meetups

+ +
+
+

Help Us Improve

+ +
+
+

Need Help?

+ +
+
+
{% endblock %} diff --git a/foundation/www/index.py b/foundation/www/index.py new file mode 100644 index 00000000..71fb0595 --- /dev/null +++ b/foundation/www/index.py @@ -0,0 +1,10 @@ +# See license.txt + +from __future__ import unicode_literals +import frappe + +def get_context(context): + out = { + "events": frappe.get_all("Portal Event", fields=["event_title", "event_date", "details", "route"], filters=[["published", "=", 1]]) + } + return out diff --git a/foundation/www/members/details.html b/foundation/www/members/details.html index 0532ec06..b5ca028f 100644 --- a/foundation/www/members/details.html +++ b/foundation/www/members/details.html @@ -33,4 +33,4 @@ {% endif %} -{% endblock %} \ No newline at end of file +{% endblock %} diff --git a/foundation/www/members/index.html b/foundation/www/members/index.html index 27bdd3cd..a9209031 100644 --- a/foundation/www/members/index.html +++ b/foundation/www/members/index.html @@ -7,12 +7,7 @@ {% block page_content %}

Memberships

-

Be a Part of the ERPNext Foundation

-
-
-

Introduction

-

- The ERPNext Foundation aims to be driven by its members. By becoming a members, you get +

Be a Part of the ERPNext Foundation. The ERPNext Foundation aims to be driven by its members. By becoming a members, you get a preferred listing on the ERPNext Job Board and access to incoming requests for implementation and customization jobs

diff --git a/foundation/www/privacy.css b/foundation/www/privacy.css deleted file mode 100644 index cdd1d228..00000000 --- a/foundation/www/privacy.css +++ /dev/null @@ -1,9 +0,0 @@ -.page_content { - max-width: 700px; - font-size: 16px; - line-height: 1.8em; -} - -.page_content li { - margin: 10px 0px; -} \ No newline at end of file diff --git a/foundation/www/service-providers.html b/foundation/www/service-providers.html index 2d703af5..772cd407 100644 --- a/foundation/www/service-providers.html +++ b/foundation/www/service-providers.html @@ -1,95 +1,93 @@ -{% extends "templates/web.html" %} +{% extends "foundation/templates/web.html" %} {% from "foundation/templates/includes/macros.html" import media %} {% macro gold_member(m) %} -
-
+

{{ m.title }}

-

Gold Member

{{ m.introduction }}
-
{% endmacro %} {% macro silver_member(m) %} -
-

{{ m.title }}

-

Silver Member

-

{{ m.introduction[:100] }}

+

{{ m.introduction | truncate(140) }}

-
{% endmacro %} {% macro show_member(s) %} -
+
+

{{ s.title and s.title[:25] }}

- {{ s.title and s.title[:25] }}
- {{ s.introduction and s.introduction[:100] }} + {{ s.introduction and s.introduction | truncate(140) }}

{% endmacro %} {% block page_content %} -

{{ title }}

{% if form_dict.country %} {% endif %} -
+
+

Gold Members

{% for m in gold_members %} {{ gold_member(m) }} {% endfor %} {% if has_gold_member %} -

+

Become a Gold Member and get your company featured here

{% endif %}
-
-
+ +
+

Silver Members

+
{% for m in silver_members %} {{ silver_member(m) }} {% endfor %} -
+
+ {% if has_silver_member %} +

+ Become a Silver Member and get your company featured here

+ {% endif %}
-
+

Individual Members

-
- {% for s in individual_members %} - {{ show_member(s) }} - {% endfor %} +
+ {% for s in individual_members %} + {{ show_member(s) }} + {% endfor %}
{% if form_dict.country %} -
+

Other Service Providers

-
- {% for s in service_providers %} - {{ show_member(s) }} - {% endfor %} -
+
+ {% for s in service_providers %} + {{ show_member(s) }} + {% endfor %} +
{% else %}

Select by country

-
+
{% for c in countries %} -
{% endif %} - -{% endblock %} \ No newline at end of file +{% endblock %} diff --git a/foundation/www/service_providers.py b/foundation/www/service_providers.py index 0188952e..d222f324 100644 --- a/foundation/www/service_providers.py +++ b/foundation/www/service_providers.py @@ -38,17 +38,17 @@ def get_context(context): context.silver_members = frappe.get_all('Service Provider', 'title, introduction, `image`, route', filters, debug=1) - # round to 3 columns - for i in xrange(3 - (len(context.silver_members) % 3)): + if context.silver_members: + context.has_silver_member = 1 + else: context.silver_members.append(dict( title='Your Company', - introduction='Become a Silver Member today and get your company featured here', + introduction='Become a silver Member today and get your company featured here', image='/assets/foundation/img/silver.png', route='/members', placeholder=True )) - context.individual_members = [] individual_members = [d.name for d in frappe.get_all('Member', dict(membership_type='Individual'))] diff --git a/foundation/www/terms.css b/foundation/www/terms.css deleted file mode 100644 index cdd1d228..00000000 --- a/foundation/www/terms.css +++ /dev/null @@ -1,9 +0,0 @@ -.page_content { - max-width: 700px; - font-size: 16px; - line-height: 1.8em; -} - -.page_content li { - margin: 10px 0px; -} \ No newline at end of file