new: more battery data & fix: auto reload
This commit is contained in:
@@ -2,9 +2,9 @@
|
||||
|
||||
class BuildData {
|
||||
static const String name = "ServerBox";
|
||||
static const int build = 683;
|
||||
static const int build = 685;
|
||||
static const String engine = "3.16.4";
|
||||
static const String buildAt = "2023-12-19 15:25:07";
|
||||
static const int modifications = 1;
|
||||
static const String buildAt = "2023-12-20 14:09:17";
|
||||
static const int modifications = 4;
|
||||
static const int script = 32;
|
||||
}
|
||||
|
||||
@@ -5,14 +5,15 @@ import 'package:toolbox/data/model/ssh/virtual_key.dart';
|
||||
abstract final class Defaults {
|
||||
// default server details page cards order
|
||||
static const detailCardOrder = [
|
||||
'uptime',
|
||||
'sys',
|
||||
'cpu',
|
||||
'mem',
|
||||
'swap',
|
||||
'gpu',
|
||||
'disk',
|
||||
'net',
|
||||
'temp'
|
||||
'temp',
|
||||
'battery'
|
||||
];
|
||||
|
||||
static const diskIgnorePath = [
|
||||
|
||||
@@ -3,28 +3,27 @@ import 'package:flutter/material.dart';
|
||||
abstract final class UIs {
|
||||
/// Font style
|
||||
|
||||
static const textSize9Grey = TextStyle(color: Colors.grey, fontSize: 9);
|
||||
static const textSize11 = TextStyle(fontSize: 11);
|
||||
static const textSize11Bold = TextStyle(
|
||||
static const text11 = TextStyle(fontSize: 11);
|
||||
static const text11Bold = TextStyle(
|
||||
fontSize: 11,
|
||||
fontWeight: FontWeight.w500,
|
||||
);
|
||||
static const textSize11Grey = TextStyle(color: Colors.grey, fontSize: 11);
|
||||
static const text11Grey = TextStyle(color: Colors.grey, fontSize: 11);
|
||||
static const text12 = TextStyle(fontSize: 12);
|
||||
static const text12Bold = TextStyle(
|
||||
fontSize: 12,
|
||||
fontWeight: FontWeight.bold,
|
||||
);
|
||||
static const text12Grey = TextStyle(color: Colors.grey, fontSize: 12);
|
||||
static const textSize13 = TextStyle(fontSize: 13);
|
||||
static const textSize13Bold = TextStyle(
|
||||
static const text13 = TextStyle(fontSize: 13);
|
||||
static const text13Bold = TextStyle(
|
||||
fontSize: 13,
|
||||
fontWeight: FontWeight.bold,
|
||||
);
|
||||
static const textSize13Grey = TextStyle(color: Colors.grey, fontSize: 13);
|
||||
static const textSize15 = TextStyle(fontSize: 15);
|
||||
static const textSize18 = TextStyle(fontSize: 18);
|
||||
static const textSize27 = TextStyle(fontSize: 27);
|
||||
static const text13Grey = TextStyle(color: Colors.grey, fontSize: 13);
|
||||
static const text15 = TextStyle(fontSize: 15);
|
||||
static const text18 = TextStyle(fontSize: 18);
|
||||
static const text27 = TextStyle(fontSize: 27);
|
||||
static const textGrey = TextStyle(color: Colors.grey);
|
||||
static const textRed = TextStyle(color: Colors.red);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user