mirror of
https://github.com/TeamPiped/Piped.git
synced 2024-11-22 13:37:23 +00:00
Add uptime percentage column.
This commit is contained in:
parent
144cf0be74
commit
5ed4f4dd0c
@ -345,6 +345,7 @@
|
|||||||
<th v-t="'preferences.registered_users'" />
|
<th v-t="'preferences.registered_users'" />
|
||||||
<th v-t="'preferences.version'" class="lt-md:hidden" />
|
<th v-t="'preferences.version'" class="lt-md:hidden" />
|
||||||
<th v-t="'preferences.up_to_date'" />
|
<th v-t="'preferences.up_to_date'" />
|
||||||
|
<th v-t="'preferences.uptime_30d'" />
|
||||||
<th v-t="'preferences.ssl_score'" />
|
<th v-t="'preferences.ssl_score'" />
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
@ -356,6 +357,7 @@
|
|||||||
<td v-text="instance.registered" />
|
<td v-text="instance.registered" />
|
||||||
<td class="lt-md:hidden" v-text="instance.version" />
|
<td class="lt-md:hidden" v-text="instance.version" />
|
||||||
<td v-text="`${instance.up_to_date ? '✅' : '❌'}`" />
|
<td v-text="`${instance.up_to_date ? '✅' : '❌'}`" />
|
||||||
|
<td v-text="`${Number.parseFloat(instance.uptime_30d.toFixed(2))}%`" />
|
||||||
<td>
|
<td>
|
||||||
<a v-t="'actions.view_ssl_score'" :href="sslScore(instance.api_url)" target="_blank" />
|
<a v-t="'actions.view_ssl_score'" :href="sslScore(instance.api_url)" target="_blank" />
|
||||||
</td>
|
</td>
|
||||||
|
@ -164,7 +164,8 @@
|
|||||||
"registered_users": "Registered Users",
|
"registered_users": "Registered Users",
|
||||||
"version": "Version",
|
"version": "Version",
|
||||||
"up_to_date": "Up to date?",
|
"up_to_date": "Up to date?",
|
||||||
"ssl_score": "SSL Score"
|
"ssl_score": "SSL Score",
|
||||||
|
"uptime_30d": "Uptime (30d)"
|
||||||
},
|
},
|
||||||
"login": {
|
"login": {
|
||||||
"username": "Username",
|
"username": "Username",
|
||||||
|
Loading…
Reference in New Issue
Block a user