UI change

This commit is contained in:
yamin
2017-10-23 11:38:10 +06:30
parent 4874bb135c
commit 1aea52619a
4731 changed files with 19031 additions and 149 deletions

10
app/views/settings/zones/index.html.erb Normal file → Executable file
View File

@@ -8,13 +8,12 @@
</span>
</ol>
</div>
<br>
<div class="m-b-10 clearfix">
<%= link_to t('.new', :default => t("views.btn.new")),new_settings_zone_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('.new', :default => t("views.btn.new")),new_settings_zone_path,:class => 'btn btn-primary btn-lg float-right waves-effect"' %>
</div><br>
<div class="card">
<table class="table table-striped">
<thead>
@@ -22,7 +21,7 @@
<th>Name</th>
<th>Is active</th>
<th>Created by</th>
<th>Action</th>
<th>Actions</th>
</tr>
</thead>
@@ -39,7 +38,6 @@
<td>
<%= link_to t("views.btn.show"), settings_zone_path(settings_zone),:class => 'btn btn-info btn-lg waves-effect' %>
<%= link_to t("views.btn.edit"), edit_settings_zone_path(settings_zone),:class => 'btn btn-primary btn-lg waves-effect' %>
<%= link_to t("views.btn.delete"), settings_zone_path(settings_zone), :class => 'btn btn-danger btn-lg waves-effect', method: :delete, data: { confirm: 'Are you sure?' } %>
</td>
</tr>
<% end %>