|
3 | 3 |
|
4 | 4 | <div class="row">
|
5 | 5 | <div class="col-md-6">
|
6 |
| - <div class="panel panel-default"> |
7 |
| - <div class="panel-heading"> |
8 |
| - <h3 class="panel-title">Bulletins</h3> |
9 |
| - </div> |
10 |
| - <div class="panel-body"> |
11 |
| - {{#link-to 'bulletins.new' 'english-service' |
12 |
| - class='btn btn-default' |
13 |
| - data-auto-id="dashboard-bulletins-create"}} |
14 |
| - Create |
15 |
| - {{/link-to}} |
16 |
| - </div> |
17 |
| - <table class="table table-hover" data-auto-id="dashboard-bulletins"> |
18 |
| - <thead> |
19 |
| - <tr> |
20 |
| - <th>Bulletin</th> |
21 |
| - <th class="bulletin-actions">Actions</th> |
22 |
| - </tr> |
23 |
| - </thead> |
24 |
| - <tbody> |
25 |
| - {{#each model.bulletins as |bulletin|}} |
26 |
| - <tr data-auto-id="dashboard-bulletin"> |
27 |
| - <td> |
28 |
| - <div data-auto-id="dashboard-bulletin-name"> |
29 |
| - {{bulletin.name}} |
30 |
| - </div> |
31 |
| - <small data-auto-id="dashboard-bulletin-published-at"> |
32 |
| - {{moment-format bulletin.publishedAt}} |
33 |
| - </small> |
34 |
| - </td> |
35 |
| - <td> |
36 |
| - {{#link-to 'bulletin.index' 'english-service' bulletin |
37 |
| - class='btn btn-default' |
38 |
| - data-auto-id="dashboard-bulletin-show"}} |
39 |
| - Show |
40 |
| - {{/link-to}} |
| 6 | + <div class="card"> |
| 7 | + <h3 class="card-header">Bulletins</h3> |
| 8 | + <div class="card-block"> |
| 9 | + <div class="card-text"> |
| 10 | + {{#link-to 'bulletins.new' 'english-service' |
| 11 | + class='btn btn-secondary create-bulletin' |
| 12 | + data-auto-id="dashboard-bulletins-create"}} |
| 13 | + Create |
| 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> |
| 34 | + {{#link-to 'bulletin.index' 'english-service' bulletin |
| 35 | + class='btn btn-default' |
| 36 | + data-auto-id="dashboard-bulletin-show"}} |
| 37 | + Show |
| 38 | + {{/link-to}} |
41 | 39 |
|
42 |
| - {{#link-to 'bulletin.edit' 'english-service' bulletin |
43 |
| - class='btn btn-default' |
44 |
| - data-auto-id="dashboard-bulletin-edit"}} |
45 |
| - Edit |
46 |
| - {{/link-to}} |
47 |
| - </td> |
48 |
| - </tr> |
49 |
| - {{/each}} |
50 |
| - </tbody> |
51 |
| - </table> |
| 40 | + {{#link-to 'bulletin.edit' 'english-service' bulletin |
| 41 | + class='btn btn-default' |
| 42 | + data-auto-id="dashboard-bulletin-edit"}} |
| 43 | + Edit |
| 44 | + {{/link-to}} |
| 45 | + </td> |
| 46 | + </tr> |
| 47 | + {{/each}} |
| 48 | + </tbody> |
| 49 | + </table> |
| 50 | + </div> |
| 51 | + </div> |
52 | 52 | </div>
|
53 | 53 | </div>
|
54 | 54 | <div class="col-md-6">
|
55 |
| - <div class="panel panel-default"> |
56 |
| - <div class="panel-heading"> |
57 |
| - <h3 class="panel-title">Settings</h3> |
58 |
| - </div> |
59 |
| - <div class="panel-body"> |
60 |
| - {{#link-to 'settings.password' |
61 |
| - class='btn btn-default' |
62 |
| - data-auto-id="dashboard-update-password"}} |
63 |
| - Update your password |
64 |
| - {{/link-to}} |
| 55 | + <div class="card"> |
| 56 | + <h3 class="card-header">Settings</h3> |
| 57 | + <div class="card-block"> |
| 58 | + <div class="card-text"> |
| 59 | + {{#link-to 'settings.password' |
| 60 | + class='btn btn-secondary' |
| 61 | + data-auto-id="dashboard-update-password"}} |
| 62 | + Update your password |
| 63 | + {{/link-to}} |
| 64 | + </div> |
65 | 65 | </div>
|
66 | 66 | </div>
|
67 | 67 | </div>
|
|
0 commit comments