1 <!-- 2 Copyright (c) 2014 The Chromium Authors. All rights reserved. 3 Use of this source code is governed by a BSD-style license that can be 4 found in the LICENSE file. 5 --> 6 <!-- It2Me Sharing --> 7 <div id="host-dialog" 8 class="kd-modaldialog" 9 data-ui-mode="home.host"> 10 11 <div data-ui-mode="home.host.waiting-for-code" class="message" 12 i18n-content="MESSAGE_GENERATING"> 13 </div> <!-- host.waiting-for-code --> 14 15 <div data-ui-mode="home.host.waiting-for-connection"> 16 <div i18n-content="INSTRUCTIONS_SHARE_ABOVE"></div> 17 <div id="access-code-display" dir="ltr" class="selectable"></div> 18 <div id="access-code-countdown-container"> 19 <div id="access-code-countdown" class="expiring" hidden> 20 <span id="seconds-remaining" 21 i18n-content="ACCESS_CODE_TIMER"></span> 22 </div> 23 </div> 24 <div i18n-content="INSTRUCTIONS_SHARE_BELOW"></div> 25 </div> <!-- host.waiting-for-connection --> 26 27 <div data-ui-mode="home.host.shared"> 28 <div id="host-shared-message" class="message" 29 i18n-content="MESSAGE_SHARED"></div> 30 <div class="button-row"> 31 <button id="stop-sharing-button" 32 type="button" 33 i18n-content="STOP_SHARING_BUTTON"> 34 </button> 35 </div> 36 </div> <!-- host.shared --> 37 38 <div data-ui-mode="home.host.share-failed" class="message"> 39 <span id="host-plugin-error" class="error-state"></span> 40 </div> <!-- host.share-failed --> 41 42 <div data-ui-mode="home.host.share-finished" class="message" 43 i18n-content="MESSAGE_SESSION_FINISHED"> 44 </div> <!-- host.share-finished --> 45 46 <div data-ui-mode="home.host.share-failed home.host.share-finished" 47 class="button-row"> 48 <button id="host-finished-button" 49 type="button" 50 autofocus="autofocus" 51 i18n-content="OK"> 52 </button> 53 </div> 54 55 <div id="nat-box" 56 class="information-box" 57 data-ui-mode="home.host.waiting-for-connection" 58 i18n-content="WARNING_NAT_DISABLED"> 59 </div> <!-- nat-box --> 60 61 <div data-ui-mode="home.host.waiting-for-connection home.host.waiting-for-code" 62 class="button-row"> 63 <span class="waiting" i18n-content="FOOTER_WAITING"></span> 64 <button id="cancel-share-button" i18n-content="CANCEL"></button> 65 </div> 66 67 </div> <!-- host dialog --> 68