Changes

m
no edit summary
Line 22: Line 22:  
     | style="background-color: ${equip_bg_color}; width: 175px;text-align: center;" |${equip_link}]],
 
     | style="background-color: ${equip_bg_color}; width: 175px;text-align: center;" |${equip_link}]],
 
      
 
      
 +
    _header_bg = "#98D2F0",
 
     _ship_card_bg = "transparent",
 
     _ship_card_bg = "transparent",
 
     _equip_icon_bg = "#8DCDEE",
 
     _equip_icon_bg = "#8DCDEE",
Line 37: Line 38:     
function NanaminFleetKai:customize_colors()
 
function NanaminFleetKai:customize_colors()
 +
    self._header_bg = self._args["header_bg"] or self._header_bg
 
     self._ship_card_bg = self._args["ship_card_bg"] or self._ship_card_bg
 
     self._ship_card_bg = self._args["ship_card_bg"] or self._ship_card_bg
 
     self._equip_icon_bg = self._args["equip_icon_bg"] or self._equip_icon_bg
 
     self._equip_icon_bg = self._args["equip_icon_bg"] or self._equip_icon_bg
Line 142: Line 144:  
function NanaminFleetKai:add_header(content)
 
function NanaminFleetKai:add_header(content)
 
     table.insert(self._rows, self._row_starter)
 
     table.insert(self._rows, self._row_starter)
     table.insert(self._rows, format{self._added_cell_template, content = content, bg_color = self._extra_cells_bg })
+
     table.insert(self._rows, format{self._added_cell_template, content = content, bg_color = self._header_bg })
 
     table.insert(self._rows, self._row_starter)
 
     table.insert(self._rows, self._row_starter)
 
end
 
end
48

edits