-
Notifications
You must be signed in to change notification settings - Fork 0
/
form.html
100 lines (86 loc) · 3.55 KB
/
form.html
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Bug Report</title>
<link rel="stylesheet" href="./form.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
</head>
<body>
<header>
<nav class="navbar">
<h1 class="logo">To The New</h1>
<ul>
<li><a href="">Home</a></li>
<li><a href="">Quick help</a></li>
</ul>
</nav>
</header>
<section>
<form class="container" action="">
<div class="heading-container">
<h1>Bug Report</h1>
</div>
<div class="input-fields">
<label for="">Title:*</label>
<input type="text" name="title" id="title" required>
<label for="">Description:*</label>
<textarea name="desc" id="desc" cols="30" rows="4" required></textarea>
<label for="">Operating system:</label>
<select name="os" id="os">
<option value="0" selected>Window XP</option>
<option value="1">Linux</option>
<option value="2">Mac OS</option>
<option value="3">Kali</option>
</select>
<label for="">Product:*</label>
<select name="product" id="product">
<option value="0" selected>Form old</option>
<option value="1">From new</option>
<option value="2">Form mix</option>
</select>
<label for="">Version:*</label><br>
<input type="text" id="version" required>
<div class="license">
<label for="html">License:*</label><br>
<div class="license-container">
<div class="free-container">
<input type="radio" name="free" id="free" value="free">
<label id="free" for="free">Free</label>
</div>
<div class="bss-container">
<input type="radio" name="bss" id="bss" value="bss">
<label for="bss">Business</label>
</div>
</div>
</div>
<label for="">Severity:*</label>
<select name="product" id="product">
<option value="0" selected>Critial</option>
<option value="1">Normal</option>
<option value="2">Not normal</option>
</select>
<label for="">Attachments:</label>
<label for="custom-file-upload" class="filupp">
<span class="filupp-file-name js-value">Browse Files</span>
<input type="file" name="attachment-file" value="1" id="custom-file-upload"/>
<div class="action">Choose file</div>
</label>
</div>
<div class="action-btn-container">
<button class="action-btn">Send</button>
</div>
</form>
</section>
<script>
$(document).ready(function() {
$('input[type="file"]').change(function(){
var value = $("input[type='file']").val();
$('.js-value').text(value);
});
});
</script>
</body>
</html>