Debian Codegraph @

share/templates/window.html

raw
1 ? my ($app, $window) = @_;
2 <div class="window<?= $window->{active} ? " active" : "" ?>" id="<?= $window->id ?>">
3 <table cellspacing="0" cellpadding="0">
4 <tr class="topic">
5 <td>
6 <div class="topic" id="<?= $window->id ?>_topic"><?= $window->topic->{string} ?></div>
7 </td>
8 </tr>
9 <tr>
10 <td valign="top">
11 <div class="message_wrap">
12 <ul class="messages" id="<?= $window->id ?>_messages">
13 </ul>
14 </div>
15 </td>
16 </tr>
17 <tr class="input">
18 <td id="<?= $window->id ?>_input">
19 <div>
20 <form id="<?= $window->id ?>_form" autocomplete="off">
21 <input type="hidden" name="source" value="<?= $window->id ?>" />
22 <input type="submit" class="send" id="<?= $window->id ?>_submit" value="Send">
23 <textarea name="msg" id="<?= $window->id ?>_msg" rows="1"></textarea>
24 </form>
25 </div>
26 </td>
27 </tr>
28 </table>
29 </div>