annotate media/js/tiny_mce/plugins/table/row.htm @ 166:8acf5be27f18

Implement #50, add a template tag to display the latest poll and add to the home page.
author Brian Neal <bgneal@gmail.com>
date Sun, 17 Jan 2010 20:24:01 +0000
parents a5b4c5ce0658
children 149c3567fec1
rev   line source
bgneal@45 1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
bgneal@45 2 <html xmlns="http://www.w3.org/1999/xhtml">
bgneal@45 3 <head>
bgneal@45 4 <title>{#table_dlg.row_title}</title>
bgneal@45 5 <script type="text/javascript" src="../../tiny_mce_popup.js"></script>
bgneal@45 6 <script type="text/javascript" src="../../utils/mctabs.js"></script>
bgneal@45 7 <script type="text/javascript" src="../../utils/form_utils.js"></script>
bgneal@45 8 <script type="text/javascript" src="../../utils/editable_selects.js"></script>
bgneal@45 9 <script type="text/javascript" src="js/row.js"></script>
bgneal@45 10 <link href="css/row.css" rel="stylesheet" type="text/css" />
bgneal@45 11 </head>
bgneal@45 12 <body id="tablerow" style="display: none">
bgneal@45 13 <form onsubmit="updateAction();return false;" action="#">
bgneal@45 14 <div class="tabs">
bgneal@45 15 <ul>
bgneal@45 16 <li id="general_tab" class="current"><span><a href="javascript:mcTabs.displayTab('general_tab','general_panel');" onmousedown="return false;">{#table_dlg.general_tab}</a></span></li>
bgneal@45 17 <li id="advanced_tab"><span><a href="javascript:mcTabs.displayTab('advanced_tab','advanced_panel');" onmousedown="return false;">{#table_dlg.advanced_tab}</a></span></li>
bgneal@45 18 </ul>
bgneal@45 19 </div>
bgneal@45 20
bgneal@45 21 <div class="panel_wrapper">
bgneal@45 22 <div id="general_panel" class="panel current">
bgneal@45 23 <fieldset>
bgneal@45 24 <legend>{#table_dlg.general_props}</legend>
bgneal@45 25
bgneal@45 26 <table border="0" cellpadding="4" cellspacing="0">
bgneal@45 27 <tr>
bgneal@45 28 <td><label for="rowtype">{#table_dlg.rowtype}</label></td>
bgneal@45 29 <td class="col2">
bgneal@45 30 <select id="rowtype" name="rowtype" class="mceFocus">
bgneal@45 31 <option value="thead">{#table_dlg.thead}</option>
bgneal@45 32 <option value="tbody">{#table_dlg.tbody}</option>
bgneal@45 33 <option value="tfoot">{#table_dlg.tfoot}</option>
bgneal@45 34 </select>
bgneal@45 35 </td>
bgneal@45 36 </tr>
bgneal@45 37
bgneal@45 38 <tr>
bgneal@45 39 <td><label for="align">{#table_dlg.align}</label></td>
bgneal@45 40 <td class="col2">
bgneal@45 41 <select id="align" name="align">
bgneal@45 42 <option value="">{#not_set}</option>
bgneal@45 43 <option value="center">{#table_dlg.align_middle}</option>
bgneal@45 44 <option value="left">{#table_dlg.align_left}</option>
bgneal@45 45 <option value="right">{#table_dlg.align_right}</option>
bgneal@45 46 </select>
bgneal@45 47 </td>
bgneal@45 48 </tr>
bgneal@45 49
bgneal@45 50 <tr>
bgneal@45 51 <td><label for="valign">{#table_dlg.valign}</label></td>
bgneal@45 52 <td class="col2">
bgneal@45 53 <select id="valign" name="valign">
bgneal@45 54 <option value="">{#not_set}</option>
bgneal@45 55 <option value="top">{#table_dlg.align_top}</option>
bgneal@45 56 <option value="middle">{#table_dlg.align_middle}</option>
bgneal@45 57 <option value="bottom">{#table_dlg.align_bottom}</option>
bgneal@45 58 </select>
bgneal@45 59 </td>
bgneal@45 60 </tr>
bgneal@45 61
bgneal@45 62 <tr id="styleSelectRow">
bgneal@45 63 <td><label for="class">{#class_name}</label></td>
bgneal@45 64 <td class="col2">
bgneal@45 65 <select id="class" name="class" class="mceEditableSelect">
bgneal@45 66 <option value="" selected="selected">{#not_set}</option>
bgneal@45 67 </select>
bgneal@45 68 </td>
bgneal@45 69 </tr>
bgneal@45 70
bgneal@45 71 <tr>
bgneal@45 72 <td><label for="height">{#table_dlg.height}</label></td>
bgneal@45 73 <td class="col2"><input name="height" type="text" id="height" value="" size="4" maxlength="4" onchange="changedSize();" /></td>
bgneal@45 74 </tr>
bgneal@45 75 </table>
bgneal@45 76 </fieldset>
bgneal@45 77 </div>
bgneal@45 78
bgneal@45 79 <div id="advanced_panel" class="panel">
bgneal@45 80 <fieldset>
bgneal@45 81 <legend>{#table_dlg.advanced_props}</legend>
bgneal@45 82
bgneal@45 83 <table border="0" cellpadding="0" cellspacing="4">
bgneal@45 84 <tr>
bgneal@45 85 <td class="column1"><label for="id">{#table_dlg.id}</label></td>
bgneal@45 86 <td><input id="id" name="id" type="text" value="" style="width: 200px" /></td>
bgneal@45 87 </tr>
bgneal@45 88
bgneal@45 89 <tr>
bgneal@45 90 <td><label for="style">{#table_dlg.style}</label></td>
bgneal@45 91 <td><input type="text" id="style" name="style" value="" style="width: 200px;" onchange="changedStyle();" /></td>
bgneal@45 92 </tr>
bgneal@45 93
bgneal@45 94 <tr>
bgneal@45 95 <td class="column1"><label for="dir">{#table_dlg.langdir}</label></td>
bgneal@45 96 <td>
bgneal@45 97 <select id="dir" name="dir" style="width: 200px">
bgneal@45 98 <option value="">{#not_set}</option>
bgneal@45 99 <option value="ltr">{#table_dlg.ltr}</option>
bgneal@45 100 <option value="rtl">{#table_dlg.rtl}</option>
bgneal@45 101 </select>
bgneal@45 102 </td>
bgneal@45 103 </tr>
bgneal@45 104
bgneal@45 105 <tr>
bgneal@45 106 <td class="column1"><label for="lang">{#table_dlg.langcode}</label></td>
bgneal@45 107 <td>
bgneal@45 108 <input id="lang" name="lang" type="text" value="" style="width: 200px" />
bgneal@45 109 </td>
bgneal@45 110 </tr>
bgneal@45 111
bgneal@45 112 <tr>
bgneal@45 113 <td class="column1"><label for="backgroundimage">{#table_dlg.bgimage}</label></td>
bgneal@45 114 <td>
bgneal@45 115 <table border="0" cellpadding="0" cellspacing="0">
bgneal@45 116 <tr>
bgneal@45 117 <td><input id="backgroundimage" name="backgroundimage" type="text" value="" style="width: 200px" onchange="changedBackgroundImage();" /></td>
bgneal@45 118 <td id="backgroundimagebrowsercontainer">&nbsp;</td>
bgneal@45 119 </tr>
bgneal@45 120 </table>
bgneal@45 121 </td>
bgneal@45 122 </tr>
bgneal@45 123
bgneal@45 124 <tr>
bgneal@45 125 <td class="column1"><label for="bgcolor">{#table_dlg.bgcolor}</label></td>
bgneal@45 126 <td>
bgneal@45 127 <table border="0" cellpadding="0" cellspacing="0">
bgneal@45 128 <tr>
bgneal@45 129 <td><input id="bgcolor" name="bgcolor" type="text" value="" size="9" onchange="updateColor('bgcolor_pick','bgcolor');changedColor();" /></td>
bgneal@45 130 <td id="bgcolor_pickcontainer">&nbsp;</td>
bgneal@45 131 </tr>
bgneal@45 132 </table>
bgneal@45 133 </td>
bgneal@45 134 </tr>
bgneal@45 135 </table>
bgneal@45 136 </fieldset>
bgneal@45 137 </div>
bgneal@45 138 </div>
bgneal@45 139
bgneal@45 140 <div class="mceActionPanel">
bgneal@45 141 <div>
bgneal@45 142 <select id="action" name="action">
bgneal@45 143 <option value="row">{#table_dlg.row_row}</option>
bgneal@45 144 <option value="odd">{#table_dlg.row_odd}</option>
bgneal@45 145 <option value="even">{#table_dlg.row_even}</option>
bgneal@45 146 <option value="all">{#table_dlg.row_all}</option>
bgneal@45 147 </select>
bgneal@45 148 </div>
bgneal@45 149
bgneal@45 150 <div style="float: left">
bgneal@45 151 <div><input type="submit" id="insert" name="insert" value="{#update}" /></div>
bgneal@45 152 </div>
bgneal@45 153
bgneal@45 154 <div style="float: right">
bgneal@45 155 <input type="button" id="cancel" name="cancel" value="{#cancel}" onclick="tinyMCEPopup.close();" />
bgneal@45 156 </div>
bgneal@45 157 </div>
bgneal@45 158 </form>
bgneal@45 159 </body>
bgneal@45 160 </html>