root/Mixxi/trunk/root/about.tt

Revision 2084 (checked in by miyagawa, 13 years ago)

qr code is now clickable

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') _ uri.canon_path %]
10 <a href="[% qr | html %]"><img src="[% qr | html %]" style="border:0" /></p>
11
12 <p><a href="[% c.uri_for('/url') %]">Create your own NOW!</a></p>
13
14 <script language="JavaScript">
15 var timer = 10;
16 setTimeout(countDown, 1000);
17 function countDown() {
18   timer = timer - 1;
19   if (timer <= 0) return;
20   document.getElementById('timer').innerHTML = timer;
21   setTimeout(countDown, 1000);
22 }
23 </script>
24
25
26 [% INCLUDE footer.tt %]
Note: See TracBrowser for help on using the browser.