Commit Graph

22 Commits

Author SHA1 Message Date
QuentinHsu
775b1c458b style(web): format code 2025-04-04 17:37:27 +08:00
CaIon
f33ebc8e2c feat: Implement system setup functionality 2025-04-03 18:57:15 +08:00
wzxjohn
bdb1a2fcb9 feat: add oidc support 2025-03-11 15:52:03 +08:00
CalciumIon
4fbd5f8c93 feat: Enhance Home component to support language messaging
- Added language messaging functionality to the iframe in the Home component.
- This update ensures that the iframe receives the current language setting, improving localization support.
2024-12-16 21:10:46 +08:00
CalciumIon
fd2f6ed440 Merge remote-tracking branch 'guoruqiang/main' into pr482-merge
# Conflicts:
#	README.md
#	web/src/components/HeaderBar.js
#	web/src/components/SiderBar.js
2024-12-16 20:56:53 +08:00
CalciumIon
22487a8aaf feat: Refactor App and ChannelsTable components for improved i18n support
- Removed redundant user and status loading logic from the App component, centralizing it in the PageLayout component for better maintainability.
- Enhanced the ChannelsTable component by integrating translation functions for various UI elements, ensuring consistent localization of titles and modal messages.
- Updated the English locale file with new translation keys for sub-channel modifications, improving the overall localization coverage.
- Streamlined the code structure in multiple components to enhance readability and performance.
2024-12-14 14:09:30 +08:00
CalciumIon
a06e5619d8 feat: Enhance i18n support in Home component and update translations
- Integrated translation functions in the Home component to support dynamic localization for various UI elements, improving accessibility for users in different languages.
- Added new translation keys for "Telegram authentication", "Linux DO authentication", and "License" in the English locale file, expanding the localization coverage.
- Updated existing text elements to utilize translation functions, ensuring consistency in language display across the application.
2024-12-14 12:58:10 +08:00
CalciumIon
b381d99438 feat: 首页优化 2024-12-11 17:19:03 +08:00
seefs001
12de1faca9 feat: integrate Linux DO OAuth authentication 2024-11-10 23:56:22 +08:00
GuoRuqiang
370147c6ad 使用postMessage向iframe传参theme-mode,实现切换子页面主题的功能
子页面的js示例
```
<script>
    // 接收父页面的主题模式
    window.addEventListener('message', function(event) {
        if (event.data.themeMode) {
            var theme = event.data.themeMode;
            // 测试是否正确接受到theme-mode的值
            // console.log('Received theme mode from parent:', theme);
            applyTheme(theme);
        }
    });

    // 定义一个函数来应用主题
    function applyTheme(theme) {
        var body = document.body;
        if (theme === 'dark') {
            body.classList.add("dark-mode");
            document.getElementById("darkModeToggle").checked = true;
        } else {
            body.classList.remove("dark-mode");
            document.getElementById("darkModeToggle").checked = false;
        }
    }
</script>
```
2024-09-22 14:09:03 +00:00
1808837298@qq.com
9a857a8275 修改版权信息 2024-05-24 21:27:13 +08:00
CaIon
eb955ae4b1 chore: lint fix 2024-03-23 21:24:39 +08:00
Calcium-Ion
2c08dd9ec5 Merge branch 'main' into fix-display-home-content 2024-03-05 23:16:35 +08:00
QuentinHsu
f6766a64d2 fix: restore the set of StatusContext 2024-03-04 16:39:42 +08:00
sljeff
a3bab7537b feat: telegram login and bind 2024-03-02 17:15:52 +08:00
QuentinHsu
9033b7c318 fix: the content displayed on the homepage is incorrect 2024-03-02 15:23:38 +08:00
CaIon
f73ecc57c2 移除不必要的功能 2023-09-09 03:11:42 +08:00
CaIon
68b24da6a6 add epay 2023-08-14 22:16:32 +08:00
JustSong
0b636e210c feat: able to customize home page with link (close #60) 2023-05-14 15:34:14 +08:00
JustSong
80176fdfe8 feat: able to customize home page now (#24) 2023-05-13 21:27:49 +08:00
JustSong
5537de3ffe Index page is done 2023-04-23 20:00:47 +08:00
JustSong
4cbef0780e Initial commit 2023-04-22 20:39:27 +08:00