mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-06-06 13:14:11 +00:00
- Wire useDatepicker into IntlUtil and switch jalalian display locale to fa-IR for clean "1405/07/03 12:00:00" output (drops the awkward "AP" era suffix that "<lang>-u-ca-persian" produced) - Drop in persian-calendar-suite for the jalali date picker, with a light/dark/ultra theme map and CSS overrides so the inline-styled input stays readable and bg matches the surrounding container - Force LTR on the picker input so "1405/03/07 00:00" reads naturally - Pass calendar setting through ClientInfoModal, ClientsPage Duration tooltip, and ClientFormModal's expiry picker - Heuristic toMs() in ClientInfoModal so GORM's autoUpdateTime seconds render as a real date instead of "1348/11/01" - Persist UpdatedAt on the ClientRecord row in client_service.Update; previously only the inbound settings JSON was bumped, so the panel never saw a fresh updated_at after editing a client
35 lines
592 B
CSS
35 lines
592 B
CSS
.jdp-wrap {
|
|
width: 100%;
|
|
}
|
|
|
|
.jdp-wrap > * {
|
|
width: 100%;
|
|
}
|
|
|
|
.jdp-wrap input {
|
|
direction: ltr;
|
|
text-align: left;
|
|
unicode-bidi: plaintext;
|
|
}
|
|
|
|
.jdp-dark .jdp-wrap input,
|
|
.jdp-dark input {
|
|
color: rgba(255, 255, 255, 0.88) !important;
|
|
background-color: #23252b !important;
|
|
}
|
|
|
|
.jdp-ultra .jdp-wrap input,
|
|
.jdp-ultra input {
|
|
color: rgba(255, 255, 255, 0.88) !important;
|
|
background-color: #101013 !important;
|
|
}
|
|
|
|
.jdp-dark input::placeholder,
|
|
.jdp-ultra input::placeholder {
|
|
color: rgba(255, 255, 255, 0.30) !important;
|
|
}
|
|
|
|
.jdp-disabled {
|
|
pointer-events: none;
|
|
opacity: 0.6;
|
|
}
|