• Welcome to the Kancolle Wiki!
  • If you have any questions regarding site content, account registration, etc., please visit the KanColle Wiki Discord

Changes

Jump to navigation Jump to search
Better placement of filter controls
Line 23: Line 23:  
! style="text-align: center; padding: 5px;" | Helper Ship]],
 
! style="text-align: center; padding: 5px;" | Helper Ship]],
 
_column_cell_templates = {
 
_column_cell_templates = {
 +
["!"] = [[| class="${classes}" colspan="${colspan}" rowspan="${rowspan}" style="text-align: ${text_align}; background-color: ${bg_color}; padding:3px;" |${values.value}]],
 
name = [[| colspan="${colspan}" rowspan="${rowspan}" style="text-align: ${text_align}; background-color: ${bg_color}; padding:5px 5px 5px 5px;" |${values.name}<br />${values.icon} ${values.japanese_name}]]
 
name = [[| colspan="${colspan}" rowspan="${rowspan}" style="text-align: ${text_align}; background-color: ${bg_color}; padding:5px 5px 5px 5px;" |${values.name}<br />${values.icon} ${values.japanese_name}]]
 
},
 
},
Line 75: Line 76:  
_day_of_week_class_prefix = "multi-toggle-target-improvementtablekai-day-",
 
_day_of_week_class_prefix = "multi-toggle-target-improvementtablekai-day-",
 
}
 
}
 +
 +
ImprovementTableKai._column_cell_templates["!"] = ImprovementTableKai._column_cell_templates["!"] .. ImprovementTableKai._detail_toggle
    
function ImprovementTableKai:create_items_post()
 
function ImprovementTableKai:create_items_post()
Line 441: Line 444:  
self._rows = {self._table_start, self._title_row, self._header}
 
self._rows = {self._table_start, self._title_row, self._header}
 
elseif #self._data_rows > 0 and type(self._data_rows[1]) ~= "table" then
 
elseif #self._data_rows > 0 and type(self._data_rows[1]) ~= "table" then
self._rows = {format{self._detail_toggle, colspan = #self._columns}, self._table_start}
+
self._rows = {self._table_start}
 
else
 
else
 
self._rows = {self._table_start, self._header}
 
self._rows = {self._table_start, self._header}
Anonymous user

Navigation menu