Merge lp:~canonical-isd-hackers/canonical-identity-provider/disable-unsupported-devices into lp:canonical-identity-provider/release

Proposed by Michael Foord
Status: Merged
Approved by: Simon Davy
Approved revision: no longer in the source branch.
Merged at revision: 298
Proposed branch: lp:~canonical-isd-hackers/canonical-identity-provider/disable-unsupported-devices
Merge into: lp:canonical-identity-provider/release
Diff against target: 29 lines (+3/-3)
1 file modified
identityprovider/templates/device/types.html (+3/-3)
To merge this branch: bzr merge lp:~canonical-isd-hackers/canonical-identity-provider/disable-unsupported-devices
Reviewer Review Type Date Requested Status
Canonical ISD hackers Pending
Review via email: mp+89742@code.launchpad.net

Commit message

Disable unsupported devices in the add authentication device type view.

To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'identityprovider/templates/device/types.html'
2--- identityprovider/templates/device/types.html 2012-01-12 21:50:25 +0000
3+++ identityprovider/templates/device/types.html 2012-01-23 17:23:24 +0000
4@@ -24,14 +24,14 @@
5 <dl>
6
7 <dt style="font-weight: bold"><label>
8- <input type="radio" name="type" value="yubi" id="type_yubi"> YubiKey
9+ <input type="radio" name="type" value="yubi" id="type_yubi" disabled="disabled"> YubiKey
10 </label></dt>
11 <dd style="margin-left: 2em">
12 <p><label for="type_yubi">blah blah blah</label></p>
13 </dd>
14
15 <dt style="font-weight: bold"><label>
16- <input type="radio" name="type" value="google" id="type_google"> Google Authenticator
17+ <input type="radio" name="type" value="google" id="type_google" disabled="disabled"> Google Authenticator
18 </label></dt>
19 <dd style="margin-left: 2em">
20 <p><label for="type_google">blah blah blah</label></p>
21@@ -45,7 +45,7 @@
22 </dd>
23
24 <dt style="font-weight: bold"><label>
25- <input type="radio" name="type" value="paper" id="type_paper"> One-time pad
26+ <input type="radio" name="type" value="paper" id="type_paper" disabled="disabled"> One-time pad
27 </label></dt>
28 <dd style="margin-left: 2em">
29 <p><label for="type_paper">A paper with a list of one-time