Permalink
Browse files

Speed up loading of mythbackend webserver front page

Instead of displaying the heavyweight overview.qsp page which displays
a gallery of preview images, etc., display the lightweight backend
status html as the default content to speed up loading.  Most users
aren't hitting the backend webserver to view previews.
  • Loading branch information...
1 parent 5f90b1d commit 79d3aa265033c0ac8199983fd854080b7f332202 @cpinkham cpinkham committed Oct 10, 2012
Showing with 4 additions and 1 deletion.
  1. +1 −1 mythtv/html/index.html
  2. +3 −0 mythtv/html/menu.qsp
@@ -32,7 +32,7 @@
loadDiv("menu-bg", "/menu.qsp");
$('.menu').initMenu();
showHostName();
- loadContent("/misc/overview.qsp");
+ loadContent('/Status/GetStatusHTML');
});
</script>
@@ -42,6 +42,9 @@
-->
<li><a href='#'><i18n>Information</i18n></a>
<ul class="acitem collapsible">
+<!--
+ <li><a class='menuitem' href='#' onClick="javascript:loadContent('/misc/overview.qsp')"><i18n>Overview</i18n></a></li>
+-->
<li><a class='menuitem' href='#' onClick="javascript:loadContent('/Status/GetStatusHTML')"><i18n>Backend Status</i18n></a></li>
<li><a class='menuitem' href='#' onClick="javascript:loadMiscPage('viewlogs')"><i18n>View Logs</i18n></a></li>
</ul>

0 comments on commit 79d3aa2

Please sign in to comment.