fork download
  1. <!DOCTYPE html>
  2. <html lang="th">
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  6. <title>ระบบการขอใช้รถ</title>
  7. <link href="https://c...content-available-to-author-only...r.net/npm/fullcalendar@6.1.8/index.global.min.css" rel="stylesheet">
  8. <script src="https://c...content-available-to-author-only...r.net/npm/fullcalendar@6.1.8/index.global.min.js"></script>
  9. <style>
  10. body {
  11. font-family: Arial, sans-serif;
  12. margin: 20px;
  13. background-color: #f9f9f9;
  14. position: relative;
  15. }
  16. h1, h2 {
  17. color: #2c3e50;
  18. }
  19. form {
  20. margin-bottom: 20px;
  21. padding: 15px;
  22. border: 1px solid #bdc3c7;
  23. border-radius: 5px;
  24. max-width: 600px;
  25. background-color: white;
  26. position: relative;
  27. z-index: 2;
  28. }
  29. label {
  30. display: block;
  31. margin-bottom: 5px;
  32. font-weight: bold;
  33. }
  34. input, select, button {
  35. width: 100%;
  36. padding: 10px;
  37. margin-bottom: 10px;
  38. border: 1px solid #bdc3c7;
  39. border-radius: 4px;
  40. font-size: 14px;
  41. }
  42. button {
  43. background-color: #27ae60;
  44. color: white;
  45. border: none;
  46. cursor: pointer;
  47. }
  48. button:hover {
  49. background-color: #2ecc71;
  50. }
  51. #calendar {
  52. margin-top: 20px;
  53. z-index: 2;
  54. background-color: white;
  55. border: 1px solid #bdc3c7;
  56. border-radius: 5px;
  57. padding: 10px;
  58. }
  59. #message {
  60. font-weight: bold;
  61. margin-top: 10px;
  62. }
  63. /* ลายน้า */
  64. body::before {
  65. content: "แผนกหม้อปั่น-บรรจุ";
  66. font-size: 50px;
  67. color: rgba(0, 0, 0, 0.1);
  68. position: absolute;
  69. top: 50%;
  70. left: 50%;
  71. transform: translate(-50%, -50%);
  72. white-space: nowrap;
  73. z-index: 1;
  74. pointer-events: none;
  75. }
  76. /* Responsive Design */
  77. @media (max-width: 768px) {
  78. form {
  79. padding: 10px;
  80. max-width: 100%;
  81. }
  82. input, select, button {
  83. font-size: 12px;
  84. }
  85. #calendar {
  86. padding: 5px;
  87. }
  88. }
  89. </style>
  90. </head>
  91. <body>
  92. <h1>ระบบการขอใช้รถ</h1>
  93. <!-- ฟอร์มจองรถ -->
  94. <h2>จองรถ</h2>
  95. <form id="bookingForm">
  96. <label for="employee_name">ชื่อผู้ขอ:</label>
  97. <input type="text" id="employee_name" name="employee_name" required>
  98. <label for="department">แผนก:</label>
  99. <input type="text" id="department" name="department" value="หม้อปั่น-บรรจุ" readonly>
  100. <label for="phone">เบอร์โทร:</label>
  101. <input type="text" id="phone" name="phone" required pattern="^0[689]\d{8}$" title="กรุณากรอกเบอร์โทร 10 หลัก">
  102. <label for="vehicle_type">ประเภทของรถ:</label>
  103. <select id="vehicle_type" name="vehicle_type">
  104. <option value="forklift">รถโฟล์คลิฟท์</option>
  105. <option value="electric_tricycle">รถสามล้อไฟฟ้า</option>
  106. </select>
Success #stdin #stdout 0.02s 25900KB
stdin
Standard input is empty
stdout
<!DOCTYPE html>
<html lang="th">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>ระบบการขอใช้รถ</title>
<link href="https://c...content-available-to-author-only...r.net/npm/fullcalendar@6.1.8/index.global.min.css" rel="stylesheet">
<script src="https://c...content-available-to-author-only...r.net/npm/fullcalendar@6.1.8/index.global.min.js"></script>
<style>
body {
font-family: Arial, sans-serif;
margin: 20px;
background-color: #f9f9f9;
position: relative;
}
h1, h2 {
color: #2c3e50;
}
form {
margin-bottom: 20px;
padding: 15px;
border: 1px solid #bdc3c7;
border-radius: 5px;
max-width: 600px;
background-color: white;
position: relative;
z-index: 2;
}
label {
display: block;
margin-bottom: 5px;
font-weight: bold;
}
input, select, button {
width: 100%;
padding: 10px;
margin-bottom: 10px;
border: 1px solid #bdc3c7;
border-radius: 4px;
font-size: 14px;
}
button {
background-color: #27ae60;
color: white;
border: none;
cursor: pointer;
}
button:hover {
background-color: #2ecc71;
}
#calendar {
margin-top: 20px;
z-index: 2;
background-color: white;
border: 1px solid #bdc3c7;
border-radius: 5px;
padding: 10px;
}
#message {
font-weight: bold;
margin-top: 10px;
}
/* ลายน้า */
body::before {
content: "แผนกหม้อปั่น-บรรจุ";
font-size: 50px;
color: rgba(0, 0, 0, 0.1);
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
white-space: nowrap;
z-index: 1;
pointer-events: none;
}
/* Responsive Design */
@media (max-width: 768px) {
form {
padding: 10px;
max-width: 100%;
}
input, select, button {
font-size: 12px;
}
#calendar {
padding: 5px;
}
}
</style>
</head>
<body>
<h1>ระบบการขอใช้รถ</h1>
<!-- ฟอร์มจองรถ -->
<h2>จองรถ</h2>
<form id="bookingForm">
<label for="employee_name">ชื่อผู้ขอ:</label>
<input type="text" id="employee_name" name="employee_name" required>
<label for="department">แผนก:</label>
<input type="text" id="department" name="department" value="หม้อปั่น-บรรจุ" readonly>
<label for="phone">เบอร์โทร:</label>
<input type="text" id="phone" name="phone" required pattern="^0[689]\d{8}$" title="กรุณากรอกเบอร์โทร 10 หลัก">
<label for="vehicle_type">ประเภทของรถ:</label>
<select id="vehicle_type" name="vehicle_type">
<option value="forklift">รถโฟล์คลิฟท์</option>
<option value="electric_tricycle">รถสามล้อไฟฟ้า</option>
</select>