initial modification - change names
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -3,4 +3,4 @@
|
||||
*.egg-info
|
||||
*.swp
|
||||
tags
|
||||
business_theme_v14/docs/current
|
||||
openalt_theme_v14/docs/current
|
||||
|
||||
24
MANIFEST.in
24
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
|
||||
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
|
||||
|
||||
17
README.md
17
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
|
||||
|
||||
<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">
|
||||
<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">
|
||||
<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">
|
||||
|
||||
#### 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]
|
||||
|
||||
@@ -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"
|
||||
@@ -1 +0,0 @@
|
||||
Business Theme V14
|
||||
@@ -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")
|
||||
}
|
||||
]
|
||||
10
openalt_theme_v14/config/docs.py
Normal file
10
openalt_theme_v14/config/docs.py
Normal file
@@ -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"
|
||||
@@ -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 <head>
|
||||
# ------------------
|
||||
|
||||
# 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
|
||||
1
openalt_theme_v14/modules.txt
Normal file
1
openalt_theme_v14/modules.txt
Normal file
@@ -0,0 +1 @@
|
||||
Openalt Theme V14
|
||||
12
setup.py
12
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,
|
||||
|
||||
Reference in New Issue
Block a user