You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

64 rivejä
4.4 KiB

  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" lang="fr">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
  5. <title>TXT</title>
  6. <meta name="description" content="Text formatting online at TXTformat.com">
  7. <meta name="keywords" content="text formatting, online text formatter">
  8. <script async="" type="text/javascript" src="textformatting.js"></script>
  9. <meta http-equiv="Content-Language" content="FR">
  10. <link href="https://cdn.materialdesignicons.com/1.7.22/css/materialdesignicons.min.css" rel="stylesheet" type="text/css">
  11. <link href="style.css" rel="stylesheet" type="text/css">
  12. </head>
  13. <body>
  14. <div id="row">
  15. <div class="col-lg-12">
  16. <h1><i class="mdi mdi-format-clear"></i> TXT Unformat</h1>
  17. <p class="text-muted">
  18. Outil simple de suppression de mise en forme de texte pour accelerer certaines taches qui pourraient etres longues et repetitives.<br>
  19. Indique egalement rapidement combien de mots et de lettres sont dans votre texte.
  20. </p>
  21. <hr>
  22. </div>
  23. <div class="col-lg-7">
  24. <div class="col-lg-8">
  25. <button class="btn btn-success" onclick="selectall();"><i class="mdi mdi-cursor-default"></i></button>
  26. &nbsp;
  27. <button class="btn btn-danger" onclick="cleartext();"><i class="mdi mdi-eraser"></i></button>
  28. &nbsp;&nbsp;&nbsp;
  29. <button class="btn btn-default" onclick="capitalizesentences();"><i class="mdi mdi-wrench"></i> <strong>L</strong>ettrine</button>
  30. &nbsp;
  31. <button class="btn btn-default" onclick="uppercase();"><i class="mdi mdi-wrench"></i> MAJUSCULE</button>
  32. &nbsp;
  33. <button class="btn btn-default" onclick="lowercase();"><i class="mdi mdi-wrench"></i> minuscule</button>
  34. &nbsp;
  35. <button class="btn btn-default hidden" onclick="capitalizewords();">Capitalize Words</button>
  36. </div>
  37. <div class="col-lg-2"><input class="form-control" type="text" readonly="readonly" id="words" value="" disabled=""></div>
  38. <div class="col-lg-2"><input class="form-control" type="text" readonly="readonly" id="characters" value="" disabled=""></div>
  39. <br>
  40. <br>
  41. <textarea class="form-control" rows="16" id="thetext" onkeyup="updatecounts();" onchange="updatecounts();" onfocus="updatecounts();" placeholder="Votre texte ici :)"></textarea>
  42. </div>
  43. <hr>
  44. <div class="col-lg-5">
  45. <p><br><br><br></p>
  46. <div class="col-lg-12"><button class="btn btn-info" onclick="replacetext();">Remplacer</button></div>
  47. <div class="col-lg-5"><input class="form-control" type="text" id="from" value=""></div>
  48. <div class="col-lg-1">par</div>
  49. <div class="col-lg-6"><input class="form-control" type="text" id="to" value=""></div>
  50. <div class="col-lg-12 hidden"><input type="checkbox" id="cs">Case</div>
  51. <p><br><br><br><br><br></p>
  52. <div class="col-lg-12"><button class="btn btn-success" onclick="addtext();">Ajouter</button></div>
  53. <div class="col-lg-5"><input class="form-control" type="text" id="add" value=""></div>
  54. <div class="col-lg-7"><select class="form-control" id="addpos"><option value="start">au debut de chaque ligne.</option><option value="end">a la fin de chaque ligne.</option></select></div>
  55. <p><br><br><br><br><br></p>
  56. <div class="col-lg-12"><button class="btn btn-warning" onclick="trimtext();">Supprimer les</button></div>
  57. <div class="col-lg-3"><select class="form-control" id="trimnumber"><option value="1">1</option><option value="2">2</option><option value="3">3</option><option value="4">4</option><option value="5">5</option><option value="6">6</option><option value="7">7</option><option value="8">8</option><option value="9">9</option><option value="10">10</option><option value="11">11</option><option value="12">12</option><option value="13">13</option><option value="14">14</option><option value="15">15</option><option value="16">16</option><option value="17">17</option><option value="18">18</option><option value="19">19</option><option value="20">20</option></select></div>
  58. <div class="col-lg-9"><select class="form-control" id="trimpos"><option value="first">premieres lettres de chaque ligne.</option><option value="last">dernieres lettres de chaque ligne.</option></select></div>
  59. </div>
  60. </div>
  61. </body>
  62. </html>