mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-28 08:03:36 +00:00
Convert system page to template
This commit is contained in:
parent
1c338e538a
commit
eff6306f7d
@ -18,10 +18,5 @@ class Sys(PagePlugin):
|
||||
|
||||
@cherrypy.expose
|
||||
def index(self):
|
||||
return util.render_template(title=_("System Configuration"), main=_("""
|
||||
<p>In this section, you can control the %(product)s's
|
||||
underlying system, as opposed to its various applications and
|
||||
services. These options affect the %(product)s at its most
|
||||
general level. This is where you add/remove users, install
|
||||
applications, reboot, etc.</p>
|
||||
""" % {'product':cfg.product_name}))
|
||||
return util.render_template(template='system',
|
||||
title=_("System Configuration"))
|
||||
|
||||
11
modules/installed/system/templates/system.html
Normal file
11
modules/installed/system/templates/system.html
Normal file
@ -0,0 +1,11 @@
|
||||
{% extends 'login_nav.html' %}
|
||||
|
||||
{% block main_block %}
|
||||
|
||||
<p>In this section, you can control the {{ cfg.product_name }}'s
|
||||
underlying system, as opposed to its various applications and
|
||||
services. These options affect the {{ cfg.product_name }} at its most
|
||||
general level. This is where you add/remove users, install
|
||||
applications, reboot, etc.</p>
|
||||
|
||||
{% endblock %}
|
||||
Loading…
x
Reference in New Issue
Block a user