Commit f2bf3181 authored by sergeyu@chromium.org's avatar sergeyu@chromium.org

Show proper message when host list is empty.

host-list-empty was placed inside of daemon-control, so it was not
visible when daemon-control div was not visible.

BUG=384053
R=jamiewalch@chromium.org, kelvinp@chromium.org

Review URL: https://codereview.chromium.org/345773005

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@278739 0039d316-1c4b-4281-b951-d872f2087c98
parent 30460f4d
......@@ -41,6 +41,19 @@ found in the LICENSE file.
id="host-list-refresh-failed-button"></button>
</div>
<div id="host-list-empty" hidden>
<div id="host-list-empty-hosting-supported"
class="host-list-empty-instructions"
i18n-content="HOST_LIST_EMPTY_HOSTING_SUPPORTED"
i18n-value-name-1="HOME_DAEMON_START_BUTTON">
</div>
<div id="host-list-empty-hosting-unsupported"
class="host-list-empty-instructions"
i18n-content="HOST_LIST_EMPTY_HOSTING_UNSUPPORTED"
i18n-value-name-1="HOME_DAEMON_START_BUTTON">
</div>
</div>
<div id="daemon-control" data-daemon-state="enabled disabled" hidden>
<div class="section-row no-non-local-hosts"
data-daemon-state="disabled">
......@@ -88,18 +101,6 @@ found in the LICENSE file.
i18n-content="HOME_DAEMON_MANAGE_PAIRINGS"></a>
</div>
</div> <!-- enabled -->
<div id="host-list-empty" hidden>
<div id="host-list-empty-hosting-supported"
class="host-list-empty-instructions"
i18n-content="HOST_LIST_EMPTY_HOSTING_SUPPORTED"
i18n-value-name-1="HOME_DAEMON_START_BUTTON">
</div>
<div id="host-list-empty-hosting-unsupported"
class="host-list-empty-instructions"
i18n-content="HOST_LIST_EMPTY_HOSTING_UNSUPPORTED"
i18n-value-name-1="HOME_DAEMON_START_BUTTON">
</div>
</div>
</div> <!-- daemon-control -->
</div> <!-- me2me-content -->
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment