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

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

View File

@@ -3,34 +3,31 @@
<li class="breadcrumb-item"><a href="<%= dashboard_path %>">Home</a></li>
<li class="breadcrumb-item active">Commissioner</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_commissioner_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_commissioner_path,:class => 'btn btn-primary btn-lg float-right waves-effect"' %>
</div>
<div class="card">
<table class="table table-striped">
<thead>
<tr>
<th>Name</th>
<th>Employee Name</th>
<th>Commission type</th>
<th>Joined Date</th>
<th>Resigned Date</th>
<th>Active</th>
<th colspan="4"></th>
</tr>
</thead>
<table class="table table-striped">
<thead>
<tr>
<th>Name</th>
<th>Employee Name</th>
<th>Commission type</th>
<th>Joined Date</th>
<th>Resigned Date</th>
<th>Active</th>
<th ></th>
</tr>
</thead>
<tbody>
<% @commissioners.each do |commissioner| %>
<tbody>
<% @commissioners.each do |commissioner| %>
<tr>
<td><%= commissioner.name %></td>
<td>
@@ -40,22 +37,22 @@
<td><%= commissioner.joined_date.utc.getlocal.strftime('%Y-%b-%d') rescue '-' %></td>
<td><%= commissioner.resigned_date.utc.getlocal.strftime('%Y-%b-%d') rescue '-' %></td>
<td><%= commissioner.is_active %></td>
<td><%= link_to t("views.btn.show"), settings_commissioner_path(commissioner),:class => 'btn btn-info btn-lg waves-effect' %></td>
<td><%= link_to t("views.btn.edit"), edit_settings_commissioner_path(commissioner),:class => 'btn btn-primary btn-lg waves-effect' %></td>
<td><%= link_to t("views.btn.delete"), settings_commissioner_path(commissioner), method: :delete, data: {confirm: 'Are you sure?'},:class => 'btn btn-danger btn-lg waves-effect' %></td>
<td><%= link_to t("views.btn.show"), settings_commissioner_path(commissioner),:class => 'btn btn-info btn-sm waves-effect' %>
<%= link_to t("views.btn.edit"), edit_settings_commissioner_path(commissioner),:class => 'btn btn-primary btn-sm waves-effect' %>
<%= link_to t("views.btn.delete"), settings_commissioner_path(commissioner), method: :delete, data: {confirm: 'Are you sure?'},:class => 'btn btn-danger btn-sm waves-effect' %></td>
</tr>
<% end %>
</tbody>
</table>
</div>
<% end %>
</tbody>
</table>
</div>
</div>
<div class="col-xs-12 col-sm-12 col-md-3 col-lg-3">
<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
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>

View File

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

View File

@@ -1,11 +1,12 @@
<div class="page-header">
<ul class="breadcrumb">
<li><a href="<%= settings_commissioner_path %>">Home</a></li>
<li><a href="<%= settings_commissioner_path %>">Commissioners</a></li>
<span style="float: right">
</span>
</ul>
<ol class="breadcrumb">
<li class="breadcrumb-item"><a href="<%= dashboard_path %>">Home</a></li>
<li class="breadcrumb-item"><a href="<%= settings_commissioners_path %>">Commissioner</a></li>
<li class="breadcrumb-item active">Details</li>
<span class="float-right">
<%= link_to t('.back', :default => t("views.btn.back")), settings_commissioners_path %>
</span>
</ol>
</div>
<!-- Nav tabs -->
@@ -56,9 +57,7 @@
</tr>
</tbody>
</table>
<%= link_to t('.new', :default => t("views.btn.new")), settings_commissioners_path, class: 'btn btn-success' %>
<%= link_to t("views.btn.edit"), edit_settings_commissioner_path(@commissioner), class: 'btn btn-info' %>
<%= link_to t("views.btn.delete"), settings_commissioner_path(@commissioner), method: :delete, data: {confirm: 'Are you sure?'}, class: 'btn btn-danger' %>
</div>
</div>
</div>