Commit 3126b416 authored by Leigh B Stoller's avatar Leigh B Stoller

Center the motd in the alert banner, and add a dismiss button, since

its a dismissable alert.
parent 9b06d0cb
......@@ -325,8 +325,11 @@ $PAGEHEADER_FUNCTION = function($thinheader = 0, $ignore1 = NULL,
$message = TBGetSiteVar("aptlab/message");
}
if ($message != "") {
echo "<div class='alert alert-warning alert-dismissible' role='alert' style='margin-top: -10px'>
$message
echo "<div class='alert alert-warning alert-dismissible'
role='alert' style='margin-top: -10px'>
<button type='button' class='close' data-dismiss='alert'>
<span>&times;</span></button>
<center>$message</center>
</div>";
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment