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

0
app/views/settings/zones/_form.html.erb Normal file → Executable file
View File

0
app/views/settings/zones/_settings_zone.json.jbuilder Normal file → Executable file
View File

3
app/views/settings/zones/edit.html.erb Normal file → Executable file
View File

@@ -5,7 +5,8 @@
<li class="breadcrumb-item"><a href="<%= settings_zones_path %>">Zones</a></li>
<li class="breadcrumb-item active">Edit</li>
<span class="float-right">
<%= link_to t("views.btn.back"), settings_zones_path %>
<%= 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?' } %>
<%= link_to t("views.btn.back"), settings_zones_path %>
</span>
</ul>
</div>

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 %>

0
app/views/settings/zones/index.json.jbuilder Normal file → Executable file
View File

0
app/views/settings/zones/new.html.erb Normal file → Executable file
View File

4
app/views/settings/zones/show.html.erb Normal file → Executable file
View File

@@ -22,7 +22,7 @@
<th>Name</th>
<th>Is active</th>
<th>Created by</th>
<th>Action</th>
<th>Actions</th>
</tr>
</thead>
@@ -63,7 +63,7 @@
<th>Is Active</th>
<th>Created By</th>
<th>Created At</th>
<th>Action</th>
<th>Actions</th>
</tr>
</thead>

0
app/views/settings/zones/show.json.jbuilder Normal file → Executable file
View File