Line 313: |
Line 313: |
| function EliteShipsKai:append_custom_row(custom_row_key) | | function EliteShipsKai:append_custom_row(custom_row_key) |
| table.insert(self._rows, self._row_starter) | | table.insert(self._rows, self._row_starter) |
− | table.insert(self._rows, | + | table.insert(self._rows, |
| format{self._column_cell_templates["!"] or self._cell, | | format{self._column_cell_templates["!"] or self._cell, |
− | class = self._detailed_class, | + | class = "", |
| colspan = #self._columns, rowspan = 1, | | colspan = #self._columns, rowspan = 1, |
− | text_align = self._args[self._custom_row_prefix .. custom_row_key .. self._text_align_suffix] or self._start_align,
| |
− | bg_color = self._args[self._custom_row_prefix .. custom_row_key .. self._bg_color_suffix] or self._transparent,
| |
− | values = {
| |
− | value = self._args[self._custom_row_prefix .. custom_row_key .. self._content_suffix] or "",
| |
− | },
| |
− | }
| |
− | )
| |
− | table.insert(self._rows,
| |
− | format{self._column_cell_templates["!"] or self._cell,
| |
− | class = self._simple_class,
| |
− | colspan = #self._columns - self._detailed_columns, rowspan = 1,
| |
| text_align = self._args[self._custom_row_prefix .. custom_row_key .. self._text_align_suffix] or self._start_align, | | text_align = self._args[self._custom_row_prefix .. custom_row_key .. self._text_align_suffix] or self._start_align, |
| bg_color = self._args[self._custom_row_prefix .. custom_row_key .. self._bg_color_suffix] or self._transparent, | | bg_color = self._args[self._custom_row_prefix .. custom_row_key .. self._bg_color_suffix] or self._transparent, |