UI change
This commit is contained in:
0
app/views/settings/menus/_form.html.erb
Normal file → Executable file
0
app/views/settings/menus/_form.html.erb
Normal file → Executable file
0
app/views/settings/menus/_settings_menu.json.jbuilder
Normal file → Executable file
0
app/views/settings/menus/_settings_menu.json.jbuilder
Normal file → Executable file
0
app/views/settings/menus/edit.html.erb
Normal file → Executable file
0
app/views/settings/menus/edit.html.erb
Normal file → Executable file
3
app/views/settings/menus/index.html.erb
Normal file → Executable file
3
app/views/settings/menus/index.html.erb
Normal file → Executable file
@@ -35,7 +35,7 @@
|
||||
<!-- <th>Created By</th>
|
||||
<th>Created At</th> -->
|
||||
|
||||
<th>Action</th>
|
||||
<th>Actions</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
@@ -51,7 +51,6 @@
|
||||
<!-- <td><%= settings_menu.created_at.utc.getlocal.strftime("%Y-%m-%d/%I:%M %p") %></td> -->
|
||||
<td>
|
||||
<%= link_to t("views.btn.edit"), edit_settings_menu_path(settings_menu),:class => 'btn btn-info btn-sm waves-effect' %>
|
||||
<%= link_to t("views.btn.delete"), settings_menu_path(settings_menu), method: :delete, data: { confirm: 'Are you sure?' },:class => 'btn btn-danger btn-sm waves-effect' %>
|
||||
</td>
|
||||
</tr>
|
||||
<% end %>
|
||||
|
||||
0
app/views/settings/menus/index.json.jbuilder
Normal file → Executable file
0
app/views/settings/menus/index.json.jbuilder
Normal file → Executable file
0
app/views/settings/menus/new.html.erb
Normal file → Executable file
0
app/views/settings/menus/new.html.erb
Normal file → Executable file
5
app/views/settings/menus/show.html.erb
Normal file → Executable file
5
app/views/settings/menus/show.html.erb
Normal file → Executable file
@@ -33,7 +33,7 @@
|
||||
<th>Valid To</th>
|
||||
<th>Created By</th>
|
||||
<th>Created At</th>
|
||||
<th>Action</th>
|
||||
<th colspan="2">Actions</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@@ -45,6 +45,7 @@
|
||||
<td><%= @settings_menu.created_by %></td>
|
||||
<td><%= @settings_menu.created_at.utc.getlocal.strftime("%Y-%m-%d/%I:%M %p") %></td>
|
||||
<td><%= link_to t("views.btn.edit"), edit_settings_menu_path(@settings_menu),:class => 'btn btn-primary btn-sm waves-effect' %></td>
|
||||
<td><%= link_to t("views.btn.delete"), settings_menu_path(@settings_menu), method: :delete, data: { confirm: 'Are you sure?' },:class => 'btn btn-danger btn-sm waves-effect' %></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
@@ -67,7 +68,7 @@
|
||||
<th>Items Count</th>
|
||||
<th>Order By</th>
|
||||
<th>Created At</th>
|
||||
<th>Action</th>
|
||||
<th>Actions</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
|
||||
0
app/views/settings/menus/show.json.jbuilder
Normal file → Executable file
0
app/views/settings/menus/show.json.jbuilder
Normal file → Executable file
Reference in New Issue
Block a user