summaryrefslogtreecommitdiffstats
path: root/sandbox/kgoodson/jagg-webapp/src/main/resources
diff options
context:
space:
mode:
Diffstat (limited to 'sandbox/kgoodson/jagg-webapp/src/main/resources')
-rw-r--r--sandbox/kgoodson/jagg-webapp/src/main/resources/JiraRSS.xsd99
-rw-r--r--sandbox/kgoodson/jagg-webapp/src/main/resources/JiraSideband.xml65
-rw-r--r--sandbox/kgoodson/jagg-webapp/src/main/resources/JiraSideband.xsd133
-rw-r--r--sandbox/kgoodson/jagg-webapp/src/main/resources/exampleJira.xml67
-rw-r--r--sandbox/kgoodson/jagg-webapp/src/main/resources/plan.composite42
-rw-r--r--sandbox/kgoodson/jagg-webapp/src/main/resources/plan.html150
6 files changed, 556 insertions, 0 deletions
diff --git a/sandbox/kgoodson/jagg-webapp/src/main/resources/JiraRSS.xsd b/sandbox/kgoodson/jagg-webapp/src/main/resources/JiraRSS.xsd
new file mode 100644
index 0000000000..4a2b066267
--- /dev/null
+++ b/sandbox/kgoodson/jagg-webapp/src/main/resources/JiraRSS.xsd
@@ -0,0 +1,99 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+
+ <xsd:include schemaLocation=""></xsd:include>
+ <xsd:element name="rss" type="RSS"></xsd:element>
+
+ <xsd:complexType name="JiraRSS">
+ <xsd:sequence>
+ <xsd:element name="channel" type="xsd:string"></xsd:element>
+ </xsd:sequence>
+ </xsd:complexType>
+
+ <xsd:complexType name="Channel">
+ <xsd:sequence>
+ <xsd:element name="title" type="xsd:string"></xsd:element>
+ <xsd:element name="link" type="xsd:string"></xsd:element>
+ <xsd:element name="description" type="xsd:string"></xsd:element>
+ <xsd:element name="language" type="xsd:string"></xsd:element>
+ <xsd:element name="build-info" type="BuildInfo"></xsd:element>
+ <xsd:element name="item" type="Item"></xsd:element>
+ </xsd:sequence>
+ </xsd:complexType>
+
+
+
+ <xsd:complexType name="Item">
+ <xsd:sequence>
+ <xsd:element name="title" type="xsd:string"></xsd:element>
+ <xsd:element name="link" type="xsd:string"></xsd:element>
+ <xsd:element name="description" type="xsd:string"></xsd:element>
+ <xsd:element name="environment" type="xsd:string"></xsd:element>
+ <xsd:element name="type" type="xsd:string"></xsd:element>
+ <xsd:element name="priority" type="xsd:string"></xsd:element>
+ <xsd:element name="status" type="xsd:string"></xsd:element>
+ <xsd:element name="resolution" type="xsd:string"></xsd:element>
+ <xsd:element name="assignee" type="xsd:string"></xsd:element>
+ <xsd:element name="reporter" type="xsd:string"></xsd:element>
+ <xsd:element name="key" type="Key"></xsd:element>
+ <xsd:element name="summary" type="xsd:string"></xsd:element>
+ <xsd:element name="type" type="xsd:string"></xsd:element>
+ <xsd:element name="priority" type="xsd:string"></xsd:element>
+ <xsd:element name="status" type="xsd:string"></xsd:element>
+ <xsd:element name="resolution" type="xsd:string"></xsd:element>
+ <xsd:element name="assignee" type="xsd:string"></xsd:element>
+ <xsd:element name="reporter" type="xsd:string"></xsd:element>
+ <xsd:element name="created" type="xsd:string"></xsd:element>
+ <xsd:element name="updated" type="xsd:string"></xsd:element>
+ <xsd:element name="version" type="xsd:string"></xsd:element>
+ <xsd:element name="fixVersion" type="xsd:string"></xsd:element>
+ <xsd:element name="component" type="xsd:string"></xsd:element>
+ <xsd:element name="due" type="xsd:string"></xsd:element>
+ <xsd:element name="votes" type="xsd:string"></xsd:element>
+ <xsd:element name="comments" type="Comments"></xsd:element>
+
+ </xsd:sequence>
+ </xsd:complexType>
+
+
+ <xsd:complexType name="RSS">
+ <xsd:sequence>
+ <xsd:element name="channel" type="Channel"></xsd:element>
+ </xsd:sequence>
+ <xsd:attribute name="version" type="xsd:string"></xsd:attribute>
+ </xsd:complexType>
+
+
+ <xsd:complexType name="Key">
+ <xsd:simpleContent>
+ <xsd:extension base="xsd:string">
+ <xsd:attribute name="id" type="xsd:string"></xsd:attribute>
+ </xsd:extension>
+ </xsd:simpleContent>
+ </xsd:complexType>
+
+ <xsd:complexType name="Comment">
+ <xsd:simpleContent>
+ <xsd:extension base="xsd:string">
+ <xsd:attribute name="id" type="xsd:string"></xsd:attribute>
+ <xsd:attribute name="author" type="xsd:string"></xsd:attribute>
+ <xsd:attribute name="created" type="xsd:string"></xsd:attribute>
+ </xsd:extension>
+ </xsd:simpleContent>
+ </xsd:complexType>
+
+ <xsd:complexType name="Comments">
+ <xsd:sequence>
+ <xsd:element name="comment" type="Comment" maxOccurs="unbounded" minOccurs="0"></xsd:element>
+ </xsd:sequence>
+ </xsd:complexType>
+
+ <xsd:complexType name="BuildInfo">
+ <xsd:sequence>
+ <xsd:element name="version" type="xsd:string"></xsd:element>
+ <xsd:element name="build-number" type="xsd:string"></xsd:element>
+ <xsd:element name="build-date" type="xsd:string"></xsd:element>
+ <xsd:element name="edition" type="xsd:string"></xsd:element>
+ </xsd:sequence>
+ </xsd:complexType>
+</xsd:schema>
diff --git a/sandbox/kgoodson/jagg-webapp/src/main/resources/JiraSideband.xml b/sandbox/kgoodson/jagg-webapp/src/main/resources/JiraSideband.xml
new file mode 100644
index 0000000000..2d60a3b83a
--- /dev/null
+++ b/sandbox/kgoodson/jagg-webapp/src/main/resources/JiraSideband.xml
@@ -0,0 +1,65 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<ns2:plan xmlns:ns2="http://www.example.com/tracking">
+ <issueBase>https://issues.apache.org/jira/browse/</issueBase>
+ <milestone ID="V8 M5I14a">
+ <workItem>
+ <jira>TUSCANY-2850</jira>
+ <jiraData ID="TUSCANY-2850">
+ <title> Support binding.json-rpc for implementation.java's reference</title>
+ <status>Resolved</status>
+ <assignedTo>Luciano Resende</assignedTo>
+ </jiraData>
+ </workItem>
+ <workItem>
+ <jira>TUSCANY-3395</jira>
+ <jiraData ID="TUSCANY-3395">
+ <title> Tidying up Contribution Scanner API</title>
+ <status>Resolved</status>
+ <assignedTo>Luciano Resende</assignedTo>
+ </jiraData>
+ </workItem>
+ <workItem>
+ <jira>TUSCANY-3397</jira>
+ <jiraData ID="TUSCANY-3397">
+ <title> Add support for identifying the SCA Spec Version for contribution metadata</title>
+ <status>Resolved</status>
+ <assignedTo>Luciano Resende</assignedTo>
+ </jiraData>
+ </workItem>
+ </milestone>
+ <milestone ID="V8_M5I14b">
+ <workItem>
+ <jira>TUSCANY-3433</jira>
+ <jiraData ID="TUSCANY-3433">
+ <title> Import more of the basic itests from 1.x to 2.x </title>
+ <status>Open</status>
+ <assignedTo>Ramkumar Ramalingam</assignedTo>
+ </jiraData>
+ </workItem>
+ <workItem>
+ <jira>TUSCANY-3409</jira>
+ <jiraData ID="TUSCANY-3409">
+ <title> Non-Simple Property Injected with XML Fails with NullPointerException</title>
+ <status>Resolved</status>
+ <assignedTo>Raymond Feng</assignedTo>
+ </jiraData>
+ </workItem>
+ <workItem>
+ <jira>TUSCANY-3441</jira>
+ <jiraData ID="TUSCANY-3441">
+ <title> Improve mechanism for determining locality of endpoints to endpoint references</title>
+ <status>Open</status>
+ <assignedTo>Unassigned</assignedTo>
+ </jiraData>
+ </workItem>
+ <workItem>
+ <jira>TUSCANY-3443</jira>
+ <jiraData ID="TUSCANY-3443">
+ <title> Devise a away to track and spi changes we make in 2.x</title>
+ <status>Open</status>
+ <assignedTo>Unassigned</assignedTo>
+ </jiraData>
+ </workItem>
+ </milestone>
+ <milestone ID="V8_M5I15a"/>
+</ns2:plan>
diff --git a/sandbox/kgoodson/jagg-webapp/src/main/resources/JiraSideband.xsd b/sandbox/kgoodson/jagg-webapp/src/main/resources/JiraSideband.xsd
new file mode 100644
index 0000000000..19b2beca32
--- /dev/null
+++ b/sandbox/kgoodson/jagg-webapp/src/main/resources/JiraSideband.xsd
@@ -0,0 +1,133 @@
+<?xml version="1.0" encoding="UTF-8"?>
+ <!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to you under the Apache License, Version
+ 2.0 (the "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0 Unless required by
+ applicable law or agreed to in writing, software distributed under the
+ License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+ CONDITIONS OF ANY KIND, either express or implied. See the License for
+ the specific language governing permissions and limitations under the
+ License.
+ -->
+<xsd:schema targetNamespace="http://www.example.com/tracking"
+ xmlns:jagg="http://www.example.com/tracking" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+
+ <xsd:element name="plan">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="issueBase" type="xsd:string"
+ maxOccurs="1" minOccurs="0"></xsd:element>
+
+
+ <xsd:element name="milestone" type="jagg:Milestone"
+ maxOccurs="unbounded" minOccurs="0"></xsd:element>
+ </xsd:sequence>
+ </xsd:complexType>
+ </xsd:element>
+
+
+ <xsd:complexType name="WorkItem">
+ <xsd:annotation>
+ <xsd:documentation>
+ The milestone or deliverable name that we require this
+ function for
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:sequence>
+
+ <xsd:element name="title" type="xsd:string" maxOccurs="1"
+ minOccurs="1"></xsd:element>
+ <xsd:element name="responsible" type="xsd:string"
+ maxOccurs="1" minOccurs="0">
+ </xsd:element>
+ <xsd:element name="dueDate" type="xsd:string" maxOccurs="1"
+ minOccurs="0" />
+ <xsd:element name="jira" type="xsd:string" maxOccurs="1"
+ minOccurs="0">
+ </xsd:element>
+ <xsd:element name="status" type="xsd:string" maxOccurs="1"
+ minOccurs="0">
+ </xsd:element>
+
+
+ <xsd:element name="repository_vid" type="xsd:string"
+ maxOccurs="1" minOccurs="0">
+ </xsd:element>
+ <xsd:element name="note" type="xsd:string" maxOccurs="1"
+ minOccurs="0">
+ </xsd:element>
+
+ <xsd:element name="jiraData" type="jagg:JiraData"
+ maxOccurs="1" minOccurs="0"></xsd:element>
+ </xsd:sequence>
+ <xsd:attribute name="ID" type="xsd:ID"></xsd:attribute>
+ </xsd:complexType>
+
+
+ <xsd:complexType name="Milestone">
+
+ <xsd:sequence>
+ <xsd:element name="dueDate" type="xsd:string" maxOccurs="1"
+ minOccurs="0">
+ </xsd:element>
+
+ <xsd:element name="deliveredby" type="xsd:string"
+ maxOccurs="1" minOccurs="0">
+ <xsd:annotation>
+ <xsd:documentation>
+ A tuscany source code repository branch name or
+ repository version number
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:element>
+ <xsd:element name="note" type="xsd:string" maxOccurs="1"
+ minOccurs="0">
+ </xsd:element>
+
+ <xsd:element name="workItem" type="jagg:WorkItem"
+ maxOccurs="unbounded" minOccurs="0">
+ </xsd:element>
+ </xsd:sequence>
+
+
+ <xsd:attribute name="ID" type="xsd:string"></xsd:attribute>
+ </xsd:complexType>
+
+ <xsd:complexType name="Milestones">
+ <xsd:sequence>
+ <xsd:element name="milestone" type="jagg:Milestone"
+ maxOccurs="unbounded" minOccurs="0"></xsd:element>
+ </xsd:sequence>
+ </xsd:complexType>
+
+ <xsd:complexType name="WorkItems">
+ <xsd:sequence>
+ <xsd:element name="workitem" type="jagg:WorkItem"
+ maxOccurs="unbounded" minOccurs="0"></xsd:element>
+ </xsd:sequence>
+ </xsd:complexType>
+
+
+ <xsd:complexType name="PlanDTO">
+ <xsd:sequence>
+ <xsd:element name="milestones" type="jagg:Milestone"
+ maxOccurs="unbounded" minOccurs="0"></xsd:element>
+ <xsd:element name="workitems" type="jagg:WorkItem"
+ maxOccurs="unbounded" minOccurs="0"></xsd:element>
+ </xsd:sequence>
+ </xsd:complexType>
+
+ <xsd:complexType name="JiraData">
+ <xsd:sequence>
+ <xsd:element name="title" type="xsd:string"></xsd:element>
+ <xsd:element name="status" type="xsd:string"></xsd:element>
+ <xsd:element name="assignedTo" type="xsd:string"></xsd:element>
+ </xsd:sequence>
+ <xsd:attribute name="ID" type="xsd:string"></xsd:attribute>
+ </xsd:complexType>
+</xsd:schema> \ No newline at end of file
diff --git a/sandbox/kgoodson/jagg-webapp/src/main/resources/exampleJira.xml b/sandbox/kgoodson/jagg-webapp/src/main/resources/exampleJira.xml
new file mode 100644
index 0000000000..08dae93262
--- /dev/null
+++ b/sandbox/kgoodson/jagg-webapp/src/main/resources/exampleJira.xml
@@ -0,0 +1,67 @@
+<rss version="0.92" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="JiraRSS.xsd ">
+ <channel>
+ <title>ASF JIRA</title>
+ <link>https://issues.apache.org:443/jira</link>
+ <description>This file is an XML representation of an issue</description>
+ <language>en-uk</language>
+ <build-info>
+ <version>3.13.5</version>
+ <build-number>360</build-number>
+ <build-date>07-07-2009</build-date>
+ <edition>Enterprise</edition>
+ </build-info>
+ <item>
+ <title>[TUSCANY-3397] Add support for identifying the
+ SCA Spec Version for contribution metadata</title>
+ <link>https://issues.apache.org:443/jira/browse/TUSCANY-3397</link>
+ <description>Provide the same support we have for Composites,
+ for Contribution Metadata</description>
+ <environment />
+ <key id="12443784">TUSCANY-3397</key>
+ <summary>Add support for identifying the SCA Spec Version for
+ contribution metadata</summary>
+ <type id="1"
+ iconUrl="https://issues.apache.org:443/jira/images/icons/bug.gif">Bug</type>
+ <priority id="3"
+ iconUrl="https://issues.apache.org:443/jira/images/icons/priority_major.gif">Major</priority>
+ <status id="5"
+ iconUrl="https://issues.apache.org:443/jira/images/icons/status_resolved.gif">Resolved</status>
+ <resolution id="1">Fixed</resolution>
+ <assignee username="luciano resende">Luciano Resende</assignee>
+ <reporter username="luciano resende">Luciano Resende</reporter>
+ <created>Fri, 18 Dec 2009 17:31:07 +0000 (UTC)</created>
+ <updated>Fri, 18 Dec 2009 17:58:58 +0000 (UTC)</updated>
+ <version>Java-SCA-2.0</version>
+ <fixVersion>Java-SCA-2.0</fixVersion>
+ <component>Java SCA Core Runtime</component>
+ <due />
+ <votes>0</votes>
+ <comments>
+ <comment id="12792548" author="luciano resende"
+ created="Fri, 18 Dec 2009 17:58:58 +0000 (UTC)">
+ Fixed, you can now identify the spec version of the contribution
+ metadata based on the SCA Namespace being used, this means that,
+ for SCA 1.1, specVersion will return
+ <a href="http://docs.oasis-open.org/ns/opencsa/sca/200912">http://docs.oasis-open.org/ns/opencsa/sca/200912</a>
+ </comment>
+ </comments>
+ <attachments />
+ <subtasks />
+ <customfields>
+ <customfield id="customfield_12310222"
+ key="com.atlassian.jira.ext.charting:timeinstatus">
+ <customfieldname>Time in Status</customfieldname>
+ <customfieldvalues />
+ </customfield>
+ <customfield id="customfield_12310221"
+ key="com.atlassian.jira.ext.charting:resolutiondate">
+ <customfieldname>Resolution Date</customfieldname>
+ <customfieldvalues>
+ <customfieldvalue>Fri, 18 Dec 2009 17:58:58 +0000 (UTC)</customfieldvalue>
+ </customfieldvalues>
+ </customfield>
+ </customfields>
+ </item>
+ </channel>
+</rss>
diff --git a/sandbox/kgoodson/jagg-webapp/src/main/resources/plan.composite b/sandbox/kgoodson/jagg-webapp/src/main/resources/plan.composite
new file mode 100644
index 0000000000..c6f837c0d2
--- /dev/null
+++ b/sandbox/kgoodson/jagg-webapp/src/main/resources/plan.composite
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+-->
+<composite xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200912"
+ xmlns:tuscany="http://tuscany.apache.org/xmlns/sca/1.1"
+ targetNamespace="http://jagg"
+ name="jagg">
+
+ <component name="planApp">
+ <tuscany:implementation.widget location="plan.html"/>
+ <reference name="plan" target="Plan">
+ <tuscany:binding.jsonrpc uri="http://localhost:8080/sample-jagg-webapp/Plan"/>
+ </reference>
+ </component>
+
+ <component name="Plan">
+ <implementation.java class="services.PlanViewImpl"/>
+ <property name="planFile">src/main/resources/jiraSideBand.xml</property>
+ <service name="PlanView">
+ <tuscany:binding.jsonrpc uri="http://localhost:8080/sample-jagg-webapp/Plan"/>
+ </service>
+ </component>
+
+
+
+</composite>
diff --git a/sandbox/kgoodson/jagg-webapp/src/main/resources/plan.html b/sandbox/kgoodson/jagg-webapp/src/main/resources/plan.html
new file mode 100644
index 0000000000..f064b47160
--- /dev/null
+++ b/sandbox/kgoodson/jagg-webapp/src/main/resources/plan.html
@@ -0,0 +1,150 @@
+<!--
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+-->
+<html>
+<head>
+<title>Plan</title>
+
+<script type="text/javascript" src="plan.js"></script>
+
+<script language="JavaScript">
+
+ //@Reference
+ var planView = new tuscany.sca.Reference("plan");
+ var project = "TUSCANY";
+ var ms;
+
+ function plan_getResponse(plan,exception) {
+ if(exception){
+ alert(exception.message);
+ return;
+ }
+ ms = plan.milestone.list;
+ var mscontent = "<table border=\"1\" align=\"left\">";
+
+
+
+ var mschoice = 'Add new Work Item for JIRA: <input type="text" name="JIRA" value="'+project+'-">in Milestone<select name="mschoice">';
+ for(var i=0; i<ms.length; i++) {
+ mscontent += "<tr><th colspan=\"6\" align=\"left\">Milestone " + ms[i].ID + "</th></tr>";
+ mschoice+='<option>'+ms[i].ID+'</option>';
+ var mswi = ms[i].workItem.list;
+ mscontent +="<tr>"+
+ "<th>Jira</th>"+
+ "<th>Jira title</th>"+
+ "<th>Jira Assigned To</th>"+
+ "<th>Status</th>"+
+ "<th>Note</th>"+
+ "</tr>";
+ for (var j=0; j<mswi.length; j++) {
+ mscontent +="<tr>";
+ if(mswi[j].jira != null) {
+ mscontent +=
+ "<td><A HREF=\""+plan.issueBase+mswi[j].jira+"\">"+mswi[j].jira+"</A></td>";
+ } else {
+ mscontent += '<td>No JIRA for Work Item</td>';
+ }
+ if(mswi[j].jiraData!= null) {
+ mscontent += "<td>"+mswi[j].jiraData.title+"</td>"+
+ "<td>"+mswi[j].jiraData.assignedTo+"</td>"+
+ "<td>"+mswi[j].jiraData.status+"</td><td>";
+ } else {
+ mscontent += "<td colspan=\"3\"></td>";
+ }
+ if(mswi[j].note != null) {
+ mscontent += mswi[j].note;
+ }
+ mscontent+="</td></tr>";
+ }
+
+ }
+ mscontent += "</table><P>";
+ mschoice += '</select><input type="button" onClick="addWorkItem()" value="Add Work Item">';
+
+ document.getElementById('milestones').innerHTML='<h2>' + mscontent;
+
+
+ document.getElementById('mschoice').innerHTML=mschoice;
+ return;
+
+ }
+
+
+ function init()
+ {
+ planView.getLite().addCallback(plan_getResponse);
+ }
+
+
+
+ function addWorkItem() {
+
+ planView.postNewWorkItem(
+ document.newWorkItemForm.mschoice.value,
+ document.newWorkItemForm.JIRA.value).addCallback(plan_postNewWorkItem_response);
+ }
+
+ function plan_postNewWorkItem_response()
+ {
+ planView.getLite().addCallback(plan_getResponse);
+ }
+
+ function addMilestone()
+ {
+ planView.postNewMilestone(document.newWorkItemForm.newmsname.value).addCallback(plan_postNewMilestone_response);
+ }
+
+ function plan_postNewMilestone_response()
+ {
+ // refresh
+ planView.getLite().addCallback(plan_getResponse);
+ }
+
+ function refreshJiraData()
+ {
+ planView.get().addCallback(plan_getResponse);
+ }
+
+</script>
+
+</head>
+
+<body onload="init()">
+<h1>Plan</h1>
+
+
+ <table>
+ <tr><td><div id="milestones"></div></td></tr>
+ <tr><td>
+ <form name="newWorkItemForm">
+ <table>
+ <tr><td>
+ <div id=mschoice></div>
+ </td></tr>
+ <tr><td>
+ Add New Milestone <input name="newmsname" type=text/><input type="button" onClick="addMilestone()" value="Add Milestone">
+ </td></tr>
+ <tr><td>
+ <input type="button" value="Refresh Jira Data" onclick="refreshJiraData()"/>
+ </td></tr>
+ </table>
+ </form>
+ </td></tr>
+ </table>
+ </body>
+</html> \ No newline at end of file