Source code of this demo
The live demo is the Fraktal HMI, licensed under the GNU Affero General Public License, version 3 only. Its Corresponding Source is the Fraktal repository at the exact revision below, plus the small deployment patch on this page. You may copy, modify and redistribute it under the same licence.
1. The program
- Repository: https://github.com/MrFrakt/Fraktal
- Revision:
a1163c7c7bec21988167bc971145b1366206e9ce - Folder:
FraktalCore/HMI - Download: the whole repository at this revision (.zip)
- Licence and notices: LICENSING.md, LICENSE, NOTICE
2. The deployment patch
Applied to the source above before building (deployment.patch):
diff --git a/FraktalCore/HMI/lib/localization/default_catalogs.dart b/FraktalCore/HMI/lib/localization/default_catalogs.dart
index 3239ba6..05d8e20 100644
--- a/FraktalCore/HMI/lib/localization/default_catalogs.dart
+++ b/FraktalCore/HMI/lib/localization/default_catalogs.dart
@@ -311,7 +311,7 @@ const standardEnglish = <String, String>{
'std.theme.group.standardHelp':
'Flat, conventional colours with colour reserved for status. ISA-101 marks the high-performance grey themes.',
'std.theme.group.modern': 'Modern',
- 'std.theme.likeABosch': 'Like a Bosch',
+ 'std.theme.likeABosch': 'Industrial Strip',
'std.theme.group.inspired': 'Industry inspired',
'std.theme.group.inspiredHelp':
'Themes inspired by familiar industrial interfaces.',
@@ -1509,7 +1509,7 @@ const standardSpanish = <String, String>{
'std.theme.group.standardHelp':
'Colores planos y convencionales; el color se reserva para el estado. ISA-101 marca los temas grises de alto rendimiento.',
'std.theme.group.modern': 'Modernos',
- 'std.theme.likeABosch': 'Like a Bosch',
+ 'std.theme.likeABosch': 'Industrial Strip',
'std.theme.group.inspired': 'Inspirados en la industria',
'std.theme.group.inspiredHelp':
'Temas inspirados en interfaces industriales conocidas.',
3. How it was built and served
From FraktalCore/HMI, with the Flutter SDK the repository pins:
flutter build web --release --base-href=/demo/ --no-web-resources-cdn --no-wasm-dry-run
The page around the app adds three files of its own, readable as served: index.html (the notice bar), seed.js (selects the built-in simulation for a first-time visitor, in this browser's local storage, and the Reset button), and the last lines of flutter_bootstrap.js (starts the app above the notice bar).
4. Where your data goes
Nowhere. The demo is the HMI's integrated simulation: the plant runs in your browser, and any settings, logins or changes are kept in this browser's local storage only. No other visitor sees them.