重构并优化管理员后台,增加下载统计,增加新的前端主题 - #443
Open
kasuganosoras wants to merge 6 commits into
Open
kasuganosoras wants to merge 6 commits into
kasuganosoras wants to merge 6 commits into
Conversation
- Added support for a new Vue theme in the template engine. - Refactored admin routes to use a single AdminSPA handler for better maintainability. - Introduced caching list endpoint for admin cache management. - Implemented daily download statistics tracking and reporting. - Updated configuration to hide README.md and HEAD.md files from directory listings. - Removed deprecated admin HTML templates and JavaScript files to streamline the codebase. - Updated .gitignore to exclude build artifacts and runtime data. Co-authored-by: Cursor <cursoragent@cursor.com>
Contributor
Author
|
@libsgh 抱歉打扰,因为很久没看到大佬更新了( |
- Added CSS styles for a responsive admin sidebar with open/closed states. - Updated JavaScript to manage sidebar visibility based on screen size and route changes. - Refactored drawer toggle logic for improved user experience on mobile devices.
- Added github.com/lufia/plan9stats v0.0.0-20211012122336-39d0f177ccd0 as an indirect dependency. - Included github.com/tklauser/go-sysconf v0.3.10 and github.com/tklauser/numcpus v0.4.0 as indirect dependencies.
- Changed theme names from "vue" to "oxygen" in multiple files to reflect the new theme structure. - Improved the IndexData function to set default sorting parameters based on user cookies. - Removed deprecated Vue theme files and templates to streamline the codebase. - Updated HTML templates to ensure proper favicon handling and improved structure for better maintainability.
Member
感谢pr,但是我最近也在重构本项目,后面计划将前端主题拆出来,方便以后可以三方主题扩展,未来合适的话可以作为主题模板引入。 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
README.md和HEAD.md文件。.gitignore文件,排除构建产物(Build Artifacts)及运行时数据。新的效果图