Mercurial > public > madeira
comparison static/js/tinymce/jscripts/tiny_mce/themes/advanced/link.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>{#advanced_dlg.link_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/form_utils.js"></script> | |
8 <script type="text/javascript" src="../../utils/validate.js"></script> | |
9 <script type="text/javascript" src="js/link.js"></script> | |
10 </head> | |
11 <body id="link" style="display: none"> | |
12 <form onsubmit="LinkDialog.update();return false;" action="#"> | |
13 <div class="tabs"> | |
14 <ul> | |
15 <li id="general_tab" class="current"><span><a href="javascript:mcTabs.displayTab('general_tab','general_panel');" onmousedown="return false;">{#advanced_dlg.link_title}</a></span></li> | |
16 </ul> | |
17 </div> | |
18 | |
19 <div class="panel_wrapper"> | |
20 <div id="general_panel" class="panel current"> | |
21 <table border="0" cellpadding="4" cellspacing="0"> | |
22 <tr> | |
23 <td class="nowrap"><label for="href">{#advanced_dlg.link_url}</label></td> | |
24 <td><table border="0" cellspacing="0" cellpadding="0"> | |
25 <tr> | |
26 <td><input id="href" name="href" type="text" class="mceFocus" value="" style="width: 200px" onchange="LinkDialog.checkPrefix(this);" /></td> | |
27 <td id="hrefbrowsercontainer"> </td> | |
28 </tr> | |
29 </table></td> | |
30 </tr> | |
31 <tr> | |
32 <td><label for="link_list">{#advanced_dlg.link_list}</label></td> | |
33 <td><select id="link_list" name="link_list" onchange="document.getElementById('href').value=this.options[this.selectedIndex].value;"></select></td> | |
34 </tr> | |
35 <tr> | |
36 <td><label id="targetlistlabel" for="targetlist">{#advanced_dlg.link_target}</label></td> | |
37 <td><select id="target_list" name="target_list"></select></td> | |
38 </tr> | |
39 <tr> | |
40 <td class="nowrap"><label for="linktitle">{#advanced_dlg.link_titlefield}</label></td> | |
41 <td><input id="linktitle" name="linktitle" type="text" value="" style="width: 200px" /></td> | |
42 </tr> | |
43 <tr> | |
44 <td><label for="class_list">{#class_name}</label></td> | |
45 <td><select id="class_list" name="class_list"></select></td> | |
46 </tr> | |
47 </table> | |
48 </div> | |
49 </div> | |
50 | |
51 <div class="mceActionPanel"> | |
52 <input type="submit" id="insert" name="insert" value="{#insert}" /> | |
53 <input type="button" id="cancel" name="cancel" value="{#cancel}" onclick="tinyMCEPopup.close();" /> | |
54 </div> | |
55 </form> | |
56 </body> | |
57 </html> |