13958.7.1
by Raphael Badin
Create UpdaterWidget to update the MP in place. |
1 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
2 |
<html> |
|
3 |
<head> |
|
13958.7.2
by Raphael Badin
Fix html title. |
4 |
<title>Updater</title> |
13958.7.1
by Raphael Badin
Create UpdaterWidget to update the MP in place. |
5 |
|
6 |
<!-- YUI and test setup -->
|
|
7 |
<script type="text/javascript" |
|
8 |
src="../../../../canonical/launchpad/icing/yui/yui/yui.js"> |
|
9 |
</script> |
|
10 |
<link rel="stylesheet" href="../../../app/javascript/testing/test.css" /> |
|
11 |
<script type="text/javascript" |
|
12 |
src="../../../app/javascript/testing/testrunner.js"></script> |
|
13 |
<script type="text/javascript" |
|
14 |
src="../../../app/javascript/testing/mockio.js"></script> |
|
15 |
<script type="text/javascript" src="../../../app/javascript/client.js"></script> |
|
16 |
<script type="text/javascript" src="../../../app/javascript/lp.js"></script> |
|
17 |
<script type="text/javascript" src="../../../app/javascript/anim/anim.js"></script> |
|
18 |
<script type="text/javascript" |
|
19 |
src="../../../app/javascript/extras/extras.js"></script> |
|
20 |
||
21 |
<!-- expected variable -->
|
|
22 |
<script type="text/javascript"> |
|
23 |
var LP = { |
|
24 |
cache: {}, |
|
25 |
links: {} |
|
26 |
};
|
|
27 |
</script> |
|
28 |
||
29 |
<!-- The module under test -->
|
|
30 |
<script type="text/javascript" src="../branchmergeproposal.updater.js"></script> |
|
31 |
||
32 |
<!-- The test suite -->
|
|
33 |
<script type="text/javascript" src="test_branchmergeproposal.updater.js"></script> |
|
34 |
||
35 |
</head> |
|
36 |
<body class="yui3-skin-sam"> |
|
37 |
<div id="placeholder" style="display:none;"> |
|
38 |
</div> |
|
39 |
||
40 |
<script type="text/x-template" id="pending-mp"> |
|
41 |
<div id="diff-area"> |
|
42 |
<div class="pending-update" id="diff-pending-update"> |
|
43 |
<h3>Updating diff...</h3> |
|
44 |
<p>An updated diff will be available in a few minutes.</p> |
|
45 |
</div> |
|
46 |
</div> |
|
47 |
</script> |
|
48 |
||
49 |
<script type="text/x-template" id="current-mp"> |
|
50 |
<div id="diff-area"> |
|
51 |
<div id="review-diff"> |
|
52 |
<h2>Preview Diff</h2> |
|
53 |
<div class="diff-content">Example diff</div> |
|
54 |
</div> |
|
55 |
</div> |
|
56 |
</script> |
|
57 |
||
58 |
</body> |
|
59 |
</html> |