mirror of
https://git.tt-rss.org/fox/tt-rss.git
synced 2025-10-07 23:41:00 +02:00
small dialog tweaks to better center elements vertically
This commit is contained in:
parent
247bb1bf46
commit
bcf5ed46e3
@ -262,7 +262,7 @@
|
|||||||
placeHolder=\"".__("Feed URL")."\"
|
placeHolder=\"".__("Feed URL")."\"
|
||||||
dojoType=\"dijit.form.ValidationTextBox\" required=\"1\" name=\"feed\" id=\"feedDlg_feedUrl\">";
|
dojoType=\"dijit.form.ValidationTextBox\" required=\"1\" name=\"feed\" id=\"feedDlg_feedUrl\">";
|
||||||
|
|
||||||
print "<br/>";
|
print "<hr/>";
|
||||||
|
|
||||||
if (get_pref($link, 'ENABLE_FEED_CATS')) {
|
if (get_pref($link, 'ENABLE_FEED_CATS')) {
|
||||||
print __('Place in category:') . " ";
|
print __('Place in category:') . " ";
|
||||||
@ -399,7 +399,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
print "<br/>".__('Limit search to:')." ";
|
print "<hr/>".__('Limit search to:')." ";
|
||||||
|
|
||||||
print "<select name=\"search_mode\" dojoType=\"dijit.form.Select\">
|
print "<select name=\"search_mode\" dojoType=\"dijit.form.Select\">
|
||||||
<option value=\"all_feeds\">".__('All feeds')."</option>";
|
<option value=\"all_feeds\">".__('All feeds')."</option>";
|
||||||
@ -481,11 +481,11 @@
|
|||||||
__('Check it')."</button>";
|
__('Check it')."</button>";
|
||||||
print "</span>";
|
print "</span>";
|
||||||
|
|
||||||
print "<br/>" . __("on field") . " ";
|
print "<hr/>" . __("on field") . " ";
|
||||||
print_select_hash("filter_type", 1, $filter_types,
|
print_select_hash("filter_type", 1, $filter_types,
|
||||||
'onchange="filterDlgCheckType(this)" dojoType="dijit.form.Select"');
|
'onchange="filterDlgCheckType(this)" dojoType="dijit.form.Select"');
|
||||||
|
|
||||||
print "<br/>";
|
print "<hr/>";
|
||||||
|
|
||||||
print __("in") . " ";
|
print __("in") . " ";
|
||||||
print_feed_select($link, "feed_id", $active_feed_id,
|
print_feed_select($link, "feed_id", $active_feed_id,
|
||||||
@ -528,7 +528,7 @@
|
|||||||
print "<div class=\"dlgSecCont\">";
|
print "<div class=\"dlgSecCont\">";
|
||||||
|
|
||||||
print "<input dojoType=\"dijit.form.CheckBox\" type=\"checkbox\" name=\"enabled\" id=\"enabled\" checked=\"1\">
|
print "<input dojoType=\"dijit.form.CheckBox\" type=\"checkbox\" name=\"enabled\" id=\"enabled\" checked=\"1\">
|
||||||
<label for=\"enabled\">".__('Enabled')."</label><br/>";
|
<label for=\"enabled\">".__('Enabled')."</label><hr/>";
|
||||||
|
|
||||||
print "<input dojoType=\"dijit.form.CheckBox\" type=\"checkbox\" name=\"inverse\" id=\"inverse\">
|
print "<input dojoType=\"dijit.form.CheckBox\" type=\"checkbox\" name=\"inverse\" id=\"inverse\">
|
||||||
<label for=\"inverse\">".__('Inverse match')."</label>";
|
<label for=\"inverse\">".__('Inverse match')."</label>";
|
||||||
|
@ -274,7 +274,7 @@
|
|||||||
$feed_url = htmlspecialchars(db_fetch_result($result,
|
$feed_url = htmlspecialchars(db_fetch_result($result,
|
||||||
0, "feed_url"));
|
0, "feed_url"));
|
||||||
|
|
||||||
print "<br/>";
|
print "<hr/>";
|
||||||
|
|
||||||
print __('URL:') . " ";
|
print __('URL:') . " ";
|
||||||
print "<input dojoType=\"dijit.form.ValidationTextBox\" required=\"1\"
|
print "<input dojoType=\"dijit.form.ValidationTextBox\" required=\"1\"
|
||||||
@ -288,7 +288,7 @@
|
|||||||
|
|
||||||
$cat_id = db_fetch_result($result, 0, "cat_id");
|
$cat_id = db_fetch_result($result, 0, "cat_id");
|
||||||
|
|
||||||
print "<br/>";
|
print "<hr/>";
|
||||||
|
|
||||||
print __('Place in category:') . " ";
|
print __('Place in category:') . " ";
|
||||||
|
|
||||||
@ -323,7 +323,7 @@
|
|||||||
|
|
||||||
/* Purge intl */
|
/* Purge intl */
|
||||||
|
|
||||||
print "<br/>";
|
print "<hr/>";
|
||||||
|
|
||||||
print __('Article purging:') . " ";
|
print __('Article purging:') . " ";
|
||||||
|
|
||||||
@ -347,7 +347,7 @@
|
|||||||
|
|
||||||
print "<input dojoType=\"dijit.form.TextBox\"
|
print "<input dojoType=\"dijit.form.TextBox\"
|
||||||
placeHolder=\"".__("Login")."\"
|
placeHolder=\"".__("Login")."\"
|
||||||
name=\"auth_login\" value=\"$auth_login\"><br/>";
|
name=\"auth_login\" value=\"$auth_login\"><hr/>";
|
||||||
|
|
||||||
# print "</tr><tr><td>" . __("Password:") . "</td><td>";
|
# print "</tr><tr><td>" . __("Password:") . "</td><td>";
|
||||||
|
|
||||||
@ -384,7 +384,7 @@
|
|||||||
$checked = "";
|
$checked = "";
|
||||||
}
|
}
|
||||||
|
|
||||||
print "<br/><input dojoType=\"dijit.form.CheckBox\" type=\"checkbox\" id=\"rtl_content\" name=\"rtl_content\"
|
print "<hr/><input dojoType=\"dijit.form.CheckBox\" type=\"checkbox\" id=\"rtl_content\" name=\"rtl_content\"
|
||||||
$checked> <label for=\"rtl_content\">".__('Right-to-left content')."</label>";
|
$checked> <label for=\"rtl_content\">".__('Right-to-left content')."</label>";
|
||||||
|
|
||||||
$include_in_digest = sql_bool_to_bool(db_fetch_result($result, 0, "include_in_digest"));
|
$include_in_digest = sql_bool_to_bool(db_fetch_result($result, 0, "include_in_digest"));
|
||||||
@ -395,7 +395,7 @@
|
|||||||
$checked = "";
|
$checked = "";
|
||||||
}
|
}
|
||||||
|
|
||||||
print "<br/><input dojoType=\"dijit.form.CheckBox\" type=\"checkbox\" id=\"include_in_digest\"
|
print "<hr/><input dojoType=\"dijit.form.CheckBox\" type=\"checkbox\" id=\"include_in_digest\"
|
||||||
name=\"include_in_digest\"
|
name=\"include_in_digest\"
|
||||||
$checked> <label for=\"include_in_digest\">".__('Include in e-mail digest')."</label>";
|
$checked> <label for=\"include_in_digest\">".__('Include in e-mail digest')."</label>";
|
||||||
|
|
||||||
@ -408,7 +408,7 @@
|
|||||||
$checked = "";
|
$checked = "";
|
||||||
}
|
}
|
||||||
|
|
||||||
print "<br/><input dojoType=\"dijit.form.CheckBox\" type=\"checkbox\" id=\"always_display_enclosures\"
|
print "<hr/><input dojoType=\"dijit.form.CheckBox\" type=\"checkbox\" id=\"always_display_enclosures\"
|
||||||
name=\"always_display_enclosures\"
|
name=\"always_display_enclosures\"
|
||||||
$checked> <label for=\"always_display_enclosures\">".__('Always display image attachments')."</label>";
|
$checked> <label for=\"always_display_enclosures\">".__('Always display image attachments')."</label>";
|
||||||
|
|
||||||
@ -421,7 +421,7 @@
|
|||||||
$checked = "";
|
$checked = "";
|
||||||
}
|
}
|
||||||
|
|
||||||
print "<br/><input dojoType=\"dijit.form.CheckBox\" type=\"checkbox\" id=\"cache_images\"
|
print "<hr/><input dojoType=\"dijit.form.CheckBox\" type=\"checkbox\" id=\"cache_images\"
|
||||||
name=\"cache_images\"
|
name=\"cache_images\"
|
||||||
$checked> <label for=\"cache_images\">".
|
$checked> <label for=\"cache_images\">".
|
||||||
__('Cache images locally (SimplePie only)')."</label>";
|
__('Cache images locally (SimplePie only)')."</label>";
|
||||||
@ -432,8 +432,6 @@
|
|||||||
|
|
||||||
/* Icon */
|
/* Icon */
|
||||||
|
|
||||||
print "<br/>";
|
|
||||||
|
|
||||||
print "<div class=\"dlgSec\">".__("Icon")."</div>";
|
print "<div class=\"dlgSec\">".__("Icon")."</div>";
|
||||||
print "<div class=\"dlgSecCont\">";
|
print "<div class=\"dlgSecCont\">";
|
||||||
|
|
||||||
|
@ -164,11 +164,11 @@
|
|||||||
__('Check it')."</button>";
|
__('Check it')."</button>";
|
||||||
print "</span>";
|
print "</span>";
|
||||||
|
|
||||||
print "<br/> " . __("on field") . " ";
|
print "<hr/> " . __("on field") . " ";
|
||||||
print_select_hash("filter_type", $filter_type, $filter_types,
|
print_select_hash("filter_type", $filter_type, $filter_types,
|
||||||
'onchange="filterDlgCheckType(this)" dojoType="dijit.form.Select"');
|
'onchange="filterDlgCheckType(this)" dojoType="dijit.form.Select"');
|
||||||
|
|
||||||
print "<br/>";
|
print "<hr/>";
|
||||||
|
|
||||||
print __("in") . " ";
|
print __("in") . " ";
|
||||||
print_feed_select($link, "feed_id", $feed_id,
|
print_feed_select($link, "feed_id", $feed_id,
|
||||||
@ -228,7 +228,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
print "<input dojoType=\"dijit.form.CheckBox\" type=\"checkbox\" name=\"enabled\" id=\"enabled\" $checked>
|
print "<input dojoType=\"dijit.form.CheckBox\" type=\"checkbox\" name=\"enabled\" id=\"enabled\" $checked>
|
||||||
<label for=\"enabled\">".__('Enabled')."</label><br/>";
|
<label for=\"enabled\">".__('Enabled')."</label><hr/>";
|
||||||
|
|
||||||
if ($inverse) {
|
if ($inverse) {
|
||||||
$checked = "checked=\"1\"";
|
$checked = "checked=\"1\"";
|
||||||
|
11
tt-rss.css
11
tt-rss.css
@ -1273,9 +1273,16 @@ div.dlgSecCont {
|
|||||||
font-weight : normal;
|
font-weight : normal;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
div.dlgSecCont hr {
|
||||||
|
height : 0px;
|
||||||
|
line-height : 0px;
|
||||||
|
border : 0px solid transparent;
|
||||||
|
margin : 2px;
|
||||||
|
}
|
||||||
|
|
||||||
div.dlgSecCont > * {
|
div.dlgSecCont > * {
|
||||||
margin-top : 4px;
|
position : relative;
|
||||||
vertical-align : bottom;
|
top : -2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
div.dlgButtons {
|
div.dlgButtons {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user