A short explanation. . .
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 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 | <html> <head> <title>{{ plan.ministry.name }}:: {{ plan.dates }}</title> <style> @media print { .sectionpage {page-break-after:always} } /* <!-- Styles for "Production: RUNDOWN" --> */ * { font-family: Verdana, Arial; padding:0; margin:0; } body, th, td { font-size: 10pt; } table { border-spacing:0; border-collapse:collapse; } .item { padding: 1px; border: solid 1px #000000; } #plan thead { display: table-header-group; border: solid 4px black; } #plan { border-collapse: collapse; border: solid 2px black; width: 100%; font-size: 7pt; } #plan th { background-color: black; color: white; } #header { width: 100%; } .times { width: 100%; border: solid 1px #eee; } .times thead th { background-color: #eee; } .times tbody th { width: 10%; } .times tbody td { width: 40%; } /* <!-- Styles for "PEOPLE:My People" --> */ .people {width: 100%; border-collapse: collapse; margin: 5px auto; padding: 5px; } .people th {background-color: #DDD; font-size: 10pt; text-align: center; padding: 7px; vertical-align: center; border: solid 1px black;} .people td {padding: 7px; vertical-align: top; border: solid 1px black; } .ministry_title { font-size: 20pt; font-weight: bold; text-align: center; border-bottom: dashed 1px black;} .plan_dates { text-align: center; font-weight: bold; font-size: 10pt; } .series_title { text-align: right; } .people_section { padding: 7px; vertical-align: top; } .people_category { clear: both; border-bottom: solid 1px lightgrey; padding-top: 10px; font-weight: bold; font-size: 12pt; } .position { width: 170px; display: inline-block; vertical-align: top; margin-bottom: 5px; font-size: 9pt; /* For IE 7 */ zoom: 1; *display: inline; } .person { font-size: 9pt; font-weight: bold; } .icon-question{ display: inline-block; color: #fff; text-align: center; font-size: 1em; background: #666; border-radius: 50%; width: 1em; height: 1em; line-height: 1em; padding: .1em; } </style> </head> <body> {% case plan.ministry.name %} {% when 'Concerts' %} <table id="header" width="100%" style="background-color: #7e8c96;"><tr> <td style="background-color: #7e8c96; color:white; font-size: 18pt; font-weight: bold; text-align: left; padding: 3px;">{{ plan.plan_title }}</td> <td style="background-color: #7e8c96; color:white; font-size: 18pt; font-weight: bold; text-align: right; padding: 3px;">{{ plan.ministry.name }}</td> {% when 'Sunday Morning Worship' %} <table id="header" width="100%" style="background-color: #9f6c75;"><tr> <td style="background-color: #9f6c75; color:white; font-size: 18pt; font-weight: bold; text-align: left; padding: 3px;">{{ plan.plan_title }}</td> <td style="background-color: #9f6c75; color:white; font-size: 18pt; font-weight: bold; text-align: right; padding: 3px;">{{ plan.ministry.name }}</td> {% when 'Judah Project' %} <table id="header" width="100%" style="background-color: #10bce7;"><tr> <td style="background-color: #10bce7; color:white; font-size: 18pt; font-weight: bold; text-align: left; padding: 3px;">{{ plan.plan_title }}</td> <td style="background-color: #10bce7; color:white; font-size: 18pt; font-weight: bold; text-align: right; padding: 3px;">{{ plan.ministry.name }}</td> {% when 'Misc Events' %} <table id="header" width="100%" style="background-color: #ffc600;"><tr> <td style="background-color: #ffc600; color:white; font-size: 18pt; font-weight: bold; text-align: left; padding: 3px;">{{ plan.plan_title }}</td> <td style="background-color: #ffc600; color:white; font-size: 18pt; font-weight: bold; text-align: right; padding: 3px;">{{ plan.ministry.name }}</td> {% else %} <table id="header" width="100%" style="background-color: gray;"><tr> <td style="background-color: gray; color:white; font-size: 18pt; font-weight: bold; text-align: left; padding: 3px;">{{ plan.plan_title }}</td> <td style="background-color: gray; color:white; font-size: 18pt; font-weight: bold; text-align: right; padding: 3px;">{{ plan.ministry.name }}</td> {% endcase %} </tr> </table> <table id="header" width="100%"> <tr> <td style="text-align: left; font-size: 10pt; background-color: white;">{{ plan.series_title }}</td> <td style="text-align: center; font-size: 10pt; background-color: white;"> <!-- Insert the Producer at the top --> {% for plan_person in plan.plan_people_not_declined %} {% if plan_person.category.name == "Producer" %} <strong>{{ plan_person.category.name}}</strong> : {{ plan_person.person.name }} - {{ plan_person.person.phone_numbers }} <td style="text-align: left; font-size: 15pt;"></td> {% endif %} {% endfor %} </td> <td style="text-align: right; font-size: 10pt; background-color: white;">{{ plan.dates }}</td> </tr> </table> <table width="100%;" id="plan"> <tr> <td valign="top"> <thead> <tr> <th width="10%">General Production</th> <th width="20%">Service Element</th> <th width="10%">Length</th> <th width="10%">Audio</th> <th width="10%">Camera</th> <th width="10%">Lighting</th> <th width="10%">Speaker</th> <th width="10%">Video</th> <th width="10%">Worship Leader</th> <th width="10%">Actions</th> </tr> </thead> {% for item in plan.items %} {% case item.item_type %} {% when 'Header' %} <tr> <td colspan="10" width="100%" style="background-color: #7D7D7D; color: white; border: solid 2px #000000;"><strong>{{ item.title }}</strong></td> </tr> {% else %} <tr class="item" {% for note in item.notes %} {% if note.category_name == "Z - Color" %} {% case note.note %} {% when 'Pink' %} bgcolor="#FD8ABC" {% when 'Green' %} bgcolor="#5FFD7C" {% when 'Purple' %} bgcolor="#CB56FD" {% when 'Blue' %} bgcolor="#46E5FD" {% when 'Yellow' %} bgcolor="#FDF57A" {% when 'Tan' %} bgcolor="#FFCC99" {% when 'Gray' %} bgcolor="#C0C0C0" {% endcase %} {% endif %} {% endfor %}> <td class="item" align="center" width=110>{% for note in item.notes%}{% if note.category_name == "General Production" %}{{ note.note }}{% endif %}{%endfor %}</td> <td> <strong>{{ item.title }}</strong> <pre><i>{{ item.description }}</i></pre> </td> <td class="item" align="center" style=" font-size: 18pt; font-weight: bold;">{% if item.length != "0:00" %}{{item.length }}{% endif %}</td> <td class="item" align="center">{% for note in item.notes %}{% if note.category_name == "Audio" %}{{ note.note }}{% endif %}{% endfor%}</td> <td class="item" align="left">{% for note in item.notes %}{% if note.category_name == "Camera" %}{{ note.note }}{% endif %}{% endfor%} <br><Strong>Cam 1:</Strong> {% for note in item.notes %}{% if note.category_name == "Cam 1" %}{{ note.note }}{% endif %}{% endfor%} <br><Strong>Cam 2:</Strong>{% for note in item.notes %}{% if note.category_name == "Cam 2" %}{{ note.note }}{% endif %}{% endfor%}</td> <td class="item" align="Center"> Cue {% for note in item.notes %}{% if note.category_name == "Lighting" %}{{ note.note }}{% endif %}{% endfor%}</td> <td class="item" align="Center">{% for note in item.notes %}{% if note.category_name == "Speaker" %}{{ note.note }}{% endif %}{% endfor%}</td> <td class="item" align="left"><Strong>GFX:</Strong>{% for note in item.notes %}{% if note.category_name == "GFX" %}{{ note.note }}{% endif %}{% endfor%} <br> <Strong>Source:</Strong> {% for note in item.notes %}{% if note.category_name == "Source" %}{{ note.note }}{% endif %}{% endfor%} <br> <Strong>Key 1:</Strong>{% for note in item.notes %}{% if note.category_name == "Key" %}{{ note.note }}{% endif %}{% endfor%}</td> <td class="item" align="Center">{% for note in item.notes %}{% if note.category_name == "Worship Leader" %}{{ note.note }}{% endif %}{% endfor%}</td> <td class="item" align="left"><Strong>GFX1 Macro:</Strong>{% for note in item.notes %}{% if note.category_name == "Macro" %}{{ note.note }}{% endif %}{% endfor%} <br> <Strong>Super Key:</Strong> {% for note in item.notes %}{% if note.category_name == "Super Key" %}{{ note.note }}{% for note in item.notes %}{% endfor %}{% endif %}{% endfor%} {% endcase %} {% endfor %} <tr> <td class="item" align="right"> </td> <td class="item" align="right"> </td> <td class="item" align="center" style="color: red; font-size: 18pt; font-weight: bold;">{{plan.total_length }}</td> <td class="item" align="right"> </td> <td class="item" align="right"> </td> <td class="item" align="right"> </td> </tr> <table> <tr> <td class="people_section"> {% for plan_person in plan.plan_people_not_declined %} {% if plan_person.category.name == "Producer" or plan_person.category.name contains "Production" %} {% if last_category != plan_person.category.id%} {% if current_position != '' %}</div>{% endif %} <div class="people_category"> {{ plan_person.category.name }} </div> {% assign current_position = '' %} {% endif %} {% assign last_category = plan_person.category.id %} {% if current_position != plan_person.position %} {% if current_position != '' %}</div>{% endif %} <div class="position" style="width:300px; "> <div class="person" style="padding-bottom:5px;">{{ plan_person.position }}</div> {% endif %} <div style="display:inline-block; width:250px; padding-bottom:10px;"> <div style="display:inline-block; float:left; width:70px; height:70px; border-radius:15px; overflow: hidden; background-size: cover; background-position: center; background-image: url('{{ plan_person.person.photo_url}}');"> </div> <div style= "display:inline-block; float:right; width:175px; padding-top:10px;"> {{ plan_person.person.name }}{% if plan_person.status == 'U' %} <span class="icon-question">?</span>{% endif %}<br> {% for email in plan_person.person.emails %}{{ email.address }}{%break%}{% endfor %}<br> {% for phone_number in plan_person.person.phone_numbers %}{{ phone_number.type_name }}{{ phone_number.number }}{%break%}{% endfor %} </div> </div> {% assign current_position = plan_person.position %} {% unless forloop.last %}<br>{% endunless %} {% endif %} {% endfor %} </div> </td> </tr> </table> </body> </html> |