diff --git a/.gitignore b/.gitignore index 2902025..752e415 100644 --- a/.gitignore +++ b/.gitignore @@ -3,4 +3,4 @@ *.egg-info *.swp tags -business_theme_v14/docs/current \ No newline at end of file +openalt_theme_v14/docs/current diff --git a/MANIFEST.in b/MANIFEST.in index 76b977d..55066e1 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -4,15 +4,15 @@ include *.json include *.md include *.py include *.txt -recursive-include business_theme_v14 *.css -recursive-include business_theme_v14 *.csv -recursive-include business_theme_v14 *.html -recursive-include business_theme_v14 *.ico -recursive-include business_theme_v14 *.js -recursive-include business_theme_v14 *.json -recursive-include business_theme_v14 *.md -recursive-include business_theme_v14 *.png -recursive-include business_theme_v14 *.py -recursive-include business_theme_v14 *.svg -recursive-include business_theme_v14 *.txt -recursive-exclude business_theme_v14 *.pyc \ No newline at end of file +recursive-include openalt_theme_v14 *.css +recursive-include openalt_theme_v14 *.csv +recursive-include openalt_theme_v14 *.html +recursive-include openalt_theme_v14 *.ico +recursive-include openalt_theme_v14 *.js +recursive-include openalt_theme_v14 *.json +recursive-include openalt_theme_v14 *.md +recursive-include openalt_theme_v14 *.png +recursive-include openalt_theme_v14 *.py +recursive-include openalt_theme_v14 *.svg +recursive-include openalt_theme_v14 *.txt +recursive-exclude openalt_theme_v14 *.pyc diff --git a/README.md b/README.md index b3a94dc..7fae59a 100644 --- a/README.md +++ b/README.md @@ -1,28 +1,25 @@ -## Business Theme V14 +## Open-Alt Frappe/ERPNext v14 Custom Theme -Business Theme for ERPNext / Frappe +Open-Alt Theme for ERPNext / Frappe v14 ### To install this theme, -bench get-app https://github.com/Midocean-Technologies/business_theme_v14.git +bench get-app https://dev01.open-alt.com/open-alt/openalt_theme_v14.git -bench --site (sitename) install-app business_theme_v14 +bench --site (sitename) install-app openalt_theme_v14 bench clear-cache ### To uninstall this theme -bench --site (sitename) uninstall-app business_theme_v14 +bench --site (sitename) uninstall-app openalt_theme_v14 -Screenshot 2022-06-26 at 2 02 45 PM -Screenshot 2022-06-26 at 2 02 28 PM -Screenshot 2022-06-26 at 2 01 56 PM #### License MIT -#### Contact now! for end to end Frappe/ERPNext, Odoo & Flutter Development -[sagar@midocean.tech] +#### Contact now! for end to end Business Solutions +[contact@open-alt.com] diff --git a/business_theme_v14/config/docs.py b/business_theme_v14/config/docs.py deleted file mode 100644 index f95183c..0000000 --- a/business_theme_v14/config/docs.py +++ /dev/null @@ -1,10 +0,0 @@ -""" -Configuration for docs -""" - -# source_link = "https://github.com/[org_name]/business_theme_v14" -# headline = "App that does everything" -# sub_heading = "Yes, you got that right the first time, everything" - -def get_context(context): - context.brand_html = "Business Theme V14" diff --git a/business_theme_v14/modules.txt b/business_theme_v14/modules.txt deleted file mode 100644 index dfb5a03..0000000 --- a/business_theme_v14/modules.txt +++ /dev/null @@ -1 +0,0 @@ -Business Theme V14 \ No newline at end of file diff --git a/business_theme_v14/__init__.py b/openalt_theme_v14/__init__.py similarity index 100% rename from business_theme_v14/__init__.py rename to openalt_theme_v14/__init__.py diff --git a/business_theme_v14/business_theme_v14/__init__.py b/openalt_theme_v14/config/__init__.py similarity index 100% rename from business_theme_v14/business_theme_v14/__init__.py rename to openalt_theme_v14/config/__init__.py diff --git a/business_theme_v14/config/desktop.py b/openalt_theme_v14/config/desktop.py similarity index 65% rename from business_theme_v14/config/desktop.py rename to openalt_theme_v14/config/desktop.py index 9cdb895..a7e614d 100644 --- a/business_theme_v14/config/desktop.py +++ b/openalt_theme_v14/config/desktop.py @@ -3,10 +3,10 @@ from frappe import _ def get_data(): return [ { - "module_name": "Business Theme V14", + "module_name": "OpenAlt Theme V14", "color": "grey", "icon": "octicon octicon-file-directory", "type": "module", - "label": _("Business Theme V14") + "label": _("OpenAlt Theme V14") } ] diff --git a/openalt_theme_v14/config/docs.py b/openalt_theme_v14/config/docs.py new file mode 100644 index 0000000..de5a543 --- /dev/null +++ b/openalt_theme_v14/config/docs.py @@ -0,0 +1,10 @@ +""" +Configuration for docs +""" + +# source_link = "https://dev01.open-alt.com/open-alt/openalt_theme_v14" +# headline = "App that customizes frappe/erpnext v14 theme" +# sub_heading = "Open-Alt custom theme for frappe/erpnext v14" + +def get_context(context): + context.brand_html = "OpenAlt Theme V14" diff --git a/business_theme_v14/hooks.py b/openalt_theme_v14/hooks.py similarity index 70% rename from business_theme_v14/hooks.py rename to openalt_theme_v14/hooks.py index a97109c..1590d9f 100644 --- a/business_theme_v14/hooks.py +++ b/openalt_theme_v14/hooks.py @@ -1,27 +1,27 @@ from . import __version__ as app_version -app_name = "business_theme_v14" -app_title = "Business Theme V14" -app_publisher = "Midocean Technologies Pvt Ltd" -app_description = "Business Theme for ERPNext / Frappe" +app_name = "openalt_theme_v14" +app_title = "Open-Alt Theme v14" +app_publisher = "Open-Alt" +app_description = "Open-Alt Theme for ERPNext / Frappe v14" app_icon = "octicon octicon-file-directory" app_color = "grey" -app_email = "sagar@midocean.tech" +app_email = "contact@open-alt.com" app_license = "MIT" # Includes in # ------------------ # include js, css files in header of desk.html -app_include_css = "/assets/business_theme_v14/css/business_theme_v14.css" -# app_include_js = "/assets/business_theme_v14/js/business_theme_v14.js" +app_include_css = "/assets/openalt_theme_v14/css/openalt_theme_v14.css" +# app_include_js = "/assets/openalt_theme_v14/js/openalt_theme_v14.js" # include js, css files in header of web template -# web_include_css = "/assets/business_theme_v14/css/business_theme_v14.css" -# web_include_js = "/assets/business_theme_v14/js/business_theme_v14.js" +# web_include_css = "/assets/openalt_theme_v14/css/openalt_theme_v14.css" +# web_include_js = "/assets/openalt_theme_v14/js/openalt_theme_v14.js" # include custom scss in every website theme (without file extension ".scss") -# website_theme_scss = "business_theme_v14/public/scss/website" +# website_theme_scss = "openalt_theme_v14/public/scss/website" # include js, css files in header of web form # webform_include_js = {"doctype": "public/js/doctype.js"} @@ -58,27 +58,27 @@ app_include_css = "/assets/business_theme_v14/css/business_theme_v14.css" # add methods and filters to jinja environment # jinja = { -# "methods": "business_theme_v14.utils.jinja_methods", -# "filters": "business_theme_v14.utils.jinja_filters" +# "methods": "openalt_theme_v14.utils.jinja_methods", +# "filters": "openalt_theme_v14.utils.jinja_filters" # } # Installation # ------------ -# before_install = "business_theme_v14.install.before_install" -# after_install = "business_theme_v14.install.after_install" +# before_install = "openalt_theme_v14.install.before_install" +# after_install = "openalt_theme_v14.install.after_install" # Uninstallation # ------------ -# before_uninstall = "business_theme_v14.uninstall.before_uninstall" -# after_uninstall = "business_theme_v14.uninstall.after_uninstall" +# before_uninstall = "openalt_theme_v14.uninstall.before_uninstall" +# after_uninstall = "openalt_theme_v14.uninstall.after_uninstall" # Desk Notifications # ------------------ # See frappe.core.notifications.get_notification_config -# notification_config = "business_theme_v14.notifications.get_notification_config" +# notification_config = "openalt_theme_v14.notifications.get_notification_config" # Permissions # ----------- @@ -117,39 +117,39 @@ app_include_css = "/assets/business_theme_v14/css/business_theme_v14.css" # scheduler_events = { # "all": [ -# "business_theme_v14.tasks.all" +# "openalt_theme_v14.tasks.all" # ], # "daily": [ -# "business_theme_v14.tasks.daily" +# "openalt_theme_v14.tasks.daily" # ], # "hourly": [ -# "business_theme_v14.tasks.hourly" +# "openalt_theme_v14.tasks.hourly" # ], # "weekly": [ -# "business_theme_v14.tasks.weekly" +# "openalt_theme_v14.tasks.weekly" # ], # "monthly": [ -# "business_theme_v14.tasks.monthly" +# "openalt_theme_v14.tasks.monthly" # ], # } # Testing # ------- -# before_tests = "business_theme_v14.install.before_tests" +# before_tests = "openalt_theme_v14.install.before_tests" # Overriding Methods # ------------------------------ # # override_whitelisted_methods = { -# "frappe.desk.doctype.event.event.get_events": "business_theme_v14.event.get_events" +# "frappe.desk.doctype.event.event.get_events": "openalt_theme_v14.event.get_events" # } # # each overriding function accepts a `data` argument; # generated from the base implementation of the doctype dashboard, # along with any modifications made in other Frappe apps # override_doctype_dashboards = { -# "Task": "business_theme_v14.task.get_dashboard_data" +# "Task": "openalt_theme_v14.task.get_dashboard_data" # } # exempt linked doctypes from being automatically cancelled @@ -185,7 +185,7 @@ app_include_css = "/assets/business_theme_v14/css/business_theme_v14.css" # -------------------------------- # auth_hooks = [ -# "business_theme_v14.auth.validate" +# "openalt_theme_v14.auth.validate" # ] # Translation diff --git a/openalt_theme_v14/modules.txt b/openalt_theme_v14/modules.txt new file mode 100644 index 0000000..01e5a73 --- /dev/null +++ b/openalt_theme_v14/modules.txt @@ -0,0 +1 @@ +Openalt Theme V14 diff --git a/business_theme_v14/config/__init__.py b/openalt_theme_v14/openalt_theme_v14/__init__.py similarity index 100% rename from business_theme_v14/config/__init__.py rename to openalt_theme_v14/openalt_theme_v14/__init__.py diff --git a/business_theme_v14/patches.txt b/openalt_theme_v14/patches.txt similarity index 100% rename from business_theme_v14/patches.txt rename to openalt_theme_v14/patches.txt diff --git a/business_theme_v14/public/.gitkeep b/openalt_theme_v14/public/.gitkeep similarity index 100% rename from business_theme_v14/public/.gitkeep rename to openalt_theme_v14/public/.gitkeep diff --git a/business_theme_v14/public/css/business_theme_v14.css b/openalt_theme_v14/public/css/openalt_theme_v14.css similarity index 100% rename from business_theme_v14/public/css/business_theme_v14.css rename to openalt_theme_v14/public/css/openalt_theme_v14.css diff --git a/business_theme_v14/templates/__init__.py b/openalt_theme_v14/templates/__init__.py similarity index 100% rename from business_theme_v14/templates/__init__.py rename to openalt_theme_v14/templates/__init__.py diff --git a/business_theme_v14/templates/pages/__init__.py b/openalt_theme_v14/templates/pages/__init__.py similarity index 100% rename from business_theme_v14/templates/pages/__init__.py rename to openalt_theme_v14/templates/pages/__init__.py diff --git a/setup.py b/setup.py index 0b0f073..fa94110 100644 --- a/setup.py +++ b/setup.py @@ -3,15 +3,15 @@ from setuptools import setup, find_packages with open("requirements.txt") as f: install_requires = f.read().strip().split("\n") -# get version from __version__ variable in business_theme_v14/__init__.py -from business_theme_v14 import __version__ as version +# get version from __version__ variable in openalt_theme_v14/__init__.py +from openalt_theme_v14 import __version__ as version setup( - name="business_theme_v14", + name="openalt_theme_v14", version=version, - description="Business Theme for ERPNext / Frappe", - author="Midocean Technologies Pvt Ltd", - author_email="sagar@midocean.tech", + description="Open-Alt Theme for ERPNext / Frappe", + author="Open-Alt" + author_email="contact@open-alt.com", packages=find_packages(), zip_safe=False, include_package_data=True,