| 1 |
// ---------------------------------------------------------------------------- |
| 2 |
// Copyright (C) 2014 |
| 3 |
// David Freese, W1HKJ |
| 4 |
// |
| 5 |
// This file is part of flmsg |
| 6 |
// |
| 7 |
// flrig is free software; you can redistribute it and/or modify |
| 8 |
// it under the terms of the GNU General Public License as published by |
| 9 |
// the Free Software Foundation; either version 3 of the License, or |
| 10 |
// (at your option) any later version. |
| 11 |
// |
| 12 |
// flrig is distributed in the hope that it will be useful, |
| 13 |
// but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 |
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 15 |
// GNU General Public License for more details. |
| 16 |
// |
| 17 |
// You should have received a copy of the GNU General Public License |
| 18 |
// along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 19 |
// ---------------------------------------------------------------------------- |
| 20 |
|
| 21 |
#include "templates.h" |
| 22 |
|
| 23 |
const char ics205a_html_template[] = |
| 24 |
"<!DOCTYPE html PUBLIC \"-//W3C//DTD HTML 4.01//EN\" \"http://www.w3.org/TR/html4/strict.dtd\">\n\ |
| 25 |
<html>\n\ |
| 26 |
<head>\n\ |
| 27 |
<meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\">\n\ |
| 28 |
<title>:TITLE:</title>\n\ |
| 29 |
</head>\n\ |
| 30 |
<body>\n\ |
| 31 |
<table width=950px border=1 cellpadding=1 cellspacing=0>\n\ |
| 32 |
<tbody>\n\ |
| 33 |
<tr>\ |
| 34 |
<td colspan=7 ALIGN=left VALIGN=top><b>1. Incident name</b><br>:inc:</td>\ |
| 35 |
<td colspan=4 ALIGN=left VALIGN=top><b>2.From:</b><br>:dfm: :tfm:</td>\ |
| 36 |
<td colspan=4 ALIGN=left VALIGN=top><b>3.To: </b><br>:dto: :tto:</td>\ |
| 37 |
<td colspan=5 ALIGN=right VALIGN=top BGCOLOR=#EEFFFF><b>COMMUNICATIONS LIST<br>(ICS-205A)</b></td>\ |
| 38 |
</tr>\ |
| 39 |
<tr BGCOLOR=#EEFFFF>\ |
| 40 |
<td WIDTH=5% HEIGHT= 0></td><td WIDTH=5% HEIGHT= 0></td>\ |
| 41 |
<td WIDTH=5% HEIGHT= 0></td><td WIDTH=5% HEIGHT= 0></td>\ |
| 42 |
<td WIDTH=5% HEIGHT= 0></td><td WIDTH=5% HEIGHT= 0></td>\ |
| 43 |
<td WIDTH=5% HEIGHT= 0></td><td WIDTH=5% HEIGHT= 0></td>\ |
| 44 |
<td WIDTH=5% HEIGHT= 0></td><td WIDTH=5% HEIGHT= 0></td>\ |
| 45 |
<td WIDTH=5% HEIGHT= 0></td><td WIDTH=5% HEIGHT= 0></td>\ |
| 46 |
<td WIDTH=5% HEIGHT= 0></td><td WIDTH=5% HEIGHT= 0></td>\ |
| 47 |
<td WIDTH=5% HEIGHT= 0></td><td WIDTH=5% HEIGHT= 0></td>\ |
| 48 |
<td WIDTH=5% HEIGHT= 0></td><td WIDTH=5% HEIGHT= 0></td>\ |
| 49 |
<td WIDTH=5% HEIGHT= 0></td><td WIDTH=5% HEIGHT= 0></td>\ |
| 50 |
</tr>\ |
| 51 |
<tr>\ |
| 52 |
<td colspan=20 ALIGN=left VALIGN=top>\ |
| 53 |
<b>4. Basic Local Communications Info</b>\ |
| 54 |
</td>\ |
| 55 |
</tr>\ |
| 56 |
<tr>\ |
| 57 |
<td colspan=6 ALIGN=center VALIGN=top><br><b>Assignment</b></td>\ |
| 58 |
<td colspan=6 ALIGN=center VALIGN=top><b><br>Name</b><br></td>\ |
| 59 |
<td colspan=8 ALIGN=center VALIGN=top>\ |
| 60 |
<b>Methods of Contact</b><br>(radio frequency, phone, pager, cell, etc.)</b>\ |
| 61 |
</td>\ |
| 62 |
</tr>\ |
| 63 |
<tr>\ |
| 64 |
<td colspan=6 VALIGN=top>:asg[0]:</td>\ |
| 65 |
<td colspan=6 VALIGN=top>:nam[0]:</td>\ |
| 66 |
<td colspan=8 VALIGN=top>:inf[0]:</td>\ |
| 67 |
</tr>\ |
| 68 |
<tr>\ |
| 69 |
<td colspan=6 VALIGN=top>:asg[1]:</td>\ |
| 70 |
<td colspan=6 VALIGN=top>:nam[1]:</td>\ |
| 71 |
<td colspan=8 VALIGN=top>:inf[1]:</td>\ |
| 72 |
</tr>\ |
| 73 |
<tr>\ |
| 74 |
<td colspan=6 VALIGN=top>:asg[2]:</td>\ |
| 75 |
<td colspan=6 VALIGN=top>:nam[2]:</td>\ |
| 76 |
<td colspan=8 VALIGN=top>:inf[2]:</td>\ |
| 77 |
</tr>\ |
| 78 |
<tr>\ |
| 79 |
<td colspan=6 VALIGN=top>:asg[3]:</td>\ |
| 80 |
<td colspan=6 VALIGN=top>:nam[3]:</td>\ |
| 81 |
<td colspan=8 VALIGN=top>:inf[3]:</td>\ |
| 82 |
</tr>\ |
| 83 |
<tr>\ |
| 84 |
<td colspan=6 VALIGN=top>:asg[4]:</td>\ |
| 85 |
<td colspan=6 VALIGN=top>:nam[4]:</td>\ |
| 86 |
<td colspan=8 VALIGN=top>:inf[4]:</td>\ |
| 87 |
</tr>\ |
| 88 |
<tr>\ |
| 89 |
<td colspan=6 VALIGN=top>:asg[5]:</td>\ |
| 90 |
<td colspan=6 VALIGN=top>:nam[5]:</td>\ |
| 91 |
<td colspan=8 VALIGN=top>:inf[5]:</td>\ |
| 92 |
</tr>\ |
| 93 |
<tr>\ |
| 94 |
<td colspan=6 VALIGN=top>:asg[6]:</td>\ |
| 95 |
<td colspan=6 VALIGN=top>:nam[6]:</td>\ |
| 96 |
<td colspan=8 VALIGN=top>:inf[6]:</td>\ |
| 97 |
</tr>\ |
| 98 |
<tr>\ |
| 99 |
<td colspan=6 VALIGN=top>:asg[7]:</td>\ |
| 100 |
<td colspan=6 VALIGN=top>:nam[7]:</td>\ |
| 101 |
<td colspan=8 VALIGN=top>:inf[7]:</td>\ |
| 102 |
</tr>\ |
| 103 |
<tr>\ |
| 104 |
<td colspan=6 VALIGN=top>:asg[8]:</td>\ |
| 105 |
<td colspan=6 VALIGN=top>:nam[8]:</td>\ |
| 106 |
<td colspan=8 VALIGN=top>:inf[8]:</td>\ |
| 107 |
</tr>\ |
| 108 |
<tr>\ |
| 109 |
<td colspan=6 VALIGN=top>:asg[9]:</td>\ |
| 110 |
<td colspan=6 VALIGN=top>:nam[9]:</td>\ |
| 111 |
<td colspan=8 VALIGN=top>:inf[9]:</td>\ |
| 112 |
</tr>\ |
| 113 |
<tr>\ |
| 114 |
<td colspan=6 VALIGN=top>:asg[10]:</td>\ |
| 115 |
<td colspan=6 VALIGN=top>:nam[10]:</td>\ |
| 116 |
<td colspan=8 VALIGN=top>:inf[10]:</td>\ |
| 117 |
</tr>\ |
| 118 |
<tr>\ |
| 119 |
<td colspan=6 VALIGN=top>:asg[11]:</td>\ |
| 120 |
<td colspan=6 VALIGN=top>:nam[11]:</td>\ |
| 121 |
<td colspan=8 VALIGN=top>:inf[11]:</td>\ |
| 122 |
</tr>\ |
| 123 |
<tr>\ |
| 124 |
<td colspan=6 VALIGN=top>:asg[12]:</td>\ |
| 125 |
<td colspan=6 VALIGN=top>:nam[12]:</td>\ |
| 126 |
<td colspan=8 VALIGN=top>:inf[12]:</td>\ |
| 127 |
</tr>\ |
| 128 |
<tr>\ |
| 129 |
<td colspan=6 VALIGN=top>:asg[13]:</td>\ |
| 130 |
<td colspan=6 VALIGN=top>:nam[13]:</td>\ |
| 131 |
<td colspan=8 VALIGN=top>:inf[13]:</td>\ |
| 132 |
</tr>\ |
| 133 |
<tr>\ |
| 134 |
<td colspan=6 VALIGN=top>:asg[14]:</td>\ |
| 135 |
<td colspan=6 VALIGN=top>:nam[14]:</td>\ |
| 136 |
<td colspan=8 VALIGN=top>:inf[14]:</td>\ |
| 137 |
</tr>\ |
| 138 |
<tr>\ |
| 139 |
<td colspan=6 VALIGN=top>:asg[15]:</td>\ |
| 140 |
<td colspan=6 VALIGN=top>:nam[15]:</td>\ |
| 141 |
<td colspan=8 VALIGN=top>:inf[15]:</td>\ |
| 142 |
</tr>\ |
| 143 |
<tr>\ |
| 144 |
<td colspan=6 VALIGN=top>:asg[16]:</td>\ |
| 145 |
<td colspan=6 VALIGN=top>:nam[16]:</td>\ |
| 146 |
<td colspan=8 VALIGN=top>:inf[16]:</td>\ |
| 147 |
</tr>\ |
| 148 |
<tr>\ |
| 149 |
<td colspan=6 VALIGN=top>:asg[17]:</td>\ |
| 150 |
<td colspan=6 VALIGN=top>:nam[17]:</td>\ |
| 151 |
<td colspan=8 VALIGN=top>:inf[17]:</td>\ |
| 152 |
</tr>\ |
| 153 |
<tr>\ |
| 154 |
<td colspan=6 VALIGN=top>:asg[18]:</td>\ |
| 155 |
<td colspan=6 VALIGN=top>:nam[18]:</td>\ |
| 156 |
<td colspan=8 VALIGN=top>:inf[18]:</td>\ |
| 157 |
</tr>\ |
| 158 |
<tr>\ |
| 159 |
<td colspan=6 VALIGN=top>:asg[19]:</td>\ |
| 160 |
<td colspan=6 VALIGN=top>:nam[19]:</td>\ |
| 161 |
<td colspan=8 VALIGN=top>:inf[19]:</td>\ |
| 162 |
</tr>\ |
| 163 |
<tr>\ |
| 164 |
<td colspan=6 VALIGN=top>:asg[20]:</td>\ |
| 165 |
<td colspan=6 VALIGN=top>:nam[20]:</td>\ |
| 166 |
<td colspan=8 VALIGN=top>:inf[20]:</td>\ |
| 167 |
</tr>\ |
| 168 |
<tr>\ |
| 169 |
<td colspan=6 VALIGN=top>:asg[21]:</td>\ |
| 170 |
<td colspan=6 VALIGN=top>:nam[21]:</td>\ |
| 171 |
<td colspan=8 VALIGN=top>:inf[21]:</td>\ |
| 172 |
</tr>\ |
| 173 |
<tr>\ |
| 174 |
<td colspan=6 VALIGN=top>:asg[22]:</td>\ |
| 175 |
<td colspan=6 VALIGN=top>:nam[22]:</td>\ |
| 176 |
<td colspan=8 VALIGN=top>:inf[22]:</td>\ |
| 177 |
</tr>\ |
| 178 |
<tr>\ |
| 179 |
<td colspan=6 VALIGN=top>:asg[23]:</td>\ |
| 180 |
<td colspan=6 VALIGN=top>:nam[23]:</td>\ |
| 181 |
<td colspan=8 VALIGN=top>:inf[23]:</td>\ |
| 182 |
</tr>\ |
| 183 |
<tr>\ |
| 184 |
<td colspan=6 VALIGN=top>:asg[24]:</td>\ |
| 185 |
<td colspan=6 VALIGN=top>:nam[24]:</td>\ |
| 186 |
<td colspan=8 VALIGN=top>:inf[24]:</td>\ |
| 187 |
</tr>\ |
| 188 |
<tr>\ |
| 189 |
<td colspan=6 VALIGN=top>:asg[25]:</td>\ |
| 190 |
<td colspan=6 VALIGN=top>:nam[25]:</td>\ |
| 191 |
<td colspan=8 VALIGN=top>:inf[25]:</td>\ |
| 192 |
</tr>\ |
| 193 |
<tr>\ |
| 194 |
<td colspan=6 VALIGN=top>:asg[26]:</td>\ |
| 195 |
<td colspan=6 VALIGN=top>:nam[26]:</td>\ |
| 196 |
<td colspan=8 VALIGN=top>:inf[26]:</td>\ |
| 197 |
</tr>\ |
| 198 |
<tr>\ |
| 199 |
<td colspan=6 VALIGN=top>:asg[27]:</td>\ |
| 200 |
<td colspan=6 VALIGN=top>:nam[27]:</td>\ |
| 201 |
<td colspan=8 VALIGN=top>:inf[27]:</td>\ |
| 202 |
</tr>\ |
| 203 |
<tr>\ |
| 204 |
<td colspan=6 VALIGN=top>:asg[28]:</td>\ |
| 205 |
<td colspan=6 VALIGN=top>:nam[28]:</td>\ |
| 206 |
<td colspan=8 VALIGN=top>:inf[28]:</td>\ |
| 207 |
</tr>\ |
| 208 |
<tr>\ |
| 209 |
<td colspan=6 VALIGN=top>:asg[29]:</td>\ |
| 210 |
<td colspan=6 VALIGN=top>:nam[29]:</td>\ |
| 211 |
<td colspan=8 VALIGN=top>:inf[29]:</td>\ |
| 212 |
</tr>\ |
| 213 |
<tr>\ |
| 214 |
<td colspan=6 VALIGN=top>:asg[30]:</td>\ |
| 215 |
<td colspan=6 VALIGN=top>:nam[30]:</td>\ |
| 216 |
<td colspan=8 VALIGN=top>:inf[30]:</td>\ |
| 217 |
</tr>\ |
| 218 |
<tr>\ |
| 219 |
<td colspan=6 VALIGN=top>:asg[31]:</td>\ |
| 220 |
<td colspan=6 VALIGN=top>:nam[31]:</td>\ |
| 221 |
<td colspan=8 VALIGN=top>:inf[31]:</td>\ |
| 222 |
</tr>\ |
| 223 |
<tr>\ |
| 224 |
<td colspan=8 VALIGN=top>5. Prepared by:<br>:pre:</td>\ |
| 225 |
<td colspan=6 VALIGN=top>Position/Title:<br>:pos:</td>\ |
| 226 |
<td colspan=6 VALIGN=top>Date time:<br>:dtm:</td>\ |
| 227 |
</tr>\ |
| 228 |
<tr>\ |
| 229 |
<td colspan=4 ALIGN=center VALIGN=middle>ICS-205A</td>\ |
| 230 |
<td colspan=4 VALIGN=top>IAP Page</td>\ |
| 231 |
<td colspan=12 VALIGN=top>Signature:<br><br></td>\ |
| 232 |
</tr>\ |
| 233 |
</tbody>\ |
| 234 |
</table>\ |
| 235 |
</body></html>\ |
| 236 |
"; |
| 237 |
|
| 238 |
const char ics205a_text_template[] = |
| 239 |
"ICS 205a UNIT LOG\n\n\ |
| 240 |
Incident name: :inc:\n\ |
| 241 |
Date Prepared: :dat:\n\ |
| 242 |
Time Prepared: :tim:\n\ |
| 243 |
Prepared by: :pre:\n\ |
| 244 |
Preparer position: :pos:\n\ |
| 245 |
Preparer date time: :dtm:\n\ |
| 246 |
Comm Group Information\n\ |
| 247 |
line 0: :asg[0]:, :nam[0]:, :inf[0]:\n\ |
| 248 |
line 1: :asg[1]:, :nam[1]:, :inf[1]:\n\ |
| 249 |
line 2: :asg[2]:, :nam[2]:, :inf[2]:\n\ |
| 250 |
line 3: :asg[3]:, :nam[3]:, :inf[3]:\n\ |
| 251 |
line 4: :asg[4]:, :nam[4]:, :inf[4]:\n\ |
| 252 |
line 5: :asg[5]:, :nam[5]:, :inf[5]:\n\ |
| 253 |
line 6: :asg[6]:, :nam[6]:, :inf[6]:\n\ |
| 254 |
line 7: :asg[7]:, :nam[7]:, :inf[7]:\n\ |
| 255 |
line 8: :asg[8]:, :nam[8]:, :inf[8]:\n\ |
| 256 |
line 9: :asg[9]:, :nam[9]:, :inf[9]:\n\ |
| 257 |
line 10: :asg[10]:, :nam[10]:, :inf[10]:\n\ |
| 258 |
line 11: :asg[11]:, :nam[11]:, :inf[11]:\n\ |
| 259 |
line 12: :asg[12]:, :nam[12]:, :inf[12]:\n\ |
| 260 |
line 13: :asg[13]:, :nam[13]:, :inf[13]:\n\ |
| 261 |
line 14: :asg[14]:, :nam[14]:, :inf[14]:\n\ |
| 262 |
line 15: :asg[15]:, :nam[15]:, :inf[15]:\n\ |
| 263 |
line 16: :asg[16]:, :nam[16]:, :inf[16]:\n\ |
| 264 |
line 17: :asg[17]:, :nam[17]:, :inf[17]:\n\ |
| 265 |
line 18: :asg[18]:, :nam[18]:, :inf[18]:\n\ |
| 266 |
line 19: :asg[19]:, :nam[19]:, :inf[19]:\n\ |
| 267 |
line 20: :asg[20]:, :nam[20]:, :inf[20]:\n\ |
| 268 |
line 21: :asg[21]:, :nam[21]:, :inf[21]:\n\ |
| 269 |
line 22: :asg[22]:, :nam[22]:, :inf[22]:\n\ |
| 270 |
line 23: :asg[23]:, :nam[23]:, :inf[23]:\n\ |
| 271 |
line 24: :asg[24]:, :nam[24]:, :inf[24]:\n\ |
| 272 |
line 25: :asg[25]:, :nam[25]:, :inf[25]:\n\ |
| 273 |
line 26: :asg[26]:, :nam[26]:, :inf[26]:\n\ |
| 274 |
line 27: :asg[27]:, :nam[27]:, :inf[27]:\n\ |
| 275 |
line 28: :asg[28]:, :nam[28]:, :inf[28]:\n\ |
| 276 |
line 29: :asg[29]:, :nam[29]:, :inf[29]:\n\ |
| 277 |
line 30: :asg[30]:, :nam[30]:, :inf[30]:\n\ |
| 278 |
line 31: :asg[31]:, :nam[31]:, :inf[31]:\n\ |
| 279 |
"; |
| 280 |
|