Skip to content

Commit

Permalink
Fix file path, add aria attr to search input
Browse files Browse the repository at this point in the history
  • Loading branch information
hbmartin committed Jan 26, 2025
1 parent 995a406 commit 2808bc8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion overcast_to_sqlite/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ def html(
else:
html_output_path = Path(db_path).parent / "overcast-played.html"
generate_html_played(db_path, html_output_path)
print("📝Saved HTML to: file://", html_output_path.absolute())
print(f"📝Saved HTML to: file://{html_output_path.absolute()}")


@cli.command("all")
Expand Down
8 changes: 7 additions & 1 deletion overcast_to_sqlite/html/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,13 @@

<body>
<main>
<input type="text" oninput="searchEps(this.value)" placeholder="Search">
<input
type="text"
id="episode-search"
oninput="searchEps(this.value)"
placeholder="Search episodes..."
aria-label="Search episodes"
/>
{episodes}
</main>
<footer>
Expand Down

0 comments on commit 2808bc8

Please sign in to comment.