Change notifications from ids to classes
This commit is contained in:
@@ -25,12 +25,14 @@
|
|||||||
|
|
||||||
<div id="wrapper">
|
<div id="wrapper">
|
||||||
|
|
||||||
<? if(isset($error))
|
<?
|
||||||
foreach($error as $e) echo "<div id=\"error\">".$e."</div>"; ?>
|
if(isset($error))
|
||||||
<? if(isset($notice))
|
foreach($error as $e) echo "<div class=\"error\">".$e."</div>";
|
||||||
foreach($notice as $n) echo "<div id=\"notice\">".$n."</div>"; ?>
|
if(isset($notice))
|
||||||
<? if(isset($success))
|
foreach($notice as $n) echo "<div class=\"notice\">".$n."</div>";
|
||||||
foreach($success as $s) echo "<div id=\"success\">".$s."</div>"; ?>
|
if(isset($success))
|
||||||
|
foreach($success as $s) echo "<div class=\"success\">".$s."</div>";
|
||||||
|
?>
|
||||||
|
|
||||||
<div id="sidebar">
|
<div id="sidebar">
|
||||||
|
|
||||||
|
|||||||
@@ -21,8 +21,7 @@ p { margin: 0px 0px 20px 0px; line-height: 18px;}
|
|||||||
ul { margin: 5px 0px 15px 0px; padding: 0px;}
|
ul { margin: 5px 0px 15px 0px; padding: 0px;}
|
||||||
li { margin-left: 20px;}
|
li { margin-left: 20px;}
|
||||||
|
|
||||||
#notice {
|
.notice {
|
||||||
clear: both;
|
|
||||||
margin: 0 0 15px;
|
margin: 0 0 15px;
|
||||||
padding: 0 10px;
|
padding: 0 10px;
|
||||||
background: #fffbcc;
|
background: #fffbcc;
|
||||||
@@ -31,8 +30,7 @@ li { margin-left: 20px;}
|
|||||||
color: #222;
|
color: #222;
|
||||||
}
|
}
|
||||||
|
|
||||||
#succeed {
|
.succeed {
|
||||||
clear: both;
|
|
||||||
margin: 0 0 15px;
|
margin: 0 0 15px;
|
||||||
padding: 0 10px;
|
padding: 0 10px;
|
||||||
background: #d1ecb8;
|
background: #d1ecb8;
|
||||||
@@ -41,8 +39,7 @@ li { margin-left: 20px;}
|
|||||||
color: #222;
|
color: #222;
|
||||||
}
|
}
|
||||||
|
|
||||||
#error {
|
.error {
|
||||||
clear: both;
|
|
||||||
margin: 0 0 15px;
|
margin: 0 0 15px;
|
||||||
padding: 0 10px;
|
padding: 0 10px;
|
||||||
background: #ffebe8;
|
background: #ffebe8;
|
||||||
|
|||||||
Reference in New Issue
Block a user