mirror of
https://github.com/webmin/webmin.git
synced 2026-06-04 20:30:22 +01:00
Add UI API to make div element
This commit is contained in:
File diff suppressed because one or more lines are too long
12
ui-lib.pl
12
ui-lib.pl
@@ -3015,6 +3015,18 @@ $rv .= "</details>";
|
||||
return $rv;
|
||||
}
|
||||
|
||||
=head2 ui_div(data)
|
||||
|
||||
Returns passed HTML as div element
|
||||
|
||||
=cut
|
||||
sub ui_div
|
||||
{
|
||||
return &theme_ui_div(@_) if (defined(&theme_ui_div));
|
||||
my ($data) = @_;
|
||||
return &ui_tag('div', $data, { 'class' => 'ui_div' });
|
||||
}
|
||||
|
||||
=head2 ui_div_row(label, content)
|
||||
|
||||
Prints a row without using a table and
|
||||
|
||||
Reference in New Issue
Block a user