Mercurial > p > roundup > code
comparison roundup/templates/extended/htmlbase.py @ 167:a49c8a2ddd26
Added time logging and file uploading to the templates.
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Mon, 30 Jul 2001 08:12:17 +0000 |
| parents | 1e5d95829851 |
| children | 2775f6727070 |
comparison
equal
deleted
inserted
replaced
| 166:d469fb3beda1 | 167:a49c8a2ddd26 |
|---|---|
| 1 | 1 |
| 2 # Do Not Edit (Unless You Want To) | 2 # Do Not Edit (Unless You Want To) |
| 3 # This file automagically generated by roundup.htmldata.makeHtmlBase | 3 # This file automagically generated by roundup.htmldata.makeHtmlBase |
| 4 # | 4 # |
| 5 fileDOTindex = """<!-- $Id: htmlbase.py,v 1.4 2001-07-30 02:38:49 richard Exp $--> | 5 fileDOTindex = """<!-- $Id: htmlbase.py,v 1.5 2001-07-30 08:12:17 richard Exp $--> |
| 6 <tr> | 6 <tr> |
| 7 <property name="name"> | 7 <property name="name"> |
| 8 <td><display call="link('name')"></td> | 8 <td><display call="link('name')"></td> |
| 9 </property> | 9 </property> |
| 10 <property name="type"> | 10 <property name="type"> |
| 11 <td><display call="plain('type')"></td> | 11 <td><display call="plain('type')"></td> |
| 12 </property> | 12 </property> |
| 13 </tr> | 13 </tr> |
| 14 """ | 14 """ |
| 15 | 15 |
| 16 issueDOTfilter = """<!-- $Id: htmlbase.py,v 1.4 2001-07-30 02:38:49 richard Exp $--> | 16 fileDOTnewitem = """<!-- $Id: htmlbase.py,v 1.5 2001-07-30 08:12:17 richard Exp $--> |
| 17 <table border=0 cellspacing=0 cellpadding=2> | |
| 18 | |
| 19 <tr class="strong-header"> | |
| 20 <td colspan=2>File upload details</td> | |
| 21 </td> | |
| 22 | |
| 23 <tr bgcolor="ffffea"> | |
| 24 <td width=1% nowrap align=right><span class="form-label">File:</span></td> | |
| 25 <td class="form-text"><input type="file" name="content" size="40"></td> | |
| 26 </tr> | |
| 27 | |
| 28 <tr bgcolor="ffffea"> | |
| 29 <td> </td> | |
| 30 <td class="form-text"><display call="submit()"></td> | |
| 31 </tr> | |
| 32 | |
| 33 </table> | |
| 34 """ | |
| 35 | |
| 36 issueDOTfilter = """<!-- $Id: htmlbase.py,v 1.5 2001-07-30 08:12:17 richard Exp $--> | |
| 17 <property name="title"> | 37 <property name="title"> |
| 18 <tr><th width="1%" align="right" class="location-bar">Title</th> | 38 <tr><th width="1%" align="right" class="location-bar">Title</th> |
| 19 <td><display call="field('title')"></td></tr> | 39 <td><display call="field('title')"></td></tr> |
| 20 </property> | 40 </property> |
| 21 <property name="status"> | 41 <property name="status"> |
| 42 <tr><th width="1%" align="right" class="location-bar">Assigned to</th> | 62 <tr><th width="1%" align="right" class="location-bar">Assigned to</th> |
| 43 <td><display call="checklist('assignedto')"></td></tr> | 63 <td><display call="checklist('assignedto')"></td></tr> |
| 44 </property> | 64 </property> |
| 45 """ | 65 """ |
| 46 | 66 |
| 47 issueDOTindex = """<!-- $Id: htmlbase.py,v 1.4 2001-07-30 02:38:49 richard Exp $--> | 67 issueDOTindex = """<!-- $Id: htmlbase.py,v 1.5 2001-07-30 08:12:17 richard Exp $--> |
| 48 <tr> | 68 <tr> |
| 49 <property name="id"> | 69 <property name="id"> |
| 50 <td valign="top"><display call="field('id')"></td> | 70 <td valign="top"><display call="field('id')"></td> |
| 51 </property> | 71 </property> |
| 52 <property name="activity"> | 72 <property name="activity"> |
| 74 <td valign="top"><display call="plain('assignedto')"></td> | 94 <td valign="top"><display call="plain('assignedto')"></td> |
| 75 </property> | 95 </property> |
| 76 </tr> | 96 </tr> |
| 77 """ | 97 """ |
| 78 | 98 |
| 79 issueDOTitem = """<!-- $Id: htmlbase.py,v 1.4 2001-07-30 02:38:49 richard Exp $--> | 99 issueDOTitem = """<!-- $Id: htmlbase.py,v 1.5 2001-07-30 08:12:17 richard Exp $--> |
| 80 <table border=0 cellspacing=0 cellpadding=2> | 100 <table border=0 cellspacing=0 cellpadding=2> |
| 81 | 101 |
| 82 <tr class="strong-header"> | 102 <tr class="strong-header"> |
| 83 <td colspan=4>Item Information</td> | 103 <td colspan=4>Item Information</td> |
| 84 </td> | 104 </td> |
| 133 <tr bgcolor="ffffea"> | 153 <tr bgcolor="ffffea"> |
| 134 <td> </td> | 154 <td> </td> |
| 135 <td colspan=3 class="form-text"><display call="submit()"></td> | 155 <td colspan=3 class="form-text"><display call="submit()"></td> |
| 136 </tr> | 156 </tr> |
| 137 | 157 |
| 158 <tr class="strong-header"> | |
| 159 <td colspan=4><b>Messages</b></td> | |
| 160 </tr> | |
| 138 <property name="messages"> | 161 <property name="messages"> |
| 139 <tr class="strong-header"> | |
| 140 <td colspan=4><b>Messages</b></td> | |
| 141 </tr> | |
| 142 <tr> | 162 <tr> |
| 143 <td colspan=4><display call="list('messages')"></td> | 163 <td colspan=4><display call="list('messages')"></td> |
| 144 </tr> | 164 </tr> |
| 145 </property> | 165 </property> |
| 146 | 166 |
| 167 <tr class="strong-header"> | |
| 168 <td colspan=4><b>Files</b></td> | |
| 169 </tr> | |
| 170 <tr class="form-help"> | |
| 171 <td colspan=4> | |
| 172 <a href="newfile?:multilink=issue<display call="plain('id')">:files">Attach a file to this issue</a> | |
| 173 </td> | |
| 174 </tr> | |
| 147 <property name="files"> | 175 <property name="files"> |
| 148 <tr class="strong-header"> | |
| 149 <td colspan=4><b>Files</b></td> | |
| 150 </tr> | |
| 151 <tr> | 176 <tr> |
| 152 <td colspan=4><display call="list('files')"></td> | 177 <td colspan=4><display call="list('files')"></td> |
| 153 </tr> | 178 </tr> |
| 154 </property> | 179 </property> |
| 155 | 180 |
| 156 </table> | 181 </table> |
| 157 | 182 |
| 158 """ | 183 """ |
| 159 | 184 |
| 160 msgDOTindex = """<!-- $Id: htmlbase.py,v 1.4 2001-07-30 02:38:49 richard Exp $--> | 185 msgDOTindex = """<!-- $Id: htmlbase.py,v 1.5 2001-07-30 08:12:17 richard Exp $--> |
| 161 <tr> | 186 <tr> |
| 162 <property name="date"> | 187 <property name="date"> |
| 163 <td><display call="link('date')"></td> | 188 <td><display call="link('date')"></td> |
| 164 </property> | 189 </property> |
| 165 <property name="author"> | 190 <property name="author"> |
| 169 <td><display call="plain('summary')"></td> | 194 <td><display call="plain('summary')"></td> |
| 170 </property> | 195 </property> |
| 171 </tr> | 196 </tr> |
| 172 """ | 197 """ |
| 173 | 198 |
| 174 msgDOTitem = """<!-- $Id: htmlbase.py,v 1.4 2001-07-30 02:38:49 richard Exp $--> | 199 msgDOTitem = """<!-- $Id: htmlbase.py,v 1.5 2001-07-30 08:12:17 richard Exp $--> |
| 175 <table border=0 cellspacing=0 cellpadding=2> | 200 <table border=0 cellspacing=0 cellpadding=2> |
| 176 | 201 |
| 177 <tr class="strong-header"> | 202 <tr class="strong-header"> |
| 178 <td colspan=2>Message Information</td> | 203 <td colspan=2>Message Information</td> |
| 179 </td> | 204 </td> |
| 373 font-size: 12px; | 398 font-size: 12px; |
| 374 text-decoration: none; | 399 text-decoration: none; |
| 375 } | 400 } |
| 376 """ | 401 """ |
| 377 | 402 |
| 378 supportDOTfilter = """<!-- $Id: htmlbase.py,v 1.4 2001-07-30 02:38:49 richard Exp $--> | 403 supportDOTfilter = """<!-- $Id: htmlbase.py,v 1.5 2001-07-30 08:12:17 richard Exp $--> |
| 379 <property name="title"> | 404 <property name="title"> |
| 380 <tr><th width="1%" align="right" class="location-bar">Title</th> | 405 <tr><th width="1%" align="right" class="location-bar">Title</th> |
| 381 <td><display call="field('title')"></td></tr> | 406 <td><display call="field('title')"></td></tr> |
| 382 </property> | 407 </property> |
| 383 <property name="status"> | 408 <property name="status"> |
| 408 <tr><th width="1%" align="right" class="location-bar">Customer name</th> | 433 <tr><th width="1%" align="right" class="location-bar">Customer name</th> |
| 409 <td><display call="field('customername')"></td></tr> | 434 <td><display call="field('customername')"></td></tr> |
| 410 </property> | 435 </property> |
| 411 """ | 436 """ |
| 412 | 437 |
| 413 supportDOTindex = """<!-- $Id: htmlbase.py,v 1.4 2001-07-30 02:38:49 richard Exp $--> | 438 supportDOTindex = """<!-- $Id: htmlbase.py,v 1.5 2001-07-30 08:12:17 richard Exp $--> |
| 414 <tr> | 439 <tr> |
| 415 <property name="id"> | 440 <property name="id"> |
| 416 <td valign="top"><display call="field('id')"></td> | 441 <td valign="top"><display call="field('id')"></td> |
| 417 </property> | 442 </property> |
| 418 <property name="activity"> | 443 <property name="activity"> |
| 443 <td valign="top"><display call="plain('customername')"></td> | 468 <td valign="top"><display call="plain('customername')"></td> |
| 444 </property> | 469 </property> |
| 445 </tr> | 470 </tr> |
| 446 """ | 471 """ |
| 447 | 472 |
| 448 supportDOTitem = """<!-- $Id: htmlbase.py,v 1.4 2001-07-30 02:38:49 richard Exp $--> | 473 supportDOTitem = """<!-- $Id: htmlbase.py,v 1.5 2001-07-30 08:12:17 richard Exp $--> |
| 449 <table border=0 cellspacing=0 cellpadding=2> | 474 <table border=0 cellspacing=0 cellpadding=2> |
| 450 | 475 |
| 451 <tr class="strong-header"> | 476 <tr class="strong-header"> |
| 452 <td colspan=4>Item Information</td> | 477 <td colspan=4>Item Information</td> |
| 453 </td> | 478 </td> |
| 509 <tr bgcolor="ffffea"> | 534 <tr bgcolor="ffffea"> |
| 510 <td> </td> | 535 <td> </td> |
| 511 <td colspan=3 class="form-text"><display call="submit()"></td> | 536 <td colspan=3 class="form-text"><display call="submit()"></td> |
| 512 </tr> | 537 </tr> |
| 513 | 538 |
| 539 <tr class="strong-header"> | |
| 540 <td colspan=4><b>Messages</b></td> | |
| 541 </tr> | |
| 514 <property name="messages"> | 542 <property name="messages"> |
| 515 <tr class="strong-header"> | |
| 516 <td colspan=4><b>Messages</b></td> | |
| 517 </tr> | |
| 518 <tr> | 543 <tr> |
| 519 <td colspan=4><display call="list('messages')"></td> | 544 <td colspan=4><display call="list('messages')"></td> |
| 520 </tr> | 545 </tr> |
| 521 </property> | 546 </property> |
| 522 | 547 |
| 548 <tr class="strong-header"> | |
| 549 <td colspan=4><b>Timelog</b></td> | |
| 550 </tr> | |
| 551 <tr class="form-help"> | |
| 552 <td colspan=4> | |
| 553 <a href="newtimelog?:multilink=support<display call="plain('id')">:timelog">Log time against this support call</a> | |
| 554 </td> | |
| 555 </tr> | |
| 556 <property name="timelog"> | |
| 557 <tr> | |
| 558 <td colspan=4><display call="list('timelog')"></td> | |
| 559 </tr> | |
| 560 </property> | |
| 561 | |
| 562 <tr class="strong-header"> | |
| 563 <td colspan=4><b>Files</b></td> | |
| 564 </tr> | |
| 565 <tr class="form-help"> | |
| 566 <td colspan=4> | |
| 567 <a href="newfile?:multilink=support<display call="plain('id')">:files">Attach a file to support call</a> | |
| 568 </td> | |
| 569 </tr> | |
| 523 <property name="files"> | 570 <property name="files"> |
| 524 <tr class="strong-header"> | |
| 525 <td colspan=4><b>Files</b></td> | |
| 526 </tr> | |
| 527 <tr> | 571 <tr> |
| 528 <td colspan=4><display call="list('files')"></td> | 572 <td colspan=4><display call="list('files')"></td> |
| 529 </tr> | 573 </tr> |
| 530 </property> | 574 </property> |
| 531 | 575 |
| 532 </table> | 576 </table> |
| 533 | 577 |
| 534 """ | 578 """ |
| 535 | 579 |
| 536 userDOTindex = """<!-- $Id: htmlbase.py,v 1.4 2001-07-30 02:38:49 richard Exp $--> | 580 timelogDOTindex = """<!-- $Id: htmlbase.py,v 1.5 2001-07-30 08:12:17 richard Exp $--> |
| 581 <tr> | |
| 582 <property name="date"> | |
| 583 <td><display call="link('date')"></td> | |
| 584 </property> | |
| 585 <property name="performedby"> | |
| 586 <td><display call="plain('performedby')"></td> | |
| 587 </property> | |
| 588 <property name="time"> | |
| 589 <td><display call="plain('time')"></td> | |
| 590 </property> | |
| 591 <property name="description"> | |
| 592 <td><display call="plain('description')"></td> | |
| 593 </property> | |
| 594 </tr> | |
| 595 """ | |
| 596 | |
| 597 timelogDOTitem = """<!-- $Id: htmlbase.py,v 1.5 2001-07-30 08:12:17 richard Exp $--> | |
| 598 <table border=0 cellspacing=0 cellpadding=2> | |
| 599 | |
| 600 <tr class="strong-header"> | |
| 601 <td colspan=2>Time log details</td> | |
| 602 </td> | |
| 603 | |
| 604 <tr bgcolor="ffffea"> | |
| 605 <td width=1% nowrap align=right><span class="form-label">Time spent</span></td> | |
| 606 <td class="form-text"><display call="field('time', size=40)"></td> | |
| 607 </tr> | |
| 608 <tr bgcolor="ffffea"> | |
| 609 <td width=1% nowrap align=right><span class="form-label">Description</span></td> | |
| 610 <td class="form-text"><display call="field('description', size=40)"></td> | |
| 611 </tr> | |
| 612 <tr bgcolor="ffffea"> | |
| 613 <td width=1% nowrap align=right><span class="form-label">Date</span></td> | |
| 614 <td class="form-text"><display call="field('date', size=40)"></td> | |
| 615 </tr> | |
| 616 <tr bgcolor="ffffea"> | |
| 617 <td width=1% nowrap align=right><span class="form-label">Performed by</span></td> | |
| 618 <td class="form-text"><display call="field('performedby', size=40)"></td> | |
| 619 </tr> | |
| 620 | |
| 621 <tr bgcolor="ffffea"> | |
| 622 <td> </td> | |
| 623 <td class="form-text"><display call="submit()"></td> | |
| 624 </tr> | |
| 625 | |
| 626 <tr class="strong-header"> | |
| 627 <td colspan=2><b>History</b></td> | |
| 628 </tr> | |
| 629 <tr> | |
| 630 <td colspan=2><display call="history()"></td> | |
| 631 </tr> | |
| 632 | |
| 633 </table> | |
| 634 | |
| 635 """ | |
| 636 | |
| 637 userDOTindex = """<!-- $Id: htmlbase.py,v 1.5 2001-07-30 08:12:17 richard Exp $--> | |
| 537 <tr> | 638 <tr> |
| 538 <property name="username"> | 639 <property name="username"> |
| 539 <td><display call="link('username')"></td> | 640 <td><display call="link('username')"></td> |
| 540 </property> | 641 </property> |
| 541 <property name="realname"> | 642 <property name="realname"> |
| 551 <td><display call="plain('phone')"></td> | 652 <td><display call="plain('phone')"></td> |
| 552 </property> | 653 </property> |
| 553 </tr> | 654 </tr> |
| 554 """ | 655 """ |
| 555 | 656 |
| 556 userDOTitem = """<!-- $Id: htmlbase.py,v 1.4 2001-07-30 02:38:49 richard Exp $--> | 657 userDOTitem = """<!-- $Id: htmlbase.py,v 1.5 2001-07-30 08:12:17 richard Exp $--> |
| 557 <table border=0 cellspacing=0 cellpadding=2> | 658 <table border=0 cellspacing=0 cellpadding=2> |
| 558 | 659 |
| 559 <tr class="strong-header"> | 660 <tr class="strong-header"> |
| 560 <td colspan=2>Your Details</td> | 661 <td colspan=2>Your Details</td> |
| 561 </td> | 662 </td> |
