tiny-slitaz diff index.php @ rev 7
Add suggested support
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jan 05 17:39:36 2016 +0100 (2016-01-05) |
parents | ac214416e736 |
children | 47ac6085fee5 |
line diff
1.1 --- a/index.php Sun Nov 01 16:56:16 2015 +0100 1.2 +++ b/index.php Tue Jan 05 17:39:36 2016 +0100 1.3 @@ -16,8 +16,8 @@ 1.4 <meta name="viewport" content="width=device-width, initial-scale=1"> 1.5 <meta name="author" content="SliTaz Contributors"> 1.6 <meta name="publisher" content="www.slitaz.org"> 1.7 - <link rel="shortcut icon" href="/static/favicon.ico"> 1.8 - <link rel="stylesheet" href="/static/slitaz.min.css"> 1.9 + <link rel="shortcut icon" href="favicon.ico"> 1.10 + <link rel="stylesheet" href="slitaz.min.css"> 1.11 <link rel="stylesheet" href="tiny.css"> 1.12 <style>pre, tt, code { font-size: 0.9rem; }</style> 1.13 </head> 1.14 @@ -103,7 +103,7 @@ 1.15 } 1.16 catch (any) { 1.17 var element = document.createElement("script"); 1.18 - element.src = "/static/qrcode.min.js"; 1.19 + element.src = "qrcode.min.js"; 1.20 element.type = "text/javascript"; 1.21 element.onload = function() { 1.22 obj.src = QRCode.generatePNG(str, {ecclevel: 'H'}); 1.23 @@ -134,7 +134,7 @@ 1.24 <a href="http://en.wikipedia.org/wiki/SliTaz">Wikipedia</a> ยท 1.25 <a href="http://flattr.com/profile/slitaz">Flattr</a> 1.26 </div> 1.27 - <img src="/static/qr.png" alt="#" onmouseover="this.title = location.href" 1.28 + <img src="qr.png" alt="#" onmouseover="this.title = location.href" 1.29 onclick="this.src = QRCodePNG(location.href, this)"/> 1.30 </footer> 1.31