OLD | NEW |
| (Empty) |
1 <!doctype html> | |
2 | |
3 <!-- Copyright (c) 2012 The Chromium Authors. All rights reserved. | |
4 Use of this source code is governed by a BSD-style license that can be | |
5 found in the LICENSE file. --> | |
6 | |
7 <html> | |
8 <head> | |
9 <title>Page Cycler</title> | |
10 <link rel="stylesheet" type="text/css" href="page_cycler.css"/> | |
11 </head> | |
12 <body> | |
13 | |
14 <div id="page"> | |
15 <div id="tab-navigator"> | |
16 <div class="tab-label" id="capture-tab-label"><a>Prepare Test</a></div> | |
17 <div class="tab-label" id="replay-tab-label"><a>Run Test</a></div> | |
18 </div> | |
19 | |
20 <div class="splitter"></div> | |
21 | |
22 <div id="tab-wrapper"> | |
23 <div id="capture-tab" class="tab"> | |
24 <h1>Set Up Page Cycling Test</h1> | |
25 <p> | |
26 <b>Set up the list of URLs, and a cache directory. "Prepare Test" will | |
27 do a preliminary visit of all the URLs, caching them in the indicated | |
28 directory.</b> | |
29 </p> | |
30 <div id="capture-errors-display" class="error-list-hide"> | |
31 <h2>Errors Occured during Capture:</h2> | |
32 <p id="capture-errors"></p> | |
33 </div> | |
34 <div> | |
35 <p class="control-label">List of URLs to cycle</p> | |
36 <textarea id="capture-urls" class="url-list"><Add URLS> | |
37 </textarea> | |
38 </div> | |
39 <div class="entry-field"> | |
40 <span class="control-label">Cache directory:</span><br/> | |
41 <input id="capture-cache-dir" type="text" class="dir-choice"/> | |
42 </div> | |
43 | |
44 <div class="command-button"> | |
45 <button id="capture-test"> | |
46 Prepare Test | |
47 </button> | |
48 </div> | |
49 | |
50 </div> | |
51 | |
52 <div id="replay-tab" class="tab"> | |
53 <h1>Replay Prepared Test</h1> | |
54 <div id="replay-errors-display" class="error-list-hide"> | |
55 <h2>Errors Occured during Replay:</h2> | |
56 <p id="replay-errors"></p> | |
57 </div> | |
58 <div> | |
59 <p class="control-label">List of URLs to replay</p> | |
60 <p id="replay-urls" class="url-list"></p> | |
61 </div> | |
62 <div class="entry-field"> | |
63 <span class="control-label">Cache directory: </span> | |
64 <span id="replay-cache-dir"></span> | |
65 </div> | |
66 <div class="entry-field"> | |
67 <span class="control-label">Repeat count: </span> | |
68 <input id="repeat-count" type="text" value="1"/> | |
69 </div> | |
70 <div class="entry-field"> | |
71 <span class="control-label">Extension directory: </span> | |
72 <input id="extension-dir" type="text" class="dir-choice"/> | |
73 </div> | |
74 <div> | |
75 <p class="control-label">Result of Replay</p> | |
76 <textarea id="replay-result" class="url-list"> | |
77 </textarea> | |
78 </div> | |
79 <div class="command-button"> | |
80 <button id="replay-test" disabled=true> | |
81 Replay Test | |
82 </button> | |
83 </div> | |
84 </div> | |
85 </div> | |
86 </div> | |
87 | |
88 <script type="text/javascript" src="page_cycler.js"></script> | |
89 </body> | |
90 </html> | |
OLD | NEW |