print panel-specific class in admin panel body; minor css tuning

This commit is contained in:
real_nowhereman 2009-02-02 18:46:08 +00:00
parent 5aa714b47e
commit d92177cbee
4 changed files with 7 additions and 8 deletions

View File

@ -74,9 +74,11 @@
$lang['admin']['entry']['write']['msgs'] = array( $lang['admin']['entry']['write']['msgs'] = array(
1 => 'Entry has been saved successfully', 1 => 'Entry has been saved successfully',
-1 => 'An error occurred while trying to save -1 => 'An error occurred while trying to save
the entry', the entry',
'draft'=> 'You are editing a <strong>draft</strong> entry'
); );
/* comments */ /* comments */
$lang['admin']['entry']['commentlist'] = $lang['admin']['entry']['commentlist'] =

View File

@ -7,7 +7,7 @@
{action hook=admin_head} {action hook=admin_head}
</head> </head>
<body> <body class="{"admin-$panel-$action"|tag:body_class:adminpanel}">
<div id="body-container"> <div id="body-container">
<div id="outer-container"> <div id="outer-container">

View File

@ -558,7 +558,5 @@ a.link-general:hover, .main-cell a:hover {
/* (already defined in common, here we put just some tuning settings) */ /* (already defined in common, here we put just some tuning settings) */
#admin-content ul.msgs { #admin-content ul.msgs {
margin-left: 0em; margin:0;
margin-bottom: 2em;
padding: 1em 2em
} }

View File

@ -19,8 +19,7 @@ Module: globals.css
/* ===== NOTIFICATION ===== */ /* ===== NOTIFICATION ===== */
#main ul.msgs, ul.msgs { #main ul.msgs, ul.msgs {
margin-top: 1em; margin: 0;
margin-left: 0em;
padding: 1em 2em padding: 1em 2em
} }