update adminbsb for settins

This commit is contained in:
Aung Myo
2017-10-16 18:27:57 +06:30
parent 8cecb9a524
commit 98bc14c83d
78 changed files with 1171 additions and 1398 deletions

View File

@@ -5,7 +5,7 @@
<li class="breadcrumb-item"><a href="<%= settings_lookups_path %>">Lookup</a></li>
<li class="breadcrumb-item active">Edit</li>
<span class="float-right">
<%= link_to t('.new', :default => t("views.btn.new")), settings_lookups_path %>
<%= link_to t('.back', :default => t("views.btn.back")), settings_lookups_path %>
</span>
</ol>
</div>

View File

@@ -4,17 +4,16 @@
<li class="breadcrumb-item"><a href="<%= dashboard_path %>">Home</a></li>
<li class="breadcrumb-item active">LookUp</li>
<span class="float-right">
<%= link_to t('.new', :default => t("views.btn.new")), dashboard_path %>
<%= link_to t('.back', :default => t("views.btn.back")), dashboard_path %>
</span>
</ol>
</div>
<br>
<div class="m-b-10 clearfix">
<%= link_to t("views.btn.new"),new_settings_lookup_path,:class => 'btn btn-primary btn-lg float-right waves-effect"' %>
</div>
<div class="row">
<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_lookup_path,:class => 'btn btn-primary btn-lg float-right waves-effect"' %>
</div>
<div class="card" id="custom-slimscroll">
<table class="table table-striped">
<thead>
@@ -32,8 +31,8 @@
<td><%= settings_lookup.lookup_type %></td>
<td><%= settings_lookup.name %></td>
<td><%= settings_lookup.value %></td>
<!-- <td><%= link_to t("views.btn.show"), settings_lookup_path(settings_lookup),:class => 'btn btn-info btn-lg waves-effect' %></td> -->
<td><%= link_to t("views.btn.edit"), edit_settings_lookup_path(settings_lookup),:class => 'btn btn-primary btn-lg waves-effect' %> <%= link_to t("views.btn.delete"), settings_lookup_path(settings_lookup), method: :delete, data: { confirm: 'Are you sure?' },:class => 'btn btn-danger btn-lg waves-effect' %></td>
<!-- <td><%= link_to t("views.btn.show"), settings_lookup_path(settings_lookup),:class => 'btn btn-info btn-sm waves-effect' %></td> -->
<td><%= link_to t("views.btn.edit"), edit_settings_lookup_path(settings_lookup),:class => 'btn btn-primary btn-sm waves-effect' %> <%= link_to t("views.btn.delete"), settings_lookup_path(settings_lookup), method: :delete, data: { confirm: 'Are you sure?' },:class => 'btn btn-danger btn-sm waves-effect' %></td>
</tr>
<% end %>
</tbody>

View File

@@ -5,7 +5,7 @@
<li class="breadcrumb-item"><a href="<%= settings_lookups_path %>">Lookup</a></li>
<li class="breadcrumb-item active">New</li>
<span class="float-right">
<%= link_to t('.new', :default => t("views.btn.new")), settings_lookups_path %>
<%= link_to t('.back', :default => t("views.btn.back")), settings_lookups_path %>
</span>
</ol>
</div>