Merge remote-tracking branch 'origin/main' into dev
This commit is contained in:
commit
4a291b7f53
@ -235,4 +235,4 @@ You can show the docker stats by clicking the status indicator but this can also
|
||||
showStats: true
|
||||
```
|
||||
|
||||
Also see the settings for [show docker stats](docker.md#show-docker-stats).
|
||||
Also see the settings for [show docker stats](settings.md#show-docker-stats).
|
||||
|
||||
47
docs/overrides/main.html
Normal file
47
docs/overrides/main.html
Normal file
@ -0,0 +1,47 @@
|
||||
{% extends "base.html" %}
|
||||
|
||||
{% block site_nav %}
|
||||
<!-- Navigation -->
|
||||
{% if nav %}
|
||||
{% if page.meta and page.meta.hide %}
|
||||
{% set hidden = "hidden" if "navigation" in page.meta.hide %}
|
||||
{% endif %}
|
||||
<div
|
||||
class="md-sidebar md-sidebar--primary"
|
||||
data-md-component="sidebar"
|
||||
data-md-type="navigation"
|
||||
{{ hidden }}
|
||||
>
|
||||
<div class="md-sidebar__scrollwrap">
|
||||
<div class="md-sidebar__inner">
|
||||
{% include "partials/nav.html" %}
|
||||
{% if 'widgets/' not in page.url and 'more/' not in page.url %}
|
||||
<script async type="text/javascript" src="//cdn.carbonads.com/carbon.js?serve=CWYIL2JU&placement=gethomepagedev&format=cover" id="_carbonads_js"></script>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
<!-- Table of contents -->
|
||||
{% if "toc.integrate" not in features %}
|
||||
{% if page.meta and page.meta.hide %}
|
||||
{% set hidden = "hidden" if "toc" in page.meta.hide %}
|
||||
{% endif %}
|
||||
<div
|
||||
class="md-sidebar md-sidebar--secondary"
|
||||
data-md-component="sidebar"
|
||||
data-md-type="toc"
|
||||
{{ hidden }}
|
||||
>
|
||||
<div class="md-sidebar__scrollwrap" style="height: 200px;">
|
||||
<div class="md-sidebar__inner">
|
||||
{% include "partials/toc.html" %}
|
||||
{% if 'widgets/' in page.url or 'more/' in page.url %}
|
||||
<script async type="text/javascript" src="//cdn.carbonads.com/carbon.js?serve=CWYIL2JU&placement=gethomepagedev&format=cover" id="_carbonads_js"></script>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
@ -22,3 +22,15 @@
|
||||
#glimeRoot * {
|
||||
font-family: var(--md-text-font) !important;
|
||||
}
|
||||
|
||||
#carbonads {
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
#carbon-responsive {
|
||||
--carbon-padding: 1em;
|
||||
--carbon-max-char: 20ch;
|
||||
--carbon-bg-primary: var(--md-default-bg-color) !important;
|
||||
--carbon-bg-secondary: var(--md-default-fg-color--lightest) !important;
|
||||
--carbon-text-color: var(--md-typeset-color) !important;
|
||||
}
|
||||
|
||||
@ -19,6 +19,8 @@ _Note: unfortunately, the package used for getting CPU temp ([systeminformation]
|
||||
memory: true
|
||||
disk: /disk/mount/path
|
||||
cputemp: true
|
||||
tempmin: 0 # optional, minimum cpu temp
|
||||
tempmax: 100 # optional, maximum cpu temp
|
||||
uptime: true
|
||||
units: imperial # only used by cpu temp
|
||||
refresh: 3000 # optional, in ms
|
||||
|
||||
@ -12,10 +12,8 @@ Make sure to set Intent to "API Token".
|
||||
|
||||
The account you made the API token for also needs the following **Assigned global permissions** in Authentik:
|
||||
|
||||
- authentik Core
|
||||
- User
|
||||
- authentik Events
|
||||
- Event
|
||||
- authentik Core -> Can view User (Model: User)
|
||||
- authentik Events -> Can view Event (Model: Event)
|
||||
|
||||
Allowed fields: `["users", "loginsLast24H", "failedLoginsLast24H"]`.
|
||||
|
||||
|
||||
@ -16,4 +16,7 @@ widget:
|
||||
key: apikeyapikeyapikeyapikeyapikey
|
||||
enableBlocks: true # optional, defaults to false
|
||||
enableNowPlaying: true # optional, defaults to true
|
||||
enableUser: true # optional, defaults to false
|
||||
showEpisodeNumber: true # optional, defaults to false
|
||||
expandOneStreamToTwoRows: false # optional, defaults to true
|
||||
```
|
||||
|
||||
@ -16,4 +16,7 @@ widget:
|
||||
key: apikeyapikeyapikeyapikeyapikey
|
||||
enableBlocks: true # optional, defaults to false
|
||||
enableNowPlaying: true # optional, defaults to true
|
||||
enableUser: true # optional, defaults to false
|
||||
showEpisodeNumber: true # optional, defaults to false
|
||||
expandOneStreamToTwoRows: false # optional, defaults to true
|
||||
```
|
||||
|
||||
@ -3,7 +3,7 @@ title: Medusa
|
||||
description: Medusa Widget Configuration
|
||||
---
|
||||
|
||||
Learn more about [Medusa](https://github.com/medusajs/medusa).
|
||||
Learn more about [Medusa](https://github.com/pymedusa/Medusa).
|
||||
|
||||
Allowed fields: `["wanted", "queued", "series"]`.
|
||||
|
||||
|
||||
@ -14,4 +14,7 @@ widget:
|
||||
type: tautulli
|
||||
url: http://tautulli.host.or.ip
|
||||
key: apikeyapikeyapikeyapikeyapikey
|
||||
enableUser: true # optional, defaults to false
|
||||
showEpisodeNumber: true # optional, defaults to false
|
||||
expandOneStreamToTwoRows: false # optional, defaults to true
|
||||
```
|
||||
|
||||
@ -16,4 +16,5 @@ Allowed fields: `["download", "upload", "ping"]`.
|
||||
widget:
|
||||
type: speedtest
|
||||
url: http://speedtest.host.or.ip
|
||||
bitratePrecision: 3 # optional, default is 0
|
||||
```
|
||||
|
||||
@ -5,7 +5,7 @@ description: Uptime Kuma Widget Configuration
|
||||
|
||||
Learn more about [Uptime Kuma](https://github.com/louislam/uptime-kuma).
|
||||
|
||||
As Uptime Kuma does not yet have a full API the widget uses data from a single "status page". As such you will need a status page setup with a group of monitored sites, which is where you get the slug (without the `/status/` portion).
|
||||
As Uptime Kuma does not yet have a full API the widget uses data from a single "status page". As such you will need a status page setup with a group of monitored sites, which is where you get the slug (the url without the `/status/` portion). E.g. if your status page is URL http://uptimekuma.host/status/statuspageslug, insert `slug: statuspageslug`.
|
||||
|
||||
Allowed fields: `["up", "down", "uptime", "incident"]`.
|
||||
|
||||
|
||||
@ -90,6 +90,7 @@ nav:
|
||||
- widgets/services/mylar.md
|
||||
- widgets/services/navidrome.md
|
||||
- widgets/services/netdata.md
|
||||
- widgets/services/netalertx.md
|
||||
- widgets/services/nextcloud.md
|
||||
- widgets/services/nextdns.md
|
||||
- widgets/services/nginx-proxy-manager.md
|
||||
@ -100,12 +101,12 @@ nav:
|
||||
- widgets/services/opendtu.md
|
||||
- widgets/services/openmediavault.md
|
||||
- widgets/services/opnsense.md
|
||||
- widgets/services/openwrt.md
|
||||
- widgets/services/overseerr.md
|
||||
- widgets/services/paperlessngx.md
|
||||
- widgets/services/peanut.md
|
||||
- widgets/services/pfsense.md
|
||||
- widgets/services/photoprism.md
|
||||
- widgets/services/pialert.md
|
||||
- widgets/services/pihole.md
|
||||
- widgets/services/plantit.md
|
||||
- widgets/services/plex-tautulli.md
|
||||
@ -130,6 +131,7 @@ nav:
|
||||
- widgets/services/stash.md
|
||||
- widgets/services/syncthing-relay-server.md
|
||||
- widgets/services/tailscale.md
|
||||
- widgets/services/tandoor.md
|
||||
- widgets/services/tdarr.md
|
||||
- widgets/services/traefik.md
|
||||
- widgets/services/transmission.md
|
||||
@ -166,6 +168,7 @@ nav:
|
||||
|
||||
theme:
|
||||
name: material
|
||||
custom_dir: docs/overrides
|
||||
language: en
|
||||
palette:
|
||||
- media: "(prefers-color-scheme)"
|
||||
|
||||
@ -14,7 +14,7 @@
|
||||
"date": "{{value, date}}",
|
||||
"relativeDate": "{{value, relativeDate}}",
|
||||
"uptime": "{{value, uptime}}",
|
||||
"months": "mo",
|
||||
"months": "mes",
|
||||
"days": "d",
|
||||
"hours": "h",
|
||||
"minutes": "m",
|
||||
@ -46,8 +46,8 @@
|
||||
"used": "Utilitzat",
|
||||
"load": "Càrrega",
|
||||
"temp": "TEMP",
|
||||
"max": "Max",
|
||||
"uptime": "UP"
|
||||
"max": "Màx.",
|
||||
"uptime": "ACTIU"
|
||||
},
|
||||
"unifi": {
|
||||
"users": "Usuaris",
|
||||
@ -61,65 +61,65 @@
|
||||
"wlan_devices": "Dispositius WLAN",
|
||||
"lan_users": "Usuaris LAN",
|
||||
"wlan_users": "Usuaris WLAN",
|
||||
"up": "UP",
|
||||
"up": "ACTIU",
|
||||
"down": "INACTIU",
|
||||
"wait": "Si us plau, espereu",
|
||||
"empty_data": "Subsystem status unknown"
|
||||
"empty_data": "Estat del subsistema desconegut"
|
||||
},
|
||||
"docker": {
|
||||
"rx": "Rebut",
|
||||
"tx": "Transmès",
|
||||
"mem": "MEM",
|
||||
"cpu": "CPU",
|
||||
"running": "Running",
|
||||
"running": "En execució",
|
||||
"offline": "Fora de línia",
|
||||
"error": "Error",
|
||||
"unknown": "Desconegut",
|
||||
"healthy": "Healthy",
|
||||
"starting": "Starting",
|
||||
"unhealthy": "Unhealthy",
|
||||
"not_found": "Not Found",
|
||||
"exited": "Exited",
|
||||
"partial": "Partial"
|
||||
"healthy": "Saludable",
|
||||
"starting": "Iniciant",
|
||||
"unhealthy": "No saludable",
|
||||
"not_found": "No trobat",
|
||||
"exited": "Tancat",
|
||||
"partial": "Parcial"
|
||||
},
|
||||
"ping": {
|
||||
"error": "Error",
|
||||
"ping": "Ping",
|
||||
"down": "Down",
|
||||
"up": "Up",
|
||||
"not_available": "Not Available"
|
||||
"ping": "Latència",
|
||||
"down": "Inactiu",
|
||||
"up": "Actiu",
|
||||
"not_available": "No Disponible"
|
||||
},
|
||||
"siteMonitor": {
|
||||
"http_status": "HTTP status",
|
||||
"http_status": "Estat HTTP",
|
||||
"error": "Error",
|
||||
"response": "Response",
|
||||
"down": "Down",
|
||||
"up": "Up",
|
||||
"not_available": "Not Available"
|
||||
"response": "Resposta",
|
||||
"down": "Inactiu",
|
||||
"up": "Actiu",
|
||||
"not_available": "No Disponible"
|
||||
},
|
||||
"emby": {
|
||||
"playing": "Reproduint",
|
||||
"transcoding": "Transcodificant",
|
||||
"bitrate": "Taxa de bits",
|
||||
"no_active": "Sense reproduccions actives",
|
||||
"movies": "Movies",
|
||||
"series": "Series",
|
||||
"episodes": "Episodes",
|
||||
"songs": "Songs"
|
||||
"movies": "Pel·lícules",
|
||||
"series": "Sèries",
|
||||
"episodes": "Episodis",
|
||||
"songs": "Cançons"
|
||||
},
|
||||
"esphome": {
|
||||
"offline": "Fora de línia",
|
||||
"offline_alt": "Fora de línia",
|
||||
"online": "Online",
|
||||
"online": "En línia",
|
||||
"total": "Total",
|
||||
"unknown": "Desconegut"
|
||||
},
|
||||
"evcc": {
|
||||
"pv_power": "Production",
|
||||
"battery_soc": "Battery",
|
||||
"grid_power": "Grid",
|
||||
"home_power": "Consumption",
|
||||
"charge_power": "Charger",
|
||||
"pv_power": "Producció",
|
||||
"battery_soc": "Bateria",
|
||||
"grid_power": "Xarxa",
|
||||
"home_power": "Consum",
|
||||
"charge_power": "Carregador",
|
||||
"watt_hour": "Wh"
|
||||
},
|
||||
"flood": {
|
||||
@ -129,55 +129,55 @@
|
||||
"seed": "Llavor"
|
||||
},
|
||||
"freshrss": {
|
||||
"subscriptions": "Subscriptions",
|
||||
"unread": "Unread"
|
||||
"subscriptions": "Subcripcions",
|
||||
"unread": "Sense llegir"
|
||||
},
|
||||
"fritzbox": {
|
||||
"connectionStatus": "Estat",
|
||||
"connectionStatusUnconfigured": "Unconfigured",
|
||||
"connectionStatusConnecting": "Connecting",
|
||||
"connectionStatusAuthenticating": "Authenticating",
|
||||
"connectionStatusPendingDisconnect": "Pending Disconnect",
|
||||
"connectionStatusDisconnecting": "Disconnecting",
|
||||
"connectionStatusDisconnected": "Disconnected",
|
||||
"connectionStatusConnected": "Connected",
|
||||
"connectionStatusUnconfigured": "Sense configurar",
|
||||
"connectionStatusConnecting": "Connectant",
|
||||
"connectionStatusAuthenticating": "Autenticant",
|
||||
"connectionStatusPendingDisconnect": "Desconnexió pendent",
|
||||
"connectionStatusDisconnecting": "Desconnectant",
|
||||
"connectionStatusDisconnected": "Desconnectat",
|
||||
"connectionStatusConnected": "Connectat",
|
||||
"uptime": "Temps actiu",
|
||||
"maxDown": "Max. Down",
|
||||
"maxUp": "Max. Up",
|
||||
"down": "Down",
|
||||
"up": "Up",
|
||||
"received": "Received",
|
||||
"sent": "Sent",
|
||||
"externalIPAddress": "Ext. IP"
|
||||
"maxDown": "Màx. Descàrrega",
|
||||
"maxUp": "Màx. Càrrega",
|
||||
"down": "Inactiu",
|
||||
"up": "Actiu",
|
||||
"received": "Rebuts",
|
||||
"sent": "Enviats",
|
||||
"externalIPAddress": "IP ext."
|
||||
},
|
||||
"caddy": {
|
||||
"upstreams": "Upstreams",
|
||||
"requests": "Current requests",
|
||||
"requests_failed": "Failed requests"
|
||||
"requests": "Peticions actuals",
|
||||
"requests_failed": "Peticions fallides"
|
||||
},
|
||||
"changedetectionio": {
|
||||
"totalObserved": "Total d'observats",
|
||||
"diffsDetected": "Diferències detectades"
|
||||
},
|
||||
"channelsdvrserver": {
|
||||
"shows": "Shows",
|
||||
"recordings": "Recordings",
|
||||
"scheduled": "Scheduled",
|
||||
"passes": "Passes"
|
||||
"shows": "Sèries",
|
||||
"recordings": "Gravacions",
|
||||
"scheduled": "Programat",
|
||||
"passes": "Aprovat"
|
||||
},
|
||||
"tautulli": {
|
||||
"playing": "Reproduint",
|
||||
"transcoding": "Transcodificant",
|
||||
"bitrate": "Taxa de bits",
|
||||
"no_active": "Sense reproduccions actives",
|
||||
"plex_connection_error": "Check Plex Connection"
|
||||
"plex_connection_error": "Comprova la connexió de Plex"
|
||||
},
|
||||
"omada": {
|
||||
"connectedAp": "Connected APs",
|
||||
"activeUser": "Active devices",
|
||||
"alerts": "Alerts",
|
||||
"connectedGateway": "Connected gateways",
|
||||
"connectedSwitches": "Connected switches"
|
||||
"connectedAp": "AP connectats",
|
||||
"activeUser": "Dispositius actius",
|
||||
"alerts": "Alertes",
|
||||
"connectedGateway": "Pasarel·les connectades",
|
||||
"connectedSwitches": "Conmutadors connectats"
|
||||
},
|
||||
"nzbget": {
|
||||
"rate": "Taxa",
|
||||
@ -187,7 +187,7 @@
|
||||
"plex": {
|
||||
"streams": "Transmissions actives",
|
||||
"albums": "Àlbums",
|
||||
"movies": "Movies",
|
||||
"movies": "Pel·lícules",
|
||||
"tv": "Sèries"
|
||||
},
|
||||
"sabnzbd": {
|
||||
@ -213,12 +213,12 @@
|
||||
"seed": "Llavor"
|
||||
},
|
||||
"qnap": {
|
||||
"cpuUsage": "CPU Usage",
|
||||
"memUsage": "MEM Usage",
|
||||
"systemTempC": "System Temp",
|
||||
"poolUsage": "Pool Usage",
|
||||
"volumeUsage": "Volume Usage",
|
||||
"invalid": "Invalid"
|
||||
"cpuUsage": "Ús de CPU",
|
||||
"memUsage": "Ús de Memòria",
|
||||
"systemTempC": "Temp. Sistema",
|
||||
"poolUsage": "Ús de les Reserves",
|
||||
"volumeUsage": "Ús dels Volums",
|
||||
"invalid": "No vàlid"
|
||||
},
|
||||
"deluge": {
|
||||
"download": "Descarregar",
|
||||
@ -235,7 +235,7 @@
|
||||
"sonarr": {
|
||||
"wanted": "Volgut",
|
||||
"queued": "En cua",
|
||||
"series": "Series",
|
||||
"series": "Sèries",
|
||||
"queue": "Cua",
|
||||
"unknown": "Desconegut"
|
||||
},
|
||||
@ -243,14 +243,14 @@
|
||||
"wanted": "Volgut",
|
||||
"missing": "Faltant",
|
||||
"queued": "En cua",
|
||||
"movies": "Movies",
|
||||
"movies": "Pel·lícules",
|
||||
"queue": "Cua",
|
||||
"unknown": "Desconegut"
|
||||
},
|
||||
"lidarr": {
|
||||
"wanted": "Volgut",
|
||||
"queued": "En cua",
|
||||
"artists": "Artists"
|
||||
"artists": "Artistes"
|
||||
},
|
||||
"readarr": {
|
||||
"wanted": "Volgut",
|
||||
@ -279,15 +279,15 @@
|
||||
},
|
||||
"netalertx": {
|
||||
"total": "Total",
|
||||
"connected": "Connected",
|
||||
"new_devices": "New Devices",
|
||||
"down_alerts": "Down Alerts"
|
||||
"connected": "Connectat",
|
||||
"new_devices": "Nous dispositius",
|
||||
"down_alerts": "Alertes de caigudes"
|
||||
},
|
||||
"pihole": {
|
||||
"queries": "Consultes",
|
||||
"blocked": "Bloquejat",
|
||||
"blocked_percent": "Blocked %",
|
||||
"gravity": "Gravity"
|
||||
"blocked_percent": "Bloquejat %",
|
||||
"gravity": "Gravetat"
|
||||
},
|
||||
"adguard": {
|
||||
"queries": "Consultes",
|
||||
@ -298,37 +298,37 @@
|
||||
"speedtest": {
|
||||
"upload": "Pujada",
|
||||
"download": "Descarregar",
|
||||
"ping": "Ping"
|
||||
"ping": "Latència"
|
||||
},
|
||||
"portainer": {
|
||||
"running": "Running",
|
||||
"running": "En execució",
|
||||
"stopped": "Aturat",
|
||||
"total": "Total"
|
||||
},
|
||||
"tailscale": {
|
||||
"address": "Address",
|
||||
"expires": "Expires",
|
||||
"never": "Never",
|
||||
"last_seen": "Last Seen",
|
||||
"now": "Now",
|
||||
"years": "{{number}}y",
|
||||
"weeks": "{{number}}w",
|
||||
"address": "Adreça",
|
||||
"expires": "Caduca",
|
||||
"never": "Mai",
|
||||
"last_seen": "Vist per darrer cop",
|
||||
"now": "Ara",
|
||||
"years": "{{number}}a",
|
||||
"weeks": "{{number}}set",
|
||||
"days": "{{number}}d",
|
||||
"hours": "{{number}}h",
|
||||
"minutes": "{{number}}m",
|
||||
"seconds": "{{number}}s",
|
||||
"ago": "{{value}} Ago"
|
||||
"ago": "Fa {{value}}"
|
||||
},
|
||||
"tdarr": {
|
||||
"queue": "Cua",
|
||||
"processed": "Processed",
|
||||
"errored": "Errored",
|
||||
"saved": "Saved"
|
||||
"processed": "Processat",
|
||||
"errored": "Error",
|
||||
"saved": "Desat"
|
||||
},
|
||||
"traefik": {
|
||||
"routers": "Encaminadors",
|
||||
"services": "Serveis",
|
||||
"middleware": "Middleware"
|
||||
"middleware": "Intermediari"
|
||||
},
|
||||
"navidrome": {
|
||||
"nothing_streaming": "Sense reproduccions actives",
|
||||
@ -360,7 +360,7 @@
|
||||
},
|
||||
"jackett": {
|
||||
"configured": "Configurat",
|
||||
"errored": "Errored"
|
||||
"errored": "Error"
|
||||
},
|
||||
"strelaysrv": {
|
||||
"numActiveSessions": "Sessions",
|
||||
@ -376,18 +376,18 @@
|
||||
"medusa": {
|
||||
"wanted": "Volgut",
|
||||
"queued": "En cua",
|
||||
"series": "Series"
|
||||
"series": "Sèries"
|
||||
},
|
||||
"minecraft": {
|
||||
"players": "Players",
|
||||
"version": "Version",
|
||||
"players": "Jugadors",
|
||||
"version": "Versió",
|
||||
"status": "Estat",
|
||||
"up": "Online",
|
||||
"up": "En línia",
|
||||
"down": "Fora de línia"
|
||||
},
|
||||
"miniflux": {
|
||||
"read": "Read",
|
||||
"unread": "Unread"
|
||||
"read": "Llegir",
|
||||
"unread": "Sense llegir"
|
||||
},
|
||||
"authentik": {
|
||||
"users": "Usuaris",
|
||||
@ -406,28 +406,28 @@
|
||||
"wait": "Si us plau, espereu",
|
||||
"temp": "TEMP",
|
||||
"_temp": "Temp",
|
||||
"warn": "Warn",
|
||||
"uptime": "UP",
|
||||
"warn": "Avís",
|
||||
"uptime": "ACTIU",
|
||||
"total": "Total",
|
||||
"free": "Lliure",
|
||||
"used": "Utilitzat",
|
||||
"days": "d",
|
||||
"hours": "h",
|
||||
"crit": "Crit",
|
||||
"read": "Read",
|
||||
"write": "Write",
|
||||
"crit": "Crític",
|
||||
"read": "Llegir",
|
||||
"write": "Escriure",
|
||||
"gpu": "GPU",
|
||||
"mem": "Mem",
|
||||
"swap": "Swap"
|
||||
"swap": "Intercanvi"
|
||||
},
|
||||
"quicklaunch": {
|
||||
"bookmark": "Marcador",
|
||||
"service": "Servei",
|
||||
"search": "Search",
|
||||
"custom": "Custom",
|
||||
"visit": "Visit",
|
||||
"search": "Cercar",
|
||||
"custom": "Personalitzat",
|
||||
"visit": "Visitar",
|
||||
"url": "URL",
|
||||
"searchsuggestion": "Suggestion"
|
||||
"searchsuggestion": "Suggeriment"
|
||||
},
|
||||
"wmo": {
|
||||
"0-day": "Assolellat",
|
||||
@ -492,21 +492,21 @@
|
||||
"updates": "Actualitzacions",
|
||||
"update_available": "Actualització disponible",
|
||||
"up_to_date": "Actualitzat",
|
||||
"child_bridges": "Child Bridges",
|
||||
"child_bridges": "Ponts fills",
|
||||
"child_bridges_status": "{{ok}}/{{total}}",
|
||||
"up": "Up",
|
||||
"up": "Actiu",
|
||||
"pending": "Pendent",
|
||||
"down": "Down"
|
||||
"down": "Inactiu"
|
||||
},
|
||||
"healthchecks": {
|
||||
"new": "New",
|
||||
"up": "Up",
|
||||
"grace": "In Grace Period",
|
||||
"down": "Down",
|
||||
"paused": "Paused",
|
||||
"new": "Nou",
|
||||
"up": "Actiu",
|
||||
"grace": "En Període de gràcia",
|
||||
"down": "Inactiu",
|
||||
"paused": "En pausa",
|
||||
"status": "Estat",
|
||||
"last_ping": "Last Ping",
|
||||
"never": "No pings yet"
|
||||
"last_ping": "Últim ping",
|
||||
"never": "Sense pings"
|
||||
},
|
||||
"watchtower": {
|
||||
"containers_scanned": "Escanejat",
|
||||
@ -528,7 +528,7 @@
|
||||
"truenas": {
|
||||
"load": "Càrrega del sistema",
|
||||
"uptime": "Temps actiu",
|
||||
"alerts": "Alerts"
|
||||
"alerts": "Alertes"
|
||||
},
|
||||
"pyload": {
|
||||
"speed": "Velocitat",
|
||||
@ -544,12 +544,12 @@
|
||||
"hdhomerun": {
|
||||
"channels": "Canals",
|
||||
"hd": "HD",
|
||||
"tunerCount": "Tuners",
|
||||
"channelNumber": "Channel",
|
||||
"channelNetwork": "Network",
|
||||
"signalStrength": "Strength",
|
||||
"signalQuality": "Quality",
|
||||
"symbolQuality": "Quality",
|
||||
"tunerCount": "Sintonitzadors",
|
||||
"channelNumber": "Canal",
|
||||
"channelNetwork": "Xarxa",
|
||||
"signalStrength": "Intensitat",
|
||||
"signalQuality": "Qualitat",
|
||||
"symbolQuality": "Qualitat",
|
||||
"networkRate": "Taxa de bits",
|
||||
"clientIP": "Client"
|
||||
},
|
||||
@ -563,94 +563,94 @@
|
||||
"total": "Total"
|
||||
},
|
||||
"peanut": {
|
||||
"battery_charge": "Battery Charge",
|
||||
"ups_load": "UPS Load",
|
||||
"ups_status": "UPS Status",
|
||||
"online": "Online",
|
||||
"on_battery": "On Battery",
|
||||
"low_battery": "Low Battery"
|
||||
"battery_charge": "Càrrega de la bateria",
|
||||
"ups_load": "Càrrega del SAI",
|
||||
"ups_status": "Estat del SAI",
|
||||
"online": "En línia",
|
||||
"on_battery": "En Bateria",
|
||||
"low_battery": "Bateria Baixa"
|
||||
},
|
||||
"nextdns": {
|
||||
"wait": "Espereu si us plau",
|
||||
"no_devices": "No Device Data Received"
|
||||
"no_devices": "No s'han rebut dades del Dispositiu"
|
||||
},
|
||||
"mikrotik": {
|
||||
"cpuLoad": "CPU Load",
|
||||
"memoryUsed": "Memory Used",
|
||||
"cpuLoad": "Càrrega de CPU",
|
||||
"memoryUsed": "Memoria en ús",
|
||||
"uptime": "Temps actiu",
|
||||
"numberOfLeases": "Leases"
|
||||
"numberOfLeases": "IPs assignades"
|
||||
},
|
||||
"xteve": {
|
||||
"streams_all": "All Streams",
|
||||
"streams_all": "Tots els fluxos",
|
||||
"streams_active": "Transmissions actives",
|
||||
"streams_xepg": "XEPG Channels"
|
||||
"streams_xepg": "Canals XEPG"
|
||||
},
|
||||
"opendtu": {
|
||||
"yieldDay": "Today",
|
||||
"absolutePower": "Power",
|
||||
"relativePower": "Power %",
|
||||
"limit": "Limit"
|
||||
"yieldDay": "Avui",
|
||||
"absolutePower": "Potència",
|
||||
"relativePower": "Potència %",
|
||||
"limit": "Límit"
|
||||
},
|
||||
"opnsense": {
|
||||
"cpu": "CPU Load",
|
||||
"memory": "Active Memory",
|
||||
"wanUpload": "WAN Upload",
|
||||
"wanDownload": "WAN Download"
|
||||
"cpu": "Càrrega de CPU",
|
||||
"memory": "Memòria activa",
|
||||
"wanUpload": "Pujada WAN",
|
||||
"wanDownload": "Baixada WAN"
|
||||
},
|
||||
"moonraker": {
|
||||
"printer_state": "Printer State",
|
||||
"print_status": "Print Status",
|
||||
"printer_state": "Estat de l'impressora",
|
||||
"print_status": "Estat de l'impressió",
|
||||
"print_progress": "Progress",
|
||||
"layers": "Layers"
|
||||
"layers": "Capes"
|
||||
},
|
||||
"octoprint": {
|
||||
"printer_state": "Estat",
|
||||
"temp_tool": "Tool temp",
|
||||
"temp_bed": "Bed temp",
|
||||
"job_completion": "Completion"
|
||||
"temp_tool": "Temperatura capçal",
|
||||
"temp_bed": "Temperatura llit",
|
||||
"job_completion": "Finalització"
|
||||
},
|
||||
"cloudflared": {
|
||||
"origin_ip": "Origin IP",
|
||||
"origin_ip": "IP Origen",
|
||||
"status": "Estat"
|
||||
},
|
||||
"pfsense": {
|
||||
"load": "Load Avg",
|
||||
"memory": "Mem Usage",
|
||||
"wanStatus": "WAN Status",
|
||||
"up": "Up",
|
||||
"down": "Down",
|
||||
"load": "Promig Càrrega",
|
||||
"memory": "Ús Memòria",
|
||||
"wanStatus": "Estat WAN",
|
||||
"up": "Actiu",
|
||||
"down": "Inactiu",
|
||||
"temp": "Temp",
|
||||
"disk": "Disk Usage",
|
||||
"disk": "Ús Disc",
|
||||
"wanIP": "WAN IP"
|
||||
},
|
||||
"proxmoxbackupserver": {
|
||||
"datastore_usage": "Datastore",
|
||||
"failed_tasks_24h": "Failed Tasks 24h",
|
||||
"failed_tasks_24h": "Tasques fallides (24h)",
|
||||
"cpu_usage": "CPU",
|
||||
"memory_usage": "Memory"
|
||||
"memory_usage": "Memòria"
|
||||
},
|
||||
"immich": {
|
||||
"users": "Usuaris",
|
||||
"photos": "Photos",
|
||||
"photos": "Fotos",
|
||||
"videos": "Vídeos",
|
||||
"storage": "Storage"
|
||||
"storage": "Emmagatzematge"
|
||||
},
|
||||
"uptimekuma": {
|
||||
"up": "Sites Up",
|
||||
"down": "Sites Down",
|
||||
"up": "Actius",
|
||||
"down": "Caiguts",
|
||||
"uptime": "Temps actiu",
|
||||
"incident": "Incident",
|
||||
"incident": "Incidència",
|
||||
"m": "m"
|
||||
},
|
||||
"atsumeru": {
|
||||
"series": "Series",
|
||||
"archives": "Archives",
|
||||
"chapters": "Chapters",
|
||||
"series": "Sèries",
|
||||
"archives": "Arxius",
|
||||
"chapters": "Capítols",
|
||||
"categories": "Categories"
|
||||
},
|
||||
"komga": {
|
||||
"libraries": "Libraries",
|
||||
"series": "Series",
|
||||
"libraries": "Biblioteques",
|
||||
"series": "Sèries",
|
||||
"books": "Llibres"
|
||||
},
|
||||
"diskstation": {
|
||||
@ -659,77 +659,77 @@
|
||||
"volumeAvailable": "Disponible"
|
||||
},
|
||||
"mylar": {
|
||||
"series": "Series",
|
||||
"issues": "Issues",
|
||||
"series": "Sèries",
|
||||
"issues": "Problemes",
|
||||
"wanted": "Volgut"
|
||||
},
|
||||
"photoprism": {
|
||||
"albums": "Àlbums",
|
||||
"photos": "Photos",
|
||||
"photos": "Fotos",
|
||||
"videos": "Vídeos",
|
||||
"people": "People"
|
||||
"people": "Gent"
|
||||
},
|
||||
"fileflows": {
|
||||
"queue": "Cua",
|
||||
"processing": "Processant",
|
||||
"processed": "Processed",
|
||||
"time": "Time"
|
||||
"processed": "Processat",
|
||||
"time": "Temps"
|
||||
},
|
||||
"grafana": {
|
||||
"dashboards": "Dashboards",
|
||||
"datasources": "Data Sources",
|
||||
"totalalerts": "Total Alerts",
|
||||
"alertstriggered": "Alerts Triggered"
|
||||
"dashboards": "Taulells",
|
||||
"datasources": "Origen de dades",
|
||||
"totalalerts": "Alertes Totals",
|
||||
"alertstriggered": "Alertes disparades"
|
||||
},
|
||||
"nextcloud": {
|
||||
"cpuload": "Cpu Load",
|
||||
"memoryusage": "Memory Usage",
|
||||
"freespace": "Free Space",
|
||||
"activeusers": "Active Users",
|
||||
"numfiles": "Files",
|
||||
"numshares": "Shared Items"
|
||||
"cpuload": "Càrrega de CPU",
|
||||
"memoryusage": "Ús Memòria",
|
||||
"freespace": "Espai lliure",
|
||||
"activeusers": "Usuaris actius",
|
||||
"numfiles": "Fitxers",
|
||||
"numshares": "Elements compartits"
|
||||
},
|
||||
"kopia": {
|
||||
"status": "Estat",
|
||||
"size": "Size",
|
||||
"lastrun": "Last Run",
|
||||
"nextrun": "Next Run",
|
||||
"size": "Mida",
|
||||
"lastrun": "Darrera execució",
|
||||
"nextrun": "Següent execució",
|
||||
"failed": "Error"
|
||||
},
|
||||
"unmanic": {
|
||||
"active_workers": "Active Workers",
|
||||
"total_workers": "Total Workers",
|
||||
"records_total": "Queue Length"
|
||||
"active_workers": "Treballadors actius",
|
||||
"total_workers": "Treballadors Totals",
|
||||
"records_total": "Llargada de la Cua"
|
||||
},
|
||||
"pterodactyl": {
|
||||
"servers": "Servers",
|
||||
"servers": "Servidors",
|
||||
"nodes": "Nodes"
|
||||
},
|
||||
"prometheus": {
|
||||
"targets_up": "Targets Up",
|
||||
"targets_down": "Targets Down",
|
||||
"targets_total": "Total Targets"
|
||||
"targets_up": "Objectius actius",
|
||||
"targets_down": "Objectius caiguts",
|
||||
"targets_total": "Objectius Totals"
|
||||
},
|
||||
"gatus": {
|
||||
"up": "Sites Up",
|
||||
"down": "Sites Down",
|
||||
"up": "Actius",
|
||||
"down": "Caiguts",
|
||||
"uptime": "Temps actiu"
|
||||
},
|
||||
"ghostfolio": {
|
||||
"gross_percent_today": "Today",
|
||||
"gross_percent_1y": "One year",
|
||||
"gross_percent_max": "All time"
|
||||
"gross_percent_today": "Avui",
|
||||
"gross_percent_1y": "Un any",
|
||||
"gross_percent_max": "Tot"
|
||||
},
|
||||
"audiobookshelf": {
|
||||
"podcasts": "Podcasts",
|
||||
"books": "Llibres",
|
||||
"podcastsDuration": "Duration",
|
||||
"booksDuration": "Duration"
|
||||
"podcastsDuration": "Durada",
|
||||
"booksDuration": "Durada"
|
||||
},
|
||||
"homeassistant": {
|
||||
"people_home": "People Home",
|
||||
"lights_on": "Lights On",
|
||||
"switches_on": "Switches On"
|
||||
"people_home": "Gent a casa",
|
||||
"lights_on": "Llums enceses",
|
||||
"switches_on": "Endolls activats"
|
||||
},
|
||||
"whatsupdocker": {
|
||||
"monitoring": "Supervisió",
|
||||
@ -737,144 +737,144 @@
|
||||
},
|
||||
"calibreweb": {
|
||||
"books": "Llibres",
|
||||
"authors": "Authors",
|
||||
"authors": "Autors",
|
||||
"categories": "Categories",
|
||||
"series": "Series"
|
||||
"series": "Sèries"
|
||||
},
|
||||
"jdownloader": {
|
||||
"downloadCount": "Cua",
|
||||
"downloadBytesRemaining": "Restant",
|
||||
"downloadTotalBytes": "Size",
|
||||
"downloadTotalBytes": "Mida",
|
||||
"downloadSpeed": "Velocitat"
|
||||
},
|
||||
"kavita": {
|
||||
"seriesCount": "Series",
|
||||
"totalFiles": "Files"
|
||||
"seriesCount": "Sèries",
|
||||
"totalFiles": "Fitxers"
|
||||
},
|
||||
"azuredevops": {
|
||||
"result": "Result",
|
||||
"result": "Resultat",
|
||||
"status": "Estat",
|
||||
"buildId": "Build ID",
|
||||
"succeeded": "Succeeded",
|
||||
"notStarted": "Not Started",
|
||||
"buildId": "Id de compilació",
|
||||
"succeeded": "Amb èxit",
|
||||
"notStarted": "No Iniciat",
|
||||
"failed": "Error",
|
||||
"canceled": "Canceled",
|
||||
"inProgress": "In Progress",
|
||||
"totalPrs": "Total PRs",
|
||||
"myPrs": "My PRs",
|
||||
"canceled": "Cancel·lat",
|
||||
"inProgress": "En curs",
|
||||
"totalPrs": "RP Totals",
|
||||
"myPrs": "Els meus RP",
|
||||
"approved": "Aprovat"
|
||||
},
|
||||
"gamedig": {
|
||||
"status": "Estat",
|
||||
"online": "Online",
|
||||
"online": "En línia",
|
||||
"offline": "Fora de línia",
|
||||
"name": "Name",
|
||||
"map": "Map",
|
||||
"currentPlayers": "Current players",
|
||||
"players": "Players",
|
||||
"maxPlayers": "Max players",
|
||||
"name": "Nom",
|
||||
"map": "Mapa",
|
||||
"currentPlayers": "Jugadors actuals",
|
||||
"players": "Jugadors",
|
||||
"maxPlayers": "Màxim de jugadors",
|
||||
"bots": "Bots",
|
||||
"ping": "Ping"
|
||||
"ping": "Latència"
|
||||
},
|
||||
"urbackup": {
|
||||
"ok": "Ok",
|
||||
"errored": "Errors",
|
||||
"noRecent": "Out of Date",
|
||||
"totalUsed": "Used Storage"
|
||||
"noRecent": "Obsolet",
|
||||
"totalUsed": "Emmagatzematge utilitzat"
|
||||
},
|
||||
"mealie": {
|
||||
"recipes": "Recipes",
|
||||
"recipes": "Receptes",
|
||||
"users": "Usuaris",
|
||||
"categories": "Categories",
|
||||
"tags": "Tags"
|
||||
"tags": "Etiquetes"
|
||||
},
|
||||
"openmediavault": {
|
||||
"downloading": "Downloading",
|
||||
"downloading": "Descarregant",
|
||||
"total": "Total",
|
||||
"running": "Running",
|
||||
"running": "En execució",
|
||||
"stopped": "Aturat",
|
||||
"passed": "Aprobat",
|
||||
"failed": "Error"
|
||||
},
|
||||
"openwrt": {
|
||||
"uptime": "Temps actiu",
|
||||
"cpuLoad": "CPU Load Avg (5m)",
|
||||
"up": "Up",
|
||||
"down": "Down",
|
||||
"bytesTx": "Transmitted",
|
||||
"bytesRx": "Received"
|
||||
"cpuLoad": "Càrrega promig de CPU (5m)",
|
||||
"up": "Actiu",
|
||||
"down": "Inactiu",
|
||||
"bytesTx": "Enviat",
|
||||
"bytesRx": "Rebuts"
|
||||
},
|
||||
"uptimerobot": {
|
||||
"status": "Estat",
|
||||
"uptime": "Temps actiu",
|
||||
"lastDown": "Last Downtime",
|
||||
"downDuration": "Downtime Duration",
|
||||
"sitesUp": "Sites Up",
|
||||
"sitesDown": "Sites Down",
|
||||
"paused": "Paused",
|
||||
"notyetchecked": "Not Yet Checked",
|
||||
"up": "Up",
|
||||
"seemsdown": "Seems Down",
|
||||
"down": "Down",
|
||||
"lastDown": "Darrera Inactivitat",
|
||||
"downDuration": "Duració d'Inactivitat",
|
||||
"sitesUp": "Actius",
|
||||
"sitesDown": "Caiguts",
|
||||
"paused": "En pausa",
|
||||
"notyetchecked": "Sense verificar",
|
||||
"up": "Actiu",
|
||||
"seemsdown": "Sembla caigut",
|
||||
"down": "Inactiu",
|
||||
"unknown": "Desconegut"
|
||||
},
|
||||
"calendar": {
|
||||
"inCinemas": "In cinemas",
|
||||
"physicalRelease": "Physical release",
|
||||
"digitalRelease": "Digital release",
|
||||
"noEventsToday": "No events for today!",
|
||||
"noEventsFound": "No events found"
|
||||
"inCinemas": "En cines",
|
||||
"physicalRelease": "Estrena física",
|
||||
"digitalRelease": "Estrena digital",
|
||||
"noEventsToday": "Cap esdeveniment per avui!",
|
||||
"noEventsFound": "No s'han trobat esdeveniments"
|
||||
},
|
||||
"romm": {
|
||||
"platforms": "Platforms",
|
||||
"totalRoms": "Total ROMs"
|
||||
"platforms": "Plataformes",
|
||||
"totalRoms": "ROMs totals"
|
||||
},
|
||||
"netdata": {
|
||||
"warnings": "Warnings",
|
||||
"criticals": "Criticals"
|
||||
"warnings": "Avisos",
|
||||
"criticals": "Crítics"
|
||||
},
|
||||
"plantit": {
|
||||
"events": "Events",
|
||||
"plants": "Plants",
|
||||
"photos": "Photos",
|
||||
"species": "Species"
|
||||
"events": "Esdeveniments",
|
||||
"plants": "Plantes",
|
||||
"photos": "Fotos",
|
||||
"species": "Espècies"
|
||||
},
|
||||
"gitea": {
|
||||
"notifications": "Notifications",
|
||||
"issues": "Issues",
|
||||
"pulls": "Pull Requests"
|
||||
"notifications": "Notificacions",
|
||||
"issues": "Problemes",
|
||||
"pulls": "Sol·licitud de Canvis"
|
||||
},
|
||||
"stash": {
|
||||
"scenes": "Scenes",
|
||||
"scenesPlayed": "Scenes Played",
|
||||
"playCount": "Total Plays",
|
||||
"playDuration": "Time Watched",
|
||||
"sceneSize": "Scenes Size",
|
||||
"sceneDuration": "Scenes Duration",
|
||||
"images": "Images",
|
||||
"imageSize": "Images Size",
|
||||
"galleries": "Galleries",
|
||||
"performers": "Performers",
|
||||
"studios": "Studios",
|
||||
"movies": "Movies",
|
||||
"tags": "Tags",
|
||||
"scenes": "Escenes",
|
||||
"scenesPlayed": "Escenes reproduïdes",
|
||||
"playCount": "Total reproduccions",
|
||||
"playDuration": "Temps visionat",
|
||||
"sceneSize": "Tamany Escena",
|
||||
"sceneDuration": "Duració Escenes",
|
||||
"images": "Imatges",
|
||||
"imageSize": "Mida Imatges",
|
||||
"galleries": "Biblioteques",
|
||||
"performers": "Intèrprets",
|
||||
"studios": "Estudis",
|
||||
"movies": "Pel·lícules",
|
||||
"tags": "Etiquetes",
|
||||
"oCount": "O Count"
|
||||
},
|
||||
"tandoor": {
|
||||
"users": "Usuaris",
|
||||
"recipes": "Recipes",
|
||||
"keywords": "Keywords"
|
||||
"recipes": "Receptes",
|
||||
"keywords": "Paraules claus"
|
||||
},
|
||||
"homebox": {
|
||||
"items": "Items",
|
||||
"totalWithWarranty": "With Warranty",
|
||||
"locations": "Locations",
|
||||
"labels": "Labels",
|
||||
"items": "Elements",
|
||||
"totalWithWarranty": "Amb Garantia",
|
||||
"locations": "Ubicacions",
|
||||
"labels": "Etiquetes",
|
||||
"users": "Usuaris",
|
||||
"totalValue": "Total Value"
|
||||
"totalValue": "Valor total"
|
||||
},
|
||||
"crowdsec": {
|
||||
"alerts": "Alerts",
|
||||
"bans": "Bans"
|
||||
"alerts": "Alertes",
|
||||
"bans": "Prohibicions"
|
||||
}
|
||||
}
|
||||
|
||||
@ -875,6 +875,6 @@
|
||||
},
|
||||
"crowdsec": {
|
||||
"alerts": "Warnungen",
|
||||
"bans": "Bans"
|
||||
"bans": "Banns"
|
||||
}
|
||||
}
|
||||
|
||||
@ -15,8 +15,8 @@
|
||||
"relativeDate": "{{value, relativeDate}}",
|
||||
"uptime": "{{value, uptime}}",
|
||||
"months": "mo",
|
||||
"days": "d",
|
||||
"hours": "h",
|
||||
"days": "g",
|
||||
"hours": "o",
|
||||
"minutes": "m",
|
||||
"seconds": "s"
|
||||
},
|
||||
@ -140,7 +140,7 @@
|
||||
"connectionStatusPendingDisconnect": "In attesa di disconnessione",
|
||||
"connectionStatusDisconnecting": "Disconnessione in corso",
|
||||
"connectionStatusDisconnected": "Disconnesso",
|
||||
"connectionStatusConnected": "Connected",
|
||||
"connectionStatusConnected": "Connesso",
|
||||
"uptime": "Tempo di attività",
|
||||
"maxDown": "Max. Down",
|
||||
"maxUp": "Max. Up",
|
||||
@ -279,9 +279,9 @@
|
||||
},
|
||||
"netalertx": {
|
||||
"total": "Totale",
|
||||
"connected": "Connected",
|
||||
"new_devices": "New Devices",
|
||||
"down_alerts": "Down Alerts"
|
||||
"connected": "Connesso",
|
||||
"new_devices": "Nuovi Dispositivi",
|
||||
"down_alerts": "Avvisi di Disservizio"
|
||||
},
|
||||
"pihole": {
|
||||
"queries": "Richieste",
|
||||
@ -411,8 +411,8 @@
|
||||
"total": "Totale",
|
||||
"free": "Libero",
|
||||
"used": "In utilizzo",
|
||||
"days": "d",
|
||||
"hours": "h",
|
||||
"days": "g",
|
||||
"hours": "o",
|
||||
"crit": "Critico",
|
||||
"read": "Letti",
|
||||
"write": "Scrittura",
|
||||
@ -427,7 +427,7 @@
|
||||
"custom": "Personalizzato",
|
||||
"visit": "Visita",
|
||||
"url": "URL",
|
||||
"searchsuggestion": "Suggestion"
|
||||
"searchsuggestion": "Suggerimenti"
|
||||
},
|
||||
"wmo": {
|
||||
"0-day": "Soleggiato",
|
||||
@ -546,8 +546,8 @@
|
||||
"hd": "HD",
|
||||
"tunerCount": "Tuners",
|
||||
"channelNumber": "Channel",
|
||||
"channelNetwork": "Network",
|
||||
"signalStrength": "Strength",
|
||||
"channelNetwork": "Rete",
|
||||
"signalStrength": "Intensità",
|
||||
"signalQuality": "Quality",
|
||||
"symbolQuality": "Quality",
|
||||
"networkRate": "Bitrate",
|
||||
@ -830,32 +830,32 @@
|
||||
"totalRoms": "Total ROMs"
|
||||
},
|
||||
"netdata": {
|
||||
"warnings": "Warnings",
|
||||
"warnings": "Avvisi",
|
||||
"criticals": "Criticals"
|
||||
},
|
||||
"plantit": {
|
||||
"events": "Events",
|
||||
"plants": "Plants",
|
||||
"photos": "Foto",
|
||||
"species": "Species"
|
||||
"species": "Specie"
|
||||
},
|
||||
"gitea": {
|
||||
"notifications": "Notifications",
|
||||
"notifications": "Notifiche",
|
||||
"issues": "Problemi",
|
||||
"pulls": "Pull Requests"
|
||||
"pulls": "Richieste di Pull"
|
||||
},
|
||||
"stash": {
|
||||
"scenes": "Scenes",
|
||||
"scenesPlayed": "Scenes Played",
|
||||
"playCount": "Total Plays",
|
||||
"playDuration": "Time Watched",
|
||||
"sceneSize": "Scenes Size",
|
||||
"sceneDuration": "Scenes Duration",
|
||||
"images": "Images",
|
||||
"scenes": "Scene",
|
||||
"scenesPlayed": "Scene Riprodotte",
|
||||
"playCount": "Totale Riproduzioni",
|
||||
"playDuration": "Tempo Guardato",
|
||||
"sceneSize": "Dimensione Delle Scene",
|
||||
"sceneDuration": "Durata Delle Scene",
|
||||
"images": "Immagini",
|
||||
"imageSize": "Images Size",
|
||||
"galleries": "Galleries",
|
||||
"performers": "Performers",
|
||||
"studios": "Studios",
|
||||
"performers": "Esecutori",
|
||||
"studios": "Studi",
|
||||
"movies": "Film",
|
||||
"tags": "Tag",
|
||||
"oCount": "O Count"
|
||||
|
||||
@ -140,7 +140,7 @@
|
||||
"connectionStatusPendingDisconnect": "Čakanje na prekinitev",
|
||||
"connectionStatusDisconnecting": "Prekinitev",
|
||||
"connectionStatusDisconnected": "Prekinjeno",
|
||||
"connectionStatusConnected": "Connected",
|
||||
"connectionStatusConnected": "Povezan",
|
||||
"uptime": "Čas delovanja",
|
||||
"maxDown": "Maks. dol",
|
||||
"maxUp": "Maks. gor",
|
||||
@ -279,9 +279,9 @@
|
||||
},
|
||||
"netalertx": {
|
||||
"total": "Skupaj",
|
||||
"connected": "Connected",
|
||||
"new_devices": "New Devices",
|
||||
"down_alerts": "Down Alerts"
|
||||
"connected": "Povezan",
|
||||
"new_devices": "Nova naprave",
|
||||
"down_alerts": "Alarmi nedelovanja"
|
||||
},
|
||||
"pihole": {
|
||||
"queries": "Poizvedbe",
|
||||
|
||||
@ -104,7 +104,7 @@
|
||||
"no_active": "Inga aktiva strömmar",
|
||||
"movies": "Movies",
|
||||
"series": "Series",
|
||||
"episodes": "Episodes",
|
||||
"episodes": "Avsnitt",
|
||||
"songs": "Songs"
|
||||
},
|
||||
"esphome": {
|
||||
@ -423,7 +423,7 @@
|
||||
"quicklaunch": {
|
||||
"bookmark": "Bookmark",
|
||||
"service": "Service",
|
||||
"search": "Search",
|
||||
"search": "Sök",
|
||||
"custom": "Custom",
|
||||
"visit": "Visit",
|
||||
"url": "URL",
|
||||
|
||||
@ -9,7 +9,7 @@ function convertToFahrenheit(t) {
|
||||
return (t * 9) / 5 + 32;
|
||||
}
|
||||
|
||||
export default function CpuTemp({ expanded, units, refresh = 1500 }) {
|
||||
export default function CpuTemp({ expanded, units, refresh = 1500, tempmin = 0, tempmax = -1 }) {
|
||||
const { t } = useTranslation();
|
||||
|
||||
const { data, error } = useSWR(`/api/widgets/resources?type=cputemp`, {
|
||||
@ -39,7 +39,12 @@ export default function CpuTemp({ expanded, units, refresh = 1500 }) {
|
||||
}
|
||||
const unit = units === "imperial" ? "fahrenheit" : "celsius";
|
||||
mainTemp = unit === "celsius" ? mainTemp : convertToFahrenheit(mainTemp);
|
||||
const maxTemp = unit === "celsius" ? data.cputemp.max : convertToFahrenheit(data.cputemp.max);
|
||||
|
||||
const minTemp = tempmin < mainTemp ? tempmin : mainTemp;
|
||||
let maxTemp = tempmax;
|
||||
if (maxTemp < minTemp) {
|
||||
maxTemp = unit === "celsius" ? data.cputemp.max : convertToFahrenheit(data.cputemp.max);
|
||||
}
|
||||
|
||||
return (
|
||||
<Resource
|
||||
@ -58,7 +63,7 @@ export default function CpuTemp({ expanded, units, refresh = 1500 }) {
|
||||
unit,
|
||||
})}
|
||||
expandedLabel={t("resources.max")}
|
||||
percentage={Math.round((mainTemp / maxTemp) * 100)}
|
||||
percentage={Math.round(((mainTemp - minTemp) / (maxTemp - minTemp)) * 100)}
|
||||
expanded={expanded}
|
||||
/>
|
||||
);
|
||||
|
||||
@ -8,7 +8,7 @@ import CpuTemp from "./cputemp";
|
||||
import Uptime from "./uptime";
|
||||
|
||||
export default function Resources({ options }) {
|
||||
const { expanded, units, diskUnits } = options;
|
||||
const { expanded, units, diskUnits, tempmin, tempmax } = options;
|
||||
let { refresh } = options;
|
||||
if (!refresh) refresh = 1500;
|
||||
refresh = Math.max(refresh, 1000);
|
||||
@ -23,7 +23,9 @@ export default function Resources({ options }) {
|
||||
<Disk key={disk} options={{ disk }} expanded={expanded} diskUnits={diskUnits} refresh={refresh} />
|
||||
))
|
||||
: options.disk && <Disk options={options} expanded={expanded} diskUnits={diskUnits} refresh={refresh} />}
|
||||
{options.cputemp && <CpuTemp expanded={expanded} units={units} refresh={refresh} />}
|
||||
{options.cputemp && (
|
||||
<CpuTemp expanded={expanded} units={units} refresh={refresh} tempmin={tempmin} tempmax={tempmax} />
|
||||
)}
|
||||
{options.uptime && <Uptime refresh={refresh} />}
|
||||
</div>
|
||||
{options.label && (
|
||||
|
||||
@ -393,6 +393,11 @@ export function cleanServiceGroups(groups) {
|
||||
enableBlocks,
|
||||
enableNowPlaying,
|
||||
|
||||
// emby, jellyfin, tautulli
|
||||
enableUser,
|
||||
expandOneStreamToTwoRows,
|
||||
showEpisodeNumber,
|
||||
|
||||
// glances, pihole
|
||||
version,
|
||||
|
||||
@ -445,6 +450,9 @@ export function cleanServiceGroups(groups) {
|
||||
// proxmox
|
||||
node,
|
||||
|
||||
// speedtest
|
||||
bitratePrecision,
|
||||
|
||||
// sonarr, radarr
|
||||
enableQueue,
|
||||
|
||||
@ -518,6 +526,13 @@ export function cleanServiceGroups(groups) {
|
||||
if (enableBlocks !== undefined) cleanedService.widget.enableBlocks = JSON.parse(enableBlocks);
|
||||
if (enableNowPlaying !== undefined) cleanedService.widget.enableNowPlaying = JSON.parse(enableNowPlaying);
|
||||
}
|
||||
if (["emby", "jellyfin", "tautulli"].includes(type)) {
|
||||
if (expandOneStreamToTwoRows !== undefined)
|
||||
cleanedService.widget.expandOneStreamToTwoRows = !!JSON.parse(expandOneStreamToTwoRows);
|
||||
if (showEpisodeNumber !== undefined)
|
||||
cleanedService.widget.showEpisodeNumber = !!JSON.parse(showEpisodeNumber);
|
||||
if (enableUser !== undefined) cleanedService.widget.enableUser = !!JSON.parse(enableUser);
|
||||
}
|
||||
if (["sonarr", "radarr"].includes(type)) {
|
||||
if (enableQueue !== undefined) cleanedService.widget.enableQueue = JSON.parse(enableQueue);
|
||||
}
|
||||
@ -576,6 +591,11 @@ export function cleanServiceGroups(groups) {
|
||||
if (type === "healthchecks") {
|
||||
if (uuid !== undefined) cleanedService.widget.uuid = uuid;
|
||||
}
|
||||
if (type === "speedtest") {
|
||||
if (bitratePrecision !== undefined) {
|
||||
cleanedService.widget.bitratePrecision = parseInt(bitratePrecision, 10);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return cleanedService;
|
||||
|
||||
@ -27,9 +27,26 @@ function ticksToString(ticks) {
|
||||
return parts.map((part) => part.toString().padStart(2, "0")).join(":");
|
||||
}
|
||||
|
||||
function SingleSessionEntry({ playCommand, session }) {
|
||||
function generateStreamTitle(session, enableUser, showEpisodeNumber) {
|
||||
const {
|
||||
NowPlayingItem: { Name, SeriesName, Type, ParentIndexNumber, IndexNumber },
|
||||
UserName,
|
||||
} = session;
|
||||
let streamTitle = "";
|
||||
|
||||
if (Type === "Episode" && showEpisodeNumber) {
|
||||
const seasonStr = `S${ParentIndexNumber.toString().padStart(2, "0")}`;
|
||||
const episodeStr = `E${IndexNumber.toString().padStart(2, "0")}`;
|
||||
streamTitle = `${SeriesName}: ${seasonStr} · ${episodeStr} - ${Name}`;
|
||||
} else {
|
||||
streamTitle = `${Name}${SeriesName ? ` - ${SeriesName}` : ""}`;
|
||||
}
|
||||
|
||||
return enableUser ? `${streamTitle} (${UserName})` : streamTitle;
|
||||
}
|
||||
|
||||
function SingleSessionEntry({ playCommand, session, enableUser, showEpisodeNumber }) {
|
||||
const {
|
||||
NowPlayingItem: { Name, SeriesName },
|
||||
PlayState: { PositionTicks, IsPaused, IsMuted },
|
||||
} = session;
|
||||
|
||||
@ -42,13 +59,13 @@ function SingleSessionEntry({ playCommand, session }) {
|
||||
|
||||
const percent = Math.min(1, PositionTicks / RunTimeTicks) * 100;
|
||||
|
||||
const streamTitle = generateStreamTitle(session, enableUser, showEpisodeNumber);
|
||||
return (
|
||||
<>
|
||||
<div className="text-theme-700 dark:text-theme-200 relative h-5 w-full rounded-md bg-theme-200/50 dark:bg-theme-900/20 mt-1 flex">
|
||||
<div className="grow text-xs z-10 self-center ml-2 relative w-full h-4 mr-2">
|
||||
<div className="absolute w-full whitespace-nowrap text-ellipsis overflow-hidden">
|
||||
{Name}
|
||||
{SeriesName && ` - ${SeriesName}`}
|
||||
<div className="absolute w-full whitespace-nowrap text-ellipsis overflow-hidden" title={streamTitle}>
|
||||
{streamTitle}
|
||||
</div>
|
||||
</div>
|
||||
<div className="self-center text-xs flex justify-end mr-1.5 pl-1">
|
||||
@ -97,9 +114,8 @@ function SingleSessionEntry({ playCommand, session }) {
|
||||
);
|
||||
}
|
||||
|
||||
function SessionEntry({ playCommand, session }) {
|
||||
function SessionEntry({ playCommand, session, enableUser, showEpisodeNumber }) {
|
||||
const {
|
||||
NowPlayingItem: { Name, SeriesName },
|
||||
PlayState: { PositionTicks, IsPaused, IsMuted },
|
||||
} = session;
|
||||
|
||||
@ -110,6 +126,8 @@ function SessionEntry({ playCommand, session }) {
|
||||
IsVideoDirect: true,
|
||||
}; // if no transcodinginfo its videodirect
|
||||
|
||||
const streamTitle = generateStreamTitle(session, enableUser, showEpisodeNumber);
|
||||
|
||||
const percent = Math.min(1, PositionTicks / RunTimeTicks) * 100;
|
||||
|
||||
return (
|
||||
@ -139,9 +157,8 @@ function SessionEntry({ playCommand, session }) {
|
||||
)}
|
||||
</div>
|
||||
<div className="grow text-xs z-10 self-center relative w-full h-4">
|
||||
<div className="absolute w-full whitespace-nowrap text-ellipsis overflow-hidden">
|
||||
{Name}
|
||||
{SeriesName && ` - ${SeriesName}`}
|
||||
<div className="absolute w-full whitespace-nowrap text-ellipsis overflow-hidden" title={streamTitle}>
|
||||
{streamTitle}
|
||||
</div>
|
||||
</div>
|
||||
<div className="self-center text-xs flex justify-end mr-1 z-10">{IsMuted && <BsVolumeMuteFill />}</div>
|
||||
@ -215,6 +232,9 @@ export default function Component({ service }) {
|
||||
|
||||
const enableBlocks = service.widget?.enableBlocks;
|
||||
const enableNowPlaying = service.widget?.enableNowPlaying ?? true;
|
||||
const enableUser = !!service.widget?.enableUser; // default is false
|
||||
const expandOneStreamToTwoRows = service.widget?.expandOneStreamToTwoRows !== false; // default is true
|
||||
const showEpisodeNumber = !!service.widget?.showEpisodeNumber; // default is false
|
||||
|
||||
if (!sessionsData || !countData) {
|
||||
return (
|
||||
@ -225,9 +245,11 @@ export default function Component({ service }) {
|
||||
<div className="text-theme-700 dark:text-theme-200 text-xs relative h-5 w-full rounded-md bg-theme-200/50 dark:bg-theme-900/20 mt-1">
|
||||
<span className="absolute left-2 text-xs mt-[2px]">-</span>
|
||||
</div>
|
||||
{expandOneStreamToTwoRows && (
|
||||
<div className="text-theme-700 dark:text-theme-200 text-xs relative h-5 w-full rounded-md bg-theme-200/50 dark:bg-theme-900/20 mt-1">
|
||||
<span className="absolute left-2 text-xs mt-[2px]">-</span>
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
)}
|
||||
</>
|
||||
@ -255,15 +277,17 @@ export default function Component({ service }) {
|
||||
<div className="text-theme-700 dark:text-theme-200 text-xs relative h-5 w-full rounded-md bg-theme-200/50 dark:bg-theme-900/20 mt-1">
|
||||
<span className="absolute left-2 text-xs mt-[2px]">{t("emby.no_active")}</span>
|
||||
</div>
|
||||
{expandOneStreamToTwoRows && (
|
||||
<div className="text-theme-700 dark:text-theme-200 text-xs relative h-5 w-full rounded-md bg-theme-200/50 dark:bg-theme-900/20 mt-1">
|
||||
<span className="absolute left-2 text-xs mt-[2px]">-</span>
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
||||
if (playing.length === 1) {
|
||||
if (expandOneStreamToTwoRows && playing.length === 1) {
|
||||
const session = playing[0];
|
||||
return (
|
||||
<>
|
||||
@ -272,13 +296,14 @@ export default function Component({ service }) {
|
||||
<SingleSessionEntry
|
||||
playCommand={(currentSession, command) => handlePlayCommand(currentSession, command)}
|
||||
session={session}
|
||||
enableUser={enableUser}
|
||||
showEpisodeNumber={showEpisodeNumber}
|
||||
/>
|
||||
</div>
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
||||
if (playing.length > 0)
|
||||
return (
|
||||
<>
|
||||
{enableBlocks && <CountBlocks service={service} countData={countData} />}
|
||||
@ -288,6 +313,8 @@ export default function Component({ service }) {
|
||||
key={session.Id}
|
||||
playCommand={(currentSession, command) => handlePlayCommand(currentSession, command)}
|
||||
session={session}
|
||||
enableUser={enableUser}
|
||||
showEpisodeNumber={showEpisodeNumber}
|
||||
/>
|
||||
))}
|
||||
</div>
|
||||
|
||||
@ -32,7 +32,7 @@ export default function Component({ service }) {
|
||||
|
||||
let blockedValue = `${t("common.number", { value: parseInt(piholeData.ads_blocked_today, 10) })}`;
|
||||
if (!widget.fields.includes("blocked_percent")) {
|
||||
blockedValue += ` (${t("common.percent", { value: parseFloat(piholeData.ads_percentage_today.toPrecision(3)) })})`;
|
||||
blockedValue += ` (${t("common.percent", { value: parseFloat(piholeData.ads_percentage_today).toPrecision(3) })})`;
|
||||
}
|
||||
|
||||
return (
|
||||
@ -41,7 +41,7 @@ export default function Component({ service }) {
|
||||
<Block label="pihole.blocked" value={blockedValue} />
|
||||
<Block
|
||||
label="pihole.blocked_percent"
|
||||
value={t("common.percent", { value: parseFloat(piholeData.ads_percentage_today.toPrecision(3)) })}
|
||||
value={t("common.percent", { value: parseFloat(piholeData.ads_percentage_today).toPrecision(3) })}
|
||||
/>
|
||||
<Block
|
||||
label="pihole.gravity"
|
||||
|
||||
@ -1,9 +1,12 @@
|
||||
import { useTranslation } from "next-i18next";
|
||||
|
||||
import Container from "components/services/widget/container";
|
||||
import Block from "components/services/widget/block";
|
||||
import useWidgetAPI from "utils/proxy/use-widget-api";
|
||||
|
||||
export default function Component({ service }) {
|
||||
const { widget } = service;
|
||||
const { t } = useTranslation();
|
||||
|
||||
const { data: response, error: responseError } = useWidgetAPI(widget, "statistics");
|
||||
|
||||
@ -24,8 +27,8 @@ export default function Component({ service }) {
|
||||
const totalRoms = response.reduce((total, stat) => total + stat.rom_count, 0);
|
||||
return (
|
||||
<Container service={service}>
|
||||
<Block label="romm.platforms" value={platforms} />
|
||||
<Block label="romm.totalRoms" value={totalRoms} />
|
||||
<Block label="romm.platforms" value={t("common.number", { value: platforms })} />
|
||||
<Block label="romm.totalRoms" value={t("common.number", { value: totalRoms })} />
|
||||
</Container>
|
||||
);
|
||||
}
|
||||
|
||||
@ -11,6 +11,11 @@ export default function Component({ service }) {
|
||||
|
||||
const { data: speedtestData, error: speedtestError } = useWidgetAPI(widget, "speedtest/latest");
|
||||
|
||||
const bitratePrecision =
|
||||
!widget?.bitratePrecision || Number.isNaN(widget?.bitratePrecision) || widget?.bitratePrecision < 0
|
||||
? 0
|
||||
: widget.bitratePrecision;
|
||||
|
||||
if (speedtestError) {
|
||||
return <Container service={service} error={speedtestError} />;
|
||||
}
|
||||
@ -29,9 +34,18 @@ export default function Component({ service }) {
|
||||
<Container service={service}>
|
||||
<Block
|
||||
label="speedtest.download"
|
||||
value={t("common.bitrate", { value: speedtestData.data.download * 1000 * 1000 })}
|
||||
value={t("common.bitrate", {
|
||||
value: speedtestData.data.download * 1000 * 1000,
|
||||
decimals: bitratePrecision,
|
||||
})}
|
||||
/>
|
||||
<Block
|
||||
label="speedtest.upload"
|
||||
value={t("common.bitrate", {
|
||||
value: speedtestData.data.upload * 1000 * 1000,
|
||||
decimals: bitratePrecision,
|
||||
})}
|
||||
/>
|
||||
<Block label="speedtest.upload" value={t("common.bitrate", { value: speedtestData.data.upload * 1000 * 1000 })} />
|
||||
<Block
|
||||
label="speedtest.ping"
|
||||
value={t("common.ms", {
|
||||
|
||||
@ -25,14 +25,32 @@ function millisecondsToString(milliseconds) {
|
||||
return parts.map((part) => part.toString().padStart(2, "0")).join(":");
|
||||
}
|
||||
|
||||
function SingleSessionEntry({ session }) {
|
||||
const { full_title, duration, view_offset, progress_percent, state, video_decision, audio_decision } = session;
|
||||
function generateStreamTitle(session, enableUser, showEpisodeNumber) {
|
||||
let stream_title = "";
|
||||
const { media_type, parent_media_index, media_index, title, grandparent_title, full_title, friendly_name } = session;
|
||||
if (media_type === "episode" && showEpisodeNumber) {
|
||||
const season_str = `S${parent_media_index.toString().padStart(2, "0")}`;
|
||||
const episode_str = `E${media_index.toString().padStart(2, "0")}`;
|
||||
stream_title = `${grandparent_title}: ${season_str} · ${episode_str} - ${title}`;
|
||||
} else {
|
||||
stream_title = full_title;
|
||||
}
|
||||
|
||||
return enableUser ? `${stream_title} (${friendly_name})` : stream_title;
|
||||
}
|
||||
|
||||
function SingleSessionEntry({ session, enableUser, showEpisodeNumber }) {
|
||||
const { duration, view_offset, progress_percent, state, video_decision, audio_decision } = session;
|
||||
|
||||
const stream_title = generateStreamTitle(session, enableUser, showEpisodeNumber);
|
||||
|
||||
return (
|
||||
<>
|
||||
<div className="text-theme-700 dark:text-theme-200 relative h-5 w-full rounded-md bg-theme-200/50 dark:bg-theme-900/20 mt-1 flex">
|
||||
<div className="text-xs z-10 self-center ml-2 relative w-full h-4 grow mr-2">
|
||||
<div className="absolute w-full whitespace-nowrap text-ellipsis overflow-hidden">{full_title}</div>
|
||||
<div className="absolute w-full whitespace-nowrap text-ellipsis overflow-hidden" title={stream_title}>
|
||||
{stream_title}
|
||||
</div>
|
||||
</div>
|
||||
<div className="self-center text-xs flex justify-end mr-1.5 pl-1">
|
||||
{video_decision === "direct play" && audio_decision === "direct play" && (
|
||||
@ -74,8 +92,10 @@ function SingleSessionEntry({ session }) {
|
||||
);
|
||||
}
|
||||
|
||||
function SessionEntry({ session }) {
|
||||
const { full_title, view_offset, progress_percent, state, video_decision, audio_decision } = session;
|
||||
function SessionEntry({ session, enableUser, showEpisodeNumber }) {
|
||||
const { view_offset, progress_percent, state, video_decision, audio_decision } = session;
|
||||
|
||||
const stream_title = generateStreamTitle(session, enableUser, showEpisodeNumber);
|
||||
|
||||
return (
|
||||
<div className="text-theme-700 dark:text-theme-200 relative h-5 w-full rounded-md bg-theme-200/50 dark:bg-theme-900/20 mt-1 flex">
|
||||
@ -94,7 +114,9 @@ function SessionEntry({ session }) {
|
||||
)}
|
||||
</div>
|
||||
<div className="text-xs z-10 self-center ml-2 relative w-full h-4 grow mr-2">
|
||||
<div className="absolute w-full whitespace-nowrap text-ellipsis overflow-hidden">{full_title}</div>
|
||||
<div className="absolute w-full whitespace-nowrap text-ellipsis overflow-hidden" title={stream_title}>
|
||||
{stream_title}
|
||||
</div>
|
||||
</div>
|
||||
<div className="self-center text-xs flex justify-end mr-1.5 pl-1 z-10">
|
||||
{video_decision === "direct play" && audio_decision === "direct play" && (
|
||||
@ -122,6 +144,10 @@ export default function Component({ service }) {
|
||||
refreshInterval: 5000,
|
||||
});
|
||||
|
||||
const enableUser = !!service.widget?.enableUser; // default is false
|
||||
const expandOneStreamToTwoRows = service.widget?.expandOneStreamToTwoRows !== false; // default is true
|
||||
const showEpisodeNumber = !!service.widget?.showEpisodeNumber; // default is false
|
||||
|
||||
if (activityError || (activityData && Object.keys(activityData.response.data).length === 0)) {
|
||||
return <Container service={service} error={activityError ?? { message: t("tautulli.plex_connection_error") }} />;
|
||||
}
|
||||
@ -132,9 +158,11 @@ export default function Component({ service }) {
|
||||
<div className="text-theme-700 dark:text-theme-200 text-xs relative h-5 w-full rounded-md bg-theme-200/50 dark:bg-theme-900/20 mt-1">
|
||||
<span className="absolute left-2 text-xs mt-[2px]">-</span>
|
||||
</div>
|
||||
{expandOneStreamToTwoRows && (
|
||||
<div className="text-theme-700 dark:text-theme-200 text-xs relative h-5 w-full rounded-md bg-theme-200/50 dark:bg-theme-900/20 mt-1">
|
||||
<span className="absolute left-2 text-xs mt-[2px]">-</span>
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
);
|
||||
}
|
||||
@ -155,18 +183,20 @@ export default function Component({ service }) {
|
||||
<div className="text-theme-700 dark:text-theme-200 text-xs relative h-5 w-full rounded-md bg-theme-200/50 dark:bg-theme-900/20 mt-1">
|
||||
<span className="absolute left-2 text-xs mt-[2px]">{t("tautulli.no_active")}</span>
|
||||
</div>
|
||||
{expandOneStreamToTwoRows && (
|
||||
<div className="text-theme-700 dark:text-theme-200 text-xs relative h-5 w-full rounded-md bg-theme-200/50 dark:bg-theme-900/20 mt-1">
|
||||
<span className="absolute left-2 text-xs mt-[2px]">-</span>
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
if (playing.length === 1) {
|
||||
if (expandOneStreamToTwoRows && playing.length === 1) {
|
||||
const session = playing[0];
|
||||
return (
|
||||
<div className="flex flex-col pb-1 mx-1">
|
||||
<SingleSessionEntry session={session} />
|
||||
<SingleSessionEntry session={session} enableUser={enableUser} showEpisodeNumber={showEpisodeNumber} />
|
||||
</div>
|
||||
);
|
||||
}
|
||||
@ -174,7 +204,12 @@ export default function Component({ service }) {
|
||||
return (
|
||||
<div className="flex flex-col pb-1 mx-1">
|
||||
{playing.map((session) => (
|
||||
<SessionEntry key={session.Id} session={session} />
|
||||
<SessionEntry
|
||||
key={session.Id}
|
||||
session={session}
|
||||
enableUser={enableUser}
|
||||
showEpisodeNumber={showEpisodeNumber}
|
||||
/>
|
||||
))}
|
||||
</div>
|
||||
);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user