Debian Codegraph @

src/ics/ics213_templates.cxx

raw
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 ics213_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 content=\"text/html; charset=UTF-8\" http-equiv=\"content-type\">\n\
28 <title>:TITLE:</title>\n\
29 </head>\n\
30 <body>\n\
31 <table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"1000px\"\n\
32 align=\"center\">\n\
33 <tbody>\n\
34 <tr>\n\
35 <td>\n\
36 <table border=\"0\" cellpadding=\"0\" cellspacing=\"0\"\n\
37 width=\"100%\" align=\"center\">\n\
38 <tbody>\n\
39 <tr>\n\
40 <td align=\"center\"><font face=\"monospace\"><big><big><b>GENERAL\n\
41 MESSAGE (ICS-213)</b></big></big></font></td>\n\
42 </tr>\n\
43 </tbody>\n\
44 </table>\n\
45 </td>\n\
46 <td><font face=\"monospace\"><br>\n\
47 <br>\n\
48 </font></td>\n\
49 </tr>\n\
50 <tr>\n\
51 <td>\n\
52 <table border=\"1\" cellpadding=\"2\" cellspacing=\"0\"\n\
53 width=\"100%\" align=\"center\">\n\
54 <tbody>\n\
55 <tr>\n\
56 <td valign=\"top\" width=\"100%\"><font face=\"monospace\"><b>1.\n\
57 Incident Name</b> (optional): :inc:</font></td>\n\
58 </tr>\n\
59 <tr>\n\
60 <td valign=\"top\" width=\"100%\">\n\
61 <table border=\"0\" cellpadding=\"2\" cellspacing=\"0\"\n\
62 width=\"100%\" align=\"left\">\n\
63 <tbody>\n\
64 <tr>\n\
65 <td valign=\"top\" width=\"60%\"><font\n\
66 face=\"monospace\"><b>2. To</b> (Name and\n\
67 Position): :to:</font></td>\n\
68 <td valign=\"top\" width=\"40%\"><font\n\
69 face=\"monospace\">:p1:</font></td>\n\
70 </tr>\n\
71 </tbody>\n\
72 </table>\n\
73 </td>\n\
74 </tr>\n\
75 <tr>\n\
76 <td valign=\"top\">\n\
77 <table border=\"0\" cellpadding=\"2\" cellspacing=\"0\"\n\
78 width=\"100%\" align=\"left\">\n\
79 <tbody>\n\
80 <tr>\n\
81 <td valign=\"top\" width=\"60%\"><font\n\
82 face=\"monospace\"><b>3. From</b> (Name and\n\
83 Position): :fm:</font></td>\n\
84 <td valign=\"top\" width=\"40%\"><font\n\
85 face=\"monospace\">:p2:</font></td>\n\
86 </tr>\n\
87 </tbody>\n\
88 </table>\n\
89 </td>\n\
90 </tr>\n\
91 <tr>\n\
92 <td valign=\"top\">\n\
93 <table border=\"0\" cellpadding=\"2\" cellspacing=\"0\"\n\
94 width=\"100%\" align=\"left\">\n\
95 <tbody>\n\
96 <tr>\n\
97 <td valign=\"top\" width=\"60%\"> <font\n\
98 face=\"monospace\"><b>4. Subject</b> : :sb: </font></td>\n\
99 <td valign=\"top\" width=\"20%\"><font\n\
100 face=\"monospace\"><b>5. Date</b> : :d1: </font></td>\n\
101 <td valign=\"top\" width=\"20%\"><font\n\
102 face=\"monospace\"><b>6. Time</b> :t1: </font></td>\n\
103 </tr>\n\
104 </tbody>\n\
105 </table>\n\
106 </td>\n\
107 </tr>\n\
108 <tr>\n\
109 <td valign=\"top\">\n\
110 <table border=\"0\" cellpadding=\"2\" cellspacing=\"0\"\n\
111 width=\"100%\" align=\"left\">\n\
112 <tbody>\n\
113 <tr>\n\
114 <td> <font face=\"monospace\"><b>7. Message</b>\n\
115 :<br>\n\
116 :mg:<br>\n\
117 </font> </td>\n\
118 </tr>\n\
119 </tbody>\n\
120 </table>\n\
121 </td>\n\
122 </tr>\n\
123 <tr>\n\
124 <td>\n\
125 <table border=\"0\" cellpadding=\"2\" cellspacing=\"0\"\n\
126 width=\"100%\" align=\"left\">\n\
127 <tbody>\n\
128 <tr>\n\
129 <td width=\"35%\"><font face=\"monospace\"><b>8.\n\
130 Approved by:</b> Name : :s1:</font></td>\n\
131 <td width=\"30%\"><font face=\"monospace\">Signature : _____________________</font></td>\n\
132 <td width=\"35%\"><font face=\"monospace\">Position/Title : :p3:</font></td>\n\
133 </tr>\n\
134 </tbody>\n\
135 </table>\n\
136 </td>\n\
137 </tr>\n\
138 <tr>\n\
139 <td valign=\"top\">\n\
140 <table border=\"0\" cellpadding=\"2\" cellspacing=\"0\"\n\
141 width=\"100%\" align=\"left\">\n\
142 <tbody>\n\
143 <tr>\n\
144 <td> <font face=\"monospace\"><b>9. Reply</b> :\n\
145 <br>\n\
146 :rp:<br>\n\
147 </font>\n\
148 </td>\n\
149 </tr>\n\
150 </tbody>\n\
151 </table>\n\
152 </td>\n\
153 </tr>\n\
154 <tr>\n\
155 <td valign=\"top\">\n\
156 <table border=\"0\" cellpadding=\"2\" cellspacing=\"0\"\n\
157 width=\"100%\" align=\"left\">\n\
158 <tbody>\n\
159 <tr>\n\
160 <td width=\"35%\"><font face=\"monospace\"><b>10.\n\
161 Replied by: Name</b> : :s2:</font></td>\n\
162 <td width=\"30%\"><font face=\"monospace\">Position/Title :\n\
163 :p4:</font></td>\n\
164 <td width=\"35%\"><font face=\"monospace\">Signature: ___________________</font></td>\n\
165 </tr>\n\
166 <tr>\n\
167 <td width=\"30%\"><font face=\"monospace\"><b>ICS-213</b></font></td>\n\
168 <td width=\"35%\"><font face=\"monospace\">Date/Time :\n\
169 :d2:</font></td>\n\
170 <td width=\"35%\"><font face=\"monospace\">\n\
171 :t2:</font></td>\n\
172 </tr>\n\
173 </tbody>\n\
174 </table>\n\
175 </td>\n\
176 </tr>\n\
177 </tbody>\n\
178 </table>\n\
179 </td>\n\
180 </tr>\n\
181 </tbody>\n\
182 </table>\n\
183 </body>\n\
184 </html>";
185
186 const char ics213_text_template[] =
187 "GENERAL MESSAGE (ICS 213)\n\
188 1. Incident Name: :inc:\n\
189 2. To: :to:, :p1:\n\
190 3. From: :fm:, :p2:\n\
191 4. Subject: :sb:\n\
192 5. Date: :d1:\n\
193 6. Time: :t1:\n\
194 7. Message:\n\
195 :mg:\n\
196 \n\
197 8. Approved by: \n\
198 Name: :s1:\n\
199 Signature:\n\
200 Position/Title: :p3:\n\
201 \n\
202 9. Reply:\n\
203 :rp:\n\
204 \n\
205 10. Replied by: \n\
206 Name: :s2: \n\
207 Position/Title: :p4:\n\
208 Signature:\n\
209 Date/Time: :d2:, :t2:\n\
210 \n\
211 ICS213\n";
212