chore(deps): update pre-commit hook pre-commit/mirrors-prettier to v3 (stable) (#2614)
* chore(deps): update pre-commit hook pre-commit/mirrors-prettier to v3 * style: format code using prettier v3.0.0 --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: jo <ljonas@riseup.net>
This commit is contained in:
parent
74737cf3c4
commit
8c5512cd73
35 changed files with 374 additions and 374 deletions
|
@ -36,7 +36,7 @@ function generatePartitions(partitions) {
|
|||
spaceUsedGb,
|
||||
totalSpaceGb,
|
||||
percUsed,
|
||||
percUsed
|
||||
percUsed,
|
||||
);
|
||||
var tr = $(row);
|
||||
lastElement.after(tr);
|
||||
|
@ -71,12 +71,12 @@ function success(data, textStatus, jqXHR) {
|
|||
$(children[2]).text(
|
||||
sprintf(
|
||||
"%(days)sd %(hours)sh %(minutes)sm %(seconds)ss",
|
||||
convertSecondsToDaysHoursMinutesSeconds(s.uptime_seconds)
|
||||
)
|
||||
convertSecondsToDaysHoursMinutesSeconds(s.uptime_seconds),
|
||||
),
|
||||
);
|
||||
$(children[3]).text(s.cpu_perc);
|
||||
$(children[4]).text(
|
||||
sprintf("%01.1fMB (%s)", parseInt(s.memory_kb) / 1000, s.memory_perc)
|
||||
sprintf("%01.1fMB (%s)", parseInt(s.memory_kb) / 1000, s.memory_perc),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
@ -92,7 +92,7 @@ function updateStatus(getDiskInfo) {
|
|||
$.getJSON(
|
||||
baseUrl + "api/status/format/json/diskinfo/" + getDiskInfo,
|
||||
null,
|
||||
success
|
||||
success,
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue