Redesign Tools page UI and refine site-wide styling

- Consolidate Tools into single card with tab toggle (Capacity/EXIF/Strip)
- Remove non-functional Peek feature (requires keys due to PRNG scattering)
- Add lime green (#a3e635) tool tab styling
- Add light straw gold (#fee862) card header text site-wide
- Add subtle drop shadow to headers and warning text
- Match Tools page styling to Encode/Decode pages

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Aaron D. Lee
2026-01-04 13:24:12 -05:00
parent d71f615d66
commit 3537e8cdf9
3 changed files with 495 additions and 228 deletions

View File

@@ -1373,26 +1373,6 @@ def api_tools_strip_metadata():
return jsonify({"success": False, "error": str(e)}), 400
@app.route("/api/tools/peek", methods=["POST"])
@login_required
def api_tools_peek():
"""Check if image contains Stegasoo header."""
from stegasoo.steganography import peek_image
image_file = request.files.get("image")
if not image_file:
return jsonify({"success": False, "error": "No image provided"}), 400
try:
image_data = image_file.read()
result = peek_image(image_data)
result["success"] = True
result["filename"] = image_file.filename
return jsonify(result)
except Exception as e:
return jsonify({"success": False, "error": str(e)}), 400
@app.route("/api/tools/exif", methods=["POST"])
@login_required
def api_tools_exif():