This repository has been archived by the owner on Oct 3, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathmappingDialog.html
81 lines (72 loc) · 3.51 KB
/
mappingDialog.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
<!--
//---------------------------------------------------------------------
// <copyright file="mappingDialog.html">
// This code is licensed under the MIT License.
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF
// ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
// TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
// PARTICULAR PURPOSE AND NONINFRINGEMENT.
// </copyright>
// <summary>
// Part of the Requirements Integrator VSO extension by the
// ALM Rangers. This file registers the mapping dialog, which
// allows you to map work items to a requirement.
// </summary>
//---------------------------------------------------------------------
-->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta http-equiv="cache-control" content="max-age=0" />
<meta http-equiv="cache-control" content="no-cache" />
<meta http-equiv="expires" content="0" />
<meta http-equiv="expires" content="Tue, 01 Jan 1980 1:00:00 GMT" />
<meta http-equiv="pragma" content="no-cache" />
<title>Requirements Management</title>
<link rel="stylesheet" href="static/css/app.css" type="text/css" />
<script src="lib/VSS.SDK.js"></script>
<!-- <script type="text/javascript">
var appInsights = window.appInsights || function (config) {
function r(config) { t[config] = function () { var i = arguments; t.queue.push(function () { t[config].apply(t, i) }) } } var t = { config: config }, u = document, e = window, o = "script", s = u.createElement(o), i, f; for (s.src = config.url || "//az416426.vo.msecnd.net/scripts/a/ai.0.js", u.getElementsByTagName(o)[0].parentNode.appendChild(s), t.cookie = u.cookie, t.queue = [], i = ["Event", "Exception", "Metric", "PageView", "Trace"]; i.length;) r("track" + i.pop()); return r("setAuthenticatedUserContext"), r("clearAuthenticatedUserContext"), config.disableExceptionTracking || (i = "onerror", r("_" + i), f = e[i], e[i] = function (config, r, u, e, o) { var s = f && f(config, r, u, e, o); return s !== !0 && t["_" + i](config, r, u, e, o), s }), t
}({
instrumentationKey: "89108475-3065-4c94-af03-5a64c85e332b"
});
window.appInsights = appInsights;
appInsights.trackPageView();
appInsights.trackEvent("RequirementsIntegrator.MappingDialog");
</script>-->
</head>
<body>
<script type="text/javascript">
// Initialize the VSS sdk
VSS.init({
explicitNotifyLoaded: true,
usePlatformScripts: true,
moduleLoaderConfig: {
paths: {
"Scripts": "scripts",
"dist": "dist"
}
}
});
VSS.ready(function () {
require(["dist/mappingDialog"], function (app) {
VSS.register("createMappingDialog", function (context) {
return new app.MappingDialog(context);
});
VSS.notifyLoadSucceeded();
});
});
</script>
<div id="message">
</div>
<span>Please select a work item type from the dropdown to begin. If any work items are available, they will display with checkboxes next to them. Select one or more work items to map, then click Save.</span>
<hr />
<div style="display: none;" id="workItemTypeGroup">
<div style="margin-bottom: 9px;">Work item type</div>
<div><select id="workItemType" style="width: 100%;"></select></div>
</div>
<div id="mappingContent"></div>
</body>
</html>