Koha/koha-tmpl/opac-tmpl/bootstrap/en/includes/overdrive-login.inc
Nick Clemens 32dc4a7bfa Bug 21542: Use modal and password field for overdrive password
To test:
 1 - Enabled Overdrive and fill all preferences
 2 - Make sure OverDrivePasswordRequired is true
 3 - Go to opac account
 4 - Log in to overdrive
 5 - Note the input is shown
 6 - Apply patch
 7 - Repeat
 8 - Note popup is now a modal
 9 - Note password is now hidden
10 - Confirm overdrive integration works as before

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
2018-10-17 12:26:18 +00:00

18 lines
958 B
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<div id="overdrive-login" class="modal hide" tabindex="-1" role="dialog" aria-labelledby="overdrive-login-label" aria-hidden="true">
<div class="modal-header">
<button type="button" class="closebtn" data-dismiss="modal" aria-hidden="true">×</button>
<h3 id="overdrive-login-label">Login</h3>
</div>
<form action="#" method="post" id="overdrive-login-form">
<div class="modal-body">
<fieldset class="brief">
<label for="ODpassword">Password:</label>
<input type="password" name="ODpassword" value="" />
</fieldset>
</div>
<div class="modal-footer">
<input type="submit" class="btn btn-primary overdrive-checkout-submit" value="Login" />
<a href="#" data-dismiss="modal" aria-hidden="true" class="cancel">Cancel</a>
</div>
</form> <!-- /#overdrive-login-form -->
</div> <!-- /#overdrive-login -->