Minimal single-column layout for direct /finger/<user> links

Direct links now render a results-first single-column view: drop the
About Finger panel, success banner, timestamp and back-to-home button,
and replace the lookup card with a small inline form next to the heading.
The interactive /finger page keeps its original two-column layout.
This commit is contained in:
pmb
2026-06-15 20:26:55 -07:00
parent b99636d3c0
commit a49545796a
2 changed files with 60 additions and 8 deletions
+1 -1
View File
@@ -167,7 +167,7 @@ def finger_direct(username):
else:
error = output
return render_template('finger.html', title=f'Finger - {username}', result=result, error=error, username=username)
return render_template('finger.html', title=f'Finger - {username}', result=result, error=error, username=username, direct=True)
@app.route('/api/finger')
@app.route('/api/finger/<path:username>')