mirror of
https://github.com/getnamingo/registry.git
synced 2025-08-02 07:41:49 +02:00
Added Arabic language support in CP
This commit is contained in:
parent
bb050b170e
commit
9b57cc60af
6 changed files with 1563 additions and 17 deletions
|
@ -1,7 +1,14 @@
|
|||
{% if _lang == 'ar' or _lang == 'ar_SA' %}
|
||||
<link href="/assets/css/tabler.rtl.min.css" rel="stylesheet"/>
|
||||
<link href="/assets/css/tabler-flags.rtl.min.css" rel="stylesheet"/>
|
||||
<link href="/assets/css/tabler-payments.rtl.min.css" rel="stylesheet"/>
|
||||
<link href="/assets/css/tabler-vendors.rtl.min.css" rel="stylesheet"/>
|
||||
{% else %}
|
||||
<link href="/assets/css/tabler.min.css" rel="stylesheet"/>
|
||||
<link href="/assets/css/tabler-flags.min.css" rel="stylesheet"/>
|
||||
<link href="/assets/css/tabler-payments.min.css" rel="stylesheet"/>
|
||||
<link href="/assets/css/tabler-vendors.min.css" rel="stylesheet"/>
|
||||
{% endif %}
|
||||
{% if screen_mode == 'dark' %}
|
||||
<link href="/assets/css/tabulator-dark.min.css" rel="stylesheet">
|
||||
{% else %}
|
||||
|
@ -9,13 +16,30 @@
|
|||
{% endif %}
|
||||
<link href="/assets/css/sweetalert2.min.css" rel="stylesheet">
|
||||
<style>
|
||||
@import url('/assets/fonts/inter/inter.css');
|
||||
:root {
|
||||
--tblr-font-sans-serif: "Inter", -apple-system, BlinkMacSystemFont, San Francisco, Segoe UI, Roboto, Helvetica Neue, sans-serif;
|
||||
}
|
||||
@supports (font-variation-settings: normal) {
|
||||
:root {
|
||||
--tblr-font-sans-serif: "InterVariable", -apple-system, BlinkMacSystemFont, San Francisco, Segoe UI, Roboto, Helvetica Neue, sans-serif;
|
||||
font-optical-sizing: auto;
|
||||
}
|
||||
}
|
||||
.small-dropdown .dropdown-item {
|
||||
padding: 0.25rem 1.5rem;
|
||||
}
|
||||
|
||||
.small-dropdown .flag {
|
||||
width: 20px;
|
||||
height: 15px;
|
||||
display: inline-block;
|
||||
}
|
||||
{% if _lang == 'ar' or _lang == 'ar_SA' %}
|
||||
[dir="rtl"] {
|
||||
text-align: right;
|
||||
}
|
||||
[dir="rtl"] .small-dropdown .dropdown-item {
|
||||
text-align: right;
|
||||
}
|
||||
{% endif %}
|
||||
</style>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue