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