root/Mixxi/trunk/root/about.tt

Revision 2087 (checked in by miyagawa, 14 years ago)

close A tag

Line 
1 [% INCLUDE head.tt meta_refresh = url.url %]
2
3 <p>Redirecting in <span id="timer">10</span> seconds. <img src="[% c.uri_for('/static/images/') %]spinner_mac.gif" style="valign:middle" /></p>
4
5 <p>
6 Long URL: [% url.url | html %]<br />
7 Short URL: <a href="[% c.uri_for('/') %][% url.canon_path | html %]">[% c.uri_for('/') %][% url.canon_path | html %]</a></p>
8
9 <p>[% SET qr = c.uri_for('/qr/') _ url.canon_path -%]
10 <a href="[% qr | html %]"><img src="[% qr | html %]" style="border:0" /></a></p>
11
12 <script language="JavaScript">
13 var timer = 10;
14 setTimeout(countDown, 1000);
15 function countDown() {
16   timer = timer - 1;
17   if (timer <= 0) return;
18   document.getElementById('timer').innerHTML = timer;
19   setTimeout(countDown, 1000);
20 }
21 </script>
22
23
24 [% INCLUDE footer.tt %]
Note: See TracBrowser for help on using the browser.