This commit is contained in:
parent
e192c74c33
commit
99d8dfec16
@ -57,10 +57,10 @@
|
|||||||
</div>
|
</div>
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
<div class="card">
|
|
||||||
|
|
||||||
{{-- ▼ ヘッダー:新規/削除 --}}
|
{{-- ▼ ヘッダー:新規/削除 --}}
|
||||||
<div class="card-header d-flex align-items-center">
|
<div class="d-flex align-items-center">
|
||||||
<a href="{{ route('news_add') }}" class="btn btn-default mr-2">新規</a>
|
<a href="{{ route('news_add') }}" class="btn btn-default mr-2">新規</a>
|
||||||
<button type="button" class="btn btn-default" id="delete_edit">削除</button>
|
<button type="button" class="btn btn-default" id="delete_edit">削除</button>
|
||||||
</div>
|
</div>
|
||||||
@ -103,8 +103,6 @@
|
|||||||
<th class="w-mode {{ $thClass('mode') }}">
|
<th class="w-mode {{ $thClass('mode') }}">
|
||||||
<a href="{{ $urlFor('mode') }}" class="header-link">表示モード</a>
|
<a href="{{ $urlFor('mode') }}" class="header-link">表示モード</a>
|
||||||
</th>
|
</th>
|
||||||
<th class="w-created">登録日時</th>
|
|
||||||
<th class="w-updated">更新日時</th>
|
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
@ -127,8 +125,6 @@
|
|||||||
<td class="w-img one-line" title="{{ $r->image1_filename }}">{{ $r->image1_filename }}</td>
|
<td class="w-img one-line" title="{{ $r->image1_filename }}">{{ $r->image1_filename }}</td>
|
||||||
<td class="w-img one-line" title="{{ $r->image2_filename }}">{{ $r->image2_filename }}</td>
|
<td class="w-img one-line" title="{{ $r->image2_filename }}">{{ $r->image2_filename }}</td>
|
||||||
<td class="w-mode">{{ $modeLabel[$r->mode] ?? $r->mode }}</td>
|
<td class="w-mode">{{ $modeLabel[$r->mode] ?? $r->mode }}</td>
|
||||||
<td class="w-created">{{ $r->created_at }}</td>
|
|
||||||
<td class="w-updated">{{ $r->updated_at }}</td>
|
|
||||||
</tr>
|
</tr>
|
||||||
@empty
|
@empty
|
||||||
<tr>
|
<tr>
|
||||||
@ -141,7 +137,7 @@
|
|||||||
|
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
@ -232,4 +228,18 @@
|
|||||||
})();
|
})();
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
<style>
|
||||||
|
/* ===== 一覧データ部(tbody)を白背景に固定 ===== */
|
||||||
|
.table-news tbody tr,
|
||||||
|
.table-news tbody td {
|
||||||
|
background-color: #ffffff !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* 編集+チェック列は既存仕様を優先 */
|
||||||
|
.table-news tbody td[style*="#faebd7"] {
|
||||||
|
background-color: #faebd7 !important;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|
||||||
|
|
||||||
@endsection
|
@endsection
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user