質問編集履歴
2
②についての途中結果
test
CHANGED
File without changes
|
test
CHANGED
@@ -402,7 +402,13 @@
|
|
402
402
|
|
403
403
|
```
|
404
404
|
|
405
|
-
|
405
|
+
<form class="form-inline my-2 my-lg-0" action="/search" method="get" accept-charset="utf-8">
|
406
|
+
|
407
|
+
<input type="search" class="form-control mr-sm-2" placeholder="キーワードで検索" name="q" aria-label="検索...">
|
408
|
+
|
409
|
+
<button type="submit" class="btn btn-outline-info my-2 my-sm-0">検索</button>
|
410
|
+
|
411
|
+
</form>
|
406
412
|
|
407
413
|
### 試したこと
|
408
414
|
|
@@ -413,3 +419,25 @@
|
|
413
419
|
コンテナ全体をセンターに集める様に"container-center"などのコードで一通り実行してみました。
|
414
420
|
|
415
421
|
ですが、だめでした。
|
422
|
+
|
423
|
+
|
424
|
+
|
425
|
+
②にかんしてですが、
|
426
|
+
|
427
|
+
```html
|
428
|
+
|
429
|
+
<form class="form-inline my-2 my-lg-0" action="/search" method="get" accept-charset="utf-8">
|
430
|
+
|
431
|
+
<div class="form-group mb-2">
|
432
|
+
|
433
|
+
<input type="search" class="form-control mr-sm-2" placeholder="キーワードで検索" name="q" aria-label="検索...">
|
434
|
+
|
435
|
+
</div>
|
436
|
+
|
437
|
+
<button type="submit" class="btn btn-outline-info my-2 my-sm-0">検索</button>
|
438
|
+
|
439
|
+
</form>
|
440
|
+
|
441
|
+
```
|
442
|
+
|
443
|
+
と、form-groupでくくる事で最小にしてもボタンがグリッドせずに横並びで表示させる事に成功したのですが、フォームとボタンが上下にずれてしまう結果となってしまいました。
|
1
該当ページのソースコードとして上書き編集いたしました。
test
CHANGED
File without changes
|
test
CHANGED
@@ -22,6 +22,40 @@
|
|
22
22
|
|
23
23
|
```html
|
24
24
|
|
25
|
+
|
26
|
+
|
27
|
+
|
28
|
+
|
29
|
+
<!doctype html>
|
30
|
+
|
31
|
+
<html lang="ja">
|
32
|
+
|
33
|
+
<head>
|
34
|
+
|
35
|
+
<!-- Required meta tags -->
|
36
|
+
|
37
|
+
<meta charset="utf-8">
|
38
|
+
|
39
|
+
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
40
|
+
|
41
|
+
<!-- Bootstrap CSS -->
|
42
|
+
|
43
|
+
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.0/css/bootstrap.min.css"
|
44
|
+
|
45
|
+
integrity="sha384-9gVQ4dYFwwWSjIDZnLEWnxCjeSWFphJiwGPXr1jddIhOegiu1FwO5qRGvFXOdJZ4" crossorigin="anonymous">
|
46
|
+
|
47
|
+
<link href="https://use.fontawesome.com/releases/v5.6.1/css/all.css" rel="stylesheet">
|
48
|
+
|
49
|
+
<link rel="stylesheet" type="text/css" href="/static/css/style.css">
|
50
|
+
|
51
|
+
<title>ほげほげ - Topページ</title>
|
52
|
+
|
53
|
+
</head>
|
54
|
+
|
55
|
+
<body>
|
56
|
+
|
57
|
+
|
58
|
+
|
25
59
|
<!-- ナビバーデザインテストー -->
|
26
60
|
|
27
61
|
<nav class="navbar navbar-expand navbar-dark bg-dark fixed-top">
|
@@ -30,7 +64,7 @@
|
|
30
64
|
|
31
65
|
<div class="col-4 col-md-4 order-md-0">
|
32
66
|
|
33
|
-
<a class="navbar-brand" href="
|
67
|
+
<a class="navbar-brand" href="/">ほげほげ</a>
|
34
68
|
|
35
69
|
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
|
36
70
|
|
@@ -76,6 +110,296 @@
|
|
76
110
|
|
77
111
|
</nav>
|
78
112
|
|
113
|
+
|
114
|
+
|
115
|
+
|
116
|
+
|
117
|
+
|
118
|
+
|
119
|
+
<!-- 本番一時コメントアウトー -->
|
120
|
+
|
121
|
+
<!--
|
122
|
+
|
123
|
+
<nav class="navbar navbar-expand-sm navbar-dark bg-dark fixed-top">
|
124
|
+
|
125
|
+
<a class="navbar-brand" href="/">ほげほげ</a>
|
126
|
+
|
127
|
+
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
|
128
|
+
|
129
|
+
<span class="navbar-toggler-icon"></span>
|
130
|
+
|
131
|
+
</button>
|
132
|
+
|
133
|
+
|
134
|
+
|
135
|
+
|
136
|
+
|
137
|
+
<div class="collapse navbar-collapse" id="navbarSupportedContent">
|
138
|
+
|
139
|
+
<ul class="navbar-nav mr-auto">
|
140
|
+
|
141
|
+
|
142
|
+
|
143
|
+
<li class="nav-item">
|
144
|
+
|
145
|
+
<a class="nav-item nav-link" href="/login/">
|
146
|
+
|
147
|
+
ようこそ、ゲストさん!ログインはこちら
|
148
|
+
|
149
|
+
</a>
|
150
|
+
|
151
|
+
</li>
|
152
|
+
|
153
|
+
|
154
|
+
|
155
|
+
</ul>
|
156
|
+
|
157
|
+
<div class="btn-group">
|
158
|
+
|
159
|
+
<button type="button" class="btn btn-info dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
160
|
+
|
161
|
+
スキルで絞り込む
|
162
|
+
|
163
|
+
</button>
|
164
|
+
|
165
|
+
<form class="form-inline my-2 my-lg-0" action="" method="get" accept-charset="utf-8">
|
166
|
+
|
167
|
+
<div class="dropdown-menu">
|
168
|
+
|
169
|
+
<button class="dropdown-item" type="submit" value="1" name="q">ほげほげ</button>
|
170
|
+
|
171
|
+
<button class="dropdown-item" type="submit" value="2" name="q">ほげほげ</button>
|
172
|
+
|
173
|
+
<button class="dropdown-item" type="submit" value="3" name="q">ほげほげ</button>
|
174
|
+
|
175
|
+
<button class="dropdown-item" type="submit" value="4" name="q">ほげほげ</button>
|
176
|
+
|
177
|
+
<button class="dropdown-item" type="submit" value="5" name="q">ほげほげ</button>
|
178
|
+
|
179
|
+
<button class="dropdown-item" type="submit" value="6" name="q">ほげほげ</button>
|
180
|
+
|
181
|
+
<button class="dropdown-item" type="submit" value="7" name="q">ほげほげ</button>
|
182
|
+
|
183
|
+
<button class="dropdown-item" type="submit" value="8" name="q">ほげほげ</button>
|
184
|
+
|
185
|
+
</div> <!--/.dropdown-menu -->
|
186
|
+
|
187
|
+
|
188
|
+
|
189
|
+
</form>
|
190
|
+
|
191
|
+
</div><!-- /.btn-group -->
|
192
|
+
|
193
|
+
<form class="form-inline my-2 my-lg-0" action="/search" method="get" accept-charset="utf-8">
|
194
|
+
|
195
|
+
<input type="search" class="form-control mr-sm-2" placeholder="キーワードで検索" name="q" aria-label="検索...">
|
196
|
+
|
197
|
+
<button type="submit" class="btn btn-outline-info my-2 my-sm-0">検索</button>
|
198
|
+
|
199
|
+
</form>
|
200
|
+
|
201
|
+
</div>
|
202
|
+
|
203
|
+
</nav>
|
204
|
+
|
205
|
+
|
206
|
+
|
207
|
+
<!-- top画像ー -->
|
208
|
+
|
209
|
+
<img class="img-fluid" src="/media/freelanze-top-image.png" style="margin-top: 55px">
|
210
|
+
|
211
|
+
<main>
|
212
|
+
|
213
|
+
<!-- メインコンテンツ -->
|
214
|
+
|
215
|
+
<div class="container mt-auto">
|
216
|
+
|
217
|
+
|
218
|
+
|
219
|
+
|
220
|
+
|
221
|
+
<div class="container-fluid">
|
222
|
+
|
223
|
+
<div class="row">
|
224
|
+
|
225
|
+
<div class="col-12" style="mx-auto">
|
226
|
+
|
227
|
+
<p class="text-center"><span class="bg-white text-primary">\新着フリーランス一覧/</span></p>
|
228
|
+
|
229
|
+
</div>
|
230
|
+
|
231
|
+
</div>
|
232
|
+
|
233
|
+
</div>
|
234
|
+
|
235
|
+
|
236
|
+
|
237
|
+
<!--表示カード調整中-->
|
238
|
+
|
239
|
+
<div class="container">
|
240
|
+
|
241
|
+
<div class="row">
|
242
|
+
|
243
|
+
|
244
|
+
|
245
|
+
<div class="col-6 col-md-3 mb-3">
|
246
|
+
|
247
|
+
<div class="card" style="width: 100%;">
|
248
|
+
|
249
|
+
|
250
|
+
|
251
|
+
<img class="card-img-top" src="/media/media/%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88_2020-09-25_11.18.46.png">
|
252
|
+
|
253
|
+
|
254
|
+
|
255
|
+
<div class="card-body">
|
256
|
+
|
257
|
+
<h6 class="card-skill">ほげほげ</h6>
|
258
|
+
|
259
|
+
<p class="card-text">100,000円〜</p>
|
260
|
+
|
261
|
+
</div>
|
262
|
+
|
263
|
+
</div>
|
264
|
+
|
265
|
+
</div>
|
266
|
+
|
267
|
+
|
268
|
+
|
269
|
+
<div class="col-6 col-md-3 mb-3">
|
270
|
+
|
271
|
+
<div class="card" style="width: 100%;">
|
272
|
+
|
273
|
+
|
274
|
+
|
275
|
+
<img class="card-img-top" src="/media/media/%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88_2020-09-25_17.52.52.png">
|
276
|
+
|
277
|
+
|
278
|
+
|
279
|
+
<div class="card-body">
|
280
|
+
|
281
|
+
<h6 class="card-skill">ほげほげ</h6>
|
282
|
+
|
283
|
+
<p class="card-text">50,000円〜</p>
|
284
|
+
|
285
|
+
</div>
|
286
|
+
|
287
|
+
</div>
|
288
|
+
|
289
|
+
</div>
|
290
|
+
|
291
|
+
|
292
|
+
|
293
|
+
<div class="col-6 col-md-3 mb-3">
|
294
|
+
|
295
|
+
<div class="card" style="width: 100%;">
|
296
|
+
|
297
|
+
|
298
|
+
|
299
|
+
<div class="card-body">
|
300
|
+
|
301
|
+
<h6 class="card-skill">ほげほげ</h6>
|
302
|
+
|
303
|
+
<p class="card-text">〜10,000円</p>
|
304
|
+
|
305
|
+
</div>
|
306
|
+
|
307
|
+
</div>
|
308
|
+
|
309
|
+
</div>
|
310
|
+
|
311
|
+
|
312
|
+
|
313
|
+
</div>
|
314
|
+
|
315
|
+
</div>
|
316
|
+
|
317
|
+
|
318
|
+
|
319
|
+
<!--ページネーション↓-->
|
320
|
+
|
321
|
+
<nav aria-label="Page navigation">
|
322
|
+
|
323
|
+
<ul class="pagination justify-content-end">
|
324
|
+
|
325
|
+
<!-- 前へ の部分 -->
|
326
|
+
|
327
|
+
|
328
|
+
|
329
|
+
<!-- 数字の部分 -->
|
330
|
+
|
331
|
+
|
332
|
+
|
333
|
+
|
334
|
+
|
335
|
+
<li class="page-item active"><a class="page-link" href="#!">1</a></li>
|
336
|
+
|
337
|
+
|
338
|
+
|
339
|
+
|
340
|
+
|
341
|
+
<!-- 次へ の部分 -->
|
342
|
+
|
343
|
+
|
344
|
+
|
345
|
+
</ul>
|
346
|
+
|
347
|
+
</nav>
|
348
|
+
|
349
|
+
|
350
|
+
|
351
|
+
|
352
|
+
|
353
|
+
|
354
|
+
|
355
|
+
|
356
|
+
|
357
|
+
</div><!-- /.modal-footer -->
|
358
|
+
|
359
|
+
</div><!-- /.modal-content -->
|
360
|
+
|
361
|
+
</div><!-- /.modal-dialog -->
|
362
|
+
|
363
|
+
</div><!-- /.modal -->
|
364
|
+
|
365
|
+
</div>
|
366
|
+
|
367
|
+
|
368
|
+
|
369
|
+
|
370
|
+
|
371
|
+
</div>
|
372
|
+
|
373
|
+
</main>
|
374
|
+
|
375
|
+
|
376
|
+
|
377
|
+
<!-- Optional JavaScript -->
|
378
|
+
|
379
|
+
<!-- jQuery first, then Popper.js, then Bootstrap JS -->
|
380
|
+
|
381
|
+
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js"
|
382
|
+
|
383
|
+
integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo"
|
384
|
+
|
385
|
+
crossorigin="anonymous"></script>
|
386
|
+
|
387
|
+
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.0/umd/popper.min.js"
|
388
|
+
|
389
|
+
integrity="sha384-cs/chFZiN24E4KMATLdqdvsezGxaGsi4hLGOzlXwp5UZB1LY//20VyM2taTB4QvJ"
|
390
|
+
|
391
|
+
crossorigin="anonymous"></script>
|
392
|
+
|
393
|
+
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.0/js/bootstrap.min.js"
|
394
|
+
|
395
|
+
integrity="sha384-uefMccjFJAIv6A+rW+L4AHf99KvxDjWSu1z9VI8SKNVmz4sk7buKt/6v9KI65qnm"
|
396
|
+
|
397
|
+
crossorigin="anonymous"></script>
|
398
|
+
|
399
|
+
</body>
|
400
|
+
|
401
|
+
</html>
|
402
|
+
|
79
403
|
```
|
80
404
|
|
81
405
|
|