annotate static/js/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/attributes.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>{#xhtmlxtras_dlg.attribs_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/editable_selects.js"></script>
bgneal@45 8 <script type="text/javascript" src="../../utils/form_utils.js"></script>
bgneal@45 9 <script type="text/javascript" src="js/attributes.js"></script>
bgneal@45 10 <link rel="stylesheet" type="text/css" href="css/attributes.css" />
bgneal@45 11 </head>
bgneal@45 12 <body style="display: none" role="application" aria-labelledby="app_title">
bgneal@45 13 <span style="display:none;" id="app_title">{#xhtmlxtras_dlg.attribs_title}</span>
bgneal@45 14 <form onsubmit="insertAction();return false;" action="#">
bgneal@45 15 <div class="tabs">
bgneal@45 16 <ul>
bgneal@45 17 <li id="general_tab" class="current" aria-controls="general_panel"><span><a href="javascript:mcTabs.displayTab('general_tab','general_panel');" onmousedown="return false;">{#xhtmlxtras_dlg.attribute_attrib_tab}</a></span></li>
bgneal@45 18 <li id="events_tab" aria-controls="events_panel"><span><a href="javascript:mcTabs.displayTab('events_tab','events_panel');" onmousedown="return false;">{#xhtmlxtras_dlg.attribute_events_tab}</a></span></li>
bgneal@45 19 </ul>
bgneal@45 20 </div>
bgneal@45 21
bgneal@45 22 <div class="panel_wrapper">
bgneal@45 23 <div id="general_panel" class="panel current">
bgneal@45 24 <fieldset>
bgneal@45 25 <legend>{#xhtmlxtras_dlg.attribute_attrib_tab}</legend>
bgneal@45 26 <table role="presentation" border="0" cellpadding="0" cellspacing="4">
bgneal@45 27 <tr>
bgneal@45 28 <td class="label"><label id="titlelabel" for="title">{#xhtmlxtras_dlg.attribute_label_title}</label>:</td>
bgneal@45 29 <td><input id="title" name="title" type="text" value="" class="mceFocus" /></td>
bgneal@45 30 </tr>
bgneal@45 31 <tr>
bgneal@45 32 <td class="label"><label id="idlabel" for="id">{#xhtmlxtras_dlg.attribute_label_id}</label>:</td>
bgneal@45 33 <td><input id="id" name="id" type="text" value="" /></td>
bgneal@45 34 </tr>
bgneal@45 35 <tr>
bgneal@45 36 <td><label id="classlabel" for="classlist">{#class_name}</label></td>
bgneal@45 37 <td>
bgneal@45 38 <select id="classlist" name="classlist" class="mceEditableSelect">
bgneal@45 39 <option value="" selected="selected">{#not_set}</option>
bgneal@45 40 </select>
bgneal@45 41 </td>
bgneal@45 42 </tr>
bgneal@45 43 <tr>
bgneal@45 44 <td class="label"><label id="stylelabel" for="style">{#xhtmlxtras_dlg.attribute_label_style}</label>:</td>
bgneal@45 45 <td><input id="style" name="style" type="text" value="" /></td>
bgneal@45 46 </tr>
bgneal@45 47 <tr>
bgneal@45 48 <td class="label"><label id="dirlabel" for="dir">{#xhtmlxtras_dlg.attribute_label_langdir}</label>:</td>
bgneal@45 49 <td>
bgneal@45 50 <select id="dir" name="dir">
bgneal@45 51 <option value="">{#not_set}</option>
bgneal@45 52 <option value="ltr">{#xhtmlxtras_dlg.option_ltr}</option>
bgneal@45 53 <option value="rtl">{#xhtmlxtras_dlg.option_rtl}</option>
bgneal@45 54 </select>
bgneal@45 55 </td>
bgneal@45 56 </tr>
bgneal@45 57 <tr>
bgneal@45 58 <td class="label"><label id="langlabel" for="lang">{#xhtmlxtras_dlg.attribute_label_langcode}</label>:</td>
bgneal@45 59 <td>
bgneal@45 60 <input id="lang" name="lang" type="text" value="" />
bgneal@45 61 </td>
bgneal@45 62 </tr>
bgneal@45 63 <tr>
bgneal@45 64 <td><label id="tabindexlabel" for="tabindex">{#xhtmlxtras_dlg.attribute_label_tabindex}</label></td>
bgneal@45 65 <td><input type="text" id="tabindex" name="tabindex" value="" /></td>
bgneal@45 66 </tr>
bgneal@45 67
bgneal@45 68 <tr>
bgneal@45 69 <td><label id="accesskeylabel" for="accesskey">{#xhtmlxtras_dlg.attribute_label_accesskey}</label></td>
bgneal@45 70 <td><input type="text" id="accesskey" name="accesskey" value="" /></td>
bgneal@45 71 </tr>
bgneal@45 72 </table>
bgneal@45 73 </fieldset>
bgneal@45 74 </div>
bgneal@45 75 <div id="events_panel" class="panel">
bgneal@45 76 <fieldset>
bgneal@45 77 <legend>{#xhtmlxtras_dlg.attribute_events_tab}</legend>
bgneal@45 78
bgneal@45 79 <table role="presentation" border="0" cellpadding="0" cellspacing="4">
bgneal@45 80 <tr>
bgneal@45 81 <td class="label"><label for="onfocus">onfocus</label>:</td>
bgneal@45 82 <td><input id="onfocus" name="onfocus" type="text" value="" /></td>
bgneal@45 83 </tr>
bgneal@45 84
bgneal@45 85 <tr>
bgneal@45 86 <td class="label"><label for="onblur">onblur</label>:</td>
bgneal@45 87 <td><input id="onblur" name="onblur" type="text" value="" /></td>
bgneal@45 88 </tr>
bgneal@45 89
bgneal@45 90 <tr>
bgneal@45 91 <td class="label"><label for="onclick">onclick</label>:</td>
bgneal@45 92 <td><input id="onclick" name="onclick" type="text" value="" /></td>
bgneal@45 93 </tr>
bgneal@45 94
bgneal@45 95 <tr>
bgneal@45 96 <td class="label"><label for="ondblclick">ondblclick</label>:</td>
bgneal@45 97 <td><input id="ondblclick" name="ondblclick" type="text" value="" /></td>
bgneal@45 98 </tr>
bgneal@45 99
bgneal@45 100 <tr>
bgneal@45 101 <td class="label"><label for="onmousedown">onmousedown</label>:</td>
bgneal@45 102 <td><input id="onmousedown" name="onmousedown" type="text" value="" /></td>
bgneal@45 103 </tr>
bgneal@45 104
bgneal@45 105 <tr>
bgneal@45 106 <td class="label"><label for="onmouseup">onmouseup</label>:</td>
bgneal@45 107 <td><input id="onmouseup" name="onmouseup" type="text" value="" /></td>
bgneal@45 108 </tr>
bgneal@45 109
bgneal@45 110 <tr>
bgneal@45 111 <td class="label"><label for="onmouseover">onmouseover</label>:</td>
bgneal@45 112 <td><input id="onmouseover" name="onmouseover" type="text" value="" /></td>
bgneal@45 113 </tr>
bgneal@45 114
bgneal@45 115 <tr>
bgneal@45 116 <td class="label"><label for="onmousemove">onmousemove</label>:</td>
bgneal@45 117 <td><input id="onmousemove" name="onmousemove" type="text" value="" /></td>
bgneal@45 118 </tr>
bgneal@45 119
bgneal@45 120 <tr>
bgneal@45 121 <td class="label"><label for="onmouseout">onmouseout</label>:</td>
bgneal@45 122 <td><input id="onmouseout" name="onmouseout" type="text" value="" /></td>
bgneal@45 123 </tr>
bgneal@45 124
bgneal@45 125 <tr>
bgneal@45 126 <td class="label"><label for="onkeypress">onkeypress</label>:</td>
bgneal@45 127 <td><input id="onkeypress" name="onkeypress" type="text" value="" /></td>
bgneal@45 128 </tr>
bgneal@45 129
bgneal@45 130 <tr>
bgneal@45 131 <td class="label"><label for="onkeydown">onkeydown</label>:</td>
bgneal@45 132 <td><input id="onkeydown" name="onkeydown" type="text" value="" /></td>
bgneal@45 133 </tr>
bgneal@45 134
bgneal@45 135 <tr>
bgneal@45 136 <td class="label"><label for="onkeyup">onkeyup</label>:</td>
bgneal@45 137 <td><input id="onkeyup" name="onkeyup" type="text" value="" /></td>
bgneal@45 138 </tr>
bgneal@45 139 </table>
bgneal@45 140 </fieldset>
bgneal@45 141 </div>
bgneal@45 142 </div>
bgneal@45 143 <div class="mceActionPanel">
bgneal@45 144 <input type="submit" id="insert" name="insert" value="{#insert}" />
bgneal@45 145 <input type="button" id="cancel" name="cancel" value="{#cancel}" onclick="tinyMCEPopup.close();" />
bgneal@45 146 </div>
bgneal@45 147 </form>
bgneal@45 148 </body>
bgneal@45 149 </html>