mirror of
https://github.com/lollipopkit/flutter_server_box.git
synced 2026-02-08 09:15:11 +01:00
new: detail status page
This commit is contained in:
@@ -4,7 +4,7 @@ class BuildData {
|
||||
static const String name = "ServerBox";
|
||||
static const int build = 618;
|
||||
static const String engine = "3.13.8";
|
||||
static const String buildAt = "2023-10-30 17:18:16";
|
||||
static const int modifications = 5;
|
||||
static const String buildAt = "2023-10-31 15:59:28";
|
||||
static const int modifications = 7;
|
||||
static const int script = 23;
|
||||
}
|
||||
|
||||
@@ -6,6 +6,8 @@ class Miscs {
|
||||
/// RegExp for number
|
||||
static final numReg = RegExp(r'\s{1,}');
|
||||
|
||||
static final blankReg = RegExp(r'\s+');
|
||||
|
||||
/// RegExp for password request
|
||||
static final pwdRequestWithUserReg = RegExp(r'\[sudo\] password for (.+):');
|
||||
|
||||
|
||||
@@ -46,8 +46,8 @@ class InitStatus {
|
||||
uptime: '',
|
||||
disk: [
|
||||
const Disk(
|
||||
path: '/',
|
||||
loc: '/',
|
||||
dev: '/',
|
||||
mount: '/',
|
||||
usedPercent: 0,
|
||||
used: '0',
|
||||
size: '0',
|
||||
@@ -63,5 +63,6 @@ class InitStatus {
|
||||
),
|
||||
system: SystemType.linux,
|
||||
temps: Temperatures(),
|
||||
diskIO: DiskIO([], []),
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user