From 1c8fbc60c03d579122faa199fc2956558fd2d557 Mon Sep 17 00:00:00 2001 From: Matthew Grotke Date: Sun, 24 May 2026 00:22:11 -0400 Subject: [PATCH] Development --- docker/routlin-dash/app/view_page.py | 4 ++-- routlin/install.py | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/docker/routlin-dash/app/view_page.py b/docker/routlin-dash/app/view_page.py index dab25e1..1a20c3a 100644 --- a/docker/routlin-dash/app/view_page.py +++ b/docker/routlin-dash/app/view_page.py @@ -330,7 +330,7 @@ def _config_datasource(name): f'P: •••') elif ptype in ('cloudflare', 'duckdns'): tok = p.get('api_token', '') - row['credentials'] = f'API Token: {e(tok[:16])}...' if tok else '(not set)' + row['credentials'] = f'API Token: {e(tok[:24])}...' if tok else '(not set)' else: row['credentials'] = '-' row['hostnames'] = json.dumps(p.get('hostnames', p.get('subdomains', []))) @@ -1493,7 +1493,7 @@ def render_layout(view_id, content_html, tokens): text = e(item.get('detail', item.get('name', ''))) tip = item.get('suggestion', '') if tip: - text += f' - {e(tip)}' + text += f' {e(tip)}' problem_bars += f'
{text}
\n' except Exception: pass diff --git a/routlin/install.py b/routlin/install.py index 79c220e..090acdc 100644 --- a/routlin/install.py +++ b/routlin/install.py @@ -599,6 +599,10 @@ def main(): print(" and that port 80 and 443 are forwarded to this machine.") print() print("Done.") + print() + print(" Next step: use the web dashboard to configure your network, or") + print(f" configure {SCRIPT_DIR}/core.json manually and then run:") + print(f" sudo python3 {SCRIPT_DIR}/core.py --apply") if __name__ == "__main__":