summaryrefslogtreecommitdiffstats
path: root/sandbox/kgoodson/jagg/src/main/resources/uiservices/plan.html
diff options
context:
space:
mode:
authorkelvingoodson <kelvingoodson@13f79535-47bb-0310-9956-ffa450edef68>2010-01-28 13:48:45 +0000
committerkelvingoodson <kelvingoodson@13f79535-47bb-0310-9956-ffa450edef68>2010-01-28 13:48:45 +0000
commita6c94f1da365b95c8981c86a5f9c05e583b23b76 (patch)
tree53dee7202bf44e0594b686cc0c929e30da6d00c2 /sandbox/kgoodson/jagg/src/main/resources/uiservices/plan.html
parent19a4e897937244586853e0e72e5fa418ce92bb04 (diff)
checkpoint - working but SyndEntrys don't reveal JIRA status
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@904085 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r--sandbox/kgoodson/jagg/src/main/resources/uiservices/plan.html27
1 files changed, 6 insertions, 21 deletions
diff --git a/sandbox/kgoodson/jagg/src/main/resources/uiservices/plan.html b/sandbox/kgoodson/jagg/src/main/resources/uiservices/plan.html
index ace495dbe7..3420bf907b 100644
--- a/sandbox/kgoodson/jagg/src/main/resources/uiservices/plan.html
+++ b/sandbox/kgoodson/jagg/src/main/resources/uiservices/plan.html
@@ -34,12 +34,12 @@
alert(exception.message);
return;
}
- var mscontent = "<h2>Milestones</h2>\n<table border=\"1\">";
- ms = plan.milestones.milestone.list;
+ var mscontent = "<table border=\"1\" align=\"left\">";
+ ms = plan.milestone.list;
for(var i=0; i<ms.length; i++) {
- mscontent += "<tr><th colspan=\"4\">" + ms[i].ID + "</th></tr>";
- var mswi = ms[i].workItems.list;
- mscontent +="<tr><th>Title</th><td>JIRA</th><td>Responsible</th><th>Status</th></tr>";
+ mscontent += "<tr><th colspan=\"4\" align=\"left\">Milestone " + ms[i].ID + "</th></tr>";
+ var mswi = ms[i].workItem.list;
+ mscontent +="<tr><th align=\"left\">Title</th><td>JIRA</th><td>Responsible</th><th>Status</th></tr>";
for (var j=0; j<mswi.length; j++) {
mscontent +=
"<tr>"
@@ -50,23 +50,8 @@
}
- mscontent += "</table>"
- +"<h2> Work Items to be Scheduled</h2>";
- mscontent += "<table border=\"1\"><tr><th>Title</th><th>JIRA</th><th>Responsible</th><th>Status</th></tr>";
- // unassigned work items (in terms of milestones)
- var uawi = plan.workitems.workitem.list;
- for(var j=0; j<uawi.length; j++) {
- if(uawi[j]) {
- mscontent +=
- "<tr>"
- +"<td>"+uawi[j].title+"</td>" + "<td>"+uawi[j].jira
- +"</td>"+ "<td>"+uawi[j].responsible+"</td>"+ "<td>"+uawi[j].status+"</td>"+ "<td></td>"
- +"</tr>";
- }
- }
-
- mscontent += "</table>";
+ mscontent += "</table>";
document.getElementById('milestones').innerHTML='<h2>' + mscontent;
return;