Cosmetic changes to owncloud page.

This commit is contained in:
James Valleroy 2013-11-16 07:14:00 -05:00
parent ea0f5b8102
commit 42ab442930

View File

@ -19,12 +19,12 @@ class Owncloud(PagePlugin):
@cherrypy.expose
@require()
def index(self, **kwargs):
sidebar_right="""
<strong>Owncloud</strong><p>gives you universal access to your files through a web interface or WebDAV. It also provides a platform to easily view & sync your contacts, calendars and bookmarks across all your devices and enables basic editing right on the web. Installation has minimal server requirements, doesn't need special permissions and is quick. ownCloud is extendable via a simple but powerful API for applications and plugins.
main="""
<p>ownCloud gives you universal access to your files through a web interface or WebDAV. It also provides a platform to easily view & sync your contacts, calendars and bookmarks across all your devices and enables basic editing right on the web. Installation has minimal server requirements, doesn't need special permissions and is quick. ownCloud is extendable via a simple but powerful API for applications and plugins.
</p>
"""
sidebar_right = sidebar_right + '<strong><a href="'+cfg.server_dir+'/apps/owncloud/configure">Configure Owncloud</a></strong>'
return self.fill_template(title="Owncloud", main='', sidebar_right=sidebar_right)
sidebar_right = '<strong><a href="'+cfg.server_dir+'/apps/owncloud/configure">Configure Owncloud</a></strong>'
return self.fill_template(title="Owncloud", main=main, sidebar_right=sidebar_right)
class configure(FormPlugin, PagePlugin):
url = ["/apps/owncloud/configure"]