mirror of
https://github.com/ShaYmez/FreeSTAR-Status-Engine.git
synced 2024-11-23 12:48:39 -05:00
Bugfixes
This commit is contained in:
parent
3e973ad9de
commit
f2600d0c56
@ -73,7 +73,7 @@ render_header("Dashboard", true);
|
||||
<div class="panel-body">
|
||||
<textarea name="text" placeholder="Here goes your text..." required><?php echo htmlspecialchars($_POST['text']); ?></textarea>
|
||||
</div>
|
||||
<div class="panel-footer">
|
||||
<div class="panel-footer clearfix">
|
||||
<small>Posted by: <?php echo $user->get_username();?> <span class="pull-right" id="end_time_wrapper">Ending: <input id="end_time" title="Use ISO 8601 format (e.g. 2017-11-23T19:50:51+00:00)" type="text" pattern="(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))" name="end_time" class="pull-right" placeholder="End time" value="<?php echo htmlspecialchars($_POST['end_time']); ?>"></span></small>
|
||||
</div>
|
||||
</article>
|
||||
|
@ -139,7 +139,7 @@ class Incident
|
||||
<div class="panel-body">
|
||||
<?php echo $this->text; ?>
|
||||
</div>
|
||||
<div class="panel-footer">
|
||||
<div class="panel-footer clearfix">
|
||||
<small>Posted by: <?php echo $this->username;
|
||||
if (isset($this->end_date)){?>
|
||||
<span class="pull-right"><?php echo strtotime($this->end_date)>time()?"Ending:":"Ended:";?> <time class="pull-right timeago" datetime="<?php echo $this->end_date; ?>"><?php echo $this->end_date; ?></time></span>
|
||||
|
15
css/main.css
15
css/main.css
@ -54,7 +54,10 @@ a:focus {
|
||||
color: #ffffff;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
.navbar-collapse
|
||||
{
|
||||
background: #2f60a3;
|
||||
}
|
||||
.navbar-default {
|
||||
z-index: 200;
|
||||
background-color: #2f60a3;
|
||||
@ -113,8 +116,9 @@ div.center {
|
||||
|
||||
.service{
|
||||
float: left;
|
||||
width:70%;
|
||||
min-width: 250px;
|
||||
box-sizing: border-box;
|
||||
width:60%;
|
||||
min-width: 200px;
|
||||
padding: 15px 35px;
|
||||
font-weight: bold;
|
||||
font-size: 16px;
|
||||
@ -129,8 +133,9 @@ a h1{
|
||||
|
||||
.status{
|
||||
float: left;
|
||||
width:30%;
|
||||
min-width: 100px;
|
||||
box-sizing: border-box;
|
||||
width:40%;
|
||||
min-width: 150px;
|
||||
padding: 15px 35px;
|
||||
text-align: right;
|
||||
font-size: 14px;
|
||||
|
@ -9,6 +9,10 @@ function timeago()
|
||||
|
||||
(function(){
|
||||
timeago();
|
||||
|
||||
$("body").on("click", ".navbar-toggle", function(){
|
||||
$($(this).data("target")).toggleClass("collapse");
|
||||
});
|
||||
|
||||
var incidents = $('.timeline');
|
||||
$("body").on("click", "#loadmore", function(e){
|
||||
|
Loading…
Reference in New Issue
Block a user