Customisation: различия между версиями
IronBot (обсуждение | вклад) ([IronBot] Sync EN/UK localization from RU) |
IronBot (обсуждение | вклад) ([IronBot] Sync EN localization from RU) |
||
| Строка 1: | Строка 1: | ||
'''en''' | [[Кастомізація|uk]] | [[Кастомизация|ru]] | '''en''' | [[Кастомізація|uk]] | [[Кастомизация|ru]] | ||
The client can add | The client can add custom JavaScript files to the system, add custom CSS styles, or override existing styles. | ||
Use the following files for this: | |||
For versions ''' | For versions '''3.21 and later''': | ||
/public/assets/js/client-custom.js | |||
/public/assets/css/client-custom.css | |||
For versions '''3.19-3.20''': | |||
/public/main/js/user_script.js | |||
/public/main/css/user_style.css | |||
For versions '''earlier than 3.19''': | |||
/userside3/main/js/user_script.js | /userside3/main/js/user_script.js | ||
/userside3/main/skins/user_style.css | /userside3/main/skins/user_style.css | ||
If these files do not exist, create them. They are not overwritten during updates. | |||
For version '''3.21 and later''', you can configure a custom logo on the login page: | |||
body#login_page { | |||
--login-client-slot-width: 320px; | |||
--login-client-slot-gap: 28px; | |||
--login-client-logo-height: 96px; | |||
--login-client-slot-mobile-gap: 14px; | |||
} | |||
#login_page_client_logo { | |||
background-image: url('../picture/client-login-logo.svg'); | |||
} | |||
Текущая версия от 18:03, 16 сентября 2026
The client can add custom JavaScript files to the system, add custom CSS styles, or override existing styles.
Use the following files for this:
For versions 3.21 and later:
/public/assets/js/client-custom.js /public/assets/css/client-custom.css
For versions 3.19-3.20:
/public/main/js/user_script.js /public/main/css/user_style.css
For versions earlier than 3.19:
/userside3/main/js/user_script.js /userside3/main/skins/user_style.css
If these files do not exist, create them. They are not overwritten during updates.
For version 3.21 and later, you can configure a custom logo on the login page:
body#login_page {
--login-client-slot-width: 320px;
--login-client-slot-gap: 28px;
--login-client-logo-height: 96px;
--login-client-slot-mobile-gap: 14px;
}
#login_page_client_logo {
background-image: url('../picture/client-login-logo.svg');
}