Advertisement
Sharishah97

AddTask page

Nov 8th, 2018
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.57 KB | None | 0 0
  1. <%@ page language="java" contentType="text/html; charset=ISO-8859-1"
  2. pageEncoding="ISO-8859-1"%>
  3. <!DOCTYPE html>
  4. <html>
  5. <head>
  6. <meta charset="ISO-8859-1">
  7. <title>Awesome to-do list</title>
  8. <meta name="viewport" content="width=device-width, initial-scale=1">
  9. <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
  10. <style>
  11. body {
  12. font-family: Lucida Console, Helvetica, sans-serif;
  13. }
  14. * {
  15. box-sizing: border-box;
  16. }
  17. /* style the container */
  18. .container {
  19. position: relative;
  20. border-radius: 5px;
  21. background-color: #f2f2f2;
  22. padding: 20px 0 30px 0;
  23. }
  24. /* style inputs and link buttons */
  25. input,
  26. .btn {
  27. width: 50%;
  28. padding: 12px;
  29. border: none;
  30. border-radius: 4px;
  31. margin: 5px 0;
  32. opacity: 0.85;
  33. display: inline-block;
  34. font-size: 17px;
  35. line-height: 20px;
  36. text-decoration: none; /* remove underline from anchors */
  37. font-family: Lucida Console, Helvetica, sans-serif;
  38. }
  39. input:hover,
  40. .btn:hover {
  41. opacity: 1;
  42. }
  43. select,
  44. .btn1 {
  45. width: 25%;
  46. padding: 12px;
  47. border: none;
  48. border-radius: 4px;
  49. margin: 5px 0;
  50. opacity: 0.85;
  51. display: inline-block;
  52. font-size: 17px;
  53. line-height: 20px;
  54. text-decoration: none; /* remove underline from anchors */
  55. }
  56. select:hover,
  57. .btn1:hover {
  58. opacity: 1;
  59. }
  60. /* style the submit button */
  61. input[type=submit] {
  62. background-color: rgb(255, 102, 163);
  63. color: white;
  64. cursor: pointer;
  65. font-family: Lucida Console, Helvetica, sans-serif;
  66. }
  67. input[type=submit]:hover {
  68. background-color: rgb(204, 0, 82);
  69. }
  70. /* Clear floats after the columns */
  71. .row:after {
  72. content: "";
  73. display: table;
  74. clear: both;
  75. }
  76.  
  77. /* hide some text on medium and large screens */
  78. .hide-md-lg {
  79. display: none;
  80. }
  81. </style>
  82. </head>
  83. <body>
  84. <div class="container">
  85. <form action="AddTask" method="POST">
  86. <div class="row">
  87. <h2 style="text-align:center; color: rgb(153, 0, 61);">Awesome To-Do List</h2>
  88. <div class="col" style="text-align:center;">
  89.  
  90. <br>Task: <input type="text" name="task" placeholder="Task" required>
  91. <br>Due: <input type="date" name="due" placeholder="Due" required>
  92. <br>Priority:
  93. <select style="font-family: Lucida Console, Helvetica, sans-serif;" name="priority">
  94. <option name="low" value="low">Low</option>
  95. <option name="medium" value="medium">Medium</option>
  96. <option name="high" value="high">High</option>
  97. </select>
  98. <p>
  99. <input type="submit" value="AddTask">
  100. </div>
  101. </div>
  102. </form>
  103. </div>
  104.  
  105. </body>
  106. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement