| 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 hics213_html_template[] = |
| 24 |
"<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0 Transitional//EN\">\n\ |
| 25 |
<html><head><meta http-equiv=\"CONTENT-TYPE\" content=\"text/html; charset=utf-8\"><title>HICS-213</title><meta name=\"AUTHOR\" content=\"w1hkj\"><meta name=\"CREATED\" content=\"20111028\">\n\ |
| 26 |
<STYLE type=\"text/css\">\n\ |
| 27 |
p.F2 { FONT-FAMILY: \"sans-serif\"; FONT-SIZE: 10pt }\n\ |
| 28 |
p.F3 { FONT-FAMILY: \"sans-serif\"; FONT-SIZE: 14pt }\n\ |
| 29 |
p.F4 { FONT-FAMILY: \"monospace\"; FONT-SIZE: 12pt }\n\ |
| 30 |
p.F5 { FONT-FAMILY: \"sans-serif\"; FONT-SIZE: 16pt }\n\ |
| 31 |
</STYLE>\n\ |
| 32 |
<table border=\"1\" cellpadding=\"2\" cellspacing=\"0\" width=\"100%\">\n\ |
| 33 |
<col width=\"16%\"><col width=\"16%\"><col width=\"16%\"><col width=\"52%\">\n\ |
| 34 |
<tbody><tr valign=\"top\">\n\ |
| 35 |
<td colspan=\"4\"><p class=F3><b>HICS-213 – INCIDENT MESSAGE FORM</b></p></td>\n\ |
| 36 |
</tr>\n\ |
| 37 |
<tr valign=\"top\">\n\ |
| 38 |
<td colspan=\"3\"><p class=F2><b>1. FROM (Sender):</b><br>:1:</p></td>\n\ |
| 39 |
<td><p class=F2><b>2. TO (Receiver):</b><br>:2:</p></td>\n\ |
| 40 |
</tr>\n\ |
| 41 |
<tr valign=\"top\">\n\ |
| 42 |
<td><p class=F2><b>3. DATE RECEIVED</b></p></td>\n\ |
| 43 |
<td><p class=F2><b>4. TIME RECEIVED</b></p></td>\n\ |
| 44 |
<td><p class=F2><b>5. RECEIVED VIA</b></p></td>\n\ |
| 45 |
<td><p class=F2><b>6. REPLY REQUESTED:</b></p></td>\n\ |
| 46 |
</tr>\n\ |
| 47 |
<tr valign=\"top\">\n\ |
| 48 |
<td><p class=F2>:3:</p></td>\n\ |
| 49 |
<td><p class=F2>:4:</p></td>\n\ |
| 50 |
<td>\n\ |
| 51 |
<table border=\"0\" cellpadding=\"1\" cellspacing=\"0\" width=\"100%\">\n\ |
| 52 |
<col width=\"10%\"><col width=\"40%\">\n\ |
| 53 |
<col width=\"10%\"><col width=\"40%\">\n\ |
| 54 |
<tr>\n\ |
| 55 |
<td><b>:5a:</b></td><td>Phone</td>\n\ |
| 56 |
<td><b>:5b:</b></td><td>Radio</td>\n\ |
| 57 |
</tr>\n\ |
| 58 |
</table>\n\ |
| 59 |
</td>\n\ |
| 60 |
<td>\n\ |
| 61 |
<table border=\"0\" cellpadding=\"1\" cellspacing=\"0\" width=\"100%\">\n\ |
| 62 |
<col width=\"20%\">\n\ |
| 63 |
<col width=\"5%\"><col width=\"15%\">\n\ |
| 64 |
<col width=\"5%\"><col width=\"15%\">\n\ |
| 65 |
<col width=40%>\n\ |
| 66 |
<tr><td><p class=F2>Reply</p></td>\n\ |
| 67 |
<td><p class=F2><b>:6a:</b></p></td><td><p class=F2>Yes</p></td>\n\ |
| 68 |
<td><p class=F2><b>:6b:</b></p></td><td><p class=F2>No</p></td>\n\ |
| 69 |
</tr>\n\ |
| 70 |
</table>\n\ |
| 71 |
</td></tr>\n\ |
| 72 |
<tr valign=\"top\">\n\ |
| 73 |
<td colspan=\"2\"><br>\n\ |
| 74 |
</td>\n\ |
| 75 |
<td>\n\ |
| 76 |
<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\">\n\ |
| 77 |
<col width=\"10%\"><col width=\"40%\">\n\ |
| 78 |
<col width=\"10%\"><col width=\"40%\">\n\ |
| 79 |
<tr>\n\ |
| 80 |
<td><b>:5c:</b></td><td>Other</td>\n\ |
| 81 |
</tr>\n\ |
| 82 |
</table>\n\ |
| 83 |
</td>\n\ |
| 84 |
<td><p class=F2><b>If YES, REPLY TO:</b> :6c:</p></td>\n\ |
| 85 |
</tr>\n\ |
| 86 |
</tbody></table>\n\ |
| 87 |
<br>\n\ |
| 88 |
<table border=\"1\" cellpadding=\"2\" cellspacing=\"0\" width=\"100%\">\n\ |
| 89 |
<col width=\"15%\">\n\ |
| 90 |
<col width=\"3%\"><col width=\"20%\">\n\ |
| 91 |
<col width=\"3%\"><col width=\"20%\">\n\ |
| 92 |
<col width=\"3%\"><col width=\"20%\">\n\ |
| 93 |
<col width=\"16%\">\n\ |
| 94 |
<tbody><tr>\n\ |
| 95 |
<td><p class=F2><b>7. PRIORITY</b></p></td>\n\ |
| 96 |
<td><p class=F2><b>:7a:</b></p></td> <td><p class=F2>Urgent - High</p></td>\n\ |
| 97 |
<td><p class=F2><b>:7b:</b></p></td> <td><p class=F2>Non Urgent – Medium</p></td>\n\ |
| 98 |
<td><p class=F2><b>:7c:</b></p></td> <td><p class=F2>Informational - Low</p></td>\n\ |
| 99 |
</tr>\n\ |
| 100 |
</tbody></table>\n\ |
| 101 |
<br>\n\ |
| 102 |
<table border=\"1\" cellpadding=\"4\" cellspacing=\"0\" width=\"100%\">\n\ |
| 103 |
<tbody><tr>\n\ |
| 104 |
<td><p class=F2><b>8. MESSAGE</b> (KEEP ALL MESSAGES / REQUESTS BRIEF, TO THE POINT, AND VERY SPECIFIC):</p>\n\ |
| 105 |
<pre><p class=F4>:8:</p></pre></td>\n\ |
| 106 |
</tr>\n\ |
| 107 |
<tr>\n\ |
| 108 |
<td><p class=F2><b>9. ACTION TAKEN</b> (if any):<br></p><br>\n\ |
| 109 |
<pre><p class=F4>:9:</p></pre></td>\n\ |
| 110 |
</tr>\n\ |
| 111 |
</tbody></table>\n\ |
| 112 |
<br>\n\ |
| 113 |
<table border=\"1\" cellpadding=\"4\" cellspacing=\"0\" width=\"100%\">\n\ |
| 114 |
<col width=\"30%\"><col width=\"20%\"><col width=\"50%\"><tbody>\n\ |
| 115 |
<tr valign=\"top\">\n\ |
| 116 |
<td><p class=F2><b>Received by:</b></p></td>\n\ |
| 117 |
<td><p class=F2><b>Time Received:</b></p></td>\n\ |
| 118 |
<td><p class=F2><b>Forward to:</b></p></td>\n\ |
| 119 |
</tr>\n\ |
| 120 |
<tr>\n\ |
| 121 |
<td><p class=F2>:10:<br></p></td>\n\ |
| 122 |
<td><p class=F2>:11:</p></td>\n\ |
| 123 |
<td><p class=F2>:12:</p></td>\n\ |
| 124 |
</tr>\n\ |
| 125 |
<tr><td colspan=\"3\"><p class=F2><b>Comments:</b></p>\n\ |
| 126 |
<pre><p class=F4>:13:</p></pre></td>\n\ |
| 127 |
</tr>\n\ |
| 128 |
</tbody></table>\n\ |
| 129 |
<br>\n\ |
| 130 |
<table border=\"1\" cellpadding=\"4\" cellspacing=\"0\" width=\"100%\">\n\ |
| 131 |
<col width=\"30%\"><col width=\"20%\"><col width=\"50%\"><tbody>\n\ |
| 132 |
<tr valign=\"top\">\n\ |
| 133 |
<td><p class=F2><b>Received by:</b></p></td>\n\ |
| 134 |
<td><p class=F2><b>Time Received:</b></p></td>\n\ |
| 135 |
<td><p class=F2><b>Forward to:</b></p></td>\n\ |
| 136 |
</tr>\n\ |
| 137 |
<tr>\n\ |
| 138 |
<td><p class=F2>:14:<br></p></td>\n\ |
| 139 |
<td><p class=F2>:15:</p></td>\n\ |
| 140 |
<td><p class=F2>:16:</p></td>\n\ |
| 141 |
</tr>\n\ |
| 142 |
<tr>\n\ |
| 143 |
<td colspan=\"3\"><p class=F2><b>Comments:</b><br></p>\n\ |
| 144 |
<pre><p class=F4> :17:</p></pre></td>\n\ |
| 145 |
</tr>\n\ |
| 146 |
</tbody></table>\n\ |
| 147 |
<br>\n\ |
| 148 |
<table border=\"1\" cellpadding=\"4\" cellspacing=\"0\" width=\"100%\">\n\ |
| 149 |
<tbody><tr>\n\ |
| 150 |
<td><p class=F2><b>10. FACILITY NAME</b><br>:18:</p></td>\n\ |
| 151 |
</tr>\n\ |
| 152 |
</tbody></table>\n\ |
| 153 |
\n\ |
| 154 |
</body></html>\n\ |
| 155 |
"; |
| 156 |
|
| 157 |
const char hics213_text_template[] = |
| 158 |
"1. FROM (Sender): :1:\n\ |
| 159 |
2. TO (Receiver): :2:\n\ |
| 160 |
3. DATE RECEIVED: :3:\n\ |
| 161 |
4. TIME RECEIVED: :4:\n\ |
| 162 |
5a. RECEIVED via PHONE: :5a:\n\ |
| 163 |
5b. RECEIVED via RADIO: :5b:\n\ |
| 164 |
5b. RECEIVED via OTHER: :5c:\n\ |
| 165 |
6a. REPLY REQUESTED YES: :6a:\n\ |
| 166 |
6b. REPLY REQUESTED NO: :6b:\n\ |
| 167 |
6c. IF YES REPLY TO: :6c:\n\ |
| 168 |
7. PRIORITY high: :7a:, medium: :7b:, low: :7c:\n\ |
| 169 |
8. MESSAGE: :8:\n\ |
| 170 |
9. ACTION TAKEN: :9:\n\ |
| 171 |
10. Received by: :10:\n\ |
| 172 |
11. Time Received: :11:\n\ |
| 173 |
12. Forward to: :12:\n\ |
| 174 |
13. Comments: :13:\n\ |
| 175 |
14. Received by: :14:\n\ |
| 176 |
15. Time Received: :15:\n\ |
| 177 |
16. Forward to: :16:\n\ |
| 178 |
17. Comments: :17:\n\ |
| 179 |
18. FACILITY NAME :18:\n"; |