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