Author: remi Date: 2009-07-23 12:33:58 +0200 (Thu, 23 Jul 2009) New Revision: 5142
Modified: software_suite_v3/smart-core/smart-server/trunk/resources/00_smart_server_base/04_resourceMenu.py software_suite_v3/smart-core/smart-server/trunk/resources/07_web_interfaces/01_resourceWIUser01.py Log: * Updated some binds : "http://127.0.0.1:270/" -> "user page" and "http://127.0.0.1:270/debug/" -> "Main server page" Modified: software_suite_v3/smart-core/smart-server/trunk/resources/00_smart_server_base/04_resourceMenu.py =================================================================== --- software_suite_v3/smart-core/smart-server/trunk/resources/00_smart_server_base/04_resourceMenu.py 2009-07-23 09:53:48 UTC (rev 5141) +++ software_suite_v3/smart-core/smart-server/trunk/resources/00_smart_server_base/04_resourceMenu.py 2009-07-23 10:33:58 UTC (rev 5142) @@ -87,17 +87,17 @@ 'title' : 'Tux Droid Server V %s' % serverVersion, 'section' : 'Index', 'items' : { - 'Resources' : 'menu/resources?resource_name=index', - 'Logs' : 'menu/logs?log_name=index', - 'Clients' : 'menu/clients?', + 'Resources' : '/menu/resources?resource_name=index', + 'Logs' : '/menu/logs?log_name=index', + 'Clients' : '/menu/clients?', } } return contentStruct # Register the service into the resource resourceMenu.addService(TDSServiceMenuIndex) -# Bind the root url to this service -resourcesManager.addBinding("ROOT", "menu", "index") +# Bind the debug index url to this service +resourcesManager.addBinding("debug", "menu", "index") # ============================================================================== # Declaration of the service "resources". Modified: software_suite_v3/smart-core/smart-server/trunk/resources/07_web_interfaces/01_resourceWIUser01.py =================================================================== --- software_suite_v3/smart-core/smart-server/trunk/resources/07_web_interfaces/01_resourceWIUser01.py 2009-07-23 09:53:48 UTC (rev 5141) +++ software_suite_v3/smart-core/smart-server/trunk/resources/07_web_interfaces/01_resourceWIUser01.py 2009-07-23 10:33:58 UTC (rev 5142) @@ -146,6 +146,9 @@ "skin=user_01&language=en&menu=livewithtux") resourcesManager.addBinding("user/index", "wi_user_01", "index", "skin=user_01&language=en&menu=livewithtux") +# Bind the root url to this service +resourcesManager.addBinding("ROOT", "wi_user_01", "index", + "skin=user_01&language=en&menu=livewithtux") # ------------------------------------------------------------------------------ # Declaration of the service "live_with_tux". ------------------------------------------------------------------------------ _______________________________________________ Tux-droid-svn mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/tux-droid-svn
