-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
218 lines (172 loc) · 8.36 KB
/
index.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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Fireman | API Testing</title>
<link rel="icon" href="/assets/logo2.png">
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz" crossorigin="anonymous"></script>
<script src="./script.js" type="module"></script>
<style>
.hero-box{
padding-top: 7%;
padding-left: 5%;
}
.btn-outline-primary {
color: #ff5703 !important;
border-color: #ff5703 !important;
}
.btn-outline-primary:hover {
color: #fff !important;
background-color: #ff5703 !important;
border-color: #ff5703 !important;
}
.btn-outline-secondary{
color: #ffffff !important;
border-color: #ffffff !important;
}
.btn-outline-secondary:hover {
color: #ff4603 !important;
background-color: #ffffff !important;
border-color: #ff4603 !important;
}
.text-body-emphasis-light{
color: #ffffffd7 !important;
}
.span-text{
color: #ffffff !important;
}
</style>
</head>
<body>
<!-- Navbar -->
<nav class="navbar bg-body-tertiary ">
<div class="container">
<a class="navbar-brand" href="#">
<img src="./assets/logo.png" alt="Bootstrap" width="150">
</a>
<div class="btn-group" role="group" aria-label="Basic outlined example">
<button type="button" class="btn btn-outline-primary">Login</button>
<button type="button" class="btn btn-outline-primary">Signup</button>
</div>
</div>
</nav>
<!-- Hero Section -->
<div style="background-color: #ff5703; width: 100%; height: 90vh;">
<div class="container col-xxl-8 hero-box">
<div class="row flex-lg-row-reverse align-items-center g-5 py-5">
<div class="col-10 col-sm-8 col-lg-6">
<img src="https://voyager.postman.com/illustration/postman-flows-lab-illustration.svg" class="d-block mx-lg-auto img-fluid" alt="Bootstrap Themes" width="700" height="500" loading="lazy">
</div>
<div class="col-lg-6">
<h1 class="display-3 fw-bold text-body-emphasis-light lh-1 mb-3">Fuel your API testing with <span class="span-text">Fireman.</span></h1>
<p class="lead span-text">Empower your API testing with Fireman, the ultimate tool for blazing through challenges and achieving unparalleled performance. Set the standard for excellence and leave no bug unextinguished!</p>
<div class="d-grid gap-2 d-md-flex justify-content-md-start">
<button type="button" class="btn btn-outline-secondary btn-lg px-4">Explore APIs</button>
</div>
</div>
</div>
</div>
</div>
<!-- Workspace Section -->
<div style="background-color: #ffffff; width: 100%; min-height: 90vh; display: flex; justify-content: center;">
<div class="p-5" style="width: 80%;">
<h2 align="center" class="pb-4 pt-4 display-5 fw-bold text-body-emphasis lh-1 mb-3">YOUR WORKSPACE</h2>
<form data-form>
<div class="input-group mb-4 ">
<select class="form-select flex-grow-0 w-auto" data-method>
<option value="GET" selected>GET</option>
<option value="POST">POST</option>
<option value="PUT">PUT</option>
<option value="PATCH">PATCH</option>
<option value="DELETE">DELETE</option>
</select>
<input data-url type="url" placeholder="https://example.com" style="width: 80%;"/>
<button type="submit" class="btn btn-primary">Send</button>
</div>
<ul class="nav nav-tabs" role="tablist">
<li class="nav-item" role="presentation">
<button class="nav-link active" id="query-params-tab" data-bs-toggle="tab" data-bs-target="#query-params" type="button" role="tab" aria-controls="query-params" aria-selected="true">
Query Params
</button>
</li>
<li class="nav-item" role="presentation">
<button class="nav-link" id="request-headers-tab" data-bs-toggle="tab" data-bs-target="#request-headers" type="button" role="tab" aria-controls="request-headers" aria-selected="false">
Headers
</button>
</li>
<li class="nav-item" role="presentation">
<button class="nav-link" id="json-tab" data-bs-toggle="tab" data-bs-target="#json" type="button" role="tab" aria-controls="json" aria-selected="false">
JSON
</button>
</li>
</ul>
<div class="tab-content p-3 border-top-0 border">
<div class="tab-pane fade show active" id="query-params" role="tabpanel" aria-labelledby="query-params-tab">
<div data-query-params></div>
<button data-add-query-param-btn class="mt-2 btn btn-outline-success" type="button">Add</button>
</div>
<div class="tab-pane fade" id="request-headers" role="tabpanel" aria-labelledby="request-headers-tab">
<div data-request-headers></div>
<button data-add-request-header-btn class="mt-2 btn btn-outline-success" type="button">Add</button>
</div>
<div class="tab-pane fade" id="json" role="tabpanel" aria-labelledby="json-tab">
<div data-json-request-body class="overflow-auto" style="max-height: 200px;"></div>
</div>
</div>
</form>
<div class="mt-5 d-none" data-response-section>
<h3>Response</h3>
<div class="d-flex my-2">
<div class="me-3">
Status : <span data-status></span>
</div>
<div class="me-3">
Time : <span data-time></span> ms
</div>
<div class="me-3">
Size : <span data-size></span>
</div>
</div>
<ul class="nav nav-tabs" role="tablist">
<li class="nav-item" role="presentation">
<button class="nav-link active" id="body-tab" data-bs-toggle="tab" data-bs-target="#body" type="button" role="tab" aria-controls="body" aria-selected="true">
Body
</button>
</li>
<li class="nav-item" role="presentation">
<button class="nav-link" id="response-headers-tab" data-bs-toggle="tab" data-bs-target="#response-headers" type="button" role="tab" aria-controls="response-headers" aria-selected="false">
Headers
</button>
</li>
</ul>
<div class="tab-content p-3 border-top-0 border">
<div class="tab-pane fade show active" id="body" role="tabpanel" aria-labelledby="body-tab">
<div data-json-response-body class="overflow-auto" style="max-height: 200px;"></div>
</div>
<div class="tab-pane fade" id="response-headers" role="tabpanel" aria-labelledby="response-headers-tab">
<div data-response-headers style="display: grid; grid-template-columns: auto 1fr; gap: .5rem 2rem;"></div>
</div>
</div>
</div>
</div>
</div>
<template data-key-value-template>
<div class="input-group my-2" data-key-value-pair>
<input type="text" data-key class="form-control" placeholder="Key" />
<input type="text" data-value class="form-control" placeholder="Value" />
<button type="button" data-remove-btn class="btn btn-outline-danger">Remove</button>
</div>
</template>
<!-- footer -->
<div class="container">
<footer class="d-flex flex-wrap justify-content-between align-items-center py-3 mb-4 border-top">
<img src="./assets/logo.png" width="150">
<div class=" d-flex align-items-center">
<span class="mb-3 mb-md-0 text-muted">© 2024 Fireman India, Inc. All Rights Reserved</span>
</div>
</footer>
</div>
</body>
</html>