Skip to content
Snippets Groups Projects
Commit 65e42e91 authored by ptangu01's avatar ptangu01
Browse files

fix link root of the webpage

git-svn-id: https://redmine.imt-atlantique.fr/svn/xaal/trunk@230 b32b6428-25c9-4566-ad07-03861ab6144f
parent cefb55db
No related branches found
No related tags found
No related merge requests found
......@@ -19,7 +19,7 @@
<%block name="header">
<div id="logo">
<img src="../static/images/logo.png" alt="" />
<h1><a href="/index">xAAL Browser</a></h1>
<h1><a href="/">xAAL Browser</a></h1>
<span>IHSEV team</span>
</div>
<div id="menu">
......
......@@ -25,18 +25,16 @@ import cherrypy
from pages.DeviceList import DeviceList
from pages.DeviceInfo import DeviceInfo
from pages.SendAction import SendAction
from pages.DumpMessages import DumpMessages
from pages.Subscribe import Subscribe
from pages.StaticPage import StaticPage
from pages.Home import Home
from XAALBrowser import XAALBrowser
from xAAL.Core import XAALEngine
class Root(object):
pass
#class Root(object):
# pass
#def loadConfig():
# cfg = ConfigParser.RawConfigParser()
......@@ -59,10 +57,10 @@ def main():
backtask = cherrypy.process.plugins.BackgroundTask(0.1,eng.loop)
backtask.start()
root = Root()
#root.index = Home()
#root = Root()
root = DeviceList(xaalBrowser)
root.subscribe = Subscribe()
root.devices = DeviceList(xaalBrowser)
root.devices = root
root.about = StaticPage('About xAAL Browser','about','about')
cherrypy.tree.mount(root, '/', 'xAALBrowserIHM.conf')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment