Source

stucco_openid / ponzi_openid / templates / openid.jinja2

Full commit
{% extends 'base.jinja2' %}
{% block title %}Login with your third-party account.{% endblock %}
{% block css %}
{{ super() }}
<link rel="stylesheet" type="text/css" media="screen" href="{{ request.script_name }}/static/css/openid.css" />
{% endblock %}
{% block body %}
<form method="post" action="{{ request.url }}" id="openid"></form>
{% endblock %}
{% block js %}
{{ super() }}
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.1/jquery.min.js"></script>
<script type="text/javascript" src="{{ request.script_name }}/static/js/jquery.openid.min.js"></script>
<script type="text/javascript">
  $(function() {
    $('#openid').openid({
      img_path: '{{ request.script_name }}/static/img',
      txt: {
        label: 'Ingresá tu {username} de <b>{provider}</b>',
        username: 'usuario',
        title: 'Seleccioná la página donde tengas una cuenta.',
        sign: 'Ir'
      }
    });
  });
</script>
{% endblock %}