menu export ui update
This commit is contained in:
@@ -62,7 +62,7 @@ class Settings::MenusController < ApplicationController
|
||||
def destroy
|
||||
# @settings_menu.destroy
|
||||
abc = Menu.destroyMenu(@settings_menu)
|
||||
|
||||
|
||||
# @settings_menu_item_set.destroy
|
||||
flash[:notice] = 'Menu was successfully destroyed.'
|
||||
render :json => {:status=> "Success", :url => settings_menus_path }.to_json
|
||||
@@ -80,11 +80,13 @@ class Settings::MenusController < ApplicationController
|
||||
wb = p.workbook
|
||||
wb.styles do |s|
|
||||
time_format = wb.styles.add_style :format_code => 'hh:mm:ss'
|
||||
title = s.add_style :fg_color => "004586"
|
||||
title = s.add_style :fg_color => "004586",
|
||||
:b => true,
|
||||
:sz => 12
|
||||
wrap_text = s.add_style :sz => 11,
|
||||
:alignment => { :horizontal => :left,:vertical => :center ,
|
||||
:wrap_text => true}
|
||||
header_text = s.add_style :fg_color=> "a7a7a7",
|
||||
header_text = s.add_style :fg_color=> "090909",
|
||||
:b => true,
|
||||
:sz => 12,
|
||||
:border => { :style => :thin, :color => "00" },
|
||||
|
||||
Reference in New Issue
Block a user