Author: croberts
Date: 2013-01-25 20:06:44 +0000 (Fri, 25 Jan 2013)
New Revision: 5666
Added:
branches/elephant/cumin/python/cumin/gridhadoop/jobtracker.strings
branches/elephant/cumin/python/cumin/gridhadoop/namenode.strings
Modified:
branches/elephant/cumin/python/cumin/gridhadoop/jobtracker.py
branches/elephant/cumin/python/cumin/gridhadoop/namenode.py
Log:
Dummy details page for name node and job tracker. Should wind-up refactoring the
"details" pages at some point.
Modified: branches/elephant/cumin/python/cumin/gridhadoop/jobtracker.py
===================================================================
--- branches/elephant/cumin/python/cumin/gridhadoop/jobtracker.py 2013-01-24 20:11:08 UTC
(rev 5665)
+++ branches/elephant/cumin/python/cumin/gridhadoop/jobtracker.py 2013-01-25 20:06:44 UTC
(rev 5666)
@@ -14,6 +14,10 @@
from sage.util import *
+from wooly.util import StringCatalog
+
+strings = StringCatalog(__file__)
+
class JobTrackerAdapter(HadoopAdapter):
def get_sage_results(self, values):
owner_filter = self.get_owner_filter(values['session'])
Added: branches/elephant/cumin/python/cumin/gridhadoop/jobtracker.strings
===================================================================
--- branches/elephant/cumin/python/cumin/gridhadoop/jobtracker.strings
(rev 0)
+++ branches/elephant/cumin/python/cumin/gridhadoop/jobtracker.strings 2013-01-25 20:06:44
UTC (rev 5666)
@@ -0,0 +1,7 @@
+[JobTrackerDetails.html]
+<div class="{class}">
+ <ul>
+ <li>Name: {name}</li>
+ <li>More details to come...</li>
+ </ul>
+</div>
\ No newline at end of file
Modified: branches/elephant/cumin/python/cumin/gridhadoop/namenode.py
===================================================================
--- branches/elephant/cumin/python/cumin/gridhadoop/namenode.py 2013-01-24 20:11:08 UTC
(rev 5665)
+++ branches/elephant/cumin/python/cumin/gridhadoop/namenode.py 2013-01-25 20:06:44 UTC
(rev 5666)
@@ -12,6 +12,10 @@
from sage.util import *
+from wooly.util import StringCatalog
+
+strings = StringCatalog(__file__)
+
class NameNodeAdapter(HadoopAdapter):
def get_sage_results(self, values):
owner_filter = self.get_owner_filter(values['session'])
Added: branches/elephant/cumin/python/cumin/gridhadoop/namenode.strings
===================================================================
--- branches/elephant/cumin/python/cumin/gridhadoop/namenode.strings
(rev 0)
+++ branches/elephant/cumin/python/cumin/gridhadoop/namenode.strings 2013-01-25 20:06:44
UTC (rev 5666)
@@ -0,0 +1,7 @@
+[NameNodeDetails.html]
+<div class="{class}">
+ <ul>
+ <li>Name: {name}</li>
+ <li>More details to come...</li>
+ </ul>
+</div>
\ No newline at end of file
Show replies by date