annotate static/js/tinymce/jscripts/tiny_mce/plugins/advhr/rule.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>{#advhr.advhr_desc}</title>
bgneal@45 5 <script type="text/javascript" src="../../tiny_mce_popup.js"></script>
bgneal@45 6 <script type="text/javascript" src="js/rule.js"></script>
bgneal@45 7 <script type="text/javascript" src="../../utils/mctabs.js"></script>
bgneal@45 8 <script type="text/javascript" src="../../utils/form_utils.js"></script>
bgneal@45 9 <link href="css/advhr.css" rel="stylesheet" type="text/css" />
bgneal@45 10 </head>
bgneal@45 11 <body role="application">
bgneal@45 12 <form onsubmit="AdvHRDialog.update();return false;" action="#">
bgneal@45 13 <div class="tabs">
bgneal@45 14 <ul>
bgneal@45 15 <li id="general_tab" class="current" aria-controls="general_panel"><span><a href="javascript:mcTabs.displayTab('general_tab','general_panel');" onmousedown="return false;">{#advhr.advhr_desc}</a></span></li>
bgneal@45 16 </ul>
bgneal@45 17 </div>
bgneal@45 18
bgneal@45 19 <div class="panel_wrapper">
bgneal@45 20 <div id="general_panel" class="panel current">
bgneal@45 21 <table role="presentation" border="0" cellpadding="4" cellspacing="0">
bgneal@45 22 <tr role="group" aria-labelledby="width_label">
bgneal@45 23 <td><label id="width_label" for="width">{#advhr_dlg.width}</label></td>
bgneal@45 24 <td class="nowrap">
bgneal@45 25 <input id="width" name="width" type="text" value="" class="mceFocus" />
bgneal@45 26 <span style="display:none;" id="width_unit_label">{#advhr_dlg.widthunits}</span>
bgneal@45 27 <select name="width2" id="width2" aria-labelledby="width_unit_label">
bgneal@45 28 <option value="">px</option>
bgneal@45 29 <option value="%">%</option>
bgneal@45 30 </select>
bgneal@45 31 </td>
bgneal@45 32 </tr>
bgneal@45 33 <tr>
bgneal@45 34 <td><label for="size">{#advhr_dlg.size}</label></td>
bgneal@45 35 <td><select id="size" name="size">
bgneal@45 36 <option value="">{#advhr_dlg.normal}</option>
bgneal@45 37 <option value="1">1</option>
bgneal@45 38 <option value="2">2</option>
bgneal@45 39 <option value="3">3</option>
bgneal@45 40 <option value="4">4</option>
bgneal@45 41 <option value="5">5</option>
bgneal@45 42 </select></td>
bgneal@45 43 </tr>
bgneal@45 44 <tr>
bgneal@45 45 <td><label for="noshade">{#advhr_dlg.noshade}</label></td>
bgneal@45 46 <td><input type="checkbox" name="noshade" id="noshade" class="radio" /></td>
bgneal@45 47 </tr>
bgneal@45 48 </table>
bgneal@45 49 </div>
bgneal@45 50 </div>
bgneal@45 51
bgneal@45 52 <div class="mceActionPanel">
bgneal@45 53 <input type="submit" id="insert" name="insert" value="{#insert}" />
bgneal@45 54 <input type="button" id="cancel" name="cancel" value="{#cancel}" onclick="tinyMCEPopup.close();" />
bgneal@45 55 </div>
bgneal@45 56 </form>
bgneal@45 57 </body>
bgneal@45 58 </html>