mirror of
https://github.com/webmin/webmin.git
synced 2026-05-04 22:30:33 +01:00
UI cleanup
This commit is contained in:
@@ -9,7 +9,7 @@ require './webmin-lib.pl';
|
||||
print $text{'access_desc'},"<p>\n";
|
||||
|
||||
print &ui_form_start("change_access.cgi", "post");
|
||||
print &ui_table_start($text{'access_header'}, undef, 2);
|
||||
print &ui_table_start($text{'access_header'}, undef, 2, [ "width=30%" ]);
|
||||
|
||||
$access = $miniserv{"allow"} ? 1 : $miniserv{"deny"} ? 2 : 0;
|
||||
print &ui_table_row($text{'access_ip'},
|
||||
|
||||
@@ -9,7 +9,7 @@ require './webmin-lib.pl';
|
||||
print $text{'bind_desc'},"<p>\n";
|
||||
|
||||
print &ui_form_start("change_bind.cgi", "post");
|
||||
print &ui_table_start($text{'bind_header'}, undef, 2);
|
||||
print &ui_table_start($text{'bind_header'}, undef, 2, [ "width=30%" ]);
|
||||
|
||||
# Build list of sockets
|
||||
@sockets = &get_miniserv_sockets(\%miniserv);
|
||||
|
||||
@@ -8,7 +8,7 @@ require './webmin-lib.pl';
|
||||
print $text{'lang_intro'},"<p>\n";
|
||||
|
||||
print &ui_form_start("change_lang.cgi", "post");
|
||||
print &ui_table_start($text{'lang_title2'}, undef, 2);
|
||||
print &ui_table_start($text{'lang_title2'}, undef, 2, [ "width=30%" ]);
|
||||
|
||||
# Language
|
||||
$clang = $gconfig{'lang'} ? $gconfig{'lang'} : $default_lang;
|
||||
|
||||
@@ -9,7 +9,7 @@ print $text{'os_desc3'},"<br>\n";
|
||||
print $text{'os_desc2'},"<p>\n";
|
||||
|
||||
print &ui_form_start("change_os.cgi", "post");
|
||||
print &ui_table_start($text{'os_header'}, undef, 2);
|
||||
print &ui_table_start($text{'os_header'}, undef, 2, [ "width=30%" ]);
|
||||
|
||||
# OS according to Webmin
|
||||
print &ui_table_row($text{'os_webmin'},
|
||||
|
||||
@@ -14,7 +14,7 @@ print &ui_tabs_start(\@tabs, "pd", $in{'mode'} || "proxy", 1);
|
||||
print &ui_tabs_start_tab("pd", "proxy");
|
||||
print $text{'proxy_desc'},"<p>\n";
|
||||
print &ui_form_start("change_proxy.cgi", "post");
|
||||
print &ui_table_start($text{'proxy_header'}, undef, 2);
|
||||
print &ui_table_start($text{'proxy_header'}, undef, 2, [ "width=30%" ]);
|
||||
|
||||
# HTTP proxy
|
||||
print &ui_table_row($text{'proxy_http'},
|
||||
@@ -52,7 +52,7 @@ print &ui_tabs_end_tab();
|
||||
print &ui_tabs_start_tab("pd", "down");
|
||||
print $text{'proxy_desc2'},"<p>\n";
|
||||
print &ui_form_start("change_osdn.cgi");
|
||||
print &ui_table_start($text{'proxy_header2'}, undef, 2);
|
||||
print &ui_table_start($text{'proxy_header2'}, undef, 2, [ "width=30%" ]);
|
||||
|
||||
if ($config{'osdn'}) {
|
||||
# Show list of mirrors to choose from
|
||||
|
||||
@@ -8,7 +8,7 @@ require './webmin-lib.pl';
|
||||
print $text{'startpage_intro2'},"<p>\n";
|
||||
|
||||
print &ui_form_start("change_startpage.cgi", "post");
|
||||
print &ui_table_start($text{'startpage_title'}, undef, 2);
|
||||
print &ui_table_start($text{'startpage_title'}, undef, 2, [ "width=30%" ]);
|
||||
|
||||
print &ui_table_row($text{'startpage_nocol'},
|
||||
&ui_opt_textbox("nocols", $gconfig{'nocols'}, 5, $text{'default'}));
|
||||
|
||||
@@ -8,7 +8,7 @@ require './webmin-lib.pl';
|
||||
print $text{'ui_desc'},"<p>\n";
|
||||
|
||||
print &ui_form_start("change_ui.cgi", "post");
|
||||
print &ui_table_start($text{'ui_header'}, undef, 2);
|
||||
print &ui_table_start($text{'ui_header'}, undef, 2, [ "width=30%" ]);
|
||||
|
||||
for($i=0; $i<@cs_names; $i++) {
|
||||
$cd = $cs_codes[$i];
|
||||
@@ -41,6 +41,8 @@ print &ui_table_row($text{'ui_feedbackmode'},
|
||||
[ [ 0, $text{'yes'} ], [ 1, $text{'ui_feednocc'} ],
|
||||
[ 2, $text{'no'} ] ]));
|
||||
|
||||
# XXX date display format
|
||||
|
||||
print &ui_table_row($text{'ui_width'},
|
||||
&ui_opt_textbox("width", $gconfig{'help_width'}, 5,
|
||||
"$text{'default'} (400)"));
|
||||
|
||||
Reference in New Issue
Block a user