Rollback installation

This commit is contained in:
Ibnu Maksum
2024-05-21 10:56:11 +07:00
parent 35a327001b
commit ab7725b0fb
5 changed files with 95 additions and 3 deletions

View File

@ -0,0 +1,55 @@
{include file="sections/header.tpl"}
<center><a href="https://s.id/standwithpalestine" target="_blank"><img
src="https://raw.githubusercontent.com/Safouene1/support-palestine-banner/master/banner-support.svg"
class="img-responsive"></a></center>
<br><br>
<div class="row">
<div class="col-sm-6">
<div class="box box-hovered mb20 box-primary">
<div class="box-header">
<h3 class="box-title">Master</h3>
</div>
<table class="table table-bordered table-striped">
<tbody>
{foreach $masters as $data}
<tr>
<td>{nl2br($data['commit']['message'])}</td>
<td>{Lang::dateTimeFormat(str_replace(['Z','T'],'',$data['commit']['author']['date']))}</td>
<td>
<a href="/update.php?update_url=https://github.com/hotspotbilling/phpnuxbill/archive/{$data['sha']}.zip"
class="btn btn-sm btn-primary">
update
</a>
</td>
</tr>
{/foreach}
</tbody>
</table>
</div>
</div>
<div class="col-sm-6">
<div class="box box-hovered mb20 box-primary">
<div class="box-header">
<h3 class="box-title">Development</h3>
</div>
<table class="table table-bordered table-striped">
<tbody>
{foreach $devs as $data}
<tr>
<td>{nl2br($data['commit']['message'])}</td>
<td>{Lang::dateTimeFormat(str_replace(['Z','T'],'',$data['commit']['author']['date']))}</td>
<td>
<a href="/update.php?update_url=https://github.com/hotspotbilling/phpnuxbill/archive/{$data['sha']}.zip"
class="btn btn-sm btn-primary">
update
</a>
</td>
</tr>
{/foreach}
</tbody>
</table>
</div>
</div>
</div>
{include file="sections/footer.tpl"}

View File

@ -152,8 +152,9 @@
<div class="btn-group btn-group-justified" role="group" aria-label="...">
<a href="./update.php" class="btn btn-success btn-sm btn-block">Install Latest Version</a>
<a href="https://github.com/hotspotbilling/phpnuxbill/archive/refs/heads/master.zip" target="_blank"
class="btn btn-warning btn-sm btn-block">Download Latest Version</a>
class="btn btn-warning btn-sm btn-block text-black">Download Latest Version</a>
</div>
<center><a href="{$_url}community/rollback" class="btn btn-link btn-sm btn-block">Select Old Version</a></center>
</div>
<div class="box-footer">
<div class="btn-group btn-group-justified" role="group" aria-label="...">