Mercurial > p > roundup > code
comparison templates/classic/htmlbase.py @ 1591:21312a7564fd
moving templates around
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Thu, 17 Apr 2003 03:38:00 +0000 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| 1590:198dbefc1d5a | 1591:21312a7564fd |
|---|---|
| 1 | |
| 2 # Do Not Edit (Unless You Want To) | |
| 3 # This file automagically generated by roundup.templatebuilder.makeHtmlBase | |
| 4 # | |
| 5 fileDOTindex = """<!-- dollarId: file.index,v 1.4 2002/01/23 05:10:27 richard Exp dollar--> | |
| 6 <tr> | |
| 7 <property name="name"> | |
| 8 <td><display call="download('name')"></td> | |
| 9 </property> | |
| 10 <property name="type"> | |
| 11 <td><display call="plain('type')"></td> | |
| 12 </property> | |
| 13 <property name="creator"> | |
| 14 <td><display call="plain('creator')"></td> | |
| 15 </property> | |
| 16 <property name="creation"> | |
| 17 <td><display call="plain('creation')"></td> | |
| 18 </property> | |
| 19 </tr> | |
| 20 """ | |
| 21 | |
| 22 fileDOTnewitem = """<!-- dollarId: file.newitem,v 1.1 2001/07/30 08:12:17 richard Exp dollar--> | |
| 23 <table border=0 cellspacing=0 cellpadding=2> | |
| 24 | |
| 25 <tr class="strong-header"> | |
| 26 <td colspan=2>File upload details</td> | |
| 27 </td> | |
| 28 | |
| 29 <tr bgcolor="ffffea"> | |
| 30 <td width=1% nowrap align=right><span class="form-label">File:</span></td> | |
| 31 <td class="form-text"><input type="file" name="content" size="40"></td> | |
| 32 </tr> | |
| 33 | |
| 34 <tr bgcolor="ffffea"> | |
| 35 <td> </td> | |
| 36 <td class="form-text"><display call="submit()"></td> | |
| 37 </tr> | |
| 38 | |
| 39 </table> | |
| 40 """ | |
| 41 | |
| 42 issueDOTfilter = """<!-- dollarId: issue.filter,v 1.2 2001/07/29 04:07:37 richard Exp dollar--> | |
| 43 <property name="title"> | |
| 44 <tr><th width="1%" align="right" class="location-bar">Title</th> | |
| 45 <td><display call="field('title')"></td></tr> | |
| 46 </property> | |
| 47 <property name="status"> | |
| 48 <tr><th width="1%" align="right" class="location-bar">Status</th> | |
| 49 <td><display call="checklist('status')"></td></tr> | |
| 50 </property> | |
| 51 <property name="priority"> | |
| 52 <tr><th width="1%" align="right" class="location-bar">Priority</th> | |
| 53 <td><display call="checklist('priority')"></td></tr> | |
| 54 </property> | |
| 55 <property name="assignedto"> | |
| 56 <tr><th width="1%" align="right" class="location-bar">Assignedto</th> | |
| 57 <td><display call="field('assignedto')"></td></tr> | |
| 58 </property> | |
| 59 """ | |
| 60 | |
| 61 issueDOTindex = """<!-- dollarId: issue.index,v 1.2 2001/07/29 04:07:37 richard Exp dollar--> | |
| 62 <tr class="row-<display call="plain('status')">"> | |
| 63 <property name="id"> | |
| 64 <td valign="top"><display call="plain('id')"></td> | |
| 65 </property> | |
| 66 <property name="activity"> | |
| 67 <td valign="top"><display call="reldate('activity', pretty=1)"></td> | |
| 68 </property> | |
| 69 <property name="priority"> | |
| 70 <td valign="top"><display call="plain('priority')"></td> | |
| 71 </property> | |
| 72 <property name="title"> | |
| 73 <td valign="top"><display call="link('title')"></td> | |
| 74 </property> | |
| 75 <property name="status"> | |
| 76 <td valign="top"><display call="plain('status')"></td> | |
| 77 </property> | |
| 78 <property name="assignedto"> | |
| 79 <td valign="top"><display call="link('assignedto')"></td> | |
| 80 </property> | |
| 81 </tr> | |
| 82 """ | |
| 83 | |
| 84 issueDOTitem = """<!-- dollarId: issue.item,v 1.4 2001/08/03 01:19:43 richard Exp dollar--> | |
| 85 <table border=0 cellspacing=0 cellpadding=2> | |
| 86 | |
| 87 <tr bgcolor="ffffea"> | |
| 88 <td width=1% nowrap align=right><span class="form-label">Title</span></td> | |
| 89 <td colspan=3 class="form-text"><display call="field('title', size=80)"></td> | |
| 90 </tr> | |
| 91 | |
| 92 <tr bgcolor="ffffea"> | |
| 93 <td width=1% nowrap align=right><span class="form-label">Created</span></td> | |
| 94 <td class="form-text"><display call="reldate('creation', pretty=1)"> | |
| 95 (<display call="plain('creator')">)</td> | |
| 96 <td width=1% nowrap align=right><span class="form-label">Last activity</span></td> | |
| 97 <td class="form-text"><display call="reldate('activity', pretty=1)"></td> | |
| 98 </tr> | |
| 99 | |
| 100 <tr bgcolor="ffffea"> | |
| 101 <td width=1% nowrap align=right><span class="form-label">Priority</span></td> | |
| 102 <td class="form-text"><display call="menu('priority')"></td> | |
| 103 <td width=1% nowrap align=right><span class="form-label">Status</span></td> | |
| 104 <td class="form-text"><display call="menu('status')"></td> | |
| 105 </tr> | |
| 106 | |
| 107 <tr bgcolor="ffffea"> | |
| 108 <td width=1% nowrap align=right><span class="form-label">Superseder</span></td> | |
| 109 <td class="form-text"><display call="field('superseder', size=40, showid=1)"></td> | |
| 110 <td width=1% nowrap align=right><span class="form-label">Nosy List</span></td> | |
| 111 <td class="form-text"><display call="field('nosy')"></td> | |
| 112 </tr> | |
| 113 | |
| 114 <tr bgcolor="ffffea"> | |
| 115 <td width=1% nowrap align=right><span class="form-label">Assigned To</span></td> | |
| 116 <td class="form-text"><display call="menu('assignedto')"></td> | |
| 117 <td> </td> | |
| 118 <td> </td> | |
| 119 </tr> | |
| 120 | |
| 121 <tr bgcolor="ffffea"> | |
| 122 <td width=1% nowrap align=right><span class="form-label">Change Note</span></td> | |
| 123 <td colspan=3 class="form-text"><display call="note()"></td> | |
| 124 </tr> | |
| 125 | |
| 126 <tr bgcolor="ffffea"> | |
| 127 <td width=1% nowrap align=right><span class="form-label">File</span></td> | |
| 128 <td colspan=3 class="form-text"><input type="file" name="__file" size="80"></td> | |
| 129 </tr> | |
| 130 | |
| 131 <tr bgcolor="ffffea"> | |
| 132 <td> </td> | |
| 133 <td colspan=3 class="form-text"><display call="submit()"></td> | |
| 134 </tr> | |
| 135 | |
| 136 <tr class="msg-header"> | |
| 137 <td colspan=4><b>Messages</b></td> | |
| 138 </tr> | |
| 139 <property name="messages"> | |
| 140 <tr> | |
| 141 <td colspan=4><display call="list('messages')"></td> | |
| 142 </tr> | |
| 143 </property> | |
| 144 | |
| 145 <tr class="file-header"> | |
| 146 <td colspan=4><b>Files</b></td> | |
| 147 </tr> | |
| 148 <tr class="form-help"> | |
| 149 <td colspan=4> | |
| 150 <a href="newfile?:multilink=issue<display | |
| 151 call="plain('id')">:files">Attach a file to this issue</a> | |
| 152 </td> | |
| 153 </tr> | |
| 154 <property name="files"> | |
| 155 <tr> | |
| 156 <td colspan=4><display call="list('files')"></td> | |
| 157 </tr> | |
| 158 </property> | |
| 159 | |
| 160 <tr class="history-header"> | |
| 161 <td colspan=4><b>History</b></td> | |
| 162 </tr> | |
| 163 <tr> | |
| 164 <td colspan=4><display call="history()"></td> | |
| 165 </tr> | |
| 166 | |
| 167 </table> | |
| 168 | |
| 169 """ | |
| 170 | |
| 171 msgDOTindex = """<!-- dollarId: msg.index,v 1.2 2001/07/29 04:07:37 richard Exp dollar--> | |
| 172 <tr> | |
| 173 <property name="date"> | |
| 174 <td><display call="link('date')"></td> | |
| 175 </property> | |
| 176 <property name="author"> | |
| 177 <td><display call="plain('author')"></td> | |
| 178 </property> | |
| 179 <property name="summary"> | |
| 180 <td><display call="plain('summary')"></td> | |
| 181 </property> | |
| 182 </tr> | |
| 183 """ | |
| 184 | |
| 185 msgDOTitem = """<!-- dollarId: msg.item,v 1.2 2001/07/29 04:07:37 richard Exp dollar--> | |
| 186 <table border=0 cellspacing=0 cellpadding=2> | |
| 187 | |
| 188 <tr class="strong-header"> | |
| 189 <td colspan=2>Message Information</td> | |
| 190 </td> | |
| 191 | |
| 192 <tr bgcolor="ffffea"> | |
| 193 <td width=1% nowrap align=right><span class="form-label">Author</span></td> | |
| 194 <td class="form-text"><display call="plain('author')"></td> | |
| 195 </tr> | |
| 196 | |
| 197 <tr bgcolor="ffffea"> | |
| 198 <td width=1% nowrap align=right><span class="form-label">Recipients</span></td> | |
| 199 <td class="form-text"><display call="plain('recipients')"></td> | |
| 200 </tr> | |
| 201 | |
| 202 <tr bgcolor="ffffea"> | |
| 203 <td width=1% nowrap align=right><span class="form-label">Date</span></td> | |
| 204 <td class="form-text"><display call="plain('date')"></td> | |
| 205 </tr> | |
| 206 | |
| 207 <tr bgcolor="ffeaff"> | |
| 208 <td colspan=2 class="form-text"> | |
| 209 <pre><display call="plain('content')"></pre> | |
| 210 </td> | |
| 211 </tr> | |
| 212 | |
| 213 <property name="files"> | |
| 214 <tr class="strong-header"><td colspan=2><b>Files</b></td></tr> | |
| 215 <tr><td colspan=2><display call="list('files')"></td></tr> | |
| 216 </property> | |
| 217 | |
| 218 <tr class="strong-header"><td colspan=2><b>History</b></td><tr> | |
| 219 <tr><td colspan=2><display call="history()"></td></tr> | |
| 220 | |
| 221 </table> | |
| 222 """ | |
| 223 | |
| 224 styleDOTcss = """h1 { | |
| 225 font-family: Verdana, Helvetica, sans-serif; | |
| 226 font-size: 18pt; | |
| 227 font-weight: bold; | |
| 228 } | |
| 229 | |
| 230 h2 { | |
| 231 font-family: Verdana, Helvetica, sans-serif; | |
| 232 font-size: 16pt; | |
| 233 font-weight: bold; | |
| 234 } | |
| 235 | |
| 236 h3 { | |
| 237 font-family: Verdana, Helvetica, sans-serif; | |
| 238 font-size: 12pt; | |
| 239 font-weight: bold; | |
| 240 } | |
| 241 | |
| 242 a:hover { | |
| 243 font-family: Verdana, Helvetica, sans-serif; | |
| 244 text-decoration: underline; | |
| 245 color: #333333; | |
| 246 } | |
| 247 | |
| 248 a:link { | |
| 249 font-family: Verdana, Helvetica, sans-serif; | |
| 250 text-decoration: none; | |
| 251 color: #000099; | |
| 252 } | |
| 253 | |
| 254 a { | |
| 255 font-family: Verdana, Helvetica, sans-serif; | |
| 256 text-decoration: none; | |
| 257 color: #000099; | |
| 258 } | |
| 259 | |
| 260 p { | |
| 261 font-family: Verdana, Helvetica, sans-serif; | |
| 262 font-size: 10pt; | |
| 263 color: #333333; | |
| 264 } | |
| 265 | |
| 266 th { | |
| 267 font-family: Verdana, Helvetica, sans-serif; | |
| 268 font-weight: bold; | |
| 269 font-size: 10pt; | |
| 270 color: #333333; | |
| 271 } | |
| 272 | |
| 273 .form-help { | |
| 274 font-family: Verdana, Helvetica, sans-serif; | |
| 275 font-size: 10pt; | |
| 276 color: #333333; | |
| 277 } | |
| 278 | |
| 279 .std-text { | |
| 280 font-family: Verdana, Helvetica, sans-serif; | |
| 281 font-size: 10pt; | |
| 282 color: #333333; | |
| 283 } | |
| 284 | |
| 285 .tab-small { | |
| 286 font-family: Verdana, Helvetica, sans-serif; | |
| 287 font-size: 8pt; | |
| 288 color: #333333; | |
| 289 } | |
| 290 | |
| 291 .location-bar { | |
| 292 background-color: #44bb66; | |
| 293 color: #ffffff; | |
| 294 border: none; | |
| 295 } | |
| 296 | |
| 297 .strong-header { | |
| 298 font-family: Verdana, Helvetica, sans-serif; | |
| 299 font-size: 12pt; | |
| 300 font-weight: bold; | |
| 301 background-color: #000000; | |
| 302 color: #ffffff; | |
| 303 } | |
| 304 | |
| 305 .msg-header { | |
| 306 font-family: Verdana, Helvetica, sans-serif; | |
| 307 font-size: 12pt; | |
| 308 font-weight: bold; | |
| 309 background-color: #EE71AC; | |
| 310 color: #ffffff; | |
| 311 } | |
| 312 | |
| 313 .file-header { | |
| 314 font-family: Verdana, Helvetica, sans-serif; | |
| 315 font-size: 12pt; | |
| 316 font-weight: bold; | |
| 317 background-color: #41BE62; | |
| 318 color: #ffffff; | |
| 319 } | |
| 320 | |
| 321 .history-header { | |
| 322 font-family: Verdana, Helvetica, sans-serif; | |
| 323 font-size: 12pt; | |
| 324 font-weight: bold; | |
| 325 background-color: #739DEE; | |
| 326 color: #ffffff; | |
| 327 } | |
| 328 | |
| 329 .list-header { | |
| 330 background-color: #aaccff; | |
| 331 color: #000000; | |
| 332 border: none; | |
| 333 } | |
| 334 | |
| 335 .list-item { | |
| 336 font-family: Verdana, Helvetica, sans-serif; | |
| 337 font-size: 10pt; | |
| 338 } | |
| 339 | |
| 340 .list-nav { | |
| 341 font-family: Verdana, Helvetica, sans-serif; | |
| 342 font-size: 10pt; | |
| 343 font-weight: bold; | |
| 344 } | |
| 345 | |
| 346 .row-normal { | |
| 347 background-color: #ffffff; | |
| 348 border: none; | |
| 349 | |
| 350 } | |
| 351 | |
| 352 .row-hilite { | |
| 353 background-color: #efefef; | |
| 354 border: none; | |
| 355 } | |
| 356 | |
| 357 .row-unread { | |
| 358 background-color: #ffddd9; | |
| 359 border: none; | |
| 360 } | |
| 361 | |
| 362 .row-in-progress { | |
| 363 background-color: #3ccc50; | |
| 364 border: none; | |
| 365 } | |
| 366 | |
| 367 .row-resolved { | |
| 368 background-color: #aaccff; | |
| 369 border: none; | |
| 370 } | |
| 371 | |
| 372 .row-done-cbb { | |
| 373 background-color: #aaccff; | |
| 374 border: none; | |
| 375 } | |
| 376 | |
| 377 .row-testing { | |
| 378 background-color: #c6ddff; | |
| 379 border: none; | |
| 380 } | |
| 381 | |
| 382 .row-need-eg { | |
| 383 background-color: #ffc7c0; | |
| 384 border: none; | |
| 385 } | |
| 386 | |
| 387 .row-chatting { | |
| 388 background-color: #ffe3c0; | |
| 389 border: none; | |
| 390 } | |
| 391 | |
| 392 .row-deferred { | |
| 393 background-color: #cccccc; | |
| 394 border: none; | |
| 395 } | |
| 396 | |
| 397 .section-bar { | |
| 398 background-color: #707070; | |
| 399 color: #ffffff; | |
| 400 border: 1px solid #404040; | |
| 401 } | |
| 402 | |
| 403 .system-msg { | |
| 404 font-family: Verdana, Helvetica, sans-serif; | |
| 405 font-size: 10pt; | |
| 406 background-color: #ffffff; | |
| 407 border: 1px solid #000000; | |
| 408 margin-bottom: 6px; | |
| 409 margin-top: 6px; | |
| 410 padding: 4px; | |
| 411 width: 100%; | |
| 412 color: #660033; | |
| 413 } | |
| 414 | |
| 415 .form-title { | |
| 416 font-family: Verdana, Helvetica, sans-serif; | |
| 417 font-weight: bold; | |
| 418 font-size: 12pt; | |
| 419 color: #333333; | |
| 420 } | |
| 421 | |
| 422 .form-label { | |
| 423 font-family: Verdana, Helvetica, sans-serif; | |
| 424 font-weight: bold; | |
| 425 font-size: 10pt; | |
| 426 color: #333333; | |
| 427 } | |
| 428 | |
| 429 .form-optional { | |
| 430 font-family: Verdana, Helvetica, sans-serif; | |
| 431 font-weight: bold; | |
| 432 font-style: italic; | |
| 433 font-size: 10pt; | |
| 434 color: #333333; | |
| 435 } | |
| 436 | |
| 437 .form-element { | |
| 438 font-family: Verdana, Helvetica, aans-serif; | |
| 439 font-size: 10pt; | |
| 440 color: #000000; | |
| 441 } | |
| 442 | |
| 443 .form-text { | |
| 444 font-family: Verdana, Helvetica, sans-serif; | |
| 445 font-size: 10pt; | |
| 446 color: #333333; | |
| 447 } | |
| 448 | |
| 449 .form-mono { | |
| 450 font-family: monospace; | |
| 451 font-size: 12px; | |
| 452 text-decoration: none; | |
| 453 } | |
| 454 """ | |
| 455 | |
| 456 userDOTindex = """<!-- dollarId: user.index,v 1.2 2001/07/29 04:07:37 richard Exp dollar--> | |
| 457 <tr> | |
| 458 <property name="username"> | |
| 459 <td><display call="link('username')"></td> | |
| 460 </property> | |
| 461 <property name="realname"> | |
| 462 <td><display call="plain('realname')"></td> | |
| 463 </property> | |
| 464 <property name="organisation"> | |
| 465 <td><display call="plain('organisation')"></td> | |
| 466 </property> | |
| 467 <property name="address"> | |
| 468 <td><display call="plain('address')"></td> | |
| 469 </property> | |
| 470 <property name="phone"> | |
| 471 <td><display call="plain('phone')"></td> | |
| 472 </property> | |
| 473 </tr> | |
| 474 """ | |
| 475 | |
| 476 userDOTitem = """<!-- dollarId: user.item,v 1.3 2002/02/15 07:08:44 richard Exp dollar--> | |
| 477 <table border=0 cellspacing=0 cellpadding=2> | |
| 478 | |
| 479 <tr class="strong-header"> | |
| 480 <td colspan=2>Your Details</td> | |
| 481 </td> | |
| 482 | |
| 483 <tr bgcolor="ffffea"> | |
| 484 <td width=1% nowrap align=right><span class="form-label">Name</span></td> | |
| 485 <td class="form-text"><display call="field('realname', size=40)"></td> | |
| 486 </tr> | |
| 487 <tr bgcolor="ffffea"> | |
| 488 <td width=1% nowrap align=right><span class="form-label">Login Name</span></td> | |
| 489 <td class="form-text"><display call="field('username', size=40)"></td> | |
| 490 </tr> | |
| 491 <tr bgcolor="ffffea"> | |
| 492 <td width=1% nowrap align=right><span class="form-label">Login Password</span></td> | |
| 493 <td class="form-text"><display call="field('password', size=10)"></td> | |
| 494 </tr> | |
| 495 <tr bgcolor="ffffea"> | |
| 496 <td width=1% nowrap align=right><span class="form-label">Phone</span></td> | |
| 497 <td class="form-text"><display call="field('phone', size=40)"></td> | |
| 498 </tr> | |
| 499 <tr bgcolor="ffffea"> | |
| 500 <td width=1% nowrap align=right><span class="form-label">Organisation</span></td> | |
| 501 <td class="form-text"><display call="field('organisation', size=40)"></td> | |
| 502 </tr> | |
| 503 <tr bgcolor="ffffea"> | |
| 504 <td width=1% nowrap align=right><span class="form-label">E-mail address</span></td> | |
| 505 <td class="form-text"><display call="field('address', size=40)"></td> | |
| 506 </tr> | |
| 507 <tr bgcolor="ffffea"> | |
| 508 <td width=1% nowrap align=right><span class="form-label">Alternate | |
| 509 E-mail addresses</span><br> | |
| 510 <span class="form-help">One address per line</span></td> | |
| 511 <td class="form-text"><display call="multiline('alternate_addresses')"></td> | |
| 512 </tr> | |
| 513 | |
| 514 <tr bgcolor="ffffea"> | |
| 515 <td> </td> | |
| 516 <td class="form-text"><display call="submit()"></td> | |
| 517 </tr> | |
| 518 | |
| 519 <tr class="strong-header"> | |
| 520 <td colspan=2><b>History</b></td> | |
| 521 </tr> | |
| 522 <tr> | |
| 523 <td colspan=2><display call="history()"></td> | |
| 524 </tr> | |
| 525 | |
| 526 </table> | |
| 527 | |
| 528 """ | |
| 529 |
