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