update setting menu design
This commit is contained in:
@@ -1,34 +1,36 @@
|
||||
<div class="page-header">
|
||||
<ul class="breadcrumb">
|
||||
<li><a href="<%= root_path %>">Home</a></li>
|
||||
<li><a href="<%= settings_zone_rooms_path %>">Rooms</a></li>
|
||||
<li>Details</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_zone_rooms_path %>">Rooms</a></li>
|
||||
<li class="breadcrumb-item active">Details</li>
|
||||
<span class="float-right">
|
||||
<%= link_to 'Back', settings_zones_path %>
|
||||
</span>
|
||||
</ol>
|
||||
</div>
|
||||
|
||||
<br/>
|
||||
<div class="card">
|
||||
<div class="card-block">
|
||||
<h4 class="card-title">Room</h4>
|
||||
<table class="table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Name</th>
|
||||
<th>Status</th>
|
||||
<th>Room</th>
|
||||
<th>Seater</th>
|
||||
<th>Order by</th>
|
||||
<th>is Active</th>
|
||||
<th>Created By</th>
|
||||
<th>Created At</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
<br>
|
||||
<div class="row">
|
||||
<div class="col-xs-12 col-sm-12 col-md-9 col-lg-9">
|
||||
<div class="card">
|
||||
<div class="card-block">
|
||||
<h4 class="card-title">Room</h4>
|
||||
<table class="table">
|
||||
<thead>
|
||||
<tr>
|
||||
<td><%= link_to @room.name, settings_menu_path(@room) %></td>
|
||||
<th>Name</th>
|
||||
<th>Status</th>
|
||||
<th>Room</th>
|
||||
<th>Seater</th>
|
||||
<th>Order by</th>
|
||||
<th>is Active</th>
|
||||
<th>Created By</th>
|
||||
<th>Created At</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><%= @room.name %></td>
|
||||
<td><%= @room.status %></td>
|
||||
<td>Room</td>
|
||||
<td><%= @room.seater rescue "-" %></td>
|
||||
@@ -40,10 +42,24 @@
|
||||
<td><%= @room.created_by %></td>
|
||||
<% end %>
|
||||
<td><%= @room.created_at.utc.getlocal.strftime("%Y-%m-%d/%I:%M %p") %></td>
|
||||
<td><%= link_to 'Edit', edit_settings_zone_room_path(@zone,@room) %></td>
|
||||
<td><%= link_to 'Destroy', settings_zone_room_path(@zone,@room), method: :delete, data: { confirm: 'Are you sure?' } %></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<td><%= link_to 'Edit', edit_settings_zone_room_path(@zone,@room) %>
|
||||
<%= link_to 'Destroy', settings_zone_room_path(@zone,@room), method: :delete, data: { confirm: 'Are you sure?' } %></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</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>
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user