mirror of
https://github.com/lollipopkit/flutter_server_box.git
synced 2025-12-17 15:24:35 +01:00
Update README.md
This commit is contained in:
@@ -18,7 +18,7 @@ English | [简体中文](README_zh.md)
|
|||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p align="center">
|
<p align="center">
|
||||||
A Flutter project which provide charts to display Linux[](../../issues/43) server status and tools to manage server.
|
A Flutter project which provide charts to display <a href="../../issues/43">Linux</a> server status and tools to manage server.
|
||||||
<br>
|
<br>
|
||||||
Especially thanks to <a href="https://github.com/TerminalStudio/dartssh2">dartssh2</a> & <a href="https://github.com/TerminalStudio/xterm.dart">xterm.dart</a>.
|
Especially thanks to <a href="https://github.com/TerminalStudio/dartssh2">dartssh2</a> & <a href="https://github.com/TerminalStudio/xterm.dart">xterm.dart</a>.
|
||||||
</p>
|
</p>
|
||||||
|
|||||||
@@ -18,7 +18,7 @@
|
|||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p align="center">
|
<p align="center">
|
||||||
使用Flutter开发的服务器工具箱,提供服务器状态图表和管理工具。
|
使用 Flutter 开发的 <a href="../../issues/43">Linux</a> 服务器工具箱,提供服务器状态图表和管理工具。
|
||||||
<br>
|
<br>
|
||||||
特别感谢 <a href="https://github.com/TerminalStudio/dartssh2">dartssh2</a> & <a href="https://github.com/TerminalStudio/xterm.dart">xterm.dart</a>.
|
特别感谢 <a href="https://github.com/TerminalStudio/dartssh2">dartssh2</a> & <a href="https://github.com/TerminalStudio/xterm.dart">xterm.dart</a>.
|
||||||
</p>
|
</p>
|
||||||
|
|||||||
@@ -575,25 +575,27 @@ class _SettingPageState extends State<SettingPage> {
|
|||||||
final paths = _setting.diskIgnorePath.fetch()!;
|
final paths = _setting.diskIgnorePath.fetch()!;
|
||||||
return ListTile(
|
return ListTile(
|
||||||
title: Text(_s.diskIgnorePath),
|
title: Text(_s.diskIgnorePath),
|
||||||
trailing: Text(_s.edit, style: textSize15,),
|
trailing: Text(_s.edit, style: textSize15),
|
||||||
onTap: () {
|
onTap: () {
|
||||||
showRoundDialog(context: context, child: Input(
|
showRoundDialog(
|
||||||
controller: TextEditingController(text: json.encode(paths)),
|
context: context,
|
||||||
label: 'JSON',
|
child: Input(
|
||||||
type: TextInputType.visiblePassword,
|
controller: TextEditingController(text: json.encode(paths)),
|
||||||
maxLines: 3,
|
label: 'JSON',
|
||||||
onSubmitted: (p0) {
|
type: TextInputType.visiblePassword,
|
||||||
try {
|
maxLines: 3,
|
||||||
final list = List<String>.from(json.decode(p0));
|
onSubmitted: (p0) {
|
||||||
_setting.diskIgnorePath.put(list);
|
try {
|
||||||
context.pop();
|
final list = List<String>.from(json.decode(p0));
|
||||||
showSnackBar(context, Text(_s.success));
|
_setting.diskIgnorePath.put(list);
|
||||||
} catch (e) {
|
context.pop();
|
||||||
showSnackBar(context, Text(e.toString()));
|
showSnackBar(context, Text(_s.success));
|
||||||
}
|
} catch (e) {
|
||||||
},
|
showSnackBar(context, Text(e.toString()));
|
||||||
));
|
}
|
||||||
},
|
},
|
||||||
|
));
|
||||||
|
},
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user