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