Update dbstatus.tpl

This commit is contained in:
Ahmad Husein 2025-02-16 19:19:10 +07:00 committed by GitHub
parent 7396bcdddf
commit 569d5e3670
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -27,36 +27,35 @@
</div>
<div class="panel-body">
<div class="row">
<div class="col-md-6">{Lang::T('Dont select logs if it failed')}</div>
<div class="col-md-6">{Lang::T('Don\'t select logs if it failed')}</div>
<div class="col-md-4 text-right">
<button type="submit" class="btn btn-primary btn-xs btn-block"><i
class="fa fa-download"></i>
{Lang::T('Download Backup')} Database</button>
<button type="submit" class="btn btn-primary btn-xs btn-block" aria-label="Download Backup Database">
<i class="fa fa-download"></i> {Lang::T('Download Backup Database')}
</button>
</div>
</div>
</div>
</form>
</div>
</div>
<div class="col-sm-5">
<div class="panel panel-primary">
<div class="panel-heading">{Lang::T('Restore')} Database</div>
<div class="panel-heading">{Lang::T('Restore Database')}</div>
<form method="post" action="{Text::url('')}settings/dbrestore" enctype="multipart/form-data">
<div class="panel-body">
<div class="row">
<div class="col-md-7"><input type="file" name="json" accept="application/json"></div>
<div class="col-md-5 text-right">
<button type="submit" class="btn btn-primary btn-block btn-xs"><i class="fa fa-upload"></i>
{Lang::T('Restore')} Database</button>
<button type="submit" class="btn btn-primary btn-block btn-xs" aria-label="Restore Database">
<i class="fa fa-upload"></i> {Lang::T('Restore Database')}
</button>
</div>
</div>
</div>
</form>
<div class="panel-footer">{Lang::T('Restoring database will clean up data and then restore all the data')}
</div>
<div class="panel-footer">{Lang::T('Restoring the database will clean up data and then restore all the data.')}</div>
</div>
</div>
</div>
{include file="sections/footer.tpl"}
{include file="sections/footer.tpl"}