# star_ocean **Repository Path**: jyinet/star_ocean ## Basic Information - **Project Name**: star_ocean - **Description**: Frappe主题定制(星海主题,商务主题),Frappe界面显示效果增强。 - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: develop - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 2 - **Created**: 2025-07-17 - **Last Updated**: 2025-07-17 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ## 星海 Frappe 主题定制应用程序通过增加更多主题来丰富主题切换器的功能。目前,该应用程序提供了两种主题:'星海主题'和'商务主题'。同时,对框架中子表无法拖动的问题进行了优化,现在支持固定子表的前四列或标题栏的固定。 ## 功能介绍 1. 主题兼容Frappe V14/V15框架 2. 星海主题,商务主题 3. Logo 替换(像素 宽120px 高28px) ### 框架子表优化 > Frappe V15支持 (还未实现,未完待续......) > 备注:Frappe V14版本,请直接使用 https://gitee.com/gurui/ucl_screen_v14.git ``` # Frappe V14 子表拖动实现方式 (当前定制应用程序支持FrappeV15 框架子标拖动) git remote -v git remote set-url origin https://gitee.com/gurui/ucl_screen_v14.git git fetch origin m_dev git checkout -b m_dev origin/m_dev bench build ``` ### 主题效果展示 1. 星海主题 2. 商务主题 ### 子表固定效果展示 1. 滚动效果 ![Alt text](%E6%A0%87%E9%A2%98%E6%A0%8F%E5%9B%BA%E5%AE%9A.png) 2. 标题栏固定 ![Alt text](%E6%BB%9A%E5%8A%A8%E6%95%88%E6%9E%9C.png) 3. 前4列固定 ![Alt text](%E5%89%8D4%E5%88%97%E5%9B%BA%E5%AE%9A.png) ### 默认开启的功能: 1. 略 ## 安装步骤 1. 设置默认站点 ```sh bench use [站点名称] ``` 2. 获取app ```sh # 拉取默认分支 bench get-app https://gitee.com/gurui/star_ocean.git # 拉取指定分支:branch_name bench get-app https://gitee.com/gurui/star_ocean.git --branch branch_name ``` 3. 安装 ```sh bench install-app star_ocean ``` 4. 清除缓存 ```sh bench clear-cache && bench clear-website-cache ``` 5. 卸载 ```sh # 从站点卸载 bench uninstall-app star_ocean # 从整个bench环境卸载,移除整个应用目录 bench remove-app star_ocean ``` ## 使用方法 一旦安装了 Star Ocean 自定义应用程序,就可以访问 Frappe 实例中的主题切换器,然后从可用主题列表中选择 "星海主题" 和 "商务主题" ,选定的主题将应用到您的 Frappe 应用程序中。 备注:在 Star Ocean 应用程序 未来更新可能会添加更多主题。 ## 投稿 如果你有增加主题或改进 Star Ocean 应用程序的想法,欢迎你的贡献。您可以随意 fork 代码库,进行修改并提交拉取请求。 ## 许可证 本 Frappe 定制应用程序采用 [MIT 许可](LICENSE) 授权。请根据许可条款自由使用、修改和发布。 ## 支持 有关 Star Ocean 应用程序的任何问题、疑问或支持,都可以在 GitHub 存储库中创建问题或直接联系维护者。 感谢您使用 Frappe 的 Star Ocean !希望您能喜欢它为您的应用程序提供的额外主题选项。 ## 其他 ### Git简易的命令行入门教程: 1. Git 全局设置: ```sh git config --global user.name "rg-kd" git config --global user.email "rg_shushangyue@163.com" ``` 2. 创建 git 仓库: ```sh mkdir star_ocean cd star_ocean git init touch README.md git add README.md git commit -m "first commit" git remote add origin https://gitee.com/gurui/star_ocean.git git push -u origin "master" ``` 3. 已有仓库? ```sh cd existing_git_repo git remote add origin https://gitee.com/gurui/star_ocean.git git push -u origin "master" ``` 4. 拉取远程新分支到本地 ```sh git fetch origin develop git checkout -b develop origin/develop ```