added Voucher only Without username

This commit is contained in:
Ibnu Maksum
2024-07-23 12:03:13 +07:00
parent 922f24b630
commit 8061acbf9e
5 changed files with 257 additions and 115 deletions

View File

@ -60,10 +60,12 @@
<div class="form-group">
<label>{Lang::T('Enter voucher code here')}</label>
<div class="input-group">
<input type="text" class="form-control" id="voucher" name="voucher" required value="{$code}"
placeholder="{Lang::T('Enter voucher code here')}">
<input type="text" class="form-control" id="voucher" name="voucher" required
value="{$code}" placeholder="{Lang::T('Enter voucher code here')}">
<span class="input-group-btn">
<a class="btn btn-default" href="{APP_URL}/scan/?back={urlencode($_url)}{urlencode("login&code=")}"><i class="glyphicon glyphicon-qrcode"></i></a>
<a class="btn btn-default"
href="{APP_URL}/scan/?back={urlencode($_url)}{urlencode("login&code=")}"><i
class="glyphicon glyphicon-qrcode"></i></a>
</span>
</div>
</div>
@ -73,15 +75,40 @@
class="btn btn-primary">{Lang::T('Login / Activate Voucher')}</button>
</div>
</div>
<br>
<center>
<a href="./pages/Privacy_Policy.html" target="_blank">Privacy</a>
&bull;
<a href="./pages/Terms_of_Conditions.html" target="_blank">ToC</a>
</center>
</form>
</div>
</div>
<div class="panel panel-primary">
<div class="panel-heading">{Lang::T('Activate Voucher')}</div>
<div class="panel-body">
<form action="{$_url}login/activation" method="post">
<div class="form-group">
<label>{Lang::T('Enter voucher code here')}</label>
<div class="input-group">
<input type="text" class="form-control" id="voucher_only" name="voucher_only" required
value="{$code}" placeholder="{Lang::T('Enter voucher code here')}">
<span class="input-group-btn">
<a class="btn btn-default"
href="{APP_URL}/scan/?back={urlencode($_url)}{urlencode("login&code=")}"><i
class="glyphicon glyphicon-qrcode"></i></a>
</span>
</div>
</div>
<div class="btn-group btn-group-justified mb15">
<div class="btn-group">
<button type="submit"
class="btn btn-primary">{Lang::T('Activate Voucher')}</button>
</div>
</div>
</form>
</div>
</div>
<br>
<center>
<a href="./pages/Privacy_Policy.html" target="_blank">Privacy</a>
&bull;
<a href="./pages/Terms_of_Conditions.html" target="_blank">ToC</a>
</center>
</div>
</div>
</div>