-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Quoc Dat Pham
committed
Aug 29, 2017
1 parent
6705afb
commit 61653a9
Showing
12 changed files
with
541 additions
and
248 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
89 changes: 89 additions & 0 deletions
89
lemonway.ocmod/upload/admin/view/template/extension/payment/lemonway.twig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,89 @@ | ||
{{ header }} | ||
{{ column_left }} | ||
<div id="content"> | ||
<div class="page-header"> | ||
<div class="container-fluid"> | ||
<div class="pull-right"> | ||
<button type="submit" data-toggle="tooltip" title="{{ button_save }}" class="btn btn-primary"><i class="fa fa-save"></i></button> | ||
<a href="{{ cancel_link }}" data-toggle="tooltip" title="{{ button_cancel }}" class="btn btn-default"><i class="fa fa-reply"></i></a> | ||
</div> | ||
<h1>{{ heading_title }}</h1> | ||
</div> | ||
</div> | ||
|
||
<div class="container-fluid"> | ||
<!-- Alerts --> | ||
{% if no_permission %} | ||
<div class="alert alert-danger"><i class="fa fa-exclamation-circle"></i> {{ error_permission }}</div> | ||
{% endif %} | ||
|
||
{% if no_method %} | ||
<div class="alert alert-warning"><i class="fa fa-exclamation-triangle"></i> {{ error_no_method }} | ||
<button type="button" class="close" data-dismiss="alert">×</button> | ||
</div> | ||
{% endif %} | ||
|
||
{% if lemonway_is_test_mode %} | ||
<div class="alert alert-warning"><i class="fa fa-exclamation-triangle"></i> {{ error_test_mode }} | ||
<button type="button" class="close" data-dismiss="alert">×</button> | ||
</div> | ||
{% endif %} | ||
|
||
{% if success %} | ||
<div class="alert alert-success"><i class="fa fa-check-circle"></i> {{ error_success }} | ||
<button type="button" class="close" data-dismiss="alert">×</button> | ||
</div> | ||
{% endif %} | ||
|
||
{% if api_error %} | ||
<div class="alert alert-danger"><i class="fa fa-exclamation-circle"></i> {{ error_api }}</div> | ||
{% endif %} | ||
<!-- End alerts --> | ||
|
||
<div class="panel panel-default"> | ||
<div class="panel-body"> | ||
<form id="form-lemonway" class="form-horizontal" method="post" enctype="multipart/form-data"> | ||
<div role="tabpanel"> | ||
<!-- Nav tabs --> | ||
<ul class="nav nav-tabs" role="tablist" data-tabs="tabs"> | ||
<li class="active"><a id="aboutus_tab" href="#aboutus" role="tab" data-toggle="tab"><i class="fa fa-info-circle"></i> {{ tab_about_us }}</a></li> | ||
<li><a id="config_tab" href="#config" role="tab" data-toggle="tab"><i class="fa fa-cog"></i> {{ tab_config }}</a></li> | ||
<li><a id="cc_tab" href="#cc" role="tab" data-toggle="tab"><i class="fa fa-credit-card"></i> {{ tab_cc }}</a></li> | ||
</ul> | ||
|
||
<!-- Tab panes --> | ||
<div class="tab-content"> | ||
<div class="tab-pane fade in active" id="aboutus">{{ about_us }}</div> | ||
<div class="tab-pane fade" id="config">{{ config }}</div> | ||
<div class="tab-pane fade" id="cc">{{ cc }}</div> | ||
</div> | ||
</div> | ||
</form> | ||
<div class="text-right"> | ||
<small>v{{ constant('LEMONWAY_VERSION') }}</small> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
<!-- </div> --> | ||
{{ footer }} | ||
|
||
<script> | ||
$(function() | ||
{ | ||
// Show config tab | ||
$("#config_link").click(function(e) | ||
{ | ||
e.preventDefault(); | ||
$("#config_tab").tab('show'); | ||
}); | ||
// Show cc tab | ||
$("#cc_link").click(function(e) | ||
{ | ||
e.preventDefault(); | ||
$("#cc_tab").tab('show'); | ||
}); | ||
}); | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.