diff options
author | Joey Hess <joey@kitenet.net> | 2010-05-07 21:44:06 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2010-05-07 21:46:11 -0400 |
commit | 885ac1de47f001f6dcc2393ac8b14f717c2d1780 (patch) | |
tree | 67581cf9e51c1f3c284cca60550f7ceee5a5e8d0 /templates | |
parent | e2a76696dd9d42c6ed66b831bfd441baadfb4893 (diff) | |
download | ikiwiki-885ac1de47f001f6dcc2393ac8b14f717c2d1780.tar ikiwiki-885ac1de47f001f6dcc2393ac8b14f717c2d1780.tar.gz |
improve display w/noscript
Diffstat (limited to 'templates')
-rw-r--r-- | templates/openid-selector.tmpl | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/templates/openid-selector.tmpl b/templates/openid-selector.tmpl index 06eefebb9..7e5ae9a01 100644 --- a/templates/openid-selector.tmpl +++ b/templates/openid-selector.tmpl @@ -10,6 +10,13 @@ $(document).ready(function() { <fieldset> <legend>Select your account provider</legend> + <noscript> + <ul> + <TMPL_IF NONOPENIDURL> + <li><a href="<TMPL_VAR NONOPENIDURL>">Local Account</a></li> + </TMPL_IF> + <li>OpenID:</div> + </noscript> <input type="hidden" name="do" value="signin" /> <input type="hidden" name="action" value="verify" /> <div id="openid_choice"> @@ -22,5 +29,9 @@ $(document).ready(function() { <TMPL_IF OPENID_ERROR> <div class="error"><TMPL_VAR OPENID_ERROR></div> </TMPL_IF> + <noscript> + </li> + </ul> + </noscript> </fieldset> </form> |