summaryrefslogtreecommitdiff
path: root/templates/openid-selector.tmpl
blob: 06eefebb97d72c785cab85c53ca862a958aa0211 (plain)
  1. <script type="text/javascript" src="ikiwiki/openid/jquery.js"></script>
  2. <script type="text/javascript" src="ikiwiki/openid/openid-jquery.js"></script>
  3. <script type="text/javascript">
  4. $(document).ready(function() {
  5. openid.init('openid_identifier', "<TMPL_VAR NONOPENIDURL>");
  6. });
  7. </script>
  8. <form action="<TMPL_VAR CGIURL>" method="get" id="openid_form">
  9. <fieldset>
  10. <legend>Select your account provider</legend>
  11. <input type="hidden" name="do" value="signin" />
  12. <input type="hidden" name="action" value="verify" />
  13. <div id="openid_choice">
  14. <div id="openid_btns"></div>
  15. </div>
  16. <div id="openid_input_area">
  17. <input id="openid_identifier" name="openid_identifier" type="text" value="<TMPL_VAR OPENID_URL>"/>
  18. <input id="openid_submit" type="submit" value="Login"/>
  19. </div>
  20. <TMPL_IF OPENID_ERROR>
  21. <div class="error"><TMPL_VAR OPENID_ERROR></div>
  22. </TMPL_IF>
  23. </fieldset>
  24. </form>