-
Notifications
You must be signed in to change notification settings - Fork 0
/
Lyrics with details.liquid
75 lines (63 loc) · 2.57 KB
/
Lyrics with details.liquid
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
<!DOCTYPE html>
<!--
QUICK CUSTOMIZATION:
{% assign number_of_columns = 1 %}
{% assign space_between_columns = "40px" %}
{% assign print_ccli_number = true %}
{% assign print_author = true %}
{% assign print_copyright = true %}
{% assign print_lyrics = true %}
-->
<html>
<head>
<title>Song Details:: {{ plan.ministry.name }}:: {{ plan.dates }}</title>
<style>
* { font-family: monospace; font-size: 13pt; }
body { padding:0; margin:10px; }
.chord_chart_content {
margin-top: 25px;
-moz-column-count: {{ number_of_columns }};
-moz-column-gap: {{ space_between_columns }};
-webkit-column-count: {{ number_of_columns }};
-webkit-column-gap: {{ space_between_columns }};
column-count: {{ number_of_columns }};
column-gap: {{ space_between_columns }};
column-fill: auto;
}
.column_break{ column-break-after: always;}
#header { width: 100%; }
.ministry_name { font-size: 18pt; font-weight: bold; text-align: center; }
.dates { font-size: 15pt; text-align: center;}
.plan_title { font-size: 15pt; text-align: center; }
.song_header { margin-top: 20px; page-break-before: always; }
.song_title { font-weight: bold; font-size: 16pt; }
.credits, .copyright { font-size: 11pt; font-style: italic; }
.sequence { font-size: 11pt; font-weight: bold; }
.lyrics { margin-top: 15px; }
</style>
</head>
<body>
<div id="header">
<div class="ministry_name">{{ plan.ministry.name }}</div>
<div class="dates">{{ plan.dates }}</div>
<div class="plan_title">{{ plan.plan_title }}</div>
</div>
<div class="chord_chart_content">
{% for item in plan.items %}
{% if item.item_type == 'Song' %}
<div class="song">
<div class="song_header">
<div class="song_title">{{item.song.title}}</div>
<div class="credits">{% if print_ccli_number and item.song.ccli_id != nil %}#{{item.song.ccli_id}} {% endif %}{% if print_author and item.song.author != '' %}by {{item.song.author}}{% endif %}</div>
<div class="copyright">{% if print_copyright %}{{item.song.copyright}}{% endif %}</div>
<div class="sequence">{{item.arrangement.name}} | {{item.item_sequence}}</div>
</div>
{% if print_lyrics %}
<div class="lyrics">{{item.arrangement.lyrics}}</div>
{% endif %}
</div>
{% endif %}
{% endfor %}
</div>
</body>
</html>