Mercurial > public > sg101
view media/js/tiny_mce/plugins/preview/preview.html @ 145:71cb4208dc98
Tweak to #30, admin dashboard. Because of a bug in Django (9568), my dashboard appears on the login page. To get around this, pass in the user to the templatetag, so it can do a 'if user.is_staff' check. Also tweaked the HTML and CSS to show non-zero pending items in red. Shortened the pending item titles for readability.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Wed, 09 Dec 2009 00:03:10 +0000 |
parents | a5b4c5ce0658 |
children |
line wrap: on
line source
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <script type="text/javascript" src="../../tiny_mce_popup.js"></script> <script type="text/javascript" src="jscripts/embed.js"></script> <script type="text/javascript"><!-- document.write('<base href="' + tinyMCEPopup.getWindowArg("base") + '">'); // --> </script> <title>{#preview.preview_desc}</title> </head> <body id="content"> <script type="text/javascript"> document.write(tinyMCEPopup.editor.getContent()); </script> </body> </html>