瀏覽代碼

initial modification - change names

Yahya S. Hamidaddin 2 年之前
父節點
當前提交
2ac6d1d1e2

+ 1
- 1
.gitignore 查看文件

@@ -3,4 +3,4 @@
3 3
 *.egg-info
4 4
 *.swp
5 5
 tags
6
-business_theme_v14/docs/current
6
+openalt_theme_v14/docs/current

+ 12
- 12
MANIFEST.in 查看文件

@@ -4,15 +4,15 @@ include *.json
4 4
 include *.md
5 5
 include *.py
6 6
 include *.txt
7
-recursive-include business_theme_v14 *.css
8
-recursive-include business_theme_v14 *.csv
9
-recursive-include business_theme_v14 *.html
10
-recursive-include business_theme_v14 *.ico
11
-recursive-include business_theme_v14 *.js
12
-recursive-include business_theme_v14 *.json
13
-recursive-include business_theme_v14 *.md
14
-recursive-include business_theme_v14 *.png
15
-recursive-include business_theme_v14 *.py
16
-recursive-include business_theme_v14 *.svg
17
-recursive-include business_theme_v14 *.txt
18
-recursive-exclude business_theme_v14 *.pyc
7
+recursive-include openalt_theme_v14 *.css
8
+recursive-include openalt_theme_v14 *.csv
9
+recursive-include openalt_theme_v14 *.html
10
+recursive-include openalt_theme_v14 *.ico
11
+recursive-include openalt_theme_v14 *.js
12
+recursive-include openalt_theme_v14 *.json
13
+recursive-include openalt_theme_v14 *.md
14
+recursive-include openalt_theme_v14 *.png
15
+recursive-include openalt_theme_v14 *.py
16
+recursive-include openalt_theme_v14 *.svg
17
+recursive-include openalt_theme_v14 *.txt
18
+recursive-exclude openalt_theme_v14 *.pyc

+ 7
- 10
README.md 查看文件

@@ -1,28 +1,25 @@
1
-## Business Theme V14
1
+## Open-Alt Frappe/ERPNext v14 Custom Theme
2 2
 
3
-Business Theme for ERPNext / Frappe
3
+Open-Alt Theme for ERPNext / Frappe v14
4 4
 
5 5
 ### To install this theme,
6 6
 
7
-bench get-app https://github.com/Midocean-Technologies/business_theme_v14.git
7
+bench get-app https://dev01.open-alt.com/open-alt/openalt_theme_v14.git
8 8
 
9
-bench --site (sitename) install-app business_theme_v14
9
+bench --site (sitename) install-app openalt_theme_v14
10 10
 
11 11
 bench clear-cache
12 12
 
13 13
 
14 14
 ### To uninstall this theme
15 15
 
16
-bench --site (sitename) uninstall-app business_theme_v14
16
+bench --site (sitename) uninstall-app openalt_theme_v14
17 17
 
18
-<img width="1431" alt="Screenshot 2022-06-26 at 2 02 45 PM" src="https://user-images.githubusercontent.com/31538550/175806337-ba832d87-c947-4904-8d4f-7343fa516069.png">
19
-<img width="1431" alt="Screenshot 2022-06-26 at 2 02 28 PM" src="https://user-images.githubusercontent.com/31538550/175806341-9603719f-3cb1-42f0-b138-b9b15376d1d4.png">
20
-<img width="1431" alt="Screenshot 2022-06-26 at 2 01 56 PM" src="https://user-images.githubusercontent.com/31538550/175806342-0557f11a-6992-4d47-85b3-7ebfe613b124.png">
21 18
 
22 19
 #### License
23 20
 
24 21
 MIT
25 22
 
26 23
 
27
-#### Contact now! for end to end Frappe/ERPNext, Odoo & Flutter Development
28
-[sagar@midocean.tech]
24
+#### Contact now! for end to end Business Solutions
25
+[contact@open-alt.com]

+ 0
- 10
business_theme_v14/config/docs.py 查看文件

@@ -1,10 +0,0 @@
1
-"""
2
-Configuration for docs
3
-"""
4
-
5
-# source_link = "https://github.com/[org_name]/business_theme_v14"
6
-# headline = "App that does everything"
7
-# sub_heading = "Yes, you got that right the first time, everything"
8
-
9
-def get_context(context):
10
-	context.brand_html = "Business Theme V14"

+ 0
- 1
business_theme_v14/modules.txt 查看文件

@@ -1 +0,0 @@
1
-Business Theme V14

business_theme_v14/__init__.py → openalt_theme_v14/__init__.py 查看文件


business_theme_v14/business_theme_v14/__init__.py → openalt_theme_v14/config/__init__.py 查看文件


business_theme_v14/config/desktop.py → openalt_theme_v14/config/desktop.py 查看文件

@@ -3,10 +3,10 @@ from frappe import _
3 3
 def get_data():
4 4
 	return [
5 5
 		{
6
-			"module_name": "Business Theme V14",
6
+			"module_name": "OpenAlt Theme V14",
7 7
 			"color": "grey",
8 8
 			"icon": "octicon octicon-file-directory",
9 9
 			"type": "module",
10
-			"label": _("Business Theme V14")
10
+			"label": _("OpenAlt Theme V14")
11 11
 		}
12 12
 	]

+ 10
- 0
openalt_theme_v14/config/docs.py 查看文件

@@ -0,0 +1,10 @@
1
+"""
2
+Configuration for docs
3
+"""
4
+
5
+# source_link = "https://dev01.open-alt.com/open-alt/openalt_theme_v14"
6
+# headline = "App that customizes frappe/erpnext v14 theme"
7
+# sub_heading = "Open-Alt custom theme for frappe/erpnext v14"
8
+
9
+def get_context(context):
10
+	context.brand_html = "OpenAlt Theme V14"

business_theme_v14/hooks.py → openalt_theme_v14/hooks.py 查看文件

@@ -1,27 +1,27 @@
1 1
 from . import __version__ as app_version
2 2
 
3
-app_name = "business_theme_v14"
4
-app_title = "Business Theme V14"
5
-app_publisher = "Midocean Technologies Pvt Ltd"
6
-app_description = "Business Theme for ERPNext / Frappe"
3
+app_name = "openalt_theme_v14"
4
+app_title = "Open-Alt Theme v14"
5
+app_publisher = "Open-Alt"
6
+app_description = "Open-Alt Theme for ERPNext / Frappe v14"
7 7
 app_icon = "octicon octicon-file-directory"
8 8
 app_color = "grey"
9
-app_email = "sagar@midocean.tech"
9
+app_email = "contact@open-alt.com"
10 10
 app_license = "MIT"
11 11
 
12 12
 # Includes in <head>
13 13
 # ------------------
14 14
 
15 15
 # include js, css files in header of desk.html
16
-app_include_css = "/assets/business_theme_v14/css/business_theme_v14.css"
17
-# app_include_js = "/assets/business_theme_v14/js/business_theme_v14.js"
16
+app_include_css = "/assets/openalt_theme_v14/css/openalt_theme_v14.css"
17
+# app_include_js = "/assets/openalt_theme_v14/js/openalt_theme_v14.js"
18 18
 
19 19
 # include js, css files in header of web template
20
-# web_include_css = "/assets/business_theme_v14/css/business_theme_v14.css"
21
-# web_include_js = "/assets/business_theme_v14/js/business_theme_v14.js"
20
+# web_include_css = "/assets/openalt_theme_v14/css/openalt_theme_v14.css"
21
+# web_include_js = "/assets/openalt_theme_v14/js/openalt_theme_v14.js"
22 22
 
23 23
 # include custom scss in every website theme (without file extension ".scss")
24
-# website_theme_scss = "business_theme_v14/public/scss/website"
24
+# website_theme_scss = "openalt_theme_v14/public/scss/website"
25 25
 
26 26
 # include js, css files in header of web form
27 27
 # webform_include_js = {"doctype": "public/js/doctype.js"}
@@ -58,27 +58,27 @@ app_include_css = "/assets/business_theme_v14/css/business_theme_v14.css"
58 58
 
59 59
 # add methods and filters to jinja environment
60 60
 # jinja = {
61
-# 	"methods": "business_theme_v14.utils.jinja_methods",
62
-# 	"filters": "business_theme_v14.utils.jinja_filters"
61
+# 	"methods": "openalt_theme_v14.utils.jinja_methods",
62
+# 	"filters": "openalt_theme_v14.utils.jinja_filters"
63 63
 # }
64 64
 
65 65
 # Installation
66 66
 # ------------
67 67
 
68
-# before_install = "business_theme_v14.install.before_install"
69
-# after_install = "business_theme_v14.install.after_install"
68
+# before_install = "openalt_theme_v14.install.before_install"
69
+# after_install = "openalt_theme_v14.install.after_install"
70 70
 
71 71
 # Uninstallation
72 72
 # ------------
73 73
 
74
-# before_uninstall = "business_theme_v14.uninstall.before_uninstall"
75
-# after_uninstall = "business_theme_v14.uninstall.after_uninstall"
74
+# before_uninstall = "openalt_theme_v14.uninstall.before_uninstall"
75
+# after_uninstall = "openalt_theme_v14.uninstall.after_uninstall"
76 76
 
77 77
 # Desk Notifications
78 78
 # ------------------
79 79
 # See frappe.core.notifications.get_notification_config
80 80
 
81
-# notification_config = "business_theme_v14.notifications.get_notification_config"
81
+# notification_config = "openalt_theme_v14.notifications.get_notification_config"
82 82
 
83 83
 # Permissions
84 84
 # -----------
@@ -117,39 +117,39 @@ app_include_css = "/assets/business_theme_v14/css/business_theme_v14.css"
117 117
 
118 118
 # scheduler_events = {
119 119
 # 	"all": [
120
-# 		"business_theme_v14.tasks.all"
120
+# 		"openalt_theme_v14.tasks.all"
121 121
 # 	],
122 122
 # 	"daily": [
123
-# 		"business_theme_v14.tasks.daily"
123
+# 		"openalt_theme_v14.tasks.daily"
124 124
 # 	],
125 125
 # 	"hourly": [
126
-# 		"business_theme_v14.tasks.hourly"
126
+# 		"openalt_theme_v14.tasks.hourly"
127 127
 # 	],
128 128
 # 	"weekly": [
129
-# 		"business_theme_v14.tasks.weekly"
129
+# 		"openalt_theme_v14.tasks.weekly"
130 130
 # 	],
131 131
 # 	"monthly": [
132
-# 		"business_theme_v14.tasks.monthly"
132
+# 		"openalt_theme_v14.tasks.monthly"
133 133
 # 	],
134 134
 # }
135 135
 
136 136
 # Testing
137 137
 # -------
138 138
 
139
-# before_tests = "business_theme_v14.install.before_tests"
139
+# before_tests = "openalt_theme_v14.install.before_tests"
140 140
 
141 141
 # Overriding Methods
142 142
 # ------------------------------
143 143
 #
144 144
 # override_whitelisted_methods = {
145
-# 	"frappe.desk.doctype.event.event.get_events": "business_theme_v14.event.get_events"
145
+# 	"frappe.desk.doctype.event.event.get_events": "openalt_theme_v14.event.get_events"
146 146
 # }
147 147
 #
148 148
 # each overriding function accepts a `data` argument;
149 149
 # generated from the base implementation of the doctype dashboard,
150 150
 # along with any modifications made in other Frappe apps
151 151
 # override_doctype_dashboards = {
152
-# 	"Task": "business_theme_v14.task.get_dashboard_data"
152
+# 	"Task": "openalt_theme_v14.task.get_dashboard_data"
153 153
 # }
154 154
 
155 155
 # exempt linked doctypes from being automatically cancelled
@@ -185,7 +185,7 @@ app_include_css = "/assets/business_theme_v14/css/business_theme_v14.css"
185 185
 # --------------------------------
186 186
 
187 187
 # auth_hooks = [
188
-# 	"business_theme_v14.auth.validate"
188
+# 	"openalt_theme_v14.auth.validate"
189 189
 # ]
190 190
 
191 191
 # Translation

+ 1
- 0
openalt_theme_v14/modules.txt 查看文件

@@ -0,0 +1 @@
1
+Openalt Theme V14

business_theme_v14/config/__init__.py → openalt_theme_v14/openalt_theme_v14/__init__.py 查看文件


business_theme_v14/patches.txt → openalt_theme_v14/patches.txt 查看文件


business_theme_v14/public/.gitkeep → openalt_theme_v14/public/.gitkeep 查看文件


business_theme_v14/public/css/business_theme_v14.css → openalt_theme_v14/public/css/openalt_theme_v14.css 查看文件


business_theme_v14/templates/__init__.py → openalt_theme_v14/templates/__init__.py 查看文件


business_theme_v14/templates/pages/__init__.py → openalt_theme_v14/templates/pages/__init__.py 查看文件


+ 6
- 6
setup.py 查看文件

@@ -3,15 +3,15 @@ from setuptools import setup, find_packages
3 3
 with open("requirements.txt") as f:
4 4
 	install_requires = f.read().strip().split("\n")
5 5
 
6
-# get version from __version__ variable in business_theme_v14/__init__.py
7
-from business_theme_v14 import __version__ as version
6
+# get version from __version__ variable in openalt_theme_v14/__init__.py
7
+from openalt_theme_v14 import __version__ as version
8 8
 
9 9
 setup(
10
-	name="business_theme_v14",
10
+	name="openalt_theme_v14",
11 11
 	version=version,
12
-	description="Business Theme for ERPNext / Frappe",
13
-	author="Midocean Technologies Pvt Ltd",
14
-	author_email="sagar@midocean.tech",
12
+	description="Open-Alt Theme for ERPNext / Frappe",
13
+	author="Open-Alt"
14
+	author_email="contact@open-alt.com",
15 15
 	packages=find_packages(),
16 16
 	zip_safe=False,
17 17
 	include_package_data=True,