comparison tests/test-hgweb-removed.t @ 14046:b24e5a708fad

web: Made elapsed time calculation dynamic (javascript). This allow safe caching of the pages by the browser and still display the right amount of elapsed time upon page refresh. If javascript is disabled, absolute time is displayed, leaving it readable. All the templates have been updated.
author Benoit Allard <benoit@aeteurope.nl>
date Thu, 28 Apr 2011 17:02:39 +0200
parents 38c9837b1f75
children 17c0cb1045e5
comparison
equal deleted inserted replaced
14045:1c38777f7b8a 14046:b24e5a708fad
22 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US"> 22 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US">
23 <head> 23 <head>
24 <link rel="icon" href="/static/hgicon.png" type="image/png" /> 24 <link rel="icon" href="/static/hgicon.png" type="image/png" />
25 <meta name="robots" content="index, nofollow" /> 25 <meta name="robots" content="index, nofollow" />
26 <link rel="stylesheet" href="/static/style-paper.css" type="text/css" /> 26 <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
27 <script type="text/javascript" src="/static/mercurial.js"></script>
27 28
28 <title>test: c78f6c5cbea9</title> 29 <title>test: c78f6c5cbea9</title>
29 </head> 30 </head>
30 <body> 31 <body>
31 <div class="container"> 32 <div class="container">
73 <th class="author">author</th> 74 <th class="author">author</th>
74 <td class="author">&#116;&#101;&#115;&#116;</td> 75 <td class="author">&#116;&#101;&#115;&#116;</td>
75 </tr> 76 </tr>
76 <tr> 77 <tr>
77 <th class="date">date</th> 78 <th class="date">date</th>
78 <td class="date">Thu Jan 01 00:00:00 1970 +0000 (1970-01-01)</td></tr> 79 <td class="date age">Thu Jan 01 00:00:00 1970 +0000</td></tr>
79 <tr> 80 <tr>
80 <th class="author">parents</th> 81 <th class="author">parents</th>
81 <td class="author"><a href="/rev/cb9a9f314b8b">cb9a9f314b8b</a> </td> 82 <td class="author"><a href="/rev/cb9a9f314b8b">cb9a9f314b8b</a> </td>
82 </tr> 83 </tr>
83 <tr> 84 <tr>
100 </span></pre></div> 101 </span></pre></div>
101 </div> 102 </div>
102 103
103 </div> 104 </div>
104 </div> 105 </div>
106 <script type="text/javascript">process_dates()</script>
105 107
106 108
107 </body> 109 </body>
108 </html> 110 </html>
109 111
117 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US"> 119 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US">
118 <head> 120 <head>
119 <link rel="icon" href="/static/hgicon.png" type="image/png" /> 121 <link rel="icon" href="/static/hgicon.png" type="image/png" />
120 <meta name="robots" content="index, nofollow" /> 122 <meta name="robots" content="index, nofollow" />
121 <link rel="stylesheet" href="/static/style-paper.css" type="text/css" /> 123 <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
124 <script type="text/javascript" src="/static/mercurial.js"></script>
122 125
123 <title>test: a diff</title> 126 <title>test: a diff</title>
124 </head> 127 </head>
125 <body> 128 <body>
126 129
172 <th>author</th> 175 <th>author</th>
173 <td>&#116;&#101;&#115;&#116;</td> 176 <td>&#116;&#101;&#115;&#116;</td>
174 </tr> 177 </tr>
175 <tr> 178 <tr>
176 <th>date</th> 179 <th>date</th>
177 <td>Thu Jan 01 00:00:00 1970 +0000 (1970-01-01)</td> 180 <td class="date age">Thu Jan 01 00:00:00 1970 +0000</td>
178 </tr> 181 </tr>
179 <tr> 182 <tr>
180 <th>parents</th> 183 <th>parents</th>
181 <td><a href="/file/cb9a9f314b8b/a">cb9a9f314b8b</a> </td> 184 <td><a href="/file/cb9a9f314b8b/a">cb9a9f314b8b</a> </td>
182 </tr> 185 </tr>
197 </span></pre></div> 200 </span></pre></div>
198 </div> 201 </div>
199 </div> 202 </div>
200 </div> 203 </div>
201 204
205 <script type="text/javascript">process_dates()</script>
202 206
203 207
204 </body> 208 </body>
205 </html> 209 </html>
206 210