dialog.html 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
  6. <link type="text/css" rel="stylesheet" href="../../common/css/material-icons.css"/>
  7. <link type="text/css" rel="stylesheet" href="../../common/css/materialize.min.css" media="screen,projection"/>
  8. <link type="text/css" rel="stylesheet" href="../../common/css/style.min.css" media="screen,projection"/>
  9. <title>Electronotes</title>
  10. </head>
  11. <body class="grey lighten-4 border">
  12. <main class="contianer">
  13. <div class="row mtop-2">
  14. <div class="col s12 center-align">
  15. Veuilliez entrer un nombre pour tester si il est premier.<br/>
  16. Le calcul ce fait en tache de fond et l'application continue a être disponible.<br/>
  17. Pour que le calcul prenne un peu de temps il est recommandé de choisir un nombre autour de 10000000000 (10 milliards).
  18. </div>
  19. </div>
  20. <div class="row">
  21. <div class="input-field col s12 m8 offset-m2">
  22. <input id="number" type="number">
  23. <label for="number">Nombre à tester</label>
  24. </div>
  25. </div>
  26. <div class="row">
  27. <div class="col s12 m6 center-align mtop-1">
  28. <button class="waves-effect waves-light blue btn-large" onclick="closeWindow()"><i class="material-icons right">close</i>Fermer</button>
  29. </div>
  30. <div class="col s12 m6 center-align mtop-1">
  31. <button class="waves-effect waves-light blue btn-large" onclick="validate()"><i class="material-icons right">send</i>Valider</button>
  32. </div>
  33. </div>
  34. </main>
  35. <!-- Load electronotes.js first to have all functions and commons imports -->
  36. <script type="text/javascript" src="../../common/js/electronotes.js"></script>
  37. <!-- Load other common files -->
  38. <script type="text/javascript" src="../../common/js/event.js"></script>
  39. <script type="text/javascript" src="../../common/js/binder.js"></script>
  40. <script type="text/javascript" src="../../common/js/materialize.min.js"></script>
  41. <!-- Load personnal js -->
  42. <script type="text/javascript" src="dialog.js"></script>
  43. </body>
  44. </html>