Replace 'DN' with 'Managed Nebula' (#139)

This commit is contained in:
John Maguire 2023-10-05 14:41:40 -04:00 committed by GitHub
parent 83145f6fa4
commit fbd2759d4f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -156,7 +156,7 @@ class _EnrollmentScreenState extends State<EnrollmentScreen> {
final dnIcon = Theme.of(context).brightness == Brightness.dark ? 'images/dn-logo-dark.svg' : 'images/dn-logo-light.svg'; final dnIcon = Theme.of(context).brightness == Brightness.dark ? 'images/dn-logo-dark.svg' : 'images/dn-logo-light.svg';
return SimplePage( return SimplePage(
title: Text('Enroll with DN', style: TextStyle(fontWeight: FontWeight.bold)), title: Text('Enroll with Managed Nebula', style: TextStyle(fontWeight: FontWeight.bold)),
child: Padding(child: child, padding: EdgeInsets.symmetric(horizontal: 10)), child: Padding(child: child, padding: EdgeInsets.symmetric(horizontal: 10)),
alignment: alignment alignment: alignment
); );

View File

@ -89,7 +89,7 @@ class _SettingsScreenState extends State<SettingsScreen> {
final dnIcon = Theme.of(context).brightness == Brightness.dark ? 'images/dn-logo-dark.svg' : 'images/dn-logo-light.svg'; final dnIcon = Theme.of(context).brightness == Brightness.dark ? 'images/dn-logo-dark.svg' : 'images/dn-logo-light.svg';
items.add(ConfigSection(children: [ items.add(ConfigSection(children: [
ConfigPageItem( ConfigPageItem(
label: Text('Enroll with DN'), label: Text('Enroll with Managed Nebula'),
labelWidth: 200, labelWidth: 200,
onPressed: () => Utils.openPage(context, (context) => EnrollmentScreen(stream: widget.stream, allowCodeEntry: true)) onPressed: () => Utils.openPage(context, (context) => EnrollmentScreen(stream: widget.stream, allowCodeEntry: true))
) )

View File

@ -60,7 +60,7 @@ func RenderConfig(configData string, key string) (string, error) {
if err != nil { if err != nil {
return "", err return "", err
} }
return "# DN-managed config\n" + string(yamlCfg), nil return "# Managed Nebula Config (defined.net)\n" + string(yamlCfg), nil
} }
// Otherwise, build the config // Otherwise, build the config