Wed, 31 Dec 2014 06:09:35 +0100
Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.
michael@0 | 1 | <?xml version="1.0" encoding="UTF-8"?> |
michael@0 | 2 | <!-- This Source Code Form is subject to the terms of the Mozilla Public |
michael@0 | 3 | - License, v. 2.0. If a copy of the MPL was not distributed with this |
michael@0 | 4 | - file, You can obtain one at http://mozilla.org/MPL/2.0/. --> |
michael@0 | 5 | <!DOCTYPE html [ |
michael@0 | 6 | <!ENTITY % appMgrDTD SYSTEM "chrome://browser/locale/devtools/app-manager.dtd" > |
michael@0 | 7 | %appMgrDTD; |
michael@0 | 8 | ]> |
michael@0 | 9 | |
michael@0 | 10 | |
michael@0 | 11 | <html xmlns="http://www.w3.org/1999/xhtml"> |
michael@0 | 12 | |
michael@0 | 13 | <head> |
michael@0 | 14 | <meta charset="utf8"/> |
michael@0 | 15 | <base href="chrome://browser/content/devtools/app-manager/"></base> |
michael@0 | 16 | <title>&device.title;</title> |
michael@0 | 17 | <link rel="stylesheet" href="chrome://browser/skin/devtools/app-manager/device.css" type="text/css"/> |
michael@0 | 18 | </head> |
michael@0 | 19 | |
michael@0 | 20 | <body onload="UI.init()"> |
michael@0 | 21 | |
michael@0 | 22 | <div id="notConnectedMessage"><span>&device.notConnected;</span></div> |
michael@0 | 23 | |
michael@0 | 24 | <section id="content"> |
michael@0 | 25 | <aside id="sidebar"> |
michael@0 | 26 | <div id="meta"> |
michael@0 | 27 | <header> |
michael@0 | 28 | <h1> |
michael@0 | 29 | <span template='{"type":"textContent","path":"device.description.name"}'></span> |
michael@0 | 30 | <span template='{"type":"textContent","path":"device.description.version"}'></span> |
michael@0 | 31 | <span template='{"type":"textContent","path":"device.description.channel"}'></span> |
michael@0 | 32 | </h1> |
michael@0 | 33 | <h3> |
michael@0 | 34 | <span>Gecko </span> |
michael@0 | 35 | <span template='{"type":"textContent","path":"device.description.geckoversion"}'></span> |
michael@0 | 36 | </h3> |
michael@0 | 37 | <p template='{"type":"localizedContent","property":"device.deviceSize", "paths":["device.description.width","device.description.height","device.description.dpi"]}'></p> |
michael@0 | 38 | <button id="root-actor-debug" hidden="true" onclick="UI.openToolboxForRootActor()" title="&device.debugMainProcessTooltip;">&device.debugMainProcess;</button> |
michael@0 | 39 | </header> |
michael@0 | 40 | <div id="tabs-headers"> |
michael@0 | 41 | <div onclick="UI.setTab('apps')" class="tab sidebar-item apps" title="&device.installedAppsTooltip;">&device.installedApps;</div> |
michael@0 | 42 | <div onclick="UI.setTab('permissions')" class="tab sidebar-item permissions" title="&device.permissionsTooltip;"> |
michael@0 | 43 | &device.permissions; |
michael@0 | 44 | <a target="_blank" href="&device.permissionsHelpLink;"> |
michael@0 | 45 | <button class="help">&device.help;</button> |
michael@0 | 46 | </a> |
michael@0 | 47 | </div> |
michael@0 | 48 | <div onclick="UI.setTab('browser-tabs')" class="tab sidebar-item browser-tabs" title="&device.browserTabsTooltip;">&device.browserTabs;</div> |
michael@0 | 49 | </div> |
michael@0 | 50 | </div> |
michael@0 | 51 | </aside> |
michael@0 | 52 | <section id="detail"> |
michael@0 | 53 | <div id="tabs"> |
michael@0 | 54 | <div class="tabpanel apps"> |
michael@0 | 55 | <div class="app-list" template-loop='{"arrayPath":"apps.all","childSelector":"#app-template"}'></div> |
michael@0 | 56 | </div> |
michael@0 | 57 | <div class="tabpanel permissions permission-table"> |
michael@0 | 58 | <div class="permission-table-header"> |
michael@0 | 59 | <div>&device.name;</div> |
michael@0 | 60 | <div title="type:'web'">&device.plain;</div> |
michael@0 | 61 | <div title="type:'privileged'">&device.privileged;</div> |
michael@0 | 62 | <div title="type:'certified'">&device.certified;</div> |
michael@0 | 63 | </div> |
michael@0 | 64 | <div class="permission-table-body" > |
michael@0 | 65 | <section template-loop='{"arrayPath":"device.permissions","childSelector":"#permission-template"}'></section> |
michael@0 | 66 | </div> |
michael@0 | 67 | <div class="permission-table-footer"> |
michael@0 | 68 | <div class="allow-label" title="&device.allowTooltip;">&device.allow;</div> |
michael@0 | 69 | <div class="prompt-label" title="&device.promptTooltip;">&device.prompt;</div> |
michael@0 | 70 | <div class="deny-label" title="&device.denyTooltip;">&device.deny;</div> |
michael@0 | 71 | </div> |
michael@0 | 72 | </div> |
michael@0 | 73 | <div class="tabpanel browser-tabs"> |
michael@0 | 74 | <section template-loop='{"arrayPath":"device.tabs","childSelector":"#browser-tab-template"}'></section> |
michael@0 | 75 | </div> |
michael@0 | 76 | </div> |
michael@0 | 77 | </section> |
michael@0 | 78 | </section> |
michael@0 | 79 | <iframe id="connection-footer" hidden="true"></iframe> |
michael@0 | 80 | </body> |
michael@0 | 81 | |
michael@0 | 82 | <template id="permission-template"> |
michael@0 | 83 | <div class="permission"> |
michael@0 | 84 | <div template='{"type":"textContent","path":"name"}'></div> |
michael@0 | 85 | <div template='{"type":"attribute", "name":"permission", "path":"app"}'></div> |
michael@0 | 86 | <div template='{"type":"attribute", "name":"permission", "path":"privileged"}'></div> |
michael@0 | 87 | <div template='{"type":"attribute", "name":"permission", "path":"certified"}'></div> |
michael@0 | 88 | </div> |
michael@0 | 89 | </template> |
michael@0 | 90 | |
michael@0 | 91 | <template id="browser-tab-template"> |
michael@0 | 92 | <div class="browser-tab"> |
michael@0 | 93 | <div class="browser-tab-details"> |
michael@0 | 94 | <p template='{"type":"textContent","path":"title"}'></p> |
michael@0 | 95 | <p class="browser-tab-url-subheading" template='{"type":"textContent","path":"url"}'></p> |
michael@0 | 96 | </div> |
michael@0 | 97 | <div class="browser-tab-buttons"> |
michael@0 | 98 | <button class="button-debug" template='{"type":"attribute","path":"actor","name":"data-actor"}' onclick="UI.openToolboxForTab(this)" style="display: inline-block;" title="&device.debugBrowserTabTooltip;">&device.debugBrowserTab;</button> |
michael@0 | 99 | </div> |
michael@0 | 100 | </div> |
michael@0 | 101 | </template> |
michael@0 | 102 | |
michael@0 | 103 | <template id="app-template"> |
michael@0 | 104 | <div class="app" template='{"type":"attribute","path":"running","name":"running"}'> |
michael@0 | 105 | <img class="app-icon" template='{"type":"attribute","path":"iconURL","name":"src"}'></img> |
michael@0 | 106 | <span class="app-name" template='{"type":"textContent","path":"name"}'></span> |
michael@0 | 107 | <div class="app-buttons"> |
michael@0 | 108 | <button class="button-debug" template='{"type":"attribute","path":"manifestURL","name":"data-manifest"}' onclick="UI.openToolboxForApp(this.dataset.manifest)" title="&device.debugAppTooltip;">&device.debugApp;</button> |
michael@0 | 109 | <button class="button-start" template='{"type":"attribute","path":"manifestURL","name":"data-manifest"}' onclick="UI.startApp(this.dataset.manifest)" title="&device.startAppTooltip;">&device.startApp;</button> |
michael@0 | 110 | <button class="button-stop" template='{"type":"attribute","path":"manifestURL","name":"data-manifest"}' onclick="UI.stopApp(this.dataset.manifest)" title="&device.stopAppTooltip;">&device.stopApp;</button> |
michael@0 | 111 | </div> |
michael@0 | 112 | </div> |
michael@0 | 113 | </template> |
michael@0 | 114 | |
michael@0 | 115 | <script type="application/javascript;version=1.8" src="utils.js"></script> |
michael@0 | 116 | <script type="application/javascript;version=1.8" src="template.js"></script> |
michael@0 | 117 | <script type="application/javascript;version=1.8" src="device.js"></script> |
michael@0 | 118 | |
michael@0 | 119 | </html> |