Mercurial > public > madeira
comparison static/js/tinymce/jscripts/tiny_mce/plugins/template/template.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 <html xmlns="http://www.w3.org/1999/xhtml"> | |
2 <head> | |
3 <title>{#template_dlg.title}</title> | |
4 <script type="text/javascript" src="../../tiny_mce_popup.js"></script> | |
5 <script type="text/javascript" src="js/template.js"></script> | |
6 <link href="css/template.css" rel="stylesheet" type="text/css" /> | |
7 </head> | |
8 <body onresize="TemplateDialog.resize();"> | |
9 <form onsubmit="TemplateDialog.insert();return false;"> | |
10 <div id="frmbody"> | |
11 <div class="title">{#template_dlg.desc}</div> | |
12 <div class="frmRow"><label for="tpath" title="{#template_dlg.select}">{#template_dlg.label}:</label> | |
13 <select id="tpath" name="tpath" onchange="TemplateDialog.selectTemplate(this.options[this.selectedIndex].value, this.options[this.selectedIndex].text);" class="mceFocus"> | |
14 <option value="">{#template_dlg.select}...</option> | |
15 </select> | |
16 <span id="warning"></span></div> | |
17 <div class="frmRow"><label for="tdesc">{#template_dlg.desc_label}:</label> | |
18 <span id="tmpldesc"></span></div> | |
19 <fieldset> | |
20 <legend>{#template_dlg.preview}</legend> | |
21 <iframe id="templatesrc" name="templatesrc" src="blank.htm" width="690" height="400" frameborder="0"></iframe> | |
22 </fieldset> | |
23 </div> | |
24 | |
25 <div class="mceActionPanel"> | |
26 <input type="submit" id="insert" name="insert" value="{#insert}" /> | |
27 <input type="button" id="cancel" name="cancel" value="{#cancel}" onclick="tinyMCEPopup.close();" /> | |
28 </div> | |
29 </form> | |
30 </body> | |
31 </html> |