-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathposting.html
More file actions
44 lines (41 loc) · 1.94 KB
/
posting.html
File metadata and controls
44 lines (41 loc) · 1.94 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<!DOCTYPE html>
<html lang="en">
<script src="https://code.jquery.com/jquery-3.2.1.min.js" integrity="sha256-hwg4gsxgFZhOsEEamdOYGBf13FyQuiTwlAQgxVSNgt4="
crossorigin="anonymous"></script>
<script type="text/javascript">
$(document).ready(function () {
$("#header").load("header.html");
$("#nav").load("navigation.html");
$("#footer").load("footer.html");
$("#script").load("script.html");
/* id 지정을 통해서도 가능합니다.
$("#header").load("header.html #navbar")
*/
});
</script>
<div id="header"></div>
<body>
<div id="nav"></div>
<section class="py-5">
<div class="container">
<form action="write_ok.php" method="post">
<div class = "row gx-4 gx-lg-5 row-cols-1 justify-content-left h=100">
<textarea class="mt-1 mb-1" name="title" maxlength="30" rows="1" cols="auto" placeholder="Title" maxlength="150"
required></textarea>
<select name="language" class="mt-1 mb-1" style="width:110px">
<option value="C"> C </option>
<option value="C++" selected> C++ </option>
<option value="Python"> Python </option>
<option value="etc"> etc </option>
</select>
<textarea class="mt-1 mb-1" name="description" maxlength="100" rows="10" cols="auto" placeholder="Description" required></textarea>
<textarea class="mt-1 mb-1" name="source_code" rows="10" cols="auto" placeholder="Source code" required></textarea>
<button class="btn btn-outline-dark mt-1 mb-1" type="submit" style="float: right;">Posting</button>
</div>
</form>
</div>
</section>
<div id="footer"></div>
<div id="script"></div>
</body>
</html>