Skip to content

Commit

Permalink
chore: add trash icon, add test items
Browse files Browse the repository at this point in the history
  • Loading branch information
nobkd committed Apr 20, 2023
1 parent 4753840 commit 192577e
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 3 deletions.
14 changes: 14 additions & 0 deletions public/trash.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 5 additions & 2 deletions src/options.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,16 @@
<input
type="text"
pattern="^\S+\.[^\s\.]+$"
placeholder="Hostname following the schema: (sub.)domain.tld"
placeholder="(sub.)domain.tld"
name="hostname"
id="hostname"
required />
<input type="submit" value="Disable" />
</form>
</section>
<section class="table"></section>
<section class="table">
<div><span>test</span><button></button></div>
<div><span>test</span><button></button></div>
</section>
</body>
</html>
6 changes: 5 additions & 1 deletion src/styles/options.css
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,16 @@ body > section {
}

.table button {
padding: 0.1rem;
width: 2rem;
height: 2rem;
}

.table button::before {
content: 'rm';
display: block;
content: url('/trash.svg');
width: 100%;
height: 100%;
}

.form {
Expand Down

0 comments on commit 192577e

Please sign in to comment.