Mercurial > public > madeira
comparison static/js/tinymce/jscripts/tiny_mce/plugins/fullpage/fullpage.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>{#fullpage_dlg.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="js/fullpage.js"></script> | |
9 <link href="css/fullpage.css" rel="stylesheet" type="text/css" /> | |
10 </head> | |
11 <body id="fullpage" style="display: none"> | |
12 <form onsubmit="FullPageDialog.update();return false;" name="fullpage" action="#"> | |
13 <div class="tabs"> | |
14 <ul> | |
15 <li id="meta_tab" class="current"><span><a href="javascript:mcTabs.displayTab('meta_tab','meta_panel');" onmousedown="return false;">{#fullpage_dlg.meta_tab}</a></span></li> | |
16 <li id="appearance_tab"><span><a href="javascript:mcTabs.displayTab('appearance_tab','appearance_panel');" onmousedown="return false;">{#fullpage_dlg.appearance_tab}</a></span></li> | |
17 </ul> | |
18 </div> | |
19 | |
20 <div class="panel_wrapper"> | |
21 <div id="meta_panel" class="panel current"> | |
22 <fieldset> | |
23 <legend>{#fullpage_dlg.meta_props}</legend> | |
24 | |
25 <table border="0" cellpadding="4" cellspacing="0"> | |
26 <tr> | |
27 <td class="nowrap"><label for="metatitle">{#fullpage_dlg.meta_title}</label> </td> | |
28 <td><input type="text" id="metatitle" name="metatitle" value="" class="mceFocus" /></td> | |
29 </tr> | |
30 <tr> | |
31 <td class="nowrap"><label for="metakeywords">{#fullpage_dlg.meta_keywords}</label> </td> | |
32 <td><textarea id="metakeywords" name="metakeywords" rows="4"></textarea></td> | |
33 </tr> | |
34 <tr> | |
35 <td class="nowrap"><label for="metadescription">{#fullpage_dlg.meta_description}</label> </td> | |
36 <td><textarea id="metadescription" name="metadescription" rows="4"></textarea></td> | |
37 </tr> | |
38 <tr> | |
39 <td class="nowrap"><label for="metaauthor">{#fullpage_dlg.author}</label> </td> | |
40 <td><input type="text" id="metaauthor" name="metaauthor" value="" /></td> | |
41 </tr> | |
42 <tr> | |
43 <td class="nowrap"><label for="metacopyright">{#fullpage_dlg.copyright}</label> </td> | |
44 <td><input type="text" id="metacopyright" name="metacopyright" value="" /></td> | |
45 </tr> | |
46 <tr> | |
47 <td class="nowrap"><label for="metarobots">{#fullpage_dlg.meta_robots}</label> </td> | |
48 <td> | |
49 <select id="metarobots" name="metarobots"> | |
50 <option value="">{#not_set}</option> | |
51 <option value="index,follow">{#fullpage_dlg.meta_index_follow}</option> | |
52 <option value="index,nofollow">{#fullpage_dlg.meta_index_nofollow}</option> | |
53 <option value="noindex,follow">{#fullpage_dlg.meta_noindex_follow}</option> | |
54 <option value="noindex,nofollow">{#fullpage_dlg.meta_noindex_nofollow}</option> | |
55 </select> | |
56 </td> | |
57 </tr> | |
58 </table> | |
59 </fieldset> | |
60 | |
61 <fieldset> | |
62 <legend>{#fullpage_dlg.langprops}</legend> | |
63 | |
64 <table border="0" cellpadding="4" cellspacing="0"> | |
65 <tr> | |
66 <td class="column1"><label for="docencoding">{#fullpage_dlg.encoding}</label></td> | |
67 <td> | |
68 <select id="docencoding" name="docencoding"> | |
69 <option value="">{#not_set}</option> | |
70 </select> | |
71 </td> | |
72 </tr> | |
73 <tr> | |
74 <td class="nowrap"><label for="doctype">{#fullpage_dlg.doctypes}</label> </td> | |
75 <td> | |
76 <select id="doctype" name="doctype"> | |
77 <option value="">{#not_set}</option> | |
78 </select> | |
79 </td> | |
80 </tr> | |
81 <tr> | |
82 <td class="nowrap"><label for="langcode">{#fullpage_dlg.langcode}</label> </td> | |
83 <td><input type="text" id="langcode" name="langcode" value="" /></td> | |
84 </tr> | |
85 <tr> | |
86 <td class="column1"><label for="langdir">{#fullpage_dlg.langdir}</label></td> | |
87 <td> | |
88 <select id="langdir" name="langdir"> | |
89 <option value="">{#not_set}</option> | |
90 <option value="ltr">{#fullpage_dlg.ltr}</option> | |
91 <option value="rtl">{#fullpage_dlg.rtl}</option> | |
92 </select> | |
93 </td> | |
94 </tr> | |
95 <tr> | |
96 <td class="nowrap"><label for="xml_pi">{#fullpage_dlg.xml_pi}</label> </td> | |
97 <td><input type="checkbox" id="xml_pi" name="xml_pi" class="checkbox" /></td> | |
98 </tr> | |
99 </table> | |
100 </fieldset> | |
101 </div> | |
102 | |
103 <div id="appearance_panel" class="panel"> | |
104 <fieldset> | |
105 <legend>{#fullpage_dlg.appearance_textprops}</legend> | |
106 | |
107 <table border="0" cellpadding="4" cellspacing="0"> | |
108 <tr> | |
109 <td class="column1"><label for="fontface">{#fullpage_dlg.fontface}</label></td> | |
110 <td> | |
111 <select id="fontface" name="fontface" onchange="FullPageDialog.changedStyleProp();"> | |
112 <option value="">{#not_set}</option> | |
113 </select> | |
114 </td> | |
115 </tr> | |
116 | |
117 <tr> | |
118 <td class="column1"><label for="fontsize">{#fullpage_dlg.fontsize}</label></td> | |
119 <td> | |
120 <select id="fontsize" name="fontsize" onchange="FullPageDialog.changedStyleProp();"> | |
121 <option value="">{#not_set}</option> | |
122 </select> | |
123 </td> | |
124 </tr> | |
125 | |
126 <tr> | |
127 <td class="column1"><label for="textcolor">{#fullpage_dlg.textcolor}</label></td> | |
128 <td> | |
129 <table border="0" cellpadding="0" cellspacing="0"> | |
130 <tr> | |
131 <td><input id="textcolor" name="textcolor" type="text" value="" size="9" onchange="updateColor('textcolor_pick','textcolor');FullPageDialog.changedStyleProp();" /></td> | |
132 <td id="textcolor_pickcontainer"> </td> | |
133 </tr> | |
134 </table> | |
135 </td> | |
136 </tr> | |
137 </table> | |
138 </fieldset> | |
139 | |
140 <fieldset> | |
141 <legend>{#fullpage_dlg.appearance_bgprops}</legend> | |
142 | |
143 <table border="0" cellpadding="4" cellspacing="0"> | |
144 <tr> | |
145 <td class="column1"><label for="bgimage">{#fullpage_dlg.bgimage}</label></td> | |
146 <td> | |
147 <table border="0" cellpadding="0" cellspacing="0"> | |
148 <tr> | |
149 <td><input id="bgimage" name="bgimage" type="text" value="" onchange="FullPageDialog.changedStyleProp();" /></td> | |
150 <td id="bgimage_pickcontainer"> </td> | |
151 </tr> | |
152 </table> | |
153 </td> | |
154 </tr> | |
155 <tr> | |
156 <td class="column1"><label for="bgcolor">{#fullpage_dlg.bgcolor}</label></td> | |
157 <td> | |
158 <table border="0" cellpadding="0" cellspacing="0"> | |
159 <tr> | |
160 <td><input id="bgcolor" name="bgcolor" type="text" value="" size="9" onchange="updateColor('bgcolor_pick','bgcolor');FullPageDialog.changedStyleProp();" /></td> | |
161 <td id="bgcolor_pickcontainer"> </td> | |
162 </tr> | |
163 </table> | |
164 </td> | |
165 </tr> | |
166 </table> | |
167 </fieldset> | |
168 | |
169 <fieldset> | |
170 <legend>{#fullpage_dlg.appearance_marginprops}</legend> | |
171 | |
172 <table border="0" cellpadding="4" cellspacing="0"> | |
173 <tr> | |
174 <td class="column1"><label for="leftmargin">{#fullpage_dlg.left_margin}</label></td> | |
175 <td><input id="leftmargin" name="leftmargin" type="text" value="" onchange="FullPageDialog.changedStyleProp();" /></td> | |
176 <td class="column1"><label for="rightmargin">{#fullpage_dlg.right_margin}</label></td> | |
177 <td><input id="rightmargin" name="rightmargin" type="text" value="" onchange="FullPageDialog.changedStyleProp();" /></td> | |
178 </tr> | |
179 <tr> | |
180 <td class="column1"><label for="topmargin">{#fullpage_dlg.top_margin}</label></td> | |
181 <td><input id="topmargin" name="topmargin" type="text" value="" onchange="FullPageDialog.changedStyleProp();" /></td> | |
182 <td class="column1"><label for="bottommargin">{#fullpage_dlg.bottom_margin}</label></td> | |
183 <td><input id="bottommargin" name="bottommargin" type="text" value="" onchange="FullPageDialog.changedStyleProp();" /></td> | |
184 </tr> | |
185 </table> | |
186 </fieldset> | |
187 | |
188 <fieldset> | |
189 <legend>{#fullpage_dlg.appearance_linkprops}</legend> | |
190 | |
191 <table border="0" cellpadding="4" cellspacing="0"> | |
192 <tr> | |
193 <td class="column1"><label for="link_color">{#fullpage_dlg.link_color}</label></td> | |
194 <td> | |
195 <table border="0" cellpadding="0" cellspacing="0"> | |
196 <tr> | |
197 <td><input id="link_color" name="link_color" type="text" value="" size="9" onchange="updateColor('link_color_pick','link_color');FullPageDialog.changedStyleProp();" /></td> | |
198 <td id="link_color_pickcontainer"> </td> | |
199 </tr> | |
200 </table> | |
201 </td> | |
202 | |
203 <td class="column1"><label for="visited_color">{#fullpage_dlg.visited_color}</label></td> | |
204 <td> | |
205 <table border="0" cellpadding="0" cellspacing="0"> | |
206 <tr> | |
207 <td><input id="visited_color" name="visited_color" type="text" value="" size="9" onchange="updateColor('visited_color_pick','visited_color');FullPageDialog.changedStyleProp();" /></td> | |
208 <td id="visited_color_pickcontainer"> </td> | |
209 </tr> | |
210 </table> | |
211 </td> | |
212 </tr> | |
213 | |
214 <tr> | |
215 <td class="column1"><label for="active_color">{#fullpage_dlg.active_color}</label></td> | |
216 <td> | |
217 <table border="0" cellpadding="0" cellspacing="0"> | |
218 <tr> | |
219 <td><input id="active_color" name="active_color" type="text" value="" size="9" onchange="updateColor('active_color_pick','active_color');FullPageDialog.changedStyleProp();" /></td> | |
220 <td id="active_color_pickcontainer"> </td> | |
221 </tr> | |
222 </table> | |
223 </td> | |
224 | |
225 <td> </td> | |
226 <td> </td> | |
227 </tr> | |
228 </table> | |
229 </fieldset> | |
230 | |
231 <fieldset> | |
232 <legend>{#fullpage_dlg.appearance_style}</legend> | |
233 | |
234 <table border="0" cellpadding="4" cellspacing="0"> | |
235 <tr> | |
236 <td class="column1"><label for="stylesheet">{#fullpage_dlg.stylesheet}</label></td> | |
237 <td><table border="0" cellpadding="0" cellspacing="0"> | |
238 <tr> | |
239 <td><input id="stylesheet" name="stylesheet" type="text" value="" /></td> | |
240 <td id="stylesheet_browsercontainer"> </td> | |
241 </tr> | |
242 </table></td> | |
243 </tr> | |
244 <tr> | |
245 <td class="column1"><label for="style">{#fullpage_dlg.style}</label></td> | |
246 <td><input id="style" name="style" type="text" value="" onchange="FullPageDialog.changedStyle();" /></td> | |
247 </tr> | |
248 </table> | |
249 </fieldset> | |
250 </div> | |
251 </div> | |
252 | |
253 <div class="mceActionPanel"> | |
254 <input type="submit" id="insert" name="update" value="{#update}" /> | |
255 <input type="button" id="cancel" name="cancel" value="{#cancel}" onclick="tinyMCEPopup.close();" /> | |
256 </div> | |
257 </form> | |
258 </body> | |
259 </html> |