mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-08-26 12:46:08 +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
|
@cherrypy.expose
|
||||||
def index(self):
|
def index(self):
|
||||||
return util.render_template(title=_("System Configuration"), main=_("""
|
return util.render_template(template='system',
|
||||||
<p>In this section, you can control the %(product)s's
|
title=_("System Configuration"))
|
||||||
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}))
|
|
||||||
|
|||||||
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