forked from kevinowino869/mitrobill
Rollback installation
This commit is contained in:
55
ui/ui/community-rollback.tpl
Normal file
55
ui/ui/community-rollback.tpl
Normal 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"}
|
@ -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="...">
|
||||
|
Reference in New Issue
Block a user