add user manual for zone

This commit is contained in:
phyusin
2017-10-23 17:59:35 +06:30
parent d3dfabd66a
commit ba18e722d7
33 changed files with 446 additions and 165 deletions

View File

@@ -1,7 +1,5 @@
<div class="row">
<div class="col-xs-12 col-sm-12 col-md-9 col-lg-9">
<div class="col-xs-12 col-sm-12 col-md-8 col-lg-8">
<%= simple_form_for([:settings,@settings_zone]) do |f| %>
<%= f.error_notification %>
@@ -16,13 +14,20 @@
</div>
<% end %>
</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-4 col-lg-4">
<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
<h5><i class="material-icons md-18">view_headline PAGE DETAIL</i></h5>
<p>
1) Name - to write zone name <br>
2) Is active - checkbox for is active or not <br>
</p>
<h5><i class="material-icons md-18">list BUTTON LISTS</i> </h5>
<p>
1) CREATE ZONE - to create zone <br>
</p>
<h5><i class="material-icons md-18">list LINK LISTS</i> </h5>
<p>1) Home / Back - go to dashboard</p>
</div>
</div>
</div>

View File

@@ -5,7 +5,6 @@
<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.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>

View File

@@ -48,12 +48,20 @@
<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
cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non
proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
<h5><i class="material-icons md-18">view_headline PAGE DETAIL</i></h5>
<p>
1) Name - zone name <br>
2) Is active - is active or not <br>
3) Created by - user who created zone <br>
4) Actions - user can view/change zone data <br>
</p>
<h5><i class="material-icons md-18">list BUTTON LISTS</i> </h5>
<p>
1) EDIT - to edit zone <br>
2) DELETE - to delete zone <br>
</p>
<h5><i class="material-icons md-18">list LINK LISTS</i> </h5>
<p>1) Home / Back - go to dashboard</p>
</div>
</div>
</div>

View File

@@ -37,8 +37,14 @@
<% end %>
<td>
<%= 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?' } %>
<button class="delete btn btn-danger btn-sm waves-effect" data-ref="<%= settings_zone_path(@settings_zone)%>" data-method="delete">
<%= t("views.btn.delete") %>
</button>
<span class="hidden" id="delete_text">
<h6>Are you sure you want to delete this row ?</h6>
<h6>This action can't be undo. </h6>
</span>
</td>
</tr>
</tbody>
@@ -106,10 +112,41 @@
<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
<h5>Zone</h5>
<h5><i class="material-icons md-18">view_headline PAGE DETAIL</i></h5>
<p>
1) Name - zone name <br>
2) Is active - is active or not <br>
3) Created by - user who created zone <br>
4) Actions - user can change/delete zone data <br>
</p>
<h5><i class="material-icons md-18">list BUTTON LISTS</i> </h5>
<p>
1) NEW - to add new zone <br>
2) SHOW - to show zone detail <br>
3) EDIT - to edit zone <br>
</p>
<h5>Dining Facilities</h5>
<h5><i class="material-icons md-18">view_headline PAGE DETAIL</i></h5>
<p>
1) Name - table name / user can view table data<br>
2) Type - type for table <br>
3) Seater - seat for table <br>
4) Is active - is active or not <br>
5) Created by - user who created table <br>
6) Created At - datetime for created table <br>
7) Actions - user can change table data <br>
</p>
<h5><i class="material-icons md-18">list BUTTON LISTS</i> </h5>
<p>
1) NEW TABLE - to add new table <br>
2) NEW ROOM - to add new room <br>
3) EDIT - to edit table <br>
</p>
-----------------------------------------------------------------
<h5><i class="material-icons md-18">list LINK LISTS</i> </h5>
<p>1) Home / Back - go to dashboard</p>
</div>
</div>
</div>