Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don’t nest labels #3

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
<body>
<h1>pass.js</h1>

<label id="private_key_drop_area" class="drop-area" for="private_key_file_input">
<h2>Drop private key file here</h2>
<div id="private_key_drop_area" class="drop-area">
<label for="private_key_file_input"><h2>Drop private key file here</h2></label>
<input type="file" id="private_key_file_input" />

<div id="key_password_area" style="display: none">
Expand All @@ -26,7 +26,7 @@ <h2>Drop private key file here</h2>
<div id="private_key_error_notification" style="display: none">
File is probably not containing a valid OpenPGP private key
</div>
</label>
</div>

<label id="encrypted_file_drop_area" class="drop-area" for="encrypted_file_file_input">
<h2>Drop encrypted file here</h2>
Expand Down