Skip to content

Commit

Permalink
reactive pagination
Browse files Browse the repository at this point in the history
  • Loading branch information
CzechSebastian committed Jan 6, 2025
1 parent 1b07a8a commit a17af42
Show file tree
Hide file tree
Showing 6 changed files with 139 additions and 107 deletions.
32 changes: 0 additions & 32 deletions @xen-orchestra/lite/src/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
"admin-login": "Admin login",
"admin-password": "Admin password",
"admin-password-confirm": "Confirm admin password",

"alarm-type.cpu_usage": "CPU usage exceeds {n}%",
"alarm-type.disk_usage": "Disk usage exceeds {n}%",
"alarm-type.fs_usage": "FS usage exceeds {n}%",
Expand All @@ -19,7 +18,6 @@
"alarm-type.physical_utilisation": "Physical utilisation exceeds {n}%",
"alarm-type.sr_io_throughput_total_per_host": "SR IO throughput total per host exceeds {n}%",
"alarm-type.unknown": "Unknown alarm type",

"all-good": "All good!",
"allow-self-signed-ssl": "You may need to allow self-signed SSL certificates in your browser",
"appearance": "Appearance",
Expand Down Expand Up @@ -48,18 +46,15 @@
"deploy-xoa": "Deploy XOA",
"deploy-xoa-available-on-desktop": "XOA deployment is available on your desktop interface",
"deploy-xoa-custom-ntp-servers": "Custom NTP servers (separated by spaces)",

"deploy-xoa-status.configuring": "Configuring XOA…",
"deploy-xoa-status.importing": "Importing XOA…",
"deploy-xoa-status.not-responding": "XOA is not responding",
"deploy-xoa-status.ready": "XOA is ready!",
"deploy-xoa-status.starting": "Starting XOA…",
"deploy-xoa-status.waiting": "Waiting for XOA to respond…",

"descending": "descending",
"dhcp": "DHCP",
"display": "Display",
"dns": "DNS",
"do-you-have-needs": "You have needs and/or expectations? Let us know",
"documentation": "Documentation",
"edit-config": "Edit config",
Expand All @@ -73,7 +68,6 @@
"export-vms": "Export VMs",
"export-vms-manually-information": "Some VM exports were not able to start automatically, probably due to your browser settings. To export them, you should click on each one. (Alternatively, copy the link as well.)",
"fetching-fresh-data": "Fetching fresh data",

"filter.comparison.contains": "Contains",
"filter.comparison.ends-with": "Ends with",
"filter.comparison.equals": "Equals",
Expand All @@ -88,7 +82,6 @@
"filter.comparison.not-match-regex": "Doesn't match regex",
"filter.comparison.not-start-with": "Doesn't start with",
"filter.comparison.starts-with": "Starts with",

"following-hosts-unreachable": "The following hosts are unreachable",
"force-reboot": "Force reboot",
"force-shutdown": "Force shutdown",
Expand All @@ -98,70 +91,53 @@
"go-back": "Go back",
"gzip": "gzip",
"here": "Here",

"host.active": "Active",
"host.inactive": "Inactive",

"invalid-field": "Invalid field",

"job.vm-copy.bad-power-state": "VM must be halted",
"job.vm-copy.in-progress": "Copy in progress…",
"job.vm-copy.missing-vms": "No VM to copy",

"job.vm-delete.bad-power-state": "VM must be halted",
"job.vm-delete.in-progress": "Delete in progress…",
"job.vm-delete.missing-vms": "No VM to delete",

"job.vm-force-reboot.bad-power-state": "VM must be running or paused",
"job.vm-force-reboot.in-progress": "Force reboot in progress…",
"job.vm-force-reboot.missing-vms": "No VM to force reboot",

"job.vm-force-shutdown.bad-power-state": "VM must be running, suspended or paused",
"job.vm-force-shutdown.in-progress": "Force shutdown in progress…",
"job.vm-force-shutdown.missing-vms": "No VM to force shutdown",

"job.vm-export.in-progress": "Export in progress…",
"job.vm-export.missing-compression": "Compression must be provided",
"job.vm-export.missing-vms": "No VM to export",
"job.vm-export.not-allowed": "A VM is not allowed to export",

"job.vm-migrate.bad-power-state": "VM must be running",
"job.vm-migrate.in-progress": "Migrate in progress…",
"job.vm-migrate.missing-host": "Destination host must be provided",
"job.vm-migrate.missing-vms": "No VM to migrate",

"job.vm-pause.bad-power-state": "VM must be running",
"job.vm-pause.in-progress": "Pause in progress…",
"job.vm-pause.missing-vms": "No VM to pause",

"job.vm-reboot.bad-power-state": "VM must be running",
"job.vm-reboot.in-progress": "Reboot in progress…",
"job.vm-reboot.missing-vms": "No VM to reboot",

"job.vm-resume.bad-power-state": "VM must be paused or suspended",
"job.vm-resume.in-progress": "Resume in progress…",
"job.vm-resume.missing-vms": "No VM to resume",

"job.vm-shutdown.bad-power-state": "VM must be running",
"job.vm-shutdown.in-progress": "Shutdown in progress…",
"job.vm-shutdown.missing-vms": "No VM to shutdown",

"job.vm-snapshot.in-progress": "Snapshot in progress…",
"job.vm-snapshot.missing-vms": "No VM to snapshot",

"job.vm-start.bad-power-state": "VM must be halted",
"job.vm-start.in-progress": "Start in progress…",
"job.vm-start.missing-vms": "No VM to start",

"job.vm-start-on.bad-power-state": "VM must be halted",
"job.vm-start-on.in-progress": "Start in progress…",
"job.vm-start-on.missing-host": "Destination host must be provided",
"job.vm-start-on.missing-vms": "No VM to start",

"job.vm-suspend.bad-power-state": "VM must be running",
"job.vm-suspend.in-progress": "Suspend in progress…",
"job.vm-suspend.missing-vms": "No VM to suspend",

"keep-me-logged": "Keep me logged in",
"keep-page-open": "Do not refresh or quit tab before end of deployment.",
"language": "Language",
Expand Down Expand Up @@ -203,7 +179,6 @@
"ram-usage": "RAM usage",
"reboot": "Reboot",
"reformat": "Reformat",

"relative-time.day": "1 day | {n} days",
"relative-time.future": "In {str}",
"relative-time.hour": "1 hour | {n} hours",
Expand All @@ -213,17 +188,14 @@
"relative-time.past": "{str} ago",
"relative-time.second": "1 second | {n} seconds",
"relative-time.year": "1 year | {n} years",

"resume": "Resume",
"save": "Save",
"select-compression": "Select a compression",
"select-destination-host": "Select a destination host",
"selected-vms-in-execution": "Some selected VMs are running",
"send-us-feedback": "Send us feedback",

"select.network": "Select a network",
"select.storage": "Select a storage",

"settings": "Settings",
"shutdown": "Shutdown",
"snapshot": "Snapshot",
Expand All @@ -242,11 +214,9 @@
"support": "Support",
"suspend": "Suspend",
"switch-theme": "Switch theme",

"task.estimated-end": "Estimated end",
"task.progress": "Progress",
"task.started": "Started",

"theme-auto": "Auto",
"theme-dark": "Dark",
"theme-light": "Light",
Expand All @@ -259,10 +229,8 @@
"vcpus": "vCPUs",
"vcpus-used": "vCPUs used",
"version": "Version",

"vm.active": "Active",
"vm.inactive": "Inactive",

"vm-is-running": "The VM is running",
"xo-lite-under-construction": "XOLite is under construction",
"xoa-admin-account": "XOA admin account",
Expand Down
32 changes: 0 additions & 32 deletions @xen-orchestra/lite/src/locales/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
"admin-login": "Nom d'utilisateur administrateur",
"admin-password": "Mot de passe administrateur",
"admin-password-confirm": "Confirmer le mot de passe administrateur",

"alarm-type.cpu_usage": "L'utilisation du CPU dépasse {n}%",
"alarm-type.disk_usage": "L'utilisation du disque dépasse {n}%",
"alarm-type.fs_usage": "L'utilisation de FS dépasse {n}%",
Expand All @@ -19,7 +18,6 @@
"alarm-type.physical_utilisation": "L'utilisation physique dépasse {n}%",
"alarm-type.sr_io_throughput_total_per_host": "Le débit total de l'IO SR par hôte dépasse {n}%",
"alarm-type.unknown": "Type d'alarme inconnu",

"all-good": "Tout va bien !",
"allow-self-signed-ssl": "Vous devrez peut-être autoriser les certificats SSL auto-signés depuis votre navigateur",
"appearance": "Apparence",
Expand Down Expand Up @@ -48,17 +46,14 @@
"deploy-xoa": "Déployer XOA",
"deploy-xoa-available-on-desktop": "Le déploiement de la XOA est disponible sur ordinateur",
"deploy-xoa-custom-ntp-servers": "Serveurs NTP (séparés par des espaces)",

"deploy-xoa-status.configuring": "Configuration de la XOA…",
"deploy-xoa-status.importing": "Importation de la XOA…",
"deploy-xoa-status.not-responding": "La XOA ne répond pas",
"deploy-xoa-status.ready": "La XOA est prête !",
"deploy-xoa-status.starting": "Démarrage de la XOA…",
"deploy-xoa-status.waiting": "En attente de réponse de la XOA…",

"descending": "descendant",
"dhcp": "DHCP",
"dns": "DNS",
"display": "Affichage",
"do-you-have-needs": "Vous avez des besoins et/ou des attentes ? Faites le nous savoir",
"documentation": "Documentation",
Expand All @@ -73,7 +68,6 @@
"export-vms": "Exporter les VMs",
"export-vms-manually-information": "Certaines exportations de VMs n'ont pas pu démarrer automatiquement, peut-être en raison des paramètres du navigateur. Pour les exporter, vous devrez cliquer sur chacune d'entre elles. (Ou copier le lien.)",
"fetching-fresh-data": "Récupération de données à jour",

"filter.comparison.contains": "Contient",
"filter.comparison.ends-with": "Termine par",
"filter.comparison.equals": "Est égal à",
Expand All @@ -88,7 +82,6 @@
"filter.comparison.not-match-regex": "Ne correspond pas à la regex",
"filter.comparison.not-start-with": "Ne commence pas par",
"filter.comparison.starts-with": "Commence par",

"following-hosts-unreachable": "Les hôtes suivants sont inaccessibles",
"force-reboot": "Forcer le redémarrage",
"force-shutdown": "Forcer l'arrêt",
Expand All @@ -98,70 +91,53 @@
"go-back": "Revenir en arrière",
"gzip": "gzip",
"here": "Ici",

"host.active": "Actif | Actif | Actifs",
"host.inactive": "Inactif | Inactif | Inactifs",

"invalid-field": "Champ invalide",

"job.vm-copy.bad-power-state": "La VM doit être arrêtée",
"job.vm-copy.in-progress": "Copie en cours…",
"job.vm-copy.missing-vms": "Aucune VM à copier",

"job.vm-delete.bad-power-state": "La VM doit être arrêtée",
"job.vm-delete.in-progress": "Suppression en cours…",
"job.vm-delete.missing-vms": "Aucune VM à supprimer",

"job.vm-force-reboot.bad-power-state": "La VM doit être allumée ou en pause",
"job.vm-force-reboot.in-progress": "Redémarrage forcé en cours…",
"job.vm-force-reboot.missing-vms": "Aucune VM à redémarrer de force",

"job.vm-force-shutdown.bad-power-state": "La VM doit être allumée, suspendue ou en pause",
"job.vm-force-shutdown.in-progress": "Arrêt forcé en cours…",
"job.vm-force-shutdown.missing-vms": "Aucune VM à arrêter de force",

"job.vm-export.in-progress": "Exportation en cours…",
"job.vm-export.missing-compression": "La compression est requise",
"job.vm-export.missing-vms": "Aucune VM à exporter",
"job.vm-export.not-allowed": "VM non autorisée à être exportée",

"job.vm-migrate.bad-power-state": "La VM doit être allumée",
"job.vm-migrate.in-progress": "Migration en cours…",
"job.vm-migrate.missing-host": "L'hôte de destination est requis",
"job.vm-migrate.missing-vms": "Aucune VM à migrer",

"job.vm-pause.bad-power-state": "La VM doit être allumée",
"job.vm-pause.in-progress": "Mise en pause en cours…",
"job.vm-pause.missing-vms": "Aucune VM à mettre en pause",

"job.vm-reboot.bad-power-state": "La VM doit être allumée",
"job.vm-reboot.in-progress": "Redémarrage en cours…",
"job.vm-reboot.missing-vms": "Aucune VM à redémarrer",

"job.vm-resume.bad-power-state": "La VM doit être en pause ou suspendue",
"job.vm-resume.in-progress": "Reprise en cours…",
"job.vm-resume.missing-vms": "Aucune VM à reprendre",

"job.vm-shutdown.bad-power-state": "La VM doit être allumée",
"job.vm-shutdown.in-progress": "Arrêt en cours…",
"job.vm-shutdown.missing-vms": "Aucune VM à arrêter",

"job.vm-snapshot.in-progress": "Instantané en cours…",
"job.vm-snapshot.missing-vms": "Aucune VM pour l'instantané",

"job.vm-start.bad-power-state": "La VM doit être arrêtée",
"job.vm-start.in-progress": "Démarrage en cours…",
"job.vm-start.missing-vms": "Aucune VM à démarrer",

"job.vm-start-on.bad-power-state": "La VM doit être arrêtée",
"job.vm-start-on.in-progress": "Démarrage en cours…",
"job.vm-start-on.missing-host": "L'hôte de destination est requis",
"job.vm-start-on.missing-vms": "Aucune VM à démarrer",

"job.vm-suspend.bad-power-state": "La VM doit être allumée",
"job.vm-suspend.in-progress": "Suspension en cours…",
"job.vm-suspend.missing-vms": "Aucune VM à suspendre",

"keep-me-logged": "Rester connecté",
"keep-page-open": "Ne pas rafraichir ou quitter cette page avant la fin du déploiement.",
"language": "Langue",
Expand Down Expand Up @@ -203,7 +179,6 @@
"ram-usage": "Utilisation de la RAM",
"reboot": "Redémarrer",
"reformat": "Reformater",

"relative-time.day": "1 jour | {n} jours",
"relative-time.future": "Dans {str}",
"relative-time.hour": "1 heure | {n} heures",
Expand All @@ -213,17 +188,14 @@
"relative-time.past": "Il y a {str}",
"relative-time.second": "1 seconde | {n} secondes",
"relative-time.year": "1 an | {n} ans",

"resume": "Reprendre",
"save": "Enregistrer",
"select-compression": "Sélectionnez une compression",
"select-destination-host": "Sélectionnez un hôte de destination",
"selected-vms-in-execution": "Certaines VMs sélectionnées sont en cours d'exécution",
"send-us-feedback": "Envoyez-nous vos commentaires",

"select.network": "Sélectionner un réseau",
"select.storage": "Sélectionner un SR",

"settings": "Paramètres",
"shutdown": "Arrêter",
"snapshot": "Instantané",
Expand All @@ -242,11 +214,9 @@
"support": "Support",
"suspend": "Suspendre",
"switch-theme": "Changer de thème",

"task.estimated-end": "Fin estimée",
"task.progress": "Progression",
"task.started": "Démarré",

"theme-auto": "Auto",
"theme-dark": "Sombre",
"theme-light": "Clair",
Expand All @@ -259,10 +229,8 @@
"vcpus": "vCPUs",
"vcpus-used": "vCPUs utilisés",
"version": "Version",

"vm.active": "Active | Active | Actives",
"vm.inactive": "Inactive | Inactive | Inactives",

"vm-is-running": "La VM est en cours d'exécution",
"xo-lite-under-construction": "XOLite est en construction",
"xoa-admin-account": "Compte administrateur de la XOA",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ const labelAccent = computed(() => (accent === 'info' ? 'neutral' : accent))
position: relative;
display: flex;
flex-direction: column;
flex: 1;
gap: 0.4rem;

.input {
Expand Down
Loading

0 comments on commit a17af42

Please sign in to comment.