annotate static/js/tiny_mce/plugins/table/cell.htm @ 1160:b84ce2d7e93d

New template for displaying django messages. New common template for rendering django messages in the new V3 Foundation style.
author Brian Neal <bgneal@gmail.com>
date Tue, 24 Jan 2017 19:22:29 -0600
parents 6c182ceb7147
children
rev   line source
bgneal@312 1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
bgneal@312 2 <html xmlns="http://www.w3.org/1999/xhtml">
bgneal@312 3 <head>
bgneal@312 4 <title>{#table_dlg.cell_title}</title>
bgneal@312 5 <script type="text/javascript" src="../../tiny_mce_popup.js"></script>
bgneal@312 6 <script type="text/javascript" src="../../utils/mctabs.js"></script>
bgneal@312 7 <script type="text/javascript" src="../../utils/form_utils.js"></script>
bgneal@312 8 <script type="text/javascript" src="../../utils/editable_selects.js"></script>
bgneal@312 9 <script type="text/javascript" src="js/cell.js"></script>
bgneal@312 10 <link href="css/cell.css" rel="stylesheet" type="text/css" />
bgneal@312 11 </head>
bgneal@442 12 <body id="tablecell" style="display: none" role="application">
bgneal@312 13 <form onsubmit="updateAction();return false;" action="#">
bgneal@312 14 <div class="tabs">
bgneal@312 15 <ul>
bgneal@442 16 <li id="general_tab" class="current" aria-controls="general_panel"><span><a href="javascript:mcTabs.displayTab('general_tab','general_panel');" onmousedown="return false;">{#table_dlg.general_tab}</a></span></li>
bgneal@442 17 <li id="advanced_tab" aria-controls="advanced_panel"><span><a href="javascript:mcTabs.displayTab('advanced_tab','advanced_panel');" onmousedown="return false;">{#table_dlg.advanced_tab}</a></span></li>
bgneal@312 18 </ul>
bgneal@312 19 </div>
bgneal@312 20
bgneal@312 21 <div class="panel_wrapper">
bgneal@312 22 <div id="general_panel" class="panel current">
bgneal@312 23 <fieldset>
bgneal@312 24 <legend>{#table_dlg.general_props}</legend>
bgneal@312 25
bgneal@442 26 <table role="presentation" border="0" cellpadding="4" cellspacing="0">
bgneal@312 27 <tr>
bgneal@312 28 <td><label for="align">{#table_dlg.align}</label></td>
bgneal@312 29 <td>
bgneal@312 30 <select id="align" name="align" class="mceFocus">
bgneal@312 31 <option value="">{#not_set}</option>
bgneal@312 32 <option value="center">{#table_dlg.align_middle}</option>
bgneal@312 33 <option value="left">{#table_dlg.align_left}</option>
bgneal@312 34 <option value="right">{#table_dlg.align_right}</option>
bgneal@312 35 </select>
bgneal@312 36 </td>
bgneal@312 37
bgneal@312 38 <td><label for="celltype">{#table_dlg.cell_type}</label></td>
bgneal@312 39 <td>
bgneal@312 40 <select id="celltype" name="celltype">
bgneal@312 41 <option value="td">{#table_dlg.td}</option>
bgneal@312 42 <option value="th">{#table_dlg.th}</option>
bgneal@312 43 </select>
bgneal@312 44 </td>
bgneal@312 45 </tr>
bgneal@312 46
bgneal@312 47 <tr>
bgneal@312 48 <td><label for="valign">{#table_dlg.valign}</label></td>
bgneal@312 49 <td>
bgneal@312 50 <select id="valign" name="valign">
bgneal@312 51 <option value="">{#not_set}</option>
bgneal@312 52 <option value="top">{#table_dlg.align_top}</option>
bgneal@312 53 <option value="middle">{#table_dlg.align_middle}</option>
bgneal@312 54 <option value="bottom">{#table_dlg.align_bottom}</option>
bgneal@312 55 </select>
bgneal@312 56 </td>
bgneal@312 57
bgneal@312 58 <td><label for="scope">{#table_dlg.scope}</label></td>
bgneal@312 59 <td>
bgneal@312 60 <select id="scope" name="scope">
bgneal@312 61 <option value="">{#not_set}</option>
bgneal@312 62 <option value="col">{#table.col}</option>
bgneal@312 63 <option value="row">{#table.row}</option>
bgneal@312 64 <option value="rowgroup">{#table_dlg.rowgroup}</option>
bgneal@312 65 <option value="colgroup">{#table_dlg.colgroup}</option>
bgneal@312 66 </select>
bgneal@312 67 </td>
bgneal@312 68
bgneal@312 69 </tr>
bgneal@312 70
bgneal@312 71 <tr>
bgneal@312 72 <td><label for="width">{#table_dlg.width}</label></td>
bgneal@312 73 <td><input id="width" name="width" type="text" value="" size="4" maxlength="4" onchange="changedSize();" /></td>
bgneal@312 74
bgneal@312 75 <td><label for="height">{#table_dlg.height}</label></td>
bgneal@312 76 <td><input id="height" name="height" type="text" value="" size="4" maxlength="4" onchange="changedSize();" /></td>
bgneal@312 77 </tr>
bgneal@312 78
bgneal@312 79 <tr id="styleSelectRow">
bgneal@312 80 <td><label for="class">{#class_name}</label></td>
bgneal@312 81 <td colspan="3">
bgneal@312 82 <select id="class" name="class" class="mceEditableSelect">
bgneal@312 83 <option value="" selected="selected">{#not_set}</option>
bgneal@312 84 </select>
bgneal@312 85 </td>
bgneal@312 86 </tr>
bgneal@312 87 </table>
bgneal@312 88 </fieldset>
bgneal@312 89 </div>
bgneal@312 90
bgneal@312 91 <div id="advanced_panel" class="panel">
bgneal@312 92 <fieldset>
bgneal@312 93 <legend>{#table_dlg.advanced_props}</legend>
bgneal@312 94
bgneal@442 95 <table role="presentation" border="0" cellpadding="0" cellspacing="4">
bgneal@312 96 <tr>
bgneal@312 97 <td class="column1"><label for="id">{#table_dlg.id}</label></td>
bgneal@312 98 <td><input id="id" name="id" type="text" value="" style="width: 200px" /></td>
bgneal@312 99 </tr>
bgneal@312 100
bgneal@312 101 <tr>
bgneal@312 102 <td><label for="style">{#table_dlg.style}</label></td>
bgneal@312 103 <td><input type="text" id="style" name="style" value="" style="width: 200px;" onchange="changedStyle();" /></td>
bgneal@312 104 </tr>
bgneal@312 105
bgneal@312 106 <tr>
bgneal@312 107 <td class="column1"><label for="dir">{#table_dlg.langdir}</label></td>
bgneal@312 108 <td>
bgneal@312 109 <select id="dir" name="dir" style="width: 200px">
bgneal@312 110 <option value="">{#not_set}</option>
bgneal@312 111 <option value="ltr">{#table_dlg.ltr}</option>
bgneal@312 112 <option value="rtl">{#table_dlg.rtl}</option>
bgneal@312 113 </select>
bgneal@312 114 </td>
bgneal@312 115 </tr>
bgneal@312 116
bgneal@312 117 <tr>
bgneal@312 118 <td class="column1"><label for="lang">{#table_dlg.langcode}</label></td>
bgneal@312 119 <td>
bgneal@312 120 <input id="lang" name="lang" type="text" value="" style="width: 200px" />
bgneal@312 121 </td>
bgneal@312 122 </tr>
bgneal@312 123
bgneal@312 124 <tr>
bgneal@312 125 <td class="column1"><label for="backgroundimage">{#table_dlg.bgimage}</label></td>
bgneal@312 126 <td>
bgneal@442 127 <table role="presentation" border="0" cellpadding="0" cellspacing="0">
bgneal@312 128 <tr>
bgneal@312 129 <td><input id="backgroundimage" name="backgroundimage" type="text" value="" style="width: 200px" onchange="changedBackgroundImage();" /></td>
bgneal@312 130 <td id="backgroundimagebrowsercontainer">&nbsp;</td>
bgneal@312 131 </tr>
bgneal@312 132 </table>
bgneal@312 133 </td>
bgneal@312 134 </tr>
bgneal@312 135
bgneal@442 136 <tr role="group" aria-labelledby="bordercolor_label">
bgneal@442 137 <td class="column1"><label id="bordercolor_label" for="bordercolor">{#table_dlg.bordercolor}</label></td>
bgneal@312 138 <td>
bgneal@442 139 <table role="presentation" border="0" cellpadding="0" cellspacing="0">
bgneal@312 140 <tr>
bgneal@312 141 <td><input id="bordercolor" name="bordercolor" type="text" value="" size="9" onchange="updateColor('bordercolor_pick','bordercolor');changedColor();" /></td>
bgneal@312 142 <td id="bordercolor_pickcontainer">&nbsp;</td>
bgneal@312 143 </tr>
bgneal@312 144 </table>
bgneal@312 145 </td>
bgneal@312 146 </tr>
bgneal@312 147
bgneal@442 148 <tr role="group" aria-labelledby="bgcolor_label">
bgneal@442 149 <td class="column1"><label id="bgcolor_label" for="bgcolor">{#table_dlg.bgcolor}</label></td>
bgneal@312 150 <td>
bgneal@442 151 <table role="presentation" border="0" cellpadding="0" cellspacing="0">
bgneal@312 152 <tr>
bgneal@312 153 <td><input id="bgcolor" name="bgcolor" type="text" value="" size="9" onchange="updateColor('bgcolor_pick','bgcolor');changedColor();" /></td>
bgneal@312 154 <td id="bgcolor_pickcontainer">&nbsp;</td>
bgneal@312 155 </tr>
bgneal@312 156 </table>
bgneal@312 157 </td>
bgneal@312 158 </tr>
bgneal@312 159 </table>
bgneal@312 160 </fieldset>
bgneal@312 161 </div>
bgneal@312 162 </div>
bgneal@312 163
bgneal@312 164 <div class="mceActionPanel">
bgneal@312 165 <div>
bgneal@312 166 <select id="action" name="action">
bgneal@312 167 <option value="cell">{#table_dlg.cell_cell}</option>
bgneal@312 168 <option value="row">{#table_dlg.cell_row}</option>
bgneal@312 169 <option value="all">{#table_dlg.cell_all}</option>
bgneal@312 170 </select>
bgneal@312 171 </div>
bgneal@312 172
bgneal@312 173 <input type="submit" id="insert" name="insert" value="{#update}" />
bgneal@312 174 <input type="button" id="cancel" name="cancel" value="{#cancel}" onclick="tinyMCEPopup.close();" />
bgneal@312 175 </div>
bgneal@312 176 </form>
bgneal@312 177 </body>
bgneal@312 178 </html>