mesos-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From b...@apache.org
Subject svn commit: r1131540 - in /incubator/mesos/trunk/src/webui: master/webui.py slave/webui.py
Date Sun, 05 Jun 2011 03:20:02 GMT
Author: benh
Date: Sun Jun  5 03:20:01 2011
New Revision: 1131540

URL: http://svn.apache.org/viewvc?rev=1131540&view=rev
Log:
Fixup bottle TEMPLATE_PATH and get ui working again.
Tested by running ./src/nexus-master and ./src/nexus-slave and successfully browsing :8080
and :8081.

Modified:
    incubator/mesos/trunk/src/webui/master/webui.py
    incubator/mesos/trunk/src/webui/slave/webui.py

Modified: incubator/mesos/trunk/src/webui/master/webui.py
URL: http://svn.apache.org/viewvc/incubator/mesos/trunk/src/webui/master/webui.py?rev=1131540&r1=1131539&r2=1131540&view=diff
==============================================================================
--- incubator/mesos/trunk/src/webui/master/webui.py (original)
+++ incubator/mesos/trunk/src/webui/master/webui.py Sun Jun  5 03:20:01 2011
@@ -36,5 +36,5 @@ def log_tail(level, lines):
   return commands.getoutput('tail -%s /tmp/nexus-master.%s' % (lines, level))
 
 
-bottle.TEMPLATE_PATH.append('./webui/master/%s.tpl')
+bottle.TEMPLATE_PATH.append('./webui/master/')
 bottle.run(host = '0.0.0.0', port = 8080)

Modified: incubator/mesos/trunk/src/webui/slave/webui.py
URL: http://svn.apache.org/viewvc/incubator/mesos/trunk/src/webui/slave/webui.py?rev=1131540&r1=1131539&r2=1131540&view=diff
==============================================================================
--- incubator/mesos/trunk/src/webui/slave/webui.py (original)
+++ incubator/mesos/trunk/src/webui/slave/webui.py Sun Jun  5 03:20:01 2011
@@ -59,5 +59,5 @@ def framework_log_tail(fid, log_type, li
     abort(403, 'Slave not yet registered with master')
 
 
-bottle.TEMPLATE_PATH.append('./webui/slave/%s.tpl')
+bottle.TEMPLATE_PATH.append('./webui/slave/')
 bottle.run(host = '0.0.0.0', port = 8081)



Mime
View raw message