mirror of
https://github.com/lollipopkit/flutter_server_box.git
synced 2025-12-18 07:44:26 +01:00
#43 new: bsd base support
This commit is contained in:
@@ -474,24 +474,24 @@ class _DockerManagePageState extends State<DockerManagePage> {
|
||||
'Docker terminal',
|
||||
).go(context);
|
||||
break;
|
||||
case DockerMenuType.stats:
|
||||
showRoundDialog(
|
||||
context: context,
|
||||
title: Text(_s.stats),
|
||||
child: Text(
|
||||
'CPU: ${dItem.cpu}\n'
|
||||
'Mem: ${dItem.mem}\n'
|
||||
'Net: ${dItem.net}\n'
|
||||
'Block: ${dItem.disk}',
|
||||
),
|
||||
actions: [
|
||||
TextButton(
|
||||
onPressed: () => context.pop(),
|
||||
child: Text(_s.ok),
|
||||
),
|
||||
],
|
||||
);
|
||||
break;
|
||||
// case DockerMenuType.stats:
|
||||
// showRoundDialog(
|
||||
// context: context,
|
||||
// title: Text(_s.stats),
|
||||
// child: Text(
|
||||
// 'CPU: ${dItem.cpu}\n'
|
||||
// 'Mem: ${dItem.mem}\n'
|
||||
// 'Net: ${dItem.net}\n'
|
||||
// 'Block: ${dItem.disk}',
|
||||
// ),
|
||||
// actions: [
|
||||
// TextButton(
|
||||
// onPressed: () => context.pop(),
|
||||
// child: Text(_s.ok),
|
||||
// ),
|
||||
// ],
|
||||
// );
|
||||
// break;
|
||||
}
|
||||
},
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user