pas de double readme. Page de démo en HTML 5

This commit is contained in:
cy_altern 2022-06-01 01:13:14 +02:00
parent a23447608b
commit e2c9c6c6bc

View file

@ -1,17 +1,13 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
[(#REM) Cf.: http://paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/
]<!--[if lt IE 7 ]> <html dir="#LANG_DIR" lang="#LANG" xmlns="http://www.w3.org/1999/xhtml" xml:lang="#LANG" class="[(#LANG_DIR)][ (#LANG)] no-js ie ie6"> <![endif]-->
<!--[if IE 7 ]> <html dir="#LANG_DIR" lang="#LANG" xmlns="http://www.w3.org/1999/xhtml" xml:lang="#LANG" class="[(#LANG_DIR)][ (#LANG)] no-js ie ie7"> <![endif]-->
<!--[if IE 8 ]> <html dir="#LANG_DIR" lang="#LANG" xmlns="http://www.w3.org/1999/xhtml" xml:lang="#LANG" class="[(#LANG_DIR)][ (#LANG)] no-js ie ie8"> <![endif]-->
<!--[if IE 9 ]> <html dir="#LANG_DIR" lang="#LANG" xmlns="http://www.w3.org/1999/xhtml" xml:lang="#LANG" class="[(#LANG_DIR)][ (#LANG)] no-js ie ie9"> <![endif]-->
<!--[if (gt IE 9)|!(IE)]><!--> <html dir="#LANG_DIR" lang="#LANG" xmlns="http://www.w3.org/1999/xhtml" xml:lang="#LANG" class="[(#LANG_DIR)][ (#LANG)] no-js"> <!--<![endif]-->
<head>
[(#REM) Page de démo accessible sous /?page=demo/libphonenumber_demo ]
<!DOCTYPE html>
<html dir="#LANG_DIR" lang="#LANG" class="[(#LANG_DIR)][ (#LANG)] no-js">
<head>
[(#REM) Page de démo accessible sous /?page=demo/libphonenumber_demo ]
<script src="[(#CHEMIN{js/html5-qrcode.min.js}|timestamp)]" type="text/javascript"></script>
<script type='text/javascript'>/*<![CDATA[*/(function(H){H.className=H.className.replace(/\bno-js\b/,'js')})(document.documentElement);/*]]>*/</script>
<title>[(#NOM_SITE_SPIP|textebrut)][ - (#SLOGAN_SITE_SPIP|textebrut)]</title>
[<meta name="description" content="(#DESCRIPTIF_SITE_SPIP|couper{150}|attribut_html)" />]
<INCLURE{fond=inclure/head} />
<style type="text/css">
.page{text-align:center; margin-top:10em}
.libphonenumber{margin:0 auto; width:800px; text-align:left;}
@ -19,24 +15,6 @@
.editer_force_telephone{display:none}
</style>
</head>
<body>
<div class="page" style="background-color:white; color:black;">
<div class="inner">
<h1>Lecteur de qrcode</h1>
<div id="reader" width="600px"></div>
<textarea name="" id="resultat" style="display:none; width: 100%"></textarea>
<br>
<br>
<br>
<br>
</div>
</div><!--.page-->
</body>
<script>
jQuery(function() {
console.log("coucou");
@ -62,4 +40,19 @@
html5QrcodeScanner.render(onScanSuccess, onScanFailure);
});
</script>
</head>
<body>
<div class="page" style="background-color:white; color:black;">
<div class="inner">
<h1>Lecteur de qrcode</h1>
<div id="reader" width="600px"></div>
<textarea name="" id="resultat" style="display:none; width: 100%"></textarea>
<br>
<br>
<br>
<br>
</div>
</div>
</body>
</html>