http://git-wip-us.apache.org/repos/asf/cordova-app-harness/blob/9946d322/www/cdvah_views/add.html ---------------------------------------------------------------------- diff --git a/www/cdvah_views/add.html b/www/cdvah_views/add.html deleted file mode 100644 index d49ef54..0000000 --- a/www/cdvah_views/add.html +++ /dev/null @@ -1,24 +0,0 @@ -<form name="addForm" ng-controller="AddCtrl"> - <label>How to retrieve the app:<br> - <select ng-model="appData.installerType" /> - <option value="serve">cordova serve</option> - <option value="cdvh">.cdvh file</option> - </select> - </label> - <div ng-show="appData.installerType == 'serve'"> - <label>Enter server URL<br> - <input class="topcoat-text-input" type="text" ng-model="appData.appUrl" autocorrect="off" autocapitalize="off" /> - <button class="topcoat-button" ng-click="fetchQR(appData, 'appUrl')" ng-show="qr_enabled">Scan QR Code</button><br> - </label> - </div> - <div ng-show="appData.installerType == 'cdvh'"> - <label>Enter URL<br> - <input class="topcoat-text-input" type="text" ng-model="appData.appUrl" autocorrect="off" autocapitalize="off" /> - <button class="topcoat-button" ng-click="fetchQR(appData, 'appUrl')" ng-show="qr_enabled">Scan QR Code</button><br> - </label> - </div> - <div class="buttons"> - <button class="topcoat-button--cta" ng-click="addApp()">Add</button> - <a href="#/"><button class="topcoat-button" ng-click="back()">Back</button></a> - </div> -</form>
http://git-wip-us.apache.org/repos/asf/cordova-app-harness/blob/9946d322/www/cdvah_views/list.html ---------------------------------------------------------------------- diff --git a/www/cdvah_views/list.html b/www/cdvah_views/list.html deleted file mode 100644 index e6b80e1..0000000 --- a/www/cdvah_views/list.html +++ /dev/null @@ -1,17 +0,0 @@ -<div class="topcoat-list__container"> - <h3 class="topcoat-list__header">Installed Apps</h3> - <ul class="topcoat-list"> - <li class="topcoat-list__item" ng-repeat="app in appList"> - <p>{{app.appId}}</p> - <p>Last updated: {{app.lastUpdated || 'never'}}</p> - <button ng-click="launchApp(app)">Launch</button> - <button ng-click="updateApp(app)">Update</button> - <button ng-click="removeApp(app)">Remove</button> - </li> - </ul> -</div> -<br /> -<div class="buttons"> - <a href="#/add"><button class="topcoat-button--cta">Add app</button></a> - <button class="topcoat-button" ng-click="loadAppsList()">Reload</button> -</div> http://git-wip-us.apache.org/repos/asf/cordova-app-harness/blob/9946d322/www/cdvahcm/ContextMenu.js ---------------------------------------------------------------------- diff --git a/www/cdvahcm/ContextMenu.js b/www/cdvahcm/ContextMenu.js new file mode 100644 index 0000000..0a7e433 --- /dev/null +++ b/www/cdvahcm/ContextMenu.js @@ -0,0 +1,123 @@ +(function () { + + function initialise() { + setupIframe(); + sendAppNameToIframe(); + setupIframeMessaging(); + //loadFirebug(false); + attachErrorListener(); + } + + var contextMenuIframe = "__cordovaappharness_contextMenu_iframe"; + function setupIframe(){ + var contextHTMLUrl = "app-harness:///cdvahcm/contextMenu.html"; + var el = document.createElement("iframe"); + el.setAttribute("id", contextMenuIframe); + el.setAttribute("src", contextHTMLUrl); + el.setAttribute("style", "position: fixed; left : 0px; top : 0px; z-index: 2000; width: 100%; height: 100%; display : none;"); + document.body.appendChild(el); + // Setup the listeners to toggle the context menu + document.addEventListener("touchmove", function (event) { + if(event.touches.length >= 3) { + document.getElementById(contextMenuIframe).style.display = "inline"; + } + }, false); + } + + function sendAppNameToIframe(){ + if(window.__cordovaAppHarnessAppName){ + var el = document.getElementById(contextMenuIframe); + el.onload = function(){ + el.contentWindow.postMessage("AppHarnessAppName:" + window.__cordovaAppHarnessAppName, "*"); + }; + } + } + + function onContextMenuUpdateClicked(){ + window.location = "app-harness:///cdvah/index.html#/?updateLastLaunched=true"; + } + function onContextMenuRestartClicked(){ + window.location = "app-harness:///cdvah/index.html#/?lastLaunched=true"; + } + var firebugFirstOpen = true; + function onContextMenuFirebugClicked(){ + try { + if(firebugFirstOpen){ + console.warn("Note that messages logged to the console at the app startup may not be visible here."); + console.warn("Do not use the close button on Firebug. Your console logs will be cleared. Use minimize instead."); + firebugFirstOpen = false; + } + window.Firebug.chrome.open(); + } catch(e) { + // hack - FirebugLite appears to have several bugs. One of which is - open firebug, user shuts down FirebugLite through the UI. + // FirebugLite is now in a bad state of neither being usable or removable. Any calls to open throw an error. + // The following lines removes the flags that FirebugLite looks for manually and makes it think it has not loaded it yet + // Then FirebugLite is loaded into the page again + // This hack should be revisited when FirebugLite moves from version 1.4 + // Either the hack won't be needed anymore or the hack should be checked too see if it still works. + var el = document.getElementById("FirebugLite"); + if(el) { + el.setAttribute("id", ""); + } + delete console.firebuglite; + loadFirebug(true); + } + } + function onContextMenuMainMenuClicked(){ + window.location = "app-harness:///cdvah/index.html"; + } + function onContextMenuHideClicked(){ + document.getElementById(contextMenuIframe).style.display = "none"; + } + function onContextMenuWeinreNameChanged(newName){ + var el = document.createElement("script"); + el.setAttribute("src", "http://debug.phonegap.com/target/target-script-min.js#" + newName); + document.head.appendChild(el); + } + + var messageHandler = { + "ContextMenuUpdate" : onContextMenuUpdateClicked, + "ContextMenuRestart" : onContextMenuRestartClicked, + "ContextMenuFirebug" : onContextMenuFirebugClicked, + "ContextMenuMainMenu" : onContextMenuMainMenuClicked, + "ContextMenuHide" : onContextMenuHideClicked, + "ContextMenuWeinre" : onContextMenuWeinreNameChanged + }; + function setupIframeMessaging(){ + window.addEventListener("message", function(e){ + if (!e || !e.data || typeof e.data !== 'string') { + return; + } + + var messageParts = [ e.data ]; + var loc = e.data.indexOf(":"); + if(loc !== -1){ + messageParts = [ e.data.substring(0, loc), + e.data.substring(loc + 1) + ]; + } + if(messageHandler[messageParts[0]]){ + messageHandler[messageParts[0]](messageParts[1]); + } + } , false); + } + + function loadFirebug(startOpened){ + var el = document.createElement("script"); + el.setAttribute("id", "FirebugLite"); + el.setAttribute("src", "https://getfirebug.com/firebug-lite-beta.js"); + el.setAttribute("FirebugLite", "4"); + el.innerHTML = el.innerHTML = "{ debug : false, startOpened : " + startOpened + ", showIconWhenHidden : false, saveCommandLineHistory : true, saveCookies : false }"; + document.head.appendChild(el); + } + + // FirebugLite doesn't catch errors from window.onerror like desktop browser's dev tools do. So we add it manually. + function attachErrorListener(){ + window.onerror = function(msg, url, line) { + console.error("Error: " + msg + " on line: " + line + " in file: " + url); + }; + } + + initialise(); +})(); + http://git-wip-us.apache.org/repos/asf/cordova-app-harness/blob/9946d322/www/cdvahcm/contextMenu.html ---------------------------------------------------------------------- diff --git a/www/cdvahcm/contextMenu.html b/www/cdvahcm/contextMenu.html new file mode 100644 index 0000000..c00aacb --- /dev/null +++ b/www/cdvahcm/contextMenu.html @@ -0,0 +1,93 @@ +<!DOCTYPE html> +<html onclick="parent.postMessage('ContextMenuHide', '*');"> +<head> + <style> + body + { + background-color:rgba(0,0,0,0.75); + width: 100%; + height: 100%; + } + p, label + { + color: white; + text-align: center; + } + ul + { + list-style-type: none; + margin-left: 20%; + margin-right: 20%; + padding: 0; + width: 60%; + } + li + { + margin-bottom: 0.5cm; + width : 100%; + min-height: 1cm; + border-bottom: 1px solid grey; + } + .fullwidthElement + { + width: 100%; + min-height: 1cm; + } + .halfwidthElement + { + min-height: 1cm; + width: 48%; + padding-left: 0; + padding-right: 0; + } + </style> + <script type="text/javascript"> + var currentWeinreName; + + function updateWeinreName(){ + var newName = document.getElementById("WeinreName").value; + if(newName !== currentWeinreName){ + var el = document.getElementById("WeinreLink"); + var newVal = "http://debug.phonegap.com/client/#" + newName; + el.href = newVal; + el.innerText = newVal; + parent.postMessage("ContextMenuWeinre:" + newName, "*"); + currentWeinreName = newName; + } + } + + // Set up listener for incoming messages + window.addEventListener("message", function(e){ + if(e.data.indexOf("AppHarnessAppName:") === 0){ + var appName = e.data.substring("AppHarnessAppName:".length); + document.getElementById("WeinreName").value = appName; + } + } , false); + </script> +</head> +<body> + <p>Tap Anywhere to Close</p> + <ul> + <li> + <button class="fullwidthElement" onclick="parent.postMessage('ContextMenuUpdate', '*');">Update</button> + </li> + <li> + <button class="fullwidthElement" onclick="parent.postMessage('ContextMenuRestart', '*');">Restart</button> + </li> + <li> + <button class="fullwidthElement" onclick="parent.postMessage('ContextMenuFirebug', '*');">Firebug</button> + </li> + <li> + <label for="WeinreName"><p>Phonegap Weinre</p></label> + <br /> + <input class="halfwidthElement" id="WeinreName" type="text" value="default" onclick="event.stopPropagation();" /> + <button class="halfwidthElement" onclick="updateWeinreName();">Add PhoneGap Weinre Link</button> + <br /> + <a href="http://debug.phonegap.com/client/#default"><p id="WeinreLink"></p></a> + </li> + <li> + <button class="fullwidthElement" onclick="parent.postMessage('ContextMenuMainMenu', '*');">Back to Main Menu</button> + </li> + </ul> +</body> +</html> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/cordova-app-harness/blob/9946d322/www/cdvh_files/www/cordova_plugins.json ---------------------------------------------------------------------- diff --git a/www/cdvh_files/www/cordova_plugins.json b/www/cdvh_files/www/cordova_plugins.json deleted file mode 100644 index 0637a08..0000000 --- a/www/cdvh_files/www/cordova_plugins.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file http://git-wip-us.apache.org/repos/asf/cordova-app-harness/blob/9946d322/www/config.xml ---------------------------------------------------------------------- diff --git a/www/config.xml b/www/config.xml index 231c337..bb20925 100644 --- a/www/config.xml +++ b/www/config.xml @@ -19,6 +19,6 @@ --> <widget id="org.apache.appharness" version="0.0.1" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0"> <name>CordovaAppHarness</name> - <content src="cdvah_index.html" /> + <content src="cdvah/index.html" /> <access origin="*" /> </widget> http://git-wip-us.apache.org/repos/asf/cordova-app-harness/blob/9946d322/www/crx_files/config.android.xml ---------------------------------------------------------------------- diff --git a/www/crx_files/config.android.xml b/www/crx_files/config.android.xml deleted file mode 100644 index de9a737..0000000 --- a/www/crx_files/config.android.xml +++ /dev/null @@ -1,106 +0,0 @@ -<?xml version='1.0' encoding='utf-8'?> -<widget id="io.cordova.helloCordova" version="2.0.0" xmlns="http://www.w3.org/ns/widgets"> - <name>Hello Cordova</name> - <description> - Default config.xml for Chrome apps launched through the app harness. - </description> - <author email="[email protected]" href="https://github.com/MobileChromeApps/cordova-app-harness"> - Google Mobile Chrome Apps team - </author> - - <log level="DEBUG" /> - - - <feature name="App"> - <param name="android-package" value="org.apache.cordova.App" /> - </feature> - <feature name="Geolocation"> - <param name="android-package" value="org.apache.cordova.GeoBroker" /> - </feature> - <feature name="Device"> - <param name="android-package" value="org.apache.cordova.Device" /> - </feature> - <feature name="Accelerometer"> - <param name="android-package" value="org.apache.cordova.AccelListener" /> - </feature> - <feature name="Compass"> - <param name="android-package" value="org.apache.cordova.CompassListener" /> - </feature> - <feature name="Media"> - <param name="android-package" value="org.apache.cordova.AudioHandler" /> - </feature> - <feature name="Camera"> - <param name="android-package" value="org.apache.cordova.CameraLauncher" /> - </feature> - <feature name="Contacts"> - <param name="android-package" value="org.apache.cordova.ContactManager" /> - </feature> - <feature name="File"> - <param name="android-package" value="org.apache.cordova.FileUtils" /> - </feature> - <feature name="NetworkStatus"> - <param name="android-package" value="org.apache.cordova.NetworkManager" /> - </feature> - <feature name="Notification"> - <param name="android-package" value="org.apache.cordova.Notification" /> - </feature> - <feature name="Storage"> - <param name="android-package" value="org.apache.cordova.Storage" /> - </feature> - <feature name="FileTransfer"> - <param name="android-package" value="org.apache.cordova.FileTransfer" /> - </feature> - <feature name="Capture"> - <param name="android-package" value="org.apache.cordova.Capture" /> - </feature> - <feature name="Battery"> - <param name="android-package" value="org.apache.cordova.BatteryListener" /> - </feature> - <feature name="SplashScreen"> - <param name="android-package" value="org.apache.cordova.SplashScreen" /> - </feature> - <feature name="Echo"> - <param name="android-package" value="org.apache.cordova.Echo" /> - </feature> - <feature name="Globalization"> - <param name="android-package" value="org.apache.cordova.Globalization" /> - </feature> - <feature name="InAppBrowser"> - <param name="android-package" value="org.apache.cordova.InAppBrowser" /> - </feature> - <plugins> - </plugins> - <feature name="ChromeBootstrap"> - <param name="android-package" value="com.google.cordova.ChromeBootstrap" /> - <param name="onload" value="true" /> - </feature> - <feature name="ChromeExtensionURLs"> - <param name="android-package" value="com.google.cordova.ChromeExtensionURLs" /> - <param name="onload" value="true" /> - </feature> - <content src="app-bundle:///cdvah_index.html" /> - <feature name="ChromeStorage"> - <param name="android-package" value="com.google.cordova.ChromeStorage" /> - </feature> - <feature name="ChromeSocket"> - <param name="android-package" value="com.google.cordova.ChromeSocket" /> - </feature> - <feature name="Zip"> - <param name="android-package" value="org.apache.cordova.Zip" /> - </feature> - <feature name="AppBundle"> - <param name="android-package" value="org.apache.cordova.AppBundle" /> - <param name="onload" value="true" /> - </feature> - - <content src="chromeapp.html" /> - <access origin="*" /> - <access origin="chrome-extension://*" /> - <access origin="cdv-app-harness://*" /> - <preference name="useBrowserHistory" value="true" /> - <preference name="exit-on-suspend" value="false" /> - <preference name="phonegap-version" value="1.9.0" /> - <preference name="orientation" value="default" /> - <preference name="target-device" value="universal" /> - <preference name="fullscreen" value="false" /> -</widget> http://git-wip-us.apache.org/repos/asf/cordova-app-harness/blob/9946d322/www/crx_files/config.ios.xml ---------------------------------------------------------------------- diff --git a/www/crx_files/config.ios.xml b/www/crx_files/config.ios.xml deleted file mode 100644 index 9254738..0000000 --- a/www/crx_files/config.ios.xml +++ /dev/null @@ -1,111 +0,0 @@ -<?xml version='1.0' encoding='utf-8'?> -<widget id="io.cordova.helloCordova" version="2.0.0" xmlns="http://www.w3.org/ns/widgets"> - <name>Hello Cordova</name> - <description> - Default config.xml for iOS apps in the Cordova App Harness - </description> - <author email="[email protected]" href="https://github.com/MobileChromeApps/cordova-app-harness"> - Google Mobile Chrome Apps Team - </author> - <feature name="Geolocation"> - <param name="ios-package" value="CDVLocation" /> - </feature> - <feature name="Device"> - <param name="ios-package" value="CDVDevice" /> - </feature> - <feature name="Accelerometer"> - <param name="ios-package" value="CDVAccelerometer" /> - </feature> - <feature name="Compass"> - <param name="ios-package" value="CDVLocation" /> - </feature> - <feature name="Media"> - <param name="ios-package" value="CDVSound" /> - </feature> - <feature name="Camera"> - <param name="ios-package" value="CDVCamera" /> - </feature> - <feature name="Contacts"> - <param name="ios-package" value="CDVContacts" /> - </feature> - <feature name="File"> - <param name="ios-package" value="CDVFile" /> - </feature> - <feature name="NetworkStatus"> - <param name="ios-package" value="CDVConnection" /> - </feature> - <feature name="Notification"> - <param name="ios-package" value="CDVNotification" /> - </feature> - <feature name="FileTransfer"> - <param name="ios-package" value="CDVFileTransfer" /> - </feature> - <feature name="Capture"> - <param name="ios-package" value="CDVCapture" /> - </feature> - <feature name="Battery"> - <param name="ios-package" value="CDVBattery" /> - </feature> - <feature name="SplashScreen"> - <param name="ios-package" value="CDVSplashScreen" /> - </feature> - <feature name="Echo"> - <param name="ios-package" value="CDVEcho" /> - </feature> - <feature name="Globalization"> - <param name="ios-package" value="CDVGlobalization" /> - </feature> - <feature name="InAppBrowser"> - <param name="ios-package" value="CDVInAppBrowser" /> - </feature> - <feature name="Logger"> - <param name="ios-package" value="CDVLogger" /> - </feature> - <feature name="LocalStorage"> - <param name="ios-package" value="CDVLocalStorage" /> - </feature> - <plugins> - </plugins> - <feature name="AppBundle"> - <param name="ios-package" value="AppBundle" /> - <param name="onload" value="true" /> - </feature> - <feature name="ChromeBootstrap"> - <param name="ios-package" value="ChromeBootstrap" /> - <param name="onload" value="true" /> - </feature> - <feature name="ChromeExtensionURLs"> - <param name="ios-package" value="ChromeExtensionURLs" /> - <param name="onload" value="true" /> - </feature> - <content src="chrome-extension://ohgfbmefaoadakchflddcopcmphnlcba/chromeapp.html" /> - <feature name="ChromeSocket"> - <param name="ios-package" value="ChromeSocket" /> - </feature> - <feature name="ChromeStorage"> - <param name="ios-package" value="ChromeStorage" /> - </feature> - <feature name="Zip"> - <param name="ios-package" value="Zip" /> - </feature> - <content src="chromeapp.html" /> - <access origin="*" /> - <access origin="chrome-extension://*" /> - <access origin="cdv-app-harness://*" /> - <preference name="KeyboardDisplayRequiresUserAction" value="true" /> - <preference name="SuppressesIncrementalRendering" value="false" /> - <preference name="UIWebViewBounce" value="true" /> - <preference name="TopActivityIndicator" value="gray" /> - <preference name="EnableLocation" value="false" /> - <preference name="EnableViewportScale" value="false" /> - <preference name="AutoHideSplashScreen" value="true" /> - <preference name="ShowSplashScreenSpinner" value="true" /> - <preference name="MediaPlaybackRequiresUserAction" value="false" /> - <preference name="AllowInlineMediaPlayback" value="false" /> - <preference name="OpenAllWhitelistURLsInWebView" value="false" /> - <preference name="BackupWebStorage" value="cloud" /> - <preference name="phonegap-version" value="1.9.0" /> - <preference name="orientation" value="default" /> - <preference name="target-device" value="universal" /> - <preference name="fullscreen" value="false" /> -</widget> http://git-wip-us.apache.org/repos/asf/cordova-app-harness/blob/9946d322/www/css/style.css ---------------------------------------------------------------------- diff --git a/www/css/style.css b/www/css/style.css deleted file mode 100644 index d8554d1..0000000 --- a/www/css/style.css +++ /dev/null @@ -1,30 +0,0 @@ -.buttons { - margin: 15px; -} - -.notification-container { - margin: 0; - padding: 0; - - position: fixed; - bottom: 20px; - left: 0px; - right: 0px; - z-index: 3; -} - -.notification { - border: 1px solid black; - border-radius: 10px; - - margin: 0 20px; - padding: 10px 20px; -} - -.notification-success { - background-color: #dff0d8; -} - -.notification-error { - background-color: #f2dede; -} http://git-wip-us.apache.org/repos/asf/cordova-app-harness/blob/9946d322/www/css/topcoat-mobile-light.min.css ---------------------------------------------------------------------- diff --git a/www/css/topcoat-mobile-light.min.css b/www/css/topcoat-mobile-light.min.css deleted file mode 100644 index 1fa533a..0000000 --- a/www/css/topcoat-mobile-light.min.css +++ /dev/null @@ -1 +0,0 @@ -@font-face{font-family:"Source Sans";src:url(../font/SourceSansPro-Regular.otf)}@font-face{font-family:"Source Sans";src:url(../font/SourceSansPro-Light.otf);font-weight:200}@font-face{font-family:"Source Sans";src:url(../font/SourceSansPro-Semibold.otf);font-weight:600}body{margin:0;padding:0;background:#dfe2e2;color:#000;font:16px "Source Sans",helvetica,arial,sans-serif;font-weight:200;text-rendering:optimizeLegibility}.topcoat-icon--menu-stack{background:url(../img/hamburger_dark.svg) no-repeat;-webkit-background-size:cover;-moz-background-size:cover;background-size:cover}.quarter{width:25%}.half{width:50%}.three-quarters{width:75%}.third{width:33.333%}.two-thirds{width:66.666%}.full{width:100%}.left{text-align:left}.center{text-align:center}.right{text-align:right}.reset-ui{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-background-clip:padding;-moz-background-clip:padding;background-clip:padding-box;position:relative;display:inline-block; vertical-align:top;padding:0;margin:0;font:inherit;color:inherit;background:transparent;border:0;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-o-text-overflow:ellipsis;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.topcoat-button,.topcoat-button--quiet,.topcoat-button--large,.topcoat-button--large--quiet,.topcoat-button--cta,.topcoat-button--large--cta{position:relative;display:inline-block;vertical-align:top;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-background-clip:padding;-moz-background-clip:padding;background-clip:padding-box;padding:0;margin:0;font:inherit;color:inherit;background:transparent;border:0;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-o-text-overflow:ellipsis;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;padding:0 1.25rem;font-size:16px;line-height:3rem;letter-spacing:1px;color:#454545;text -shadow:0 1px #fff;vertical-align:top;background-color:#e5e9e8;-webkit-box-shadow:inset 0 1px #fff;box-shadow:inset 0 1px #fff;border:1px solid #a5a8a8;-webkit-border-radius:6px;border-radius:6px}.topcoat-button:active,.topcoat-button.is-active,.topcoat-button--large:active,.topcoat-button--large.is-active{background-color:#d3d7d7;-webkit-box-shadow:inset 0 1px rgba(0,0,0,.12);box-shadow:inset 0 1px rgba(0,0,0,.12)}.topcoat-button:disabled,.topcoat-button.is-disabled{opacity:.3;cursor:default;pointer-events:none}.topcoat-button--quiet{background:transparent;border:1px solid transparent;-webkit-box-shadow:none;box-shadow:none}.topcoat-button--quiet:active,.topcoat-button--quiet.is-active,.topcoat-button--large--quiet:active,.topcoat-button--large--quiet.is-active{color:#454545;text-shadow:0 1px #fff;background-color:#d3d7d7;border:1px solid #a5a8a8;-webkit-box-shadow:inset 0 1px rgba(0,0,0,.12);box-shadow:inset 0 1px rgba(0,0,0,.12)}.topcoat-button--quiet:disabled,.topcoat-button--qu iet.is-disabled{opacity:.3;cursor:default;pointer-events:none}.topcoat-button--large,.topcoat-button--large--quiet{font-size:1.3rem;line-height:4rem}.topcoat-button--large:disabled,.topcoat-button--large.is-disabled{opacity:.3;cursor:default;pointer-events:none}.topcoat-button--large--quiet{background:transparent;border:1px solid transparent;-webkit-box-shadow:none;box-shadow:none}.topcoat-button--large--quiet:disabled,.topcoat-button--large--quiet.is-disabled{opacity:.3;cursor:default;pointer-events:none}.topcoat-button--cta,.topcoat-button--large--cta{border:1px solid #143250;background-color:#288edf;-webkit-box-shadow:inset 0 1px rgba(255,255,255,.36);box-shadow:inset 0 1px rgba(255,255,255,.36);color:#fff;font-weight:500;text-shadow:0 -1px rgba(0,0,0,.36)}.topcoat-button--cta:active,.topcoat-button--cta.is-active,.topcoat-button--large--cta:active,.topcoat-button--large--cta.is-active{background-color:#0380e8;-webkit-box-shadow:inset 0 1px rgba(0,0,0,.12);box-shadow:inset 0 1px rgba(0,0,0,.12)}.topcoat-button--cta:disabled,.topcoat-button--cta.is-disabled{opacity:.3;cursor:default;pointer-events:none}.topcoat-button--large--cta{font-size:1.3rem;line-height:4rem}.topcoat-button--large-cta:disabled,.topcoat-button--large--cta.is-disabled{opacity:.3;cursor:default;pointer-events:none}.topcoat-icon-button,.topcoat-icon-button--quiet,.topcoat-icon-button--large,.topcoat-icon-button--large--quiet{position:relative;display:inline-block;vertical-align:top;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-background-clip:padding;-moz-background-clip:padding;background-clip:padding-box;padding:0;margin:0;font:inherit;color:inherit;background:transparent;border:0;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-o-text-overflow:ellipsis;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;padding:0 .75rem;line-height:3rem;letter-spacing:1px;color:#454545;text-shadow:0 1px #ff f;vertical-align:baseline;background-color:#e5e9e8;-webkit-box-shadow:inset 0 1px #fff;box-shadow:inset 0 1px #fff;border:1px solid #a5a8a8;-webkit-border-radius:6px;border-radius:6px}.topcoat-icon-button:active,.topcoat-icon-button.is-active{background-color:#d3d7d7;-webkit-box-shadow:inset 0 1px rgba(0,0,0,.12);box-shadow:inset 0 1px rgba(0,0,0,.12)}.topcoat-icon-button:disabled,.topcoat-icon-button.is-disabled{opacity:.3;cursor:default;pointer-events:none}.topcoat-icon-button--quiet{background:transparent;border:1px solid transparent;-webkit-box-shadow:none;box-shadow:none}.topcoat-icon-button--quiet:active,.topcoat-icon-button--quiet.is-active,.topcoat-icon-button--large--quiet:active,.topcoat-icon-button--large--quiet.is-active{color:#454545;text-shadow:0 1px #fff;background-color:#d3d7d7;border:1px solid #a5a8a8;-webkit-box-shadow:inset 0 1px rgba(0,0,0,.12);box-shadow:inset 0 1px rgba(0,0,0,.12)}.topcoat-icon-button--quiet:disabled,.topcoat-icon-button--quiet.is-disabled{opac ity:.3;cursor:default;pointer-events:none}.topcoat-icon-button--large,.topcoat-icon-button--large--quiet{width:4rem;height:4rem;line-height:4rem}.topcoat-icon-button--large:active,.topcoat-icon-button--large.is-active{background-color:#d3d7d7;-webkit-box-shadow:inset 0 1px rgba(0,0,0,.12);box-shadow:inset 0 1px rgba(0,0,0,.12)}.topcoat-icon-button--large:disabled,.topcoat-icon-button--large.is-disabled{opacity:.3;cursor:default;pointer-events:none}.topcoat-icon-button--large--quiet{background:transparent;border:1px solid transparent;-webkit-box-shadow:none;box-shadow:none}.topcoat-icon-button--large--quiet:disabled,.topcoat-icon-button--large--quiet.is-disabled{opacity:.3;cursor:default;pointer-events:none}.topcoat-icon,.topcoat-icon--large{position:relative;display:inline-block;vertical-align:top;overflow:hidden;width:1.5rem;height:1.5rem;vertical-align:middle}.topcoat-icon--large{width:2.5rem;height:2.5rem}.topcoat-list__container{padding:0;margin:0;font:inherit;color:inherit;back ground:transparent;border:0;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;overflow:auto;-webkit-overflow-scrolling:touch;border-top:1px solid #bcbfbf;border-bottom:1px solid #eff1f1;background-color:#dfe2e2}.topcoat-list__header{margin:0;padding:4px 20px;font-size:.9em;font-weight:400;background-color:#cccfcf;color:#656565;text-shadow:0 1px 0 rgba(255,255,255,.5);border-top:solid 1px rgba(255,255,255,.5);border-bottom:solid 1px rgba(255,255,255,.23)}.topcoat-list{padding:0;margin:0;list-style-type:none;border-top:1px solid #bcbfbf;color:#454545}.topcoat-list__item{margin:0;padding:0;padding:1.25rem;border-top:1px solid #eff1f1;border-bottom:1px solid #bcbfbf}.topcoat-list__item:first-child{border-top:1px solid rgba(0,0,0,.05)}.topcoat-navigation-bar{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-background-clip:padding;-moz-background-clip:padding;background-clip:padding-box;white-space:now rap;overflow:hidden;word-spacing:0;padding:0;margin:0;font:inherit;color:inherit;background:transparent;border:0;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;height:4rem;padding-left:1rem;padding-right:1rem;background:#e5e9e8;color:#000;-webkit-box-shadow:inset 0 -1 #b9bcbc,0 1px rgba(0,0,0,.95);box-shadow:inset 0 -1 #b9bcbc,0 1px rgba(0,0,0,.95)}.topcoat-navigation-bar__item{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-background-clip:padding;-moz-background-clip:padding;background-clip:padding-box;position:relative;display:inline-block;vertical-align:top;padding:0;margin:0;font:inherit;color:inherit;background:transparent;border:0;margin:var-margin;line-height:4rem;vertical-align:top}.topcoat-navigation-bar__title{padding:0;margin:0;font:inherit;color:inherit;background:transparent;border:0;-o-text-overflow:ellipsis;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;font-size:1. 3rem;font-weight:400;color:#000}.topcoat-search-input,.topcoat-search-input--large{vertical-align:top;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;padding:0 1.25rem;-webkit-border-radius:6px;border-radius:6px;margin:5px;height:3rem;font:inherit;font-weight:200;outline:0;border:1px solid #a5a8a8;background-color:#e5e9e8;-webkit-box-shadow:inset 0 1px rgba(0,0,0,.12);box-shadow:inset 0 1px rgba(0,0,0,.12);color:#454545;-webkit-appearance:none;padding:0 0 0 2.7em;-webkit-border-radius:30px;border-radius:30px;background-image:url(../img/search.svg);background-position:1em center;background-repeat:no-repeat;-webkit-background-size:16px;-moz-background-size:16px;background-size:16px}.topcoat-search-input:focus,.topcoat-search-input--large:focus{background-color:#fff;color:var-color-focus}.topcoat-search-input::-webkit-search-cancel-button,.topcoat-search-input::-webkit-search-decoration{margin-right:5px}.topcoat-search-input:focus::-webkit-input-placehold er,.topcoat-search-input:focus::-webkit-input-placeholder{color:#c6c8c8}.topcoat-search-input:disabled,.topcoat-search-input.is-disabled{opacity:.3;cursor:default;pointer-events:none}.topcoat-search-input--large{height:4rem;font-size:1.3rem;font-weight:200;padding-left:2.8em;-webkit-border-radius:40px;border-radius:40px;background-position:1.2em center;-webkit-background-size:1.3rem;-moz-background-size:1.3rem;background-size:1.3rem}.topcoat-search-input--large:disabled,.topcoat-search-input--large.is-disabled{opacity:.3;cursor:default;pointer-events:none}.topcoat-text-input,.topcoat-text-input--large{vertical-align:top;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;padding:0 1.25rem;-webkit-border-radius:6px;border-radius:6px;margin:5px;height:3rem;font:inherit;font-weight:200;outline:0;border:1px solid #a5a8a8;background-color:#e5e9e8;-webkit-box-shadow:inset 0 1px rgba(0,0,0,.12);box-shadow:inset 0 1px rgba(0,0,0,.12);color:#454545}.topcoat-text-in put:focus{background-color:#fff;color:#000}.topcoat-text-input:disabled,.topcoat-text-input.is-disabled{opacity:.3;cursor:default;pointer-events:none}.topcoat-text-input--large{height:4rem;font-size:1.3rem}.topcoat-text-input--large:focus{background-color:#fff;color:#000}.topcoat-text-input--large.is-disabled,.topcoat-text-input--large:disabled{opacity:.3;cursor:default;pointer-events:none} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/cordova-app-harness/blob/9946d322/www/font/LICENSE.txt ---------------------------------------------------------------------- diff --git a/www/font/LICENSE.txt b/www/font/LICENSE.txt deleted file mode 100644 index d154618..0000000 --- a/www/font/LICENSE.txt +++ /dev/null @@ -1,93 +0,0 @@ -Copyright 2010, 2012 Adobe Systems Incorporated (http://www.adobe.com/), with Reserved Font Name 'Source'. All Rights Reserved. Source is a trademark of Adobe Systems Incorporated in the United States and/or other countries. - -This Font Software is licensed under the SIL Open Font License, Version 1.1. - -This license is copied below, and is also available with a FAQ at: http://scripts.sil.org/OFL - - ------------------------------------------------------------ -SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007 ------------------------------------------------------------ - -PREAMBLE -The goals of the Open Font License (OFL) are to stimulate worldwide -development of collaborative font projects, to support the font creation -efforts of academic and linguistic communities, and to provide a free and -open framework in which fonts may be shared and improved in partnership -with others. - -The OFL allows the licensed fonts to be used, studied, modified and -redistributed freely as long as they are not sold by themselves. The -fonts, including any derivative works, can be bundled, embedded, -redistributed and/or sold with any software provided that any reserved -names are not used by derivative works. The fonts and derivatives, -however, cannot be released under any other type of license. The -requirement for fonts to remain under this license does not apply -to any document created using the fonts or their derivatives. - -DEFINITIONS -"Font Software" refers to the set of files released by the Copyright -Holder(s) under this license and clearly marked as such. This may -include source files, build scripts and documentation. - -"Reserved Font Name" refers to any names specified as such after the -copyright statement(s). - -"Original Version" refers to the collection of Font Software components as -distributed by the Copyright Holder(s). - -"Modified Version" refers to any derivative made by adding to, deleting, -or substituting -- in part or in whole -- any of the components of the -Original Version, by changing formats or by porting the Font Software to a -new environment. - -"Author" refers to any designer, engineer, programmer, technical -writer or other person who contributed to the Font Software. - -PERMISSION & CONDITIONS -Permission is hereby granted, free of charge, to any person obtaining -a copy of the Font Software, to use, study, copy, merge, embed, modify, -redistribute, and sell modified and unmodified copies of the Font -Software, subject to the following conditions: - -1) Neither the Font Software nor any of its individual components, -in Original or Modified Versions, may be sold by itself. - -2) Original or Modified Versions of the Font Software may be bundled, -redistributed and/or sold with any software, provided that each copy -contains the above copyright notice and this license. These can be -included either as stand-alone text files, human-readable headers or -in the appropriate machine-readable metadata fields within text or -binary files as long as those fields can be easily viewed by the user. - -3) No Modified Version of the Font Software may use the Reserved Font -Name(s) unless explicit written permission is granted by the corresponding -Copyright Holder. This restriction only applies to the primary font name as -presented to the users. - -4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font -Software shall not be used to promote, endorse or advertise any -Modified Version, except to acknowledge the contribution(s) of the -Copyright Holder(s) and the Author(s) or with their explicit written -permission. - -5) The Font Software, modified or unmodified, in part or in whole, -must be distributed entirely under this license, and must not be -distributed under any other license. The requirement for fonts to -remain under this license does not apply to any document created -using the Font Software. - -TERMINATION -This license becomes null and void if any of the above conditions are -not met. - -DISCLAIMER -THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT -OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE -COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL -DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM -OTHER DEALINGS IN THE FONT SOFTWARE. http://git-wip-us.apache.org/repos/asf/cordova-app-harness/blob/9946d322/www/font/SourceSansPro-Light.otf ---------------------------------------------------------------------- diff --git a/www/font/SourceSansPro-Light.otf b/www/font/SourceSansPro-Light.otf deleted file mode 100644 index 9d8fb28..0000000 Binary files a/www/font/SourceSansPro-Light.otf and /dev/null differ http://git-wip-us.apache.org/repos/asf/cordova-app-harness/blob/9946d322/www/font/SourceSansPro-Regular.otf ---------------------------------------------------------------------- diff --git a/www/font/SourceSansPro-Regular.otf b/www/font/SourceSansPro-Regular.otf deleted file mode 100644 index 7b6fa55..0000000 Binary files a/www/font/SourceSansPro-Regular.otf and /dev/null differ http://git-wip-us.apache.org/repos/asf/cordova-app-harness/blob/9946d322/www/font/SourceSansPro-Semibold.otf ---------------------------------------------------------------------- diff --git a/www/font/SourceSansPro-Semibold.otf b/www/font/SourceSansPro-Semibold.otf deleted file mode 100644 index 6b39aa4..0000000 Binary files a/www/font/SourceSansPro-Semibold.otf and /dev/null differ
