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/order_queue_stations/_form.html.erb Normal file → Executable file
View File

0
app/views/settings/order_queue_stations/edit.html.erb Normal file → Executable file
View File

9
app/views/settings/order_queue_stations/index.html.erb Normal file → Executable file
View File

@@ -30,7 +30,7 @@
<!-- <th>Created by</th> -->
<th> Created At</th>
<!-- <th>Updated At</th> -->
<th>Action</th>
<th>Actions</th>
</tr>
</thead>
@@ -48,7 +48,12 @@
<!-- <td><%= settings_order_queue_station.created_by %></td> -->
<td><%= settings_order_queue_station.created_at.strftime("%m-%d-%Y") %></td>
<!-- <td><%= settings_order_queue_station.updated_at.strftime("%m-%d-%Y") %></td> -->
<td><%= link_to 'Assign Processing Items', new_settings_order_queue_station_processing_item_path(settings_order_queue_station),:class => ' btn-success btn-sm waves-effect' %><%= link_to t("views.btn.edit"), edit_settings_order_queue_station_path(settings_order_queue_station),:class => 'btn btn-info btn-sm waves-effect' %></td>
<td>
<%= link_to 'Assign Processing Items', new_settings_order_queue_station_processing_item_path(settings_order_queue_station),:class => 'btn btn-success btn-sm waves-effect' %>
&nbsp;&nbsp;
<%= link_to t("views.btn.edit"), edit_settings_order_queue_station_path(settings_order_queue_station),:class => 'btn btn-info btn-sm waves-effect' %>
</td>
</tr>
<% end %>
</tbody>

View File

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

6
app/views/settings/order_queue_stations/show.html.erb Normal file → Executable file
View File

@@ -28,6 +28,7 @@
<th>Cut per item</th>
<th>Use alternate name</th>
<th>Created by</th>
<th>Actions</th>
</tr>
</thead>
@@ -43,7 +44,10 @@
<td><%= @settings_order_queue_station.cut_per_item %></td>
<td><%= @settings_order_queue_station.use_alternate_name %></td>
<td><%= @settings_order_queue_station.created_by %></td>
<td colspan="2">
<%= link_to t("views.btn.edit"), edit_settings_order_queue_station_path(@settings_order_queue_station),:class => 'btn btn-info btn-sm waves-effect' %>
<%= link_to t("views.btn.delete"), settings_order_queue_station_path(@settings_order_queue_station, @settings_order_queue_station ), method: :delete, data: { confirm: 'Are you sure?' },:class => 'btn btn-danger btn-lg waves-effect' %>
</td>
</tr>
</tbody>
</table>

View File