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