|
2 | 2 | <h2><a href="{{ route('banner::group.index') }}"><i class="xi-arrow-left"></i>배너 목록</a></h2> |
3 | 3 | @stop |
4 | 4 |
|
5 | | -<div class="row"> |
6 | | - <div class="col-sm-12"> |
7 | | - <div class="panel-group"> |
8 | | - <div class="panel"> |
9 | | - <div class="panel-heading"> |
10 | | - <div class="pull-left"> |
11 | | - <h3 class="panel-title"> |
12 | | - 생성된 배너 목록 |
13 | | - </h3> |
| 5 | +<div class="container-fluid container-fluid--part"> |
| 6 | + <div class="row"> |
| 7 | + <div class="col-sm-12"> |
| 8 | + <div class="panel-group"> |
| 9 | + <div class="panel"> |
| 10 | + <div class="panel-heading"> |
| 11 | + <div class="pull-left"> |
| 12 | + <h3 class="panel-title"> |
| 13 | + 생성된 배너 목록 |
| 14 | + </h3> |
| 15 | + </div> |
| 16 | + <div class="pull-right"> |
| 17 | + <a href="{{ route('banner::group.create') }}" class="xe-btn xe-btn-primary" data-toggle="xe-page-modal">새 배너 생성</a> |
| 18 | + </div> |
14 | 19 | </div> |
15 | | - <div class="pull-right"> |
16 | | - <a href="{{ route('banner::group.create') }}" class="xe-btn xe-btn-primary" data-toggle="xe-page-modal">새 배너 생성</a> |
17 | | - </div> |
18 | | - </div> |
19 | | - <div class="table-responsive"> |
20 | | - <table class="table"> |
21 | | - <thead> |
22 | | - <tr> |
23 | | - <th scope="col">제목</th> |
24 | | - <th scope="col">아이템수</th> |
25 | | - <th scope="col">생성일</th> |
26 | | - <th scope="col">관리</th> |
27 | | - </tr> |
28 | | - </thead> |
29 | | - <tbody> |
30 | | - @foreach($groups as $group) |
| 20 | + <div class="table-responsive"> |
| 21 | + <table class="table"> |
| 22 | + <thead> |
31 | 23 | <tr> |
32 | | - <td>{{ $group->title }}</td> |
33 | | - <td>{{ $group->count }}</td> |
34 | | - <td>{{ $group->created_at->format('Y.m.d H:i:s') }}</td> |
35 | | - <td> |
36 | | - <a class="xe-btn xe-btn-xs xe-btn-default" onclick="window.open(this.href, 'bannerEditor', 'directories=no,titlebar=no,toolbar=no,location=no,status=no,menubar=no,scrollbars=no,resizable=no');return false" href="{{ route('banner::group.edit', ['group_id' => $group->id]) }}">편집</a> |
37 | | - <a class="xe-btn xe-btn-default xe-btn-xs" role="button" data-toggle="collapse" href="#widget-code-{{ $group->id }}"> |
38 | | - 위젯코드 |
39 | | - </a> |
40 | | - <a class="xe-btn xe-btn-default xe-btn-xs" href="{{ route('banner::group.update', ['group_id' => $group->id]) }}" role="button" data-toggle="xe-page-modal">설정</a> |
41 | | - </td> |
| 24 | + <th scope="col">제목</th> |
| 25 | + <th scope="col">아이템수</th> |
| 26 | + <th scope="col">생성일</th> |
| 27 | + <th scope="col">관리</th> |
42 | 28 | </tr> |
43 | | - <tr id="widget-code-{{ $group->id }}" class="collapse"> |
44 | | - <td colspan="4" class=""> |
45 | | - <div class="well">{{ $group->getWidgetCode() }}</div> |
46 | | - </td> |
47 | | - </tr> |
48 | | - @endforeach |
49 | | - </tbody> |
50 | | - </table> |
| 29 | + </thead> |
| 30 | + <tbody> |
| 31 | + @foreach($groups as $group) |
| 32 | + <tr> |
| 33 | + <td>{{ $group->title }}</td> |
| 34 | + <td>{{ $group->count }}</td> |
| 35 | + <td>{{ $group->created_at->format('Y.m.d H:i:s') }}</td> |
| 36 | + <td> |
| 37 | + <a class="xe-btn xe-btn-xs xe-btn-default" onclick="window.open(this.href, 'bannerEditor', 'directories=no,titlebar=no,toolbar=no,location=no,status=no,menubar=no,scrollbars=no,resizable=no');return false" href="{{ route('banner::group.edit', ['group_id' => $group->id]) }}">편집</a> |
| 38 | + <a class="xe-btn xe-btn-default xe-btn-xs" role="button" data-toggle="collapse" href="#widget-code-{{ $group->id }}"> |
| 39 | + 위젯코드 |
| 40 | + </a> |
| 41 | + <a class="xe-btn xe-btn-default xe-btn-xs" href="{{ route('banner::group.update', ['group_id' => $group->id]) }}" role="button" data-toggle="xe-page-modal">설정</a> |
| 42 | + </td> |
| 43 | + </tr> |
| 44 | + <tr id="widget-code-{{ $group->id }}" class="collapse"> |
| 45 | + <td colspan="4" class=""> |
| 46 | + <div class="well">{{ $group->getWidgetCode() }}</div> |
| 47 | + </td> |
| 48 | + </tr> |
| 49 | + @endforeach |
| 50 | + </tbody> |
| 51 | + </table> |
| 52 | + </div> |
51 | 53 | </div> |
52 | 54 | </div> |
53 | 55 | </div> |
|
0 commit comments