/usr/lib/python2.7/dist-packages/sagenb/data/sage/html/accounts/openid_profile.html is in python-sagenb 1.0.1+ds1-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 | {% extends "html/base.html" %}
{% block title %}Create your Sage profile{% endblock %}
{% block page_id %}login-page{% endblock %}
{% block main %}
<div>
<h2>Create your Sage profile </h2>
<form method="POST" action="/openid_profiles">
<ol>
<li>
<h2>Create a username</h2>
<p>Your username must start with a letter and be between 3 and 64
characters long. You may only use letters, numbers, underscores, @,
and dots.</p>
<input type="text" name="username" value="{{ resp.fullname }}" class="entry" tabindex="1" />
{% if username_missing %}
<p><span style="color:red">Error:</span> No username given</p>
{% endif %}
{% if username_taken %}
<p><span style="color:red">Error:</span> Username already in use</p>
{% endif %}
{% if username_invalid %}
<p><span style="color:red">Error:</span> Bad username</p>
{% endif %}
</li>
<li>
<h2>Enter your email address</h2>
<p>
Your email address is required for account
confirmation and recovery.
</p>
<input type="email" name="email" value="{{ resp.email }}" class="entry" tabindex="4" />
{% if email_missing %}
<p><span style="color:red">Error:</span> No email address given</p>
{% endif %}
{% if email_invalid %}
<p><span style="color:red">Error:</span> Invalid email address</p>
{% endif %}
</li>
{% if challenge %}
<li>
<h2>Answer a challenge</h2>
{{ challenge_html }}
{% if challenge_missing %}
<p><span class="error">Error:</span> No challenge response given</p>
{% endif %}
{% if challenge_invalid %}
<p><span class="error">Error:</span> Invalid challenge response</p>
{% endif %}
</li>
{% endif %}
</ol>
<div>
<input type="hidden" name="next", value="{{next}}"/>
<button type="submit">Create profile</button>
</div>
</form>
</div>
{% endblock %}
|