Merge pull request #248 from ahmadhusein17/Development

Update dbstatus.tpl
This commit is contained in:
iBNu Maksum 2024-08-15 11:01:14 +07:00 committed by GitHub
commit 6b39863418
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 39 additions and 44 deletions

View File

@ -1,10 +1,10 @@
{include file="sections/user-header.tpl"} {include file="sections/user-header.tpl"}
<div class="page page-err clearfix"> <div class="page page-err clearfix">
<div class="err-container"> <div class="err-container">
<h1 class="m404 mb0">404 <a href="{$_url}home" class="ion ion-forward" title="go to dashboard"></a></h1> <h1 class="m404 mb0">404 <a href="{$_url}home" class="ion ion-forward" title="Go to Dashboard"></a></h1>
<p class="text-desc mb20">Coming Soon!! Next Version...</p> <p class="text-desc mb20">{Lang::T('Coming Soon! Next Version...')}</p>
</div> </div>
</div> </div>
{include file="sections/user-footer.tpl"} {include file="sections/user-footer.tpl"}

View File

@ -2,7 +2,7 @@
<div class="panel panel-primary"> <div class="panel panel-primary">
<div class="panel-heading"> <div class="panel-heading">
Installed Devices {Lang::T('Installed Devices')}
</div> </div>
<div class="panel-body"> <div class="panel-body">
<div class="row"> <div class="row">
@ -28,4 +28,4 @@
</div> </div>
</div> </div>
{include file="sections/footer.tpl"} {include file="sections/footer.tpl"}

View File

@ -24,8 +24,8 @@
<label class="col-md-2 control-label">{Lang::T('Company Logo')}</label> <label class="col-md-2 control-label">{Lang::T('Company Logo')}</label>
<div class="col-md-6"> <div class="col-md-6">
<input type="file" class="form-control" id="logo" name="logo" accept="image/*"> <input type="file" class="form-control" id="logo" name="logo" accept="image/*">
<span class="help-block">For PDF Reports | Best size 1078 x 200 | uploaded image will be <span class="help-block">{Lang::T('For PDF Reports | Best size 1078 x 200 | uploaded image will be
autosize</span> autosize')}</span>
</div> </div>
<span class="help-block col-md-4"> <span class="help-block col-md-4">
<a href="./{$logo}" target="_blank"><img src="./{$logo}" height="48" alt="logo for PDF"></a> <a href="./{$logo}" target="_blank"><img src="./{$logo}" height="48" alt="logo for PDF"></a>
@ -68,10 +68,10 @@
<input type="number" required class="form-control" id="printer_cols" placeholder="37" <input type="number" required class="form-control" id="printer_cols" placeholder="37"
name="printer_cols" value="{$_c['printer_cols']}"> name="printer_cols" value="{$_c['printer_cols']}">
</div> </div>
<span class="help-block col-md-4">For invoice print using Thermal Printer</span> <span class="help-block col-md-4">{Lang::T('For invoice print using Thermal Printer')}</span>
</div> </div>
<div class="form-group"> <div class="form-group">
<label class="col-md-2 control-label">Theme</label> <label class="col-md-2 control-label">{Lang::T('Theme')}</label>
<div class="col-md-6"> <div class="col-md-6">
<select name="theme" id="theme" class="form-control"> <select name="theme" id="theme" class="form-control">
<option value="default" {if $_c['theme'] eq 'default' }selected="selected" {/if}>Default <option value="default" {if $_c['theme'] eq 'default' }selected="selected" {/if}>Default
@ -83,8 +83,7 @@
</select> </select>
</div> </div>
<p class="help-block col-md-4"><a <p class="help-block col-md-4"><a
href="https://github.com/hotspotbilling/phpnuxbill/wiki/Themes" target="_blank">Theme href="https://github.com/hotspotbilling/phpnuxbill/wiki/Themes" target="_blank">{Lang::T('Theme Info')}</a></p>
info</a></p>
</div> </div>
<div class="form-group"> <div class="form-group">
<label class="col-md-2 control-label">{Lang::T('Recharge Using')}</label> <label class="col-md-2 control-label">{Lang::T('Recharge Using')}</label>
@ -93,8 +92,8 @@
value="{$_c['payment_usings']}" value="{$_c['payment_usings']}"
placeholder="{Lang::T('Cash')}, {Lang::T('Bank Transfer')}"> placeholder="{Lang::T('Cash')}, {Lang::T('Bank Transfer')}">
</div> </div>
<p class="help-block col-md-4">This used for admin to select payment in recharge, using comma <p class="help-block col-md-4">{Lang::T('This used for admin to select payment in recharge, using comma
for every new options</p> for every new options')}</p>
</div> </div>
<div class="form-group"> <div class="form-group">
@ -103,14 +102,14 @@
<input type="number" required class="form-control" id="reset_day" placeholder="20" min="1" <input type="number" required class="form-control" id="reset_day" placeholder="20" min="1"
max="28" step="1" name="reset_day" value="{$_c['reset_day']}"> max="28" step="1" name="reset_day" value="{$_c['reset_day']}">
</div> </div>
<span class="help-block col-md-4">Income will reset every this day</span> <span class="help-block col-md-4">{Lang::T('Income will reset every this day')}</span>
</div> </div>
<div class="form-group"> <div class="form-group">
<label class="col-md-2 control-label">APP URL</label> <label class="col-md-2 control-label">APP URL</label>
<div class="col-md-6"> <div class="col-md-6">
<input type="text" readonly class="form-control" value="{$app_url}"> <input type="text" readonly class="form-control" value="{$app_url}">
</div> </div>
<p class="help-block col-md-4">edit at config.php</p> <p class="help-block col-md-4">{Lang::T('edit at config.php')}</p>
</div> </div>
</div> </div>
<div class="panel-heading" id="hide_dashboard_content"> <div class="panel-heading" id="hide_dashboard_content">
@ -118,7 +117,7 @@
<button class="btn btn-primary btn-xs" title="save" type="submit"><span <button class="btn btn-primary btn-xs" title="save" type="submit"><span
class="glyphicon glyphicon-floppy-disk" aria-hidden="true"></span></button> class="glyphicon glyphicon-floppy-disk" aria-hidden="true"></span></button>
</div> </div>
Hide Dashboard Content {Lang::T('Hide Dashboard Content')}
</div> </div>
<div class="panel-body"> <div class="panel-body">
<div class="form-group"> <div class="form-group">
@ -227,7 +226,7 @@
</div> </div>
<p class="help-block col-md-4"><a <p class="help-block col-md-4"><a
href="https://github.com/hotspotbilling/phpnuxbill/wiki/FreeRadius" href="https://github.com/hotspotbilling/phpnuxbill/wiki/FreeRadius"
target="_blank">Radius Instructions</a></p> target="_blank">{Lang::T('Radius Instructions')}</a></p>
</div> </div>
</div> </div>
<div class="panel-heading"> <div class="panel-heading">
@ -246,7 +245,7 @@
<option value="0">No</option> <option value="0">No</option>
</select> </select>
</div> </div>
<p class="help-block col-md-4">Customer can request to extend expirations</p> <p class="help-block col-md-4">{Lang::T('Customer can request to extend expirations')}</p>
</div> </div>
<div class="form-group"> <div class="form-group">
<label class="col-md-2 control-label">{Lang::T('Extend Days')}</label> <label class="col-md-2 control-label">{Lang::T('Extend Days')}</label>
@ -259,7 +258,7 @@
<label class="col-md-2 control-label">{Lang::T('Confirmation Message')}</label> <label class="col-md-2 control-label">{Lang::T('Confirmation Message')}</label>
<div class="col-md-6"> <div class="col-md-6">
<textarea type="text" rows="4" class="form-control" name="extend_confirmation" <textarea type="text" rows="4" class="form-control" name="extend_confirmation"
placeholder="i agree to extends and will paid full after this">{$_c['extend_confirmation']}</textarea> placeholder="{Lang::T('i agree to extends and will paid full after this')}">{$_c['extend_confirmation']}</textarea>
</div> </div>
</div> </div>
</div> </div>
@ -313,7 +312,7 @@
</div> </div>
<div class="panel-body"> <div class="panel-body">
<div class="form-group"> <div class="form-group">
<label class="col-md-2 control-label">Telegram Bot Token</label> <label class="col-md-2 control-label">{Lang::T('Telegram Bot Token')}</label>
<div class="col-md-6"> <div class="col-md-6">
<input type="password" class="form-control" id="telegram_bot" name="telegram_bot" <input type="password" class="form-control" id="telegram_bot" name="telegram_bot"
onmouseleave="this.type = 'password'" onmouseenter="this.type = 'text'" onmouseleave="this.type = 'password'" onmouseenter="this.type = 'text'"
@ -327,8 +326,8 @@
value="{$_c['telegram_target_id']}" placeholder="12345678"> value="{$_c['telegram_target_id']}" placeholder="12345678">
</div> </div>
</div> </div>
<small id="emailHelp" class="form-text text-muted">You will get Payment and Error <small id="emailHelp" class="form-text text-muted">{Lang::T('You will get Payment and Error
notification</small> notification<')}/small>
</div> </div>
<div class="panel-heading"> <div class="panel-heading">
<div class="btn-group pull-right"> <div class="btn-group pull-right">
@ -345,12 +344,11 @@
<input type="text" class="form-control" id="sms_url" name="sms_url" value="{$_c['sms_url']}" <input type="text" class="form-control" id="sms_url" name="sms_url" value="{$_c['sms_url']}"
placeholder="https://domain/?param_number=[number]&param_text=[text]&secret="> placeholder="https://domain/?param_number=[number]&param_text=[text]&secret=">
</div> </div>
<p class="help-block col-md-4">Must include <b>[text]</b> &amp; <b>[number]</b>, it will be <p class="help-block col-md-4">{Lang::T('Must include')} <b>[text]</b> &amp; <b>[number]</b>, {Lang::T('it will be replaced.')}
replaced.
</p> </p>
</div> </div>
<div class="form-group"> <div class="form-group">
<label class="col-md-2 control-label">Or use Mikrotik SMS</label> <label class="col-md-2 control-label">{Lang::T('Or use Mikrotik SMS')}</label>
<div class="col-md-6"> <div class="col-md-6">
<select class="form-control" <select class="form-control"
onchange="document.getElementById('sms_url').value = this.value"> onchange="document.getElementById('sms_url').value = this.value">
@ -361,11 +359,10 @@
{/foreach} {/foreach}
</select> </select>
</div> </div>
<p class="help-block col-md-4">Must include <b>[text]</b> &amp; <b>[number]</b>, it will be <p class="help-block col-md-4">{Lang::T('Must include')} <b>[text]</b> &amp; <b>[number]</b>, {Lang::T('it will be replaced.')}
replaced.
</p> </p>
</div> </div>
<small id="emailHelp" class="form-text text-muted">You can use WhatsApp in here too. <a <small id="emailHelp" class="form-text text-muted">{Lang::T('You can use')} WhatsApp {Lang::T('in here too.')} <a
href="https://wa.nux.my.id/login" target="_blank">Free Server</a></small> href="https://wa.nux.my.id/login" target="_blank">Free Server</a></small>
</div> </div>
<div class="panel-heading"> <div class="panel-heading">
@ -383,11 +380,9 @@
<input type="text" class="form-control" id="wa_url" name="wa_url" value="{$_c['wa_url']}" <input type="text" class="form-control" id="wa_url" name="wa_url" value="{$_c['wa_url']}"
placeholder="https://domain/?param_number=[number]&param_text=[text]&secret="> placeholder="https://domain/?param_number=[number]&param_text=[text]&secret=">
</div> </div>
<p class="help-block col-md-4">Must include <b>[text]</b> &amp; <b>[number]</b>, it will be <p class="help-block col-md-4">{Lang::T('Must include')} <b>[text]</b> &amp; <b>[number]</b>, {Lang::T('it will be replaced.')}
replaced.
</p>
</div> </div>
<small id="emailHelp" class="form-text text-muted">You can use WhatsApp in here too. <a <small id="emailHelp" class="form-text text-muted">{Lang::T('You can use')} WhatsApp {Lang::T('in here too.')} <a
href="https://wa.nux.my.id/login" target="_blank">Free Server</a></small> href="https://wa.nux.my.id/login" target="_blank">Free Server</a></small>
</div> </div>
<div class="panel-heading"> <div class="panel-heading">
@ -410,7 +405,7 @@
<input type="number" class="form-control" id="smtp_port" name="smtp_port" <input type="number" class="form-control" id="smtp_port" name="smtp_port"
value="{$_c['smtp_port']}" placeholder="465 587 port"> value="{$_c['smtp_port']}" placeholder="465 587 port">
</div> </div>
<p class="help-block col-md-4">Empty this to use internal mail() PHP</p> <p class="help-block col-md-4">{Lang::T('Empty this to use internal mail() PHP')}</p>
</div> </div>
<div class="form-group"> <div class="form-group">
<label class="col-md-2 control-label">SMTP username</label> <label class="col-md-2 control-label">SMTP username</label>
@ -449,13 +444,13 @@
</div> </div>
</div> </div>
<div class="form-group"> <div class="form-group">
<label class="col-md-2 control-label">Mail Reply To</label> <label class="col-md-2 control-label">{Lang::T('Mail Reply To')}</label>
<div class="col-md-6"> <div class="col-md-6">
<input type="text" class="form-control" id="mail_reply_to" name="mail_reply_to" <input type="text" class="form-control" id="mail_reply_to" name="mail_reply_to"
value="{$_c['mail_reply_to']}" placeholder="support@host.tld"> value="{$_c['mail_reply_to']}" placeholder="support@host.tld">
</div> </div>
<p class="help-block col-md-4">Customer will reply email to this address, empty if you want to <p class="help-block col-md-4">{Lang::T('Customer will reply email to this address, empty if you want to
use From Address</p> use From Address')}</p>
</div> </div>
</div> </div>
<div class="panel-heading"> <div class="panel-heading">
@ -885,4 +880,4 @@ add dst-host=*.{$_domain}</pre>
document.getElementById("tax_rate").addEventListener("change", toggleCustomTaxRate); document.getElementById("tax_rate").addEventListener("change", toggleCustomTaxRate);
}); });
</script> </script>
{include file="sections/footer.tpl"} {include file="sections/footer.tpl"}

View File

@ -41,14 +41,14 @@
</div> </div>
<div class="col-sm-5"> <div class="col-sm-5">
<div class="panel panel-primary"> <div class="panel panel-primary">
<div class="panel-heading">Restore Database</div> <div class="panel-heading">{Lang::T('Restore Database')}</div>
<form method="post" action="{$_url}settings/dbrestore" enctype="multipart/form-data"> <form method="post" action="{$_url}settings/dbrestore" enctype="multipart/form-data">
<div class="panel-body"> <div class="panel-body">
<div class="row"> <div class="row">
<div class="col-md-7"><input type="file" name="json" accept="application/json"></div> <div class="col-md-7"><input type="file" name="json" accept="application/json"></div>
<div class="col-md-5 text-right"> <div class="col-md-5 text-right">
<button type="submit" class="btn btn-primary btn-block btn-xs"><i class="fa fa-upload"></i> <button type="submit" class="btn btn-primary btn-block btn-xs"><i class="fa fa-upload"></i>
Restore Dabase</button> {Lang::T('Restore Database')}</button>
</div> </div>
</div> </div>
</div> </div>
@ -58,4 +58,4 @@
</div> </div>
</div> </div>
{include file="sections/footer.tpl"} {include file="sections/footer.tpl"}