Advertisement
campos20

index.html

Nov 16th, 2020
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.90 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <!-- Required meta tags -->
  5. <meta charset="utf-8" />
  6. <meta
  7. name="viewport"
  8. content="width=device-width, initial-scale=1, shrink-to-fit=no"
  9. />
  10.  
  11. <!-- Bootstrap CSS -->
  12. <link
  13. rel="stylesheet"
  14. href="https://cdn.jsdelivr.net/npm/bootstrap@4.5.3/dist/css/bootstrap.min.css"
  15. integrity="sha384-TX8t27EcRE3e/ihU7zmQxVncDAy5uIKz4rEkgIXeMed4M0jlfIDPvg6uqKI2xXr2"
  16. crossorigin="anonymous"
  17. />
  18.  
  19. <link
  20. rel="stylesheet"
  21. href="https://pro.fontawesome.com/releases/v5.10.0/css/all.css"
  22. integrity="sha384-AYmEC3Yw5cVb3ZcuHtOA93w35dYTsvhLPVnYs9eStHfGJvOvKxVfELGroGkvsg+p"
  23. crossorigin="anonymous"
  24. />
  25.  
  26. <link rel="stylesheet" type="text/css" href="style.css" />
  27.  
  28. <title>Lista a Fazer</title>
  29. </head>
  30. <body>
  31. <div class="container">
  32. <h1 class="text-center">Lista a Fazer</h1>
  33.  
  34. <form class="my-3" id="formulario">
  35. <div class="form-row">
  36. <div class="col">
  37. <input
  38. id="descricao-input"
  39. type="text"
  40. class="form-control"
  41. placeholder="Descrição da tarefa"
  42. required
  43. />
  44. </div>
  45. <div class="col">
  46. <input id="data-input" type="date" class="form-control" required />
  47. </div>
  48. <div class="col text-center">
  49. <div class="form-check m-2">
  50. <input id="feito-input" type="checkbox" />
  51. <label for="feito-input">Feito</label>
  52. </div>
  53. </div>
  54. <div class="col btn-group">
  55. <button class="btn btn-primary">
  56. <i class="fas fa-plus-circle"></i> Adicionar
  57. </button>
  58. <button type="reset" class="btn btn-warning">
  59. <i class="fas fa-eraser"></i> Limpar
  60. </button>
  61. </div>
  62. </div>
  63. </form>
  64.  
  65. <table class="table table-hover table-striped table-bordered">
  66. <thead class="thead-dark">
  67. <th>#</th>
  68. <th>Descrição</th>
  69. <th>Data</th>
  70. <th>Feito</th>
  71. <th></th>
  72. </thead>
  73. <tbody id="conteudo"></tbody>
  74. </table>
  75.  
  76. <form class="my-3 invisivel" id="formulario-edit">
  77. <div class="form-row">
  78. <div class="col">
  79. <input
  80. id="descricao-input-edit"
  81. type="text"
  82. class="form-control"
  83. placeholder="Descrição da tarefa"
  84. required
  85. />
  86. </div>
  87. <div class="col">
  88. <input
  89. id="data-input-edit"
  90. type="date"
  91. class="form-control"
  92. required
  93. />
  94. </div>
  95. <div class="col text-center">
  96. <div class="form-check m-2">
  97. <input id="feito-input-edit" type="checkbox" />
  98. <label for="feito-input-edit">Feito</label>
  99. </div>
  100. </div>
  101. <div class="col btn-group">
  102. <button class="btn btn-success">
  103. <i class="far fa-save"></i> Salvar
  104. </button>
  105. <button type="button" id="cancelar-edicao" class="btn btn-warning">
  106. <i class="fas fa-window-close"></i> Cancelar
  107. </button>
  108. </div>
  109. </div>
  110. </form>
  111. </div>
  112.  
  113. <script src="script.js"></script>
  114.  
  115. <script
  116. src="https://code.jquery.com/jquery-3.5.1.slim.min.js"
  117. integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj"
  118. crossorigin="anonymous"
  119. ></script>
  120. <script
  121. src="https://cdn.jsdelivr.net/npm/bootstrap@4.5.3/dist/js/bootstrap.bundle.min.js"
  122. integrity="sha384-ho+j7jyWK8fNQe+A12Hb8AhRq26LrZ/JpcUGGOn+Y7RsweNrtN/tE3MoK7ZeZDyx"
  123. crossorigin="anonymous"
  124. ></script>
  125. </body>
  126. </html>
  127.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement