mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-21 07:55:00 +00:00
Convert OpenID sidebar to template
This commit is contained in:
parent
6d83ad3c00
commit
8ddd98ade0
@ -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")
|
||||
|
||||
11
modules/installed/services/templates/openid.html
Normal file
11
modules/installed/services/templates/openid.html
Normal 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 %}
|
||||
Loading…
x
Reference in New Issue
Block a user