Convert OpenID sidebar to template

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

No files matched your search

+1 -7
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")
@@ -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 %}