Skip to content

Commit

Permalink
More work on indents
Browse files Browse the repository at this point in the history
  • Loading branch information
TheCartpenter committed Jul 10, 2024
1 parent 0312600 commit 856be87
Show file tree
Hide file tree
Showing 15 changed files with 3,653 additions and 3,544 deletions.
733 changes: 369 additions & 364 deletions upload/admin/view/template/extension/payment/paypal/applepay_button.twig

Large diffs are not rendered by default.

371 changes: 189 additions & 182 deletions upload/admin/view/template/extension/payment/paypal/auth.twig

Large diffs are not rendered by default.

739 changes: 371 additions & 368 deletions upload/admin/view/template/extension/payment/paypal/button.twig

Large diffs are not rendered by default.

440 changes: 220 additions & 220 deletions upload/admin/view/template/extension/payment/paypal/card.twig

Large diffs are not rendered by default.

287 changes: 143 additions & 144 deletions upload/admin/view/template/extension/payment/paypal/contact.twig

Large diffs are not rendered by default.

257 changes: 111 additions & 146 deletions upload/admin/view/template/extension/payment/paypal/dashboard.twig
Original file line number Diff line number Diff line change
@@ -1,151 +1,116 @@
{{ header }}{{ column_left }}
<div id="content" class="payment-paypal">
<div class="page-header">
<div class="container-fluid">
<div class="pull-right">
<button data-toggle="tooltip" title="{{ button_save }}" class="btn btn-primary button-save"><i class="fa fa-save"></i></button>
<a href="{{ cancel }}" data-toggle="tooltip" title="{{ button_cancel }}" class="btn btn-default"><i class="fa fa-reply"></i></a>
</div>
<h1>{{ heading_title_main }}</h1>
<ul class="breadcrumb">
{% for breadcrumb in breadcrumbs %}
<li><a href="{{ breadcrumb['href'] }}">{{ breadcrumb['text'] }}</a></li>
{% endfor %}
</ul>
</div>
</div>
<div class="container-fluid">
{% if error_warning %}
<div class="alert alert-danger"><i class="fa fa-exclamation-circle"></i> {{ error_warning }}</div>
{% endif %}
{% if text_version %}
<div class="alert alert-info"><i class="fa fa-info-circle"></i> {{ text_version }}</div>
{% endif %}
<div class="panel panel-default panel-dashboard">
<div class="panel-heading">
<h3 class="panel-title"><i class="fa fa-pencil"></i> {{ text_edit }}</h3>
</div>
<div class="panel-body">
<form action="{{ action }}" method="post" enctype="multipart/form-data" id="form_payment">
<div class="row">
<div class="col col-sm-6">
<div class="paypal-sale">
<span class="paypal-sale-title">{{ text_paypal_sales }}:</span> <span class="paypal-sale-total">{{ paypal_sale_total }}</span>
</div>
</div>
<div class="col col-sm-6">
<div class="form-group-status">
<label class="control-label" for="input_status">{{ entry_status }}</label>
<input type="hidden" name="payment_paypal_status" value="0" />
<input type="checkbox" name="payment_paypal_status" value="1" class="switch" {% if status %} checked="checked" {% endif %} />
</div>
</div>
</div>
<div class="row row-tab">
<div class="col col-sm-6 col-md-4 col-lg-3 col-tab">
<a href="{{ href_general }}" class="tab">
<i class="tab-icon-status tab-icon-status-{% if status %}on{% else %}off{% endif %}"></i>
<i class="tab-icon tab-icon-general"></i>
<span class="tab-title">{{ text_tab_general }}</span>
</a>
</div>
<div class="col col-sm-6 col-md-4 col-lg-3 col-tab">
<a href="{{ href_button }}" class="tab">
<i class="tab-icon-status tab-icon-status-{% if button_status %}on{% else %}off{% endif %}"></i>
<i class="tab-icon tab-icon-button"></i>
<span class="tab-title">{{ text_tab_button }}</span>
</a>
</div>
<div class="col col-sm-6 col-md-4 col-lg-3 col-tab">
<a href="{{ href_googlepay_button }}" class="tab">
<i class="tab-icon-status tab-icon-status-{% if googlepay_button_status %}on{% else %}off{% endif %}"></i>
<i class="tab-icon tab-icon-googlepay-button"></i>
<span class="tab-title">{{ text_tab_googlepay_button }}</span>
</a>
</div>
<div class="col col-sm-6 col-md-4 col-lg-3 col-tab">
<a href="{{ href_applepay_button }}" class="tab">
<i class="tab-icon-status tab-icon-status-{% if applepay_button_status %}on{% else %}off{% endif %}"></i>
<i class="tab-icon tab-icon-applepay-button"></i>
<span class="tab-title">{{ text_tab_applepay_button }}</span>
</a>
</div>
<div class="col col-sm-6 col-md-4 col-lg-3 col-tab">
<a href="{{ href_card }}" class="tab">
<i class="tab-icon-status tab-icon-status-{% if card_status %}on{% else %}off{% endif %}"></i>
<i class="tab-icon tab-icon-card"></i>
<span class="tab-title">{{ text_tab_card }}</span>
</a>
</div>
<div class="col col-sm-6 col-md-4 col-lg-3 col-tab">
<a href="{{ href_message_configurator }}" class="tab">
<i class="tab-icon-status tab-icon-status-{% if message_status %}on{% else %}off{% endif %}"></i>
<i class="tab-icon tab-icon-message-configurator"></i>
<span class="tab-title">{{ text_tab_message_configurator }}</span>
</a>
</div>
<div class="col col-sm-6 col-md-4 col-lg-3 col-tab">
<a href="{{ href_message_setting }}" class="tab">
<i class="tab-icon-status tab-icon-status-{% if message_status %}on{% else %}off{% endif %}"></i>
<i class="tab-icon tab-icon-message-setting"></i>
<span class="tab-title">{{ text_tab_message_setting }}</span>
</a>
</div>
<div class="col col-sm-6 col-md-4 col-lg-3 col-tab">
<a href="{{ href_order_status }}" class="tab">
<i class="tab-icon tab-icon-order-status"></i>
<span class="tab-title">{{ text_tab_order_status }}</span>
</a>
</div>
<div class="col col-sm-6 col-md-4 col-lg-3 col-tab">
<a href="{{ href_contact }}" class="tab">
<i class="tab-icon tab-icon-contact"></i>
<span class="tab-title">{{ text_tab_contact }}</span>
</a>
</div>
</div>
<div class="row flex-row">
<div class="col col-lg-3">
<div class="panel panel-default panel-statistic">
<div class="panel-heading">
<h3 class="panel-title"><i class="icon icon-panel-statistic"></i> {{ text_panel_statistic }}</h3>
</div>
<div class="panel-body">
<div class="statistic">
<i class="icon icon-statistic"></i>
<div class="statistic-title">{{ text_statistic_title }}</div>
<div class="statistic-description">{{ text_statistic_description }}</div>
</div>
</div>
</div>
</div>
<div class="col col-lg-9">
<div class="panel panel-default panel-sale-analytics">
<div class="panel-heading">
<div class="pull-right">
<a href="#sale_analytics_range" class="dropdown-toggle" data-toggle="dropdown"><i class="fa fa-calendar"></i> <i class="caret"></i></a>
<div id="#sale_analytics_range" class="dropdown-menu dropdown-menu-right">
{% for sale_analytics_range in setting['sale_analytics_range'] %}
{% if sale_analytics_range['code'] == setting['general']['sale_analytics_range'] %}
<a href="{{ sale_analytics_range['code'] }}" class="dropdown-item active">{{ attribute(_context, sale_analytics_range['name']) }}</a>
{% else %}
<a href="{{ sale_analytics_range['code'] }}" class="dropdown-item">{{ attribute(_context, sale_analytics_range['name']) }}</a>
{% endif %}
{% endfor %}
</div>
</div>
<h3 class="panel-title"><i class="icon icon-panel-sale-analytics"></i> {{ text_panel_sale_analytics }}</h3>
</div>
<div class="panel-body">
<div class="sale-analytics"></div>
</div>
</div>
</div>
</div>
</form>
</div>
</div>
</div>
<div class="page-header">
<div class="container-fluid">
<div class="pull-right">
<button data-toggle="tooltip" title="{{ button_save }}" class="btn btn-primary button-save"><i class="fa fa-save"></i></button>
<a href="{{ cancel }}" data-toggle="tooltip" title="{{ button_cancel }}" class="btn btn-default"><i class="fa fa-reply"></i></a></div>
<h1>{{ heading_title_main }}</h1>
<ul class="breadcrumb">
{% for breadcrumb in breadcrumbs %}
<li><a href="{{ breadcrumb['href'] }}">{{ breadcrumb['text'] }}</a></li>
{% endfor %}
</ul>
</div>
</div>
<div class="container-fluid">
{% if error_warning %}
<div class="alert alert-danger"><i class="fa fa-exclamation-circle"></i> {{ error_warning }}</div>
{% endif %}
{% if text_version %}
<div class="alert alert-info"><i class="fa fa-info-circle"></i> {{ text_version }}</div>
{% endif %}
<div class="panel panel-default panel-dashboard">
<div class="panel-heading">
<h3 class="panel-title"><i class="fa fa-pencil"></i> {{ text_edit }}</h3>
</div>
<div class="panel-body">
<form action="{{ action }}" method="post" enctype="multipart/form-data" id="form_payment">
<div class="row">
<div class="col col-sm-6">
<div class="paypal-sale">
<span class="paypal-sale-title">{{ text_paypal_sales }}:</span> <span class="paypal-sale-total">{{ paypal_sale_total }}</span>
</div>
</div>
<div class="col col-sm-6">
<div class="form-group-status">
<label class="control-label" for="input_status">{{ entry_status }}</label>
<input type="hidden" name="payment_paypal_status" value="0" />
<input type="checkbox" name="payment_paypal_status" value="1" class="switch" {% if status %} checked="checked" {% endif %} />
</div>
</div>
</div>
<div class="row row-tab">
<div class="col col-sm-6 col-md-4 col-lg-3 col-tab">
<a href="{{ href_general }}" class="tab"><i class="tab-icon-status tab-icon-status-{% if status %}on{% else %}off{% endif %}"></i><i class="tab-icon tab-icon-general"></i><span class="tab-title">{{ text_tab_general }}</span></a>
</div>
<div class="col col-sm-6 col-md-4 col-lg-3 col-tab">
<a href="{{ href_button }}" class="tab"><i class="tab-icon-status tab-icon-status-{% if button_status %}on{% else %}off{% endif %}"></i><i class="tab-icon tab-icon-button"></i><span class="tab-title">{{ text_tab_button }}</span></a>
</div>
<div class="col col-sm-6 col-md-4 col-lg-3 col-tab">
<a href="{{ href_googlepay_button }}" class="tab"><i class="tab-icon-status tab-icon-status-{% if googlepay_button_status %}on{% else %}off{% endif %}"></i><i class="tab-icon tab-icon-googlepay-button"></i><span class="tab-title">{{ text_tab_googlepay_button }}</span></a>
</div>
<div class="col col-sm-6 col-md-4 col-lg-3 col-tab">
<a href="{{ href_applepay_button }}" class="tab"><i class="tab-icon-status tab-icon-status-{% if applepay_button_status %}on{% else %}off{% endif %}"></i><i class="tab-icon tab-icon-applepay-button"></i><span class="tab-title">{{ text_tab_applepay_button }}</span></a>
</div>
<div class="col col-sm-6 col-md-4 col-lg-3 col-tab">
<a href="{{ href_card }}" class="tab"><i class="tab-icon-status tab-icon-status-{% if card_status %}on{% else %}off{% endif %}"></i><i class="tab-icon tab-icon-card"></i><span class="tab-title">{{ text_tab_card }}</span></a>
</div>
<div class="col col-sm-6 col-md-4 col-lg-3 col-tab">
<a href="{{ href_message_configurator }}" class="tab"><i class="tab-icon-status tab-icon-status-{% if message_status %}on{% else %}off{% endif %}"></i><i class="tab-icon tab-icon-message-configurator"></i><span class="tab-title">{{ text_tab_message_configurator }}</span></a>
</div>
<div class="col col-sm-6 col-md-4 col-lg-3 col-tab">
<a href="{{ href_message_setting }}" class="tab"><i class="tab-icon-status tab-icon-status-{% if message_status %}on{% else %}off{% endif %}"></i><i class="tab-icon tab-icon-message-setting"></i><span class="tab-title">{{ text_tab_message_setting }}</span></a>
</div>
<div class="col col-sm-6 col-md-4 col-lg-3 col-tab">
<a href="{{ href_order_status }}" class="tab"><i class="tab-icon tab-icon-order-status"></i><span class="tab-title">{{ text_tab_order_status }}</span></a>
</div>
<div class="col col-sm-6 col-md-4 col-lg-3 col-tab">
<a href="{{ href_contact }}" class="tab"><i class="tab-icon tab-icon-contact"></i><span class="tab-title">{{ text_tab_contact }}</span></a>
</div>
</div>
<div class="row flex-row">
<div class="col col-lg-3">
<div class="panel panel-default panel-statistic">
<div class="panel-heading">
<h3 class="panel-title"><i class="icon icon-panel-statistic"></i> {{ text_panel_statistic }}</h3>
</div>
<div class="panel-body">
<div class="statistic">
<i class="icon icon-statistic"></i>
<div class="statistic-title">{{ text_statistic_title }}</div>
<div class="statistic-description">{{ text_statistic_description }}</div>
</div>
</div>
</div>
</div>
<div class="col col-lg-9">
<div class="panel panel-default panel-sale-analytics">
<div class="panel-heading">
<div class="pull-right">
<a href="#sale_analytics_range" class="dropdown-toggle" data-toggle="dropdown"><i class="fa fa-calendar"></i> <i class="caret"></i></a>
<div id="#sale_analytics_range" class="dropdown-menu dropdown-menu-right">
{% for sale_analytics_range in setting['sale_analytics_range'] %}
{% if sale_analytics_range['code'] == setting['general']['sale_analytics_range'] %}
<a href="{{ sale_analytics_range['code'] }}" class="dropdown-item active">{{ attribute(_context, sale_analytics_range['name']) }}</a>
{% else %}
<a href="{{ sale_analytics_range['code'] }}" class="dropdown-item">{{ attribute(_context, sale_analytics_range['name']) }}</a>
{% endif %}
{% endfor %}
</div>
</div>
<h3 class="panel-title"><i class="icon icon-panel-sale-analytics"></i> {{ text_panel_sale_analytics }}</h3>
</div>
<div class="panel-body">
<div class="sale-analytics"></div>
</div>
</div>
</div>
</div>
</form>
</div>
</div>
</div>
</div>
<script type="text/javascript" src="view/javascript/jquery/flot/jquery.flot.js"></script>
<script type="text/javascript" src="view/javascript/jquery/flot/jquery.flot.resize.min.js"></script>
Expand Down
Loading

0 comments on commit 856be87

Please sign in to comment.