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

0
app/views/print_settings/_print_setting.json.jbuilder Normal file → Executable file
View File

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

3
app/views/print_settings/index.html.erb Normal file → Executable file
View File

@@ -30,7 +30,7 @@
<!-- <th>Precision</th> -->
<!-- <th>Delimiter</th> -->
<!-- <th>Heading space</th> -->
<th>Action</th>
<th>Actions</th>
</tr>
</thead>
@@ -52,7 +52,6 @@
<td>
<%= link_to t("views.btn.show"), print_setting,:class => 'btn btn-primary btn-sm waves-effect' %>
<%= link_to t("views.btn.edit"), edit_print_setting_path(print_setting),:class => 'btn btn-info btn-sm waves-effect' %></td>
<!-- <td><%= link_to t("views.btn.delete"), print_setting, method: :delete, data: { confirm: 'Are you sure?' } %></td> -->
</tr>
<% end %>
</tbody>

0
app/views/print_settings/index.json.jbuilder Normal file → Executable file
View File

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

7
app/views/print_settings/show.html.erb Normal file → Executable file
View File

@@ -50,7 +50,12 @@
<th>Print copies</th>
<td><%= @print_setting.print_copies %></td>
</tr>
<tr>
<td colspan="2" align="right">
<%= link_to t("views.btn.edit"), edit_print_setting_path(@print_setting),:class => 'btn btn-info btn-sm waves-effect' %>
<%= link_to t("views.btn.delete"), @print_setting, method: :delete, data: { confirm: 'Are you sure?' }, :class => 'btn btn-danger btn-sm waves-effect' %>
</td>
</tr>
</tbody>
</table>
</div>

0
app/views/print_settings/show.json.jbuilder Normal file → Executable file
View File