Added you are up to date notification if updated
This commit is contained in:
@@ -29,6 +29,9 @@ $git_log = shell_exec("git log master..origin/master --pretty=format:'<tr><td>%h
|
|||||||
<?php if(!empty($git_log)){ ?>
|
<?php if(!empty($git_log)){ ?>
|
||||||
<a class="btn btn-primary btn-lg my-4" href="post.php?update"><i class="fa fa-fw fa-4x fa-check-square"></i><br>Update<br>NOW</a>
|
<a class="btn btn-primary btn-lg my-4" href="post.php?update"><i class="fa fa-fw fa-4x fa-check-square"></i><br>Update<br>NOW</a>
|
||||||
<?php
|
<?php
|
||||||
|
}else{
|
||||||
|
?>
|
||||||
|
<h3 class="text-success">Congratulations you are up to date!</h3>
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
</center>
|
</center>
|
||||||
@@ -41,7 +44,7 @@ $git_log = shell_exec("git log master..origin/master --pretty=format:'<tr><td>%h
|
|||||||
<tr>
|
<tr>
|
||||||
<th>Commit</th>
|
<th>Commit</th>
|
||||||
<th>When</th>
|
<th>When</th>
|
||||||
<th>Changes</th>
|
<th>Description</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
|
|||||||
Reference in New Issue
Block a user