Convert OpenID sidebar to template

This commit is contained in:
Sunil Mohan Adapa 2014-05-05 23:58:14 +05:30
parent 6d83ad3c00
commit 8ddd98ade0
2 changed files with 12 additions and 7 deletions

View File

@ -20,10 +20,4 @@ class Services(PagePlugin):
@cherrypy.expose
@require()
def openid(self):
return util.render_template(title="Open ID", main='',
sidebar_right="""
<strong>One Login for Every Site</strong><p>Your %s is also an OpenID
machine. It can generate credentials that allow you to log in to many
websites without the need to remember or enter a separate username and
password at each one.</p>
""" % cfg.box_name)
return util.render_template(template='openid', title="Open ID")

View File

@ -0,0 +1,11 @@
{% extends "login_nav.html" %}
{% block main_block %}
<p class='lead'>One Login for Every Site</p>
<p>Your {{ cfg.box_name }} is also an OpenID machine. It can generate
credentials that allow you to log in to many websites without the need
to remember or enter a separate username and password at each one.</p>
{% endblock %}