Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update thawani.tpl #2

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions ui/thawani.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@
<div class="row">
<div class="col-sm-12 col-md-12">
<div class="panel panel-primary panel-hovered panel-stacked mb30">
<div class="panel-heading">Thawani Payment Gateway Settings</div>
<div class="panel-heading">{Lang::T('Thawani Payment Gateway Settings')}</div>
<div class="panel-body">
{* create dropdownmenu for prodection and testing *}
<div class="form-group">
<label class="col-md-2 control-label">Thawani Stage</label>
<div class="col-md-6">
<select class="form-control" id="thawani_stage" name="thawani_stage">
<option value="Live" {if $_c['thawani_stage'] == 'Live'}selected{/if}>Live</option>
<option value="Testing" {if $_c['thawani_stage'] == 'Testing'}selected{/if}>Testing</option>
<option value="Live" {if $_c['thawani_stage'] == 'Live'}selected{/if}>{Lang::T('Live')}</option>
<option value="Testing" {if $_c['thawani_stage'] == 'Testing'}selected{/if}>{Lang::T('Testing')}</option>
</select>
</div>

Expand All @@ -34,15 +34,15 @@
</div>

<div class="form-group">
<label class="col-md-2 control-label">Thawani live url</label>
<label class="col-md-2 control-label">Thawani {Lang::T('live url')}</label>
<div class="col-md-6">
<input type="text" class="form-control" id="thawani_live_url" name="thawani_live_url"
value="{$_c['thawani_live_url']}">
</div>
</div>

<div class="form-group">
<label class="col-md-2 control-label">Thawani testing url</label>
<label class="col-md-2 control-label">Thawani {Lang::T('testing url')}</label>
<div class="col-md-6">
<input type="text" class="form-control" id="thawani_testing_url" name="thawani_testing_url"
value="{$_c['thawani_testing_url']}">
Expand All @@ -51,14 +51,14 @@

<div class="form-group">
<div class="col-lg-offset-2 col-lg-10">
<button class="btn btn-primary waves-effect waves-light" type="submit">Save</button>
<button class="btn btn-primary waves-effect waves-light" type="submit">{Lang::T('Save Change')}</button>
</div>
</div>
<pre>/ip hotspot walled-garden
add dst-host=thawani.om
add dst-host=*.thawani.om</pre>
<small id="emailHelp" class="form-text text-muted">Set Telegram Bot to get any error and
notification</small>
<small id="emailHelp" class="form-text text-muted">{Lang::T('Set Telegram Bot to get any error and
notification')}</small>
</div>
</div>

Expand Down