pref-feeds: keep toolbar on top

This commit is contained in:
Andrew Dolgov 2011-11-10 16:39:26 +04:00
parent 79916c2fb3
commit 59889f3641

View file

@ -1277,6 +1277,10 @@
print "<div dojoType=\"dijit.layout.AccordionContainer\" region=\"center\">"; print "<div dojoType=\"dijit.layout.AccordionContainer\" region=\"center\">";
print "<div id=\"pref-feeds-feeds\" dojoType=\"dijit.layout.AccordionPane\" title=\"".__('Feeds')."\">"; print "<div id=\"pref-feeds-feeds\" dojoType=\"dijit.layout.AccordionPane\" title=\"".__('Feeds')."\">";
/* print "<div dojoType=\"dijit.layout.BorderContainer\">";
print "<
print "</div>"; */
$result = db_query($link, "SELECT COUNT(id) AS num_errors $result = db_query($link, "SELECT COUNT(id) AS num_errors
FROM ttrss_feeds WHERE last_error != '' AND owner_uid = ".$_SESSION["uid"]); FROM ttrss_feeds WHERE last_error != '' AND owner_uid = ".$_SESSION["uid"]);
@ -1320,7 +1324,9 @@
$feed_search = $_SESSION["prefs_feed_search"]; $feed_search = $_SESSION["prefs_feed_search"];
} }
print "<div dojoType=\"dijit.Toolbar\">"; print '<div dojoType="dijit.layout.BorderContainer" gutters="false">';
print "<div region='top' dojoType=\"dijit.Toolbar\">"; #toolbar
print "<div style='float : right; padding-right : 4px;'> print "<div style='float : right; padding-right : 4px;'>
<input dojoType=\"dijit.form.TextBox\" id=\"feed_search\" size=\"20\" type=\"search\" <input dojoType=\"dijit.form.TextBox\" id=\"feed_search\" size=\"20\" type=\"search\"
@ -1387,6 +1393,9 @@
print "</div>"; # toolbar print "</div>"; # toolbar
//print '</div>';
print '<div dojoType="dijit.layout.ContentPane" region="center">';
print "<div id=\"feedlistLoading\"> print "<div id=\"feedlistLoading\">
<img src='images/indicator_tiny.gif'>". <img src='images/indicator_tiny.gif'>".
__("Loading, please wait...")."</div>"; __("Loading, please wait...")."</div>";
@ -1421,6 +1430,11 @@
".__('<b>Hint:</b> you can drag feeds and categories around.')." ".__('<b>Hint:</b> you can drag feeds and categories around.')."
</div>"; </div>";
print "TEST";
print '</div>';
print '</div>';
print "</div>"; # feeds pane print "</div>"; # feeds pane
print "<div dojoType=\"dijit.layout.AccordionPane\" title=\"".__('OPML')."\">"; print "<div dojoType=\"dijit.layout.AccordionPane\" title=\"".__('OPML')."\">";