update Setting all layout

This commit is contained in:
Aung Myo
2017-10-12 15:20:48 +06:30
parent 9365e64066
commit 535fe17d81
39 changed files with 914 additions and 530 deletions

View File

@@ -1,38 +1,54 @@
<div class="page-header">
<ul class="breadcrumb">
<li><a href="<%= %>">Home</a></li>
<li>Account</li>
<span style="float: right">
<%= link_to t('.new', :default => t("helpers.links.new")),new_settings_lookup_path,:class => 'btn btn-primary btn-sm' %>
</span>
</ul>
<ol class="breadcrumb">
<li class="breadcrumb-item"><a href="<%= dashboard_path %>">Home</a></li>
<li class="breadcrumb-item active">LookUp</li>
<span class="float-right">
<%= link_to 'Back', dashboard_path %>
</span>
</ol>
</div>
<br>
<div class="card">
<table class="table table-striped">
<thead>
<tr>
<th>Lookup type</th>
<th>Name</th>
<th>Value</th>
<th colspan="">Action</th>
</tr>
</thead>
<tbody>
<% @settings_lookups.each do |settings_lookup| %>
<tr>
<td><%= settings_lookup.lookup_type %></td>
<td><%= settings_lookup.name %></td>
<td><%= settings_lookup.value %></td>
<td><%= link_to 'Show', settings_lookup_path(settings_lookup) %></td>
<td><%= link_to 'Edit', edit_settings_lookup_path(settings_lookup) %></td>
<td><%= link_to 'Destroy', settings_lookup_path(settings_lookup), method: :delete, data: { confirm: 'Are you sure?' } %></td>
</tr>
<% end %>
</tbody>
</table>
<div class="m-b-10 clearfix">
<%= link_to t('.new', :default => t("helpers.links.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="card" id="custom-slimscroll">
<table class="table table-striped">
<thead>
<tr>
<th>Lookup type</th>
<th>Name</th>
<th>Value</th>
<th>Action</th>
</tr>
</thead>
<tbody>
<% @settings_lookups.each do |settings_lookup| %>
<tr>
<td><%= settings_lookup.lookup_type %></td>
<td><%= settings_lookup.name %></td>
<td><%= settings_lookup.value %></td>
<!-- <td><%= link_to 'Show', settings_lookup_path(settings_lookup),:class => 'btn btn-info btn-lg waves-effect' %></td> -->
<td><%= link_to 'Edit', edit_settings_lookup_path(settings_lookup),:class => 'btn btn-primary btn-lg waves-effect' %> <%= link_to 'Destroy', settings_lookup_path(settings_lookup), method: :delete, data: { confirm: 'Are you sure?' },:class => 'btn btn-danger btn-lg waves-effect' %></td>
</tr>
<% end %>
</tbody>
</table>
</div>
</div>
<div class="col-xs-12 col-sm-12 col-md-3 col-lg-3">
<div class="card">
<div class="body">
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse
</div>
</div>
</div>
</div>