Skip to content

Commit

Permalink
Speed up loading of mythbackend webserver front page
Browse files Browse the repository at this point in the history
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
cpinkham committed Oct 10, 2012
1 parent 5f90b1d commit 79d3aa2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion mythtv/html/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
loadDiv("menu-bg", "/menu.qsp");
$('.menu').initMenu();
showHostName();
loadContent("/misc/overview.qsp");
loadContent('/Status/GetStatusHTML');
});

</script>
Expand Down
3 changes: 3 additions & 0 deletions mythtv/html/menu.qsp
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 79d3aa2

Please sign in to comment.