Skip to content

Commit d4b62cf

Browse files
committed
Various bootstrap fixes
- Remove markdown-textarea - Use new icons
1 parent 89ec461 commit d4b62cf

19 files changed

+78
-53
lines changed

app/templates/components/announcement-editor.hbs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,13 @@
1111
class="description"
1212
value=announcement.description}}
1313

14-
<div class="handle">
14+
<div>
1515
<button {{action (action this.attrs.removeannouncement announcement)}}
1616
class="btn btn-danger remove-announcement"
1717
data-auto-id="remove">
1818
Remove
1919
</button>
20+
<i class="icon-menu handle"></i>
2021
</div>
2122
</div>
2223

app/templates/components/announcements-editor.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<div data-auto-id="announcements-editor">
22
<button {{action (action this.attrs.append)}}
3-
class="btn btn-default append-announcement"
3+
class="btn btn-secondary append-announcement"
44
data-auto-id="append-announcement">
55
Add Announcement
66
</button>

app/templates/components/bulletin-editor.hbs

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -38,23 +38,23 @@
3838
<div class="row">
3939
<div class="form-group col-lg-12" data-test-id="service-order">
4040
<label for="serviceOrder">Order</label>
41-
{{markdown-textarea value=bulletin.serviceOrder
42-
class="form-control service-order"
43-
data-auto-id="bulletin-service-order"
44-
rows="10"}}
41+
{{textarea value=bulletin.serviceOrder
42+
class="form-control service-order"
43+
data-auto-id="bulletin-service-order"
44+
rows="10"}}
4545
</div>
4646
</div>
47-
<div class="panel panel-default">
48-
<fieldset>
49-
<div class="panel-heading">
50-
<h3 class="panel-title">Sermon</h3>
47+
<div class="card">
48+
<h3 class="card-header">Sermon</h3>
49+
<div class="card-block">
50+
<div class="card-text">
51+
<fieldset>
52+
{{sermon-editor sermon=bulletin.sermon
53+
diduploadaudio=(action this.attrs.diduploadaudio)
54+
clearaudio=(action this.attrs.clearaudio)}}
55+
</fieldset>
5156
</div>
52-
<div class="panel-body">
53-
{{sermon-editor sermon=bulletin.sermon
54-
diduploadaudio=(action this.attrs.diduploadaudio)
55-
clearaudio=(action this.attrs.clearaudio)}}
56-
</div>
57-
</fieldset>
57+
</div>
5858
</div>
5959
</section>
6060
{{#if this.attrs.appendannouncement}}
Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
11
<a href="{{fileUrl}}" data-auto-id="preview">{{url}}</a>
2-
<span class="glyphicon glyphicon-remove remove"
3-
data-auto-id="remove"
4-
{{action (action this.attrs.clearfile)}}></span>
2+
<i class="icon-cancel" data-auto-id="remove" {{action (action this.attrs.clearfile)}}></i>
53
{{yield}}

app/templates/components/image-preview.hbs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,6 @@
22
<div class="preview"
33
data-auto-id="canvas"
44
style="background-image: url('{{url}}')"></div>
5-
<div class="remove"
6-
data-auto-id="remove"
7-
{{action (action this.attrs.clearimage)}}>
8-
<span class="glyphicon glyphicon-remove"></span>
9-
</div>
5+
<i class="icon-cancel" data-auto-id="remove" {{action (action this.attrs.clearimage)}}></i>
106
</div>
117
{{yield}}

app/templates/components/sermon-editor.hbs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@
3030
</div>
3131
<div class="form-group">
3232
<label for="sermonNotes">Notes</label>
33-
{{markdown-textarea value=sermon.notes
34-
class="form-conrol sermon-notes"
33+
{{textarea value=sermon.notes
34+
class="form-control sermon-notes"
3535
data-auto-id="notes"
3636
rows="10"}}
3737
</div>

vendor/fontello/LICENSE.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Font license info
33

44
## Font Awesome
55

6-
Copyright (C) 2012 by Dave Gandy
6+
Copyright (C) 2016 by Dave Gandy
77

88
Author: Dave Gandy
99
License: SIL ()

vendor/fontello/config.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,18 @@
3737
"search": [
3838
"cma"
3939
]
40+
},
41+
{
42+
"uid": "5211af474d3a9848f67f945e2ccaf143",
43+
"css": "cancel",
44+
"code": 59396,
45+
"src": "fontawesome"
46+
},
47+
{
48+
"uid": "559647a6f430b3aeadbecd67194451dd",
49+
"css": "menu",
50+
"code": 61641,
51+
"src": "fontawesome"
4052
}
4153
]
4254
}

vendor/fontello/css/fontello-codes.css

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,6 @@
22
.icon-cma:before { content: '\e800'; } /* '' */
33
.icon-angle-left:before { content: '\e801'; } /* '' */
44
.icon-angle-right:before { content: '\e802'; } /* '' */
5-
.icon-link:before { content: '\e803'; } /* '' */
5+
.icon-link:before { content: '\e803'; } /* '' */
6+
.icon-cancel:before { content: '\e804'; } /* '' */
7+
.icon-menu:before { content: '\f0c9'; } /* '' */

vendor/fontello/css/fontello-embedded.css

Lines changed: 9 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)