Mercurial > public > madeira
comparison static/js/tinymce/jscripts/tiny_mce/plugins/table/row.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.row_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/row.js"></script> | |
11 <link href="css/row.css" rel="stylesheet" type="text/css" /> | |
12 </head> | |
13 <body id="tablerow" 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="rowtype">{#table_dlg.rowtype}</label></td> | |
30 <td class="col2"> | |
31 <select id="rowtype" name="rowtype" class="mceFocus"> | |
32 <option value="thead">{#table_dlg.thead}</option> | |
33 <option value="tbody">{#table_dlg.tbody}</option> | |
34 <option value="tfoot">{#table_dlg.tfoot}</option> | |
35 </select> | |
36 </td> | |
37 </tr> | |
38 | |
39 <tr> | |
40 <td><label for="align">{#table_dlg.align}</label></td> | |
41 <td class="col2"> | |
42 <select id="align" name="align"> | |
43 <option value="">{#not_set}</option> | |
44 <option value="center">{#table_dlg.align_middle}</option> | |
45 <option value="left">{#table_dlg.align_left}</option> | |
46 <option value="right">{#table_dlg.align_right}</option> | |
47 </select> | |
48 </td> | |
49 </tr> | |
50 | |
51 <tr> | |
52 <td><label for="valign">{#table_dlg.valign}</label></td> | |
53 <td class="col2"> | |
54 <select id="valign" name="valign"> | |
55 <option value="">{#not_set}</option> | |
56 <option value="top">{#table_dlg.align_top}</option> | |
57 <option value="middle">{#table_dlg.align_middle}</option> | |
58 <option value="bottom">{#table_dlg.align_bottom}</option> | |
59 </select> | |
60 </td> | |
61 </tr> | |
62 | |
63 <tr id="styleSelectRow"> | |
64 <td><label for="class">{#class_name}</label></td> | |
65 <td class="col2"> | |
66 <select id="class" name="class" class="mceEditableSelect"> | |
67 <option value="" selected="selected">{#not_set}</option> | |
68 </select> | |
69 </td> | |
70 </tr> | |
71 | |
72 <tr> | |
73 <td><label for="height">{#table_dlg.height}</label></td> | |
74 <td class="col2"><input name="height" type="text" id="height" value="" size="7" maxlength="7" onchange="changedSize();" class="size" /></td> | |
75 </tr> | |
76 </table> | |
77 </fieldset> | |
78 </div> | |
79 | |
80 <div id="advanced_panel" class="panel"> | |
81 <fieldset> | |
82 <legend>{#table_dlg.advanced_props}</legend> | |
83 | |
84 <table role="presentation" border="0" cellpadding="0" cellspacing="4"> | |
85 <tr> | |
86 <td class="column1"><label for="id">{#table_dlg.id}</label></td> | |
87 <td><input id="id" name="id" type="text" value="" style="width: 200px" /></td> | |
88 </tr> | |
89 | |
90 <tr> | |
91 <td><label for="style">{#table_dlg.style}</label></td> | |
92 <td><input type="text" id="style" name="style" value="" style="width: 200px;" onchange="changedStyle();" /></td> | |
93 </tr> | |
94 | |
95 <tr> | |
96 <td class="column1"><label for="dir">{#table_dlg.langdir}</label></td> | |
97 <td> | |
98 <select id="dir" name="dir" style="width: 200px"> | |
99 <option value="">{#not_set}</option> | |
100 <option value="ltr">{#table_dlg.ltr}</option> | |
101 <option value="rtl">{#table_dlg.rtl}</option> | |
102 </select> | |
103 </td> | |
104 </tr> | |
105 | |
106 <tr> | |
107 <td class="column1"><label for="lang">{#table_dlg.langcode}</label></td> | |
108 <td> | |
109 <input id="lang" name="lang" type="text" value="" style="width: 200px" /> | |
110 </td> | |
111 </tr> | |
112 | |
113 <tr> | |
114 <td class="column1"><label for="backgroundimage">{#table_dlg.bgimage}</label></td> | |
115 <td> | |
116 <table role="presentation" border="0" cellpadding="0" cellspacing="0"> | |
117 <tr> | |
118 <td><input id="backgroundimage" name="backgroundimage" type="text" value="" style="width: 200px" onchange="changedBackgroundImage();" /></td> | |
119 <td id="backgroundimagebrowsercontainer"> </td> | |
120 </tr> | |
121 </table> | |
122 </td> | |
123 </tr> | |
124 | |
125 <tr> | |
126 <td class="column1"><label for="bgcolor" id="bgcolor_label">{#table_dlg.bgcolor}</label></td> | |
127 <td> | |
128 <span role="group" aria-labelledby="bgcolor_label"> | |
129 <table role="presentation" border="0" cellpadding="0" cellspacing="0"> | |
130 <tr> | |
131 <td><input id="bgcolor" name="bgcolor" type="text" value="" size="9" onchange="updateColor('bgcolor_pick','bgcolor');changedColor();" /></td> | |
132 <td id="bgcolor_pickcontainer"> </td> | |
133 </tr> | |
134 </table> | |
135 </span> | |
136 </td> | |
137 </tr> | |
138 </table> | |
139 </fieldset> | |
140 </div> | |
141 </div> | |
142 | |
143 <div class="mceActionPanel"> | |
144 <div> | |
145 <select id="action" name="action"> | |
146 <option value="row">{#table_dlg.row_row}</option> | |
147 <option value="odd">{#table_dlg.row_odd}</option> | |
148 <option value="even">{#table_dlg.row_even}</option> | |
149 <option value="all">{#table_dlg.row_all}</option> | |
150 </select> | |
151 </div> | |
152 | |
153 <input type="submit" id="insert" name="insert" value="{#update}" /> | |
154 <input type="button" id="cancel" name="cancel" value="{#cancel}" onclick="tinyMCEPopup.close();" /> | |
155 </div> | |
156 </form> | |
157 </body> | |
158 </html> |