Update app-miscellaneous.tpl

fix not responsive on mobile
This commit is contained in:
Focuslinkstech 2024-11-06 17:32:59 +01:00
parent 56ddf65fdf
commit 8dcd00bc6b

View File

@ -1,7 +1,5 @@
{include file="sections/header.tpl"} {include file="sections/header.tpl"}
<form class="form-horizontal" method="post" role="form" action="" enctype="multipart/form-data"> <form class="form-horizontal" method="post" role="form" action="" enctype="multipart/form-data">
<input type="hidden" name="csrf_token" value="{$csrf_token}">
<div class="row"> <div class="row">
<div class="col-sm-12 col-md-12"> <div class="col-sm-12 col-md-12">
<div class="panel panel-primary panel-hovered panel-stacked mb30"> <div class="panel panel-primary panel-hovered panel-stacked mb30">
@ -12,178 +10,191 @@
</div> </div>
{Lang::T('Miscellaneous')} {Lang::T('Miscellaneous')}
</div> </div>
<div class="form-group"> <div class="panel-body">
<label class="col-md-3 control-label">{Lang::T('New Version Notification')}</label> <input type="hidden" name="csrf_token" value="{$csrf_token}">
<div class="col-md-5"> <div class="form-group">
<select name="new_version_notify" id="new_version_notify" class="form-control"> <label class="col-md-3 control-label">{Lang::T('New Version Notification')}</label>
<option value="enable" {if $_c['new_version_notify']=='enable' }selected="selected" {/if}> <div class="col-md-5">
{Lang::T('Enabled')} <select name="new_version_notify" id="new_version_notify" class="form-control">
</option> <option value="enable" {if $_c['new_version_notify']=='enable' }selected="selected"
<option value="disable" {if $_c['new_version_notify']=='disable' }selected="selected" {/if}> {/if}>
{Lang::T('Disabled')} {Lang::T('Enabled')}
</option> </option>
</select> <option value="disable" {if $_c['new_version_notify']=='disable' }selected="selected"
{/if}>
{Lang::T('Disabled')}
</option>
</select>
</div>
<p class="help-block col-md-4"><small>
{Lang::T('This is to notify you when new updates is
available')}</small>
</p>
</div> </div>
<p class="help-block col-md-4"><small> <div class="form-group">
{Lang::T('This is to notify you when new updates is <label class="col-md-3 control-label">{Lang::T('Router Check')}</label>
available')}</small> <div class="col-md-5">
</p> <select name="router_check" id="router_check" class="form-control">
</div> <option value="0" {if $_c['router_check']=='0' }selected="selected" {/if}>
<div class="form-group"> {Lang::T('Disabled')}
<label class="col-md-3 control-label">{Lang::T('Router Check')}</label> </option>
<div class="col-md-5"> <option value="1" {if $_c['router_check']=='1' }selected="selected" {/if}>
<select name="router_check" id="router_check" class="form-control"> {Lang::T('Enabled')}
<option value="0" {if $_c['router_check']=='0' }selected="selected" {/if}> </option>
{Lang::T('Disabled')} </select>
</option> </div>
<option value="1" {if $_c['router_check']=='1' }selected="selected" {/if}> <p class="help-block col-md-4"><small>
{Lang::T('Enabled')} {Lang::T('If enabled, the system will notify Admin when router goes Offline,
</option> If admin
</select> have 10 or more router and many customers, it will get overlapping, you can
disabled')}
</small>
</p>
</div> </div>
<p class="help-block col-md-4"><small> <div class="form-group">
{Lang::T('If enabled, the system will notify Admin when router goes Offline, If admin <label class="col-md-3 control-label">{Lang::T('Phone OTP Required')}</label>
have 10 or more router and many customers, it will get overlapping, you can disabled')} <div class="col-md-5">
</small> <select name="allow_phone_otp" id="allow_phone_otp" class="form-control">
</p> <option value="no" {if $_c['allow_phone_otp']=='no' }selected="selected" {/if}>
</div> {Lang::T('No')}</option>
<div class="form-group"> <option value="yes" {if $_c['allow_phone_otp']=='yes' }selected="selected" {/if}>
<label class="col-md-3 control-label">{Lang::T('Phone OTP Required')}</label> {Lang::T('Yes')}
<div class="col-md-5"> </option>
<select name="allow_phone_otp" id="allow_phone_otp" class="form-control"> </select>
<option value="no" {if $_c['allow_phone_otp']=='no' }selected="selected" {/if}> </div>
{Lang::T('No')}</option> <p class="help-block col-md-4"><small>
<option value="yes" {if $_c['allow_phone_otp']=='yes' }selected="selected" {/if}> {Lang::T('OTP is required when user want to change phone number and
{Lang::T('Yes')} registration')}</small>
</option> </p>
</select>
</div> </div>
<p class="help-block col-md-4"><small> <div class="form-group">
{Lang::T('OTP is required when user want to change phone number and registration')}</small> <label class="col-md-3 control-label">{Lang::T('OTP Method')}</label>
</p> <div class="col-md-5">
</div> <select name="phone_otp_type" id="phone_otp_type" class="form-control">
<div class="form-group"> <option value="sms" {if $_c['phone_otp_type']=='sms' }selected="selected" {/if}>
<label class="col-md-3 control-label">{Lang::T('OTP Method')}</label> {Lang::T('By SMS')}
<div class="col-md-5"> <option value="whatsapp" {if $_c['phone_otp_type']=='whatsapp' }selected="selected"
<select name="phone_otp_type" id="phone_otp_type" class="form-control"> {/if}>
<option value="sms" {if $_c['phone_otp_type']=='sms' }selected="selected" {/if}> {Lang::T('by WhatsApp')}
{Lang::T('By SMS')} <option value="both" {if $_c['phone_otp_type']=='both' }selected="selected" {/if}>
<option value="whatsapp" {if $_c['phone_otp_type']=='whatsapp' }selected="selected" {/if}> {Lang::T('By WhatsApp and SMS')}
{Lang::T('by WhatsApp')} </option>
<option value="both" {if $_c['phone_otp_type']=='both' }selected="selected" {/if}> </select>
{Lang::T('By WhatsApp and SMS')} </div>
</option> <p class="help-block col-md-4"><small>{Lang::T('The method which OTP will be sent to
</select> user')}<br>
{Lang::T('For Registration and Update Phone Number')}</small></p>
</div> </div>
<p class="help-block col-md-4"><small>{Lang::T('The method which OTP will be sent to user')}<br> <div class="form-group">
{Lang::T('For Registration and Update Phone Number')}</small></p> <label class="col-md-3 control-label">{Lang::T('Email OTP Required')}</label>
</div> <div class="col-md-5">
<div class="form-group"> <select name="allow_email_otp" id="allow_email_otp" class="form-control">
<label class="col-md-3 control-label">{Lang::T('Email OTP Required')}</label> <option value="no" {if $_c['allow_email_otp']=='no' }selected="selected" {/if}>
<div class="col-md-5"> {Lang::T('No')}</option>
<select name="allow_email_otp" id="allow_email_otp" class="form-control"> <option value="yes" {if $_c['allow_email_otp']=='yes' }selected="selected" {/if}>
<option value="no" {if $_c['allow_email_otp']=='no' }selected="selected" {/if}> {Lang::T('Yes')}
{Lang::T('No')}</option> </option>
<option value="yes" {if $_c['allow_email_otp']=='yes' }selected="selected" {/if}> </select>
{Lang::T('Yes')} </div>
</option> <p class="help-block col-md-4"><small>
</select> {Lang::T('OTP is required when user want to change Email Address')}
</small>
</p>
</div> </div>
<p class="help-block col-md-4"><small> <div class="form-group">
{Lang::T('OTP is required when user want to change Email Address')} <label class="col-md-3 control-label">{Lang::T('Show Bandwidth Plan')}</label>
</small> <div class="col-md-5">
</p> <select name="show_bandwidth_plan" id="show_bandwidth_plan" class="form-control">
</div> <option value="no" {if $_c['show_bandwidth_plan']=='no' }selected="selected" {/if}>
<div class="form-group"> {Lang::T('No')}</option>
<label class="col-md-3 control-label">{Lang::T('Show Bandwidth Plan')}</label> <option value="yes" {if $_c['show_bandwidth_plan']=='yes' }selected="selected" {/if}>
<div class="col-md-5"> {Lang::T('Yes')}</option>
<select name="show_bandwidth_plan" id="show_bandwidth_plan" class="form-control"> </select>
<option value="no" {if $_c['show_bandwidth_plan']=='no' }selected="selected" {/if}> </div>
{Lang::T('No')}</option> <p class="help-block col-md-4"><small>
<option value="yes" {if $_c['show_bandwidth_plan']=='yes' }selected="selected" {/if}> {Lang::T(' for Customer')}</small></p>
{Lang::T('Yes')}</option>
</select>
</div> </div>
<p class="help-block col-md-4"><small> <div class="form-group">
{Lang::T(' for Customer')}</small></p> <label class="col-md-3 control-label">{Lang::T('Hotspot Auth Method')}</label>
</div> <div class="col-md-5">
<div class="form-group"> <select name="hs_auth_method" id="auth_method" class="form-control">
<label class="col-md-3 control-label">{Lang::T('Hotspot Auth Method')}</label> <option value="api" {if $_c['hs_auth_method']=='api' }selected="selected" {/if}>
<div class="col-md-5"> {Lang::T('Api')}
<select name="hs_auth_method" id="auth_method" class="form-control"> </option>
<option value="api" {if $_c['hs_auth_method']=='api' }selected="selected" {/if}> <option value="hchap" {if $_c['hs_auth_method']=='hchap' }selected="selected" {/if}>
{Lang::T('Api')} {Lang::T('Http-Chap')}
</option> </option>
<option value="hchap" {if $_c['hs_auth_method']=='hchap' }selected="selected" {/if}> </select>
{Lang::T('Http-Chap')} </div>
</option> <p class="help-block col-md-4"><small>
</select> {Lang::T('Hotspot Authentication Method. Make sure you have changed your
hotspot login
page.')}<br><a href="https://github.com/agstrxyz/phpnuxbill-login-hotspot"
target="_blank">Download
phpnuxbill-login-hotspot</a></small>
</p>
</div> </div>
<p class="help-block col-md-4"><small> <div class="form-group">
{Lang::T('Hotspot Authentication Method. Make sure you have changed your hotspot login <label class="col-md-3 control-label">{Lang::T('Check if Customer Online')}</label>
page.')}<br><a href="https://github.com/agstrxyz/phpnuxbill-login-hotspot" <div class="col-md-5">
target="_blank">Download <select name="check_customer_online" id="check_customer_online" class="form-control">
phpnuxbill-login-hotspot</a></small> <option value="no">
</p> {Lang::T('No')}
</div> </option>
<div class="form-group"> <option value="yes" {if $_c['check_customer_online']=='yes' }selected="selected" {/if}>
<label class="col-md-3 control-label">{Lang::T('Check if Customer Online')}</label> {Lang::T('Yes')}
<div class="col-md-5"> </option>
<select name="check_customer_online" id="check_customer_online" class="form-control"> </select>
<option value="no"> </div>
{Lang::T('No')} <p class="help-block col-md-4"><small>
</option> {Lang::T('This will show is Customer currently is online or not')}</small>
<option value="yes" {if $_c['check_customer_online']=='yes' }selected="selected" {/if}> </p>
{Lang::T('Yes')}
</option>
</select>
</div> </div>
<p class="help-block col-md-4"><small> <div class="form-group">
{Lang::T('This will show is Customer currently is online or not')}</small> <label class="col-md-3 control-label">{Lang::T('Extend Package Expiry')}</label>
</p> <div class="col-md-5">
</div> <select name="extend_expiry" id="extend_expiry" class="form-control">
<div class="form-group"> <option value="yes" {if $_c['extend_expiry']!='no' }selected="selected" {/if}>
<label class="col-md-3 control-label">{Lang::T('Extend Package Expiry')}</label> {Lang::T('Yes')}</option>
<div class="col-md-5"> <option value="no" {if $_c['extend_expiry']=='no' }selected="selected" {/if}>
<select name="extend_expiry" id="extend_expiry" class="form-control"> {Lang::T('No')}</option>
<option value="yes" {if $_c['extend_expiry']!='no' }selected="selected" {/if}> </select>
{Lang::T('Yes')}</option> </div>
<option value="no" {if $_c['extend_expiry']=='no' }selected="selected" {/if}> <p class="help-block col-md-4">
{Lang::T('No')}</option> <small> {Lang::T('If user buy same internet plan, expiry date will
</select> extend')}</small>
</p>
</div> </div>
<p class="help-block col-md-4"> <div class="form-group has-error">
<small> {Lang::T('If user buy same internet plan, expiry date will extend')}</small> <label class="col-md-3 control-label">{Lang::T('Allow Balance custom
</p> amount')}</label>
</div> <div class="col-md-5">
<div class="form-group has-error"> <select name="allow_balance_custom" id="allow_balance_custom" class="form-control">
<label class="col-md-3 control-label">{Lang::T('Allow Balance custom amount')}</label> <option value="no">
<div class="col-md-5"> {Lang::T('No')}
<select name="allow_balance_custom" id="allow_balance_custom" class="form-control"> </option>
<option value="no"> <option value="yes" {if $_c['allow_balance_custom']=='yes' }selected="selected" {/if}>
{Lang::T('No')} {Lang::T('Yes')}
</option> </option>
<option value="yes" {if $_c['allow_balance_custom']=='yes' }selected="selected" {/if}> </select>
{Lang::T('Yes')} </div>
</option> <p class="help-block col-md-4"><small>
</select> {Lang::T('Allow Customer buy balance with any amount')}
<br>*Please report any issue or bugs</small>
</p>
</div> </div>
<p class="help-block col-md-4"><small>
{Lang::T('Allow Customer buy balance with any amount')}
<br>*Please report any issue or bugs</small>
</p>
</div> </div>
</div> </div>
</div>
<div class="panel-body"> <div class="panel-body">
<div class="form-group"> <div class="form-group">
<button class="btn btn-success btn-block" name="save" value="save" type="submit"> <button class="btn btn-success btn-block" name="save" value="save" type="submit">
{Lang::T('Save Changes')} {Lang::T('Save Changes')}
</button> </button>
</div>
</div> </div>
</div> </div>
</div> </div>
</div>
</form> </form>
{include file="sections/footer.tpl"} {include file="sections/footer.tpl"}