|
12 | 12 | data-auto-id="dashboard-bulletins-create"}}
|
13 | 13 | Create
|
14 | 14 | {{/link-to}}
|
15 |
| - <table class="table table-striped" data-auto-id="dashboard-bulletins"> |
16 |
| - <thead> |
17 |
| - <tr> |
18 |
| - <th>Bulletin</th> |
19 |
| - <th class="bulletin-actions">Actions</th> |
20 |
| - </tr> |
21 |
| - </thead> |
22 |
| - <tbody> |
23 |
| - {{#each model.bulletins as |bulletin|}} |
24 |
| - <tr data-auto-id="dashboard-bulletin"> |
25 |
| - <td> |
26 |
| - <div data-auto-id="dashboard-bulletin-name"> |
27 |
| - {{bulletin.name}} |
28 |
| - </div> |
29 |
| - <small data-auto-id="dashboard-bulletin-published-at"> |
30 |
| - {{moment-format bulletin.publishedAt}} |
31 |
| - </small> |
32 |
| - </td> |
33 |
| - <td> |
| 15 | + <div class="list-group" data-auto-id="dashboard-bulletins"> |
| 16 | + {{#each model.bulletins as |bulletin|}} |
| 17 | + <div class="list-group-item list-group-item-action" data-auto-id="dashboard-bulletin"> |
| 18 | + <div class="list-group-item-heading" data-auto-id="dashboard-bulletin-name"> |
| 19 | + {{bulletin.name}} |
| 20 | + </div> |
| 21 | + <div class="list-group-item-text"> |
| 22 | + <small data-auto-id="dashboard-bulletin-published-at"> |
| 23 | + {{moment-format bulletin.publishedAt}} |
| 24 | + </small> |
| 25 | + <div class="bulletin-actions"> |
34 | 26 | {{#link-to 'bulletin.index' 'english-service' bulletin
|
35 |
| - class='btn btn-default' |
| 27 | + class='btn btn-secondary' |
36 | 28 | data-auto-id="dashboard-bulletin-show"}}
|
37 |
| - Show |
| 29 | + <i class="icon-doc-text"></i> |
38 | 30 | {{/link-to}}
|
39 | 31 |
|
40 | 32 | {{#link-to 'bulletin.edit' 'english-service' bulletin
|
41 |
| - class='btn btn-default' |
| 33 | + class='btn btn-secondary' |
42 | 34 | data-auto-id="dashboard-bulletin-edit"}}
|
43 |
| - Edit |
| 35 | + <i class="icon-pencil"></i> |
44 | 36 | {{/link-to}}
|
45 |
| - </td> |
46 |
| - </tr> |
47 |
| - {{/each}} |
48 |
| - </tbody> |
49 |
| - </table> |
| 37 | + </div> |
| 38 | + </div> |
| 39 | + </div> |
| 40 | + {{/each}} |
| 41 | + </div> |
50 | 42 | </div>
|
51 | 43 | </div>
|
52 | 44 | </div>
|
|
0 commit comments