fix cashier page height & breadcrumb helper

This commit is contained in:
Zin Moe
2020-01-27 16:30:58 +06:30
parent c8ff92975e
commit bca6fabaaf
142 changed files with 266 additions and 1207 deletions

View File

@@ -1,4 +1,5 @@
<% breadcrumb_add t('tax_profile'), settings_tax_profiles_path, settings_tax_profiles_path, t("views.btn.#{action_name}") %>
<br>
<div class="row">
<div class="col-xs-12 col-sm-12 col-md-9 col-lg-9">

View File

@@ -1,22 +1 @@
<!-- <div class="span12">
<div class="page-header">
<ul class="breadcrumb">
<li><a href="<%= root_path %>">Home</a></li>
<li><a href="<%= settings_tax_profiles_path %>">Tax Profiles</a></li>
<li>Edit</li>
</ul>
</div>
</div> -->
<div class="page-header">
<ol class="breadcrumb">
<li class="breadcrumb-item"><a href="<%= dashboard_path %>"><%= t("views.right_panel.button.home") %></a></li>
<li class="breadcrumb-item"><a href="<%= settings_tax_profiles_path %>"><%= t("en.tax_profile") %></a></li>
<li class="breadcrumb-item active"><%= t("views.btn.edit") %></li>
<span class="float-right">
<%= link_to 'Back', settings_tax_profiles_path %>
</span>
</ol>
</div>
<br>
<%= render 'form', settings_tax_profile: @settings_tax_profile %>

View File

@@ -1,15 +1,7 @@
<div class="page-header">
<ol class="breadcrumb">
<li class="breadcrumb-item"><a href="<%= dashboard_path %>"><%= t("views.right_panel.button.home") %></a></li>
<li class="breadcrumb-item"><%= t("en.settings") %></li>
<li class="breadcrumb-item active"><%= t("en.tax_profile") %></li>
<span class="float-right">
<%= link_to 'Back', dashboard_path %>
</span>
</ol>
</div>
<% breadcrumb_add t('tax_profile'), '', dashboard_path %>
<div class="row">
<div class="col-xs-12 col-sm-12 col-md-9 col-lg-9">
<div class="col-xs-12 col-sm''-12 col-md-9 col-lg-9">
<div class="m-b-10 clearfix">
<%= link_to t("views.btn.new"),new_settings_tax_profile_path,:class => 'btn btn-primary btn-lg float-right waves-effect"' %>
</div>

View File

@@ -1,14 +1,2 @@
<div class="page-header">
<ol class="breadcrumb">
<li class="breadcrumb-item"><a href="<%= dashboard_path %>"><%= t("views.right_panel.button.home") %></a></li>
<li class="breadcrumb-item"><a href="<%= settings_tax_profiles_path %>"><%= t("en.tax_profile") %></a></li>
<li class="breadcrumb-item active"><%= t("views.btn.new") %></li>
<span class="float-right">
<%= link_to 'Back', settings_tax_profiles_path %>
</span>
</ol>
</div>
<br>
<%= render 'form', settings_tax_profile: @settings_tax_profile %>

View File

@@ -1,13 +1,4 @@
<div class="page-header">
<ol class="breadcrumb">
<li class="breadcrumb-item"><a href="<%= dashboard_path %>"><%= t("views.right_panel.button.home") %></a></li>
<li class="breadcrumb-item"><a href="<%= settings_tax_profiles_path %>"><%= t("en.tax_profile") %></a></li>
<li class="breadcrumb-item active"><%= t :details %></li>
<span class="float-right">
<%= link_to t('.back', :default => t("views.btn.back")), settings_tax_profiles_path %>
</span>
</ol>
</div>
<% breadcrumb_add t('tax_profile'), settings_tax_profiles_path, settings_tax_profiles_path, t('details') %>
<div class="row">
<div class="col-xs-12 col-sm-12 col-md-9 col-lg-9">