Publish Vulpes Preview 15 sources for desktop, Android and Tundra
Share Gaia assets and adapters, keep private profiles and development documents local, and update both public READMEs.
This commit is contained in:
parent
93e3a48004
commit
b38dea0597
25901 changed files with 9982925 additions and 369 deletions
78
gaia/dev_apps/ds-test/index.html
Executable file
78
gaia/dev_apps/ds-test/index.html
Executable file
|
|
@ -0,0 +1,78 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1">
|
||||
<title>Device Storage Test</title>
|
||||
<link rel="stylesheet" type="text/css" href="shared/style/buttons.css">
|
||||
<link rel="stylesheet" type="text/css" href="shared/style/headers.css">
|
||||
<link rel="stylesheet" type="text/css" href="style/ds-test.css">
|
||||
<script src="js/ds-test.js"></script>
|
||||
</head>
|
||||
<body role="application">
|
||||
<section role="region">
|
||||
<header>
|
||||
<h1 data-l10n-id="dstest-title">Device Storage Test</h1>
|
||||
</header>
|
||||
</section>
|
||||
|
||||
<section role="region">
|
||||
<table>
|
||||
<tr>
|
||||
<td align="right">Command:</td>
|
||||
<td>
|
||||
<select class="fake-select" id="ds.cmd" name="ds.cmd">
|
||||
<option value="getDeviceStorage">GetDeviceStorage</option>
|
||||
<option value="getDeviceStorages">GetDeviceStorages</option>
|
||||
<option value="free-space">Free Space</option>
|
||||
<option value="used-space">Used Space</option>
|
||||
<option value="available">Available</option>
|
||||
<option value="enumerate">Enumerate</option>
|
||||
<option value="enumerate-dcim">Enumerate DCIM</option>
|
||||
<option value="enumerate-filesizes">Enum File Sizes</option>
|
||||
<option value="enumerate-all">Enumerate ALL</option>
|
||||
<option value="add-unnamed-file">Add & Del Unnamed File</option>
|
||||
<option value="add-file">Add File</option>
|
||||
<option value="del-file">Del File</option>
|
||||
<option value="mod-file">Mod File</option>
|
||||
<option value="show-file">Show File</option>
|
||||
<option value="add-listener">Add Listener</option>
|
||||
<option value="remove-listener">Remove Listener</option>
|
||||
<option value="test" selected>Test</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="right">Storage Type:</td>
|
||||
<td>
|
||||
<select class="fake-select" id="ds.type" name="ds.type">
|
||||
<option value="sdcard" selected>sdcard</option>
|
||||
<option value="pictures">pictures</option>
|
||||
<option value="music">music</option>
|
||||
<option value="videos">videos</option>
|
||||
<option value="apps">apps</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<br>
|
||||
</section>
|
||||
|
||||
<section role="region">
|
||||
<div class="bb-docs">
|
||||
<button id="doit">Do It</button>
|
||||
<button id="clear-log">Clear Log</button>
|
||||
</div>
|
||||
</section
|
||||
|
||||
<section role="region">
|
||||
<header>
|
||||
<h1 data-l10n-id="dstest-debug-log" id="h1-debuglog" data-hide="debuglog">Debug Log</h1>
|
||||
</header>
|
||||
<div class="bb-docs" id="debuglog">
|
||||
<span id="log"></span>
|
||||
</div>
|
||||
</section>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
1010
gaia/dev_apps/ds-test/js/ds-test.js
Executable file
1010
gaia/dev_apps/ds-test/js/ds-test.js
Executable file
File diff suppressed because it is too large
Load diff
38
gaia/dev_apps/ds-test/manifest.webapp
Executable file
38
gaia/dev_apps/ds-test/manifest.webapp
Executable file
|
|
@ -0,0 +1,38 @@
|
|||
{
|
||||
"name": "Device Storage Test",
|
||||
"launch_path": "/index.html",
|
||||
"description": "Test app for Device Storage",
|
||||
"type": "certified",
|
||||
"fullscreen": "false",
|
||||
"developer": {
|
||||
"name": "dhylands",
|
||||
"url": "https://github.com/dhylands/ds-test"
|
||||
},
|
||||
"permissions": {
|
||||
"systemXHR":{},
|
||||
"device-storage:apps":{ "access": "readwrite" },
|
||||
"device-storage:sdcard":{ "access": "readwrite" },
|
||||
"device-storage:music":{ "access": "readwrite" },
|
||||
"device-storage:pictures":{ "access": "readwrite" },
|
||||
"device-storage:videos":{ "access": "readwrite" },
|
||||
"settings":{ "access": "readonly" },
|
||||
"webapps-manage":{}
|
||||
},
|
||||
"activities": {
|
||||
"share": {
|
||||
"filters": {
|
||||
"type": "image/*"
|
||||
},
|
||||
"href": "/index.html",
|
||||
"returnValue": true,
|
||||
"disposition": "window"
|
||||
}
|
||||
},
|
||||
"icons": {
|
||||
"84": "/style/icons/default_84.png",
|
||||
"126": "/style/icons/default_126.png",
|
||||
"142": "/style/icons/default_142.png",
|
||||
"189": "/style/icons/default_189.png",
|
||||
"284": "/style/icons/default_284.png"
|
||||
}
|
||||
}
|
||||
22
gaia/dev_apps/ds-test/style/ds-test.css
Executable file
22
gaia/dev_apps/ds-test/style/ds-test.css
Executable file
|
|
@ -0,0 +1,22 @@
|
|||
html, body {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
font-size: 10px;
|
||||
font-family: sans-serif;
|
||||
}
|
||||
|
||||
ul {
|
||||
list-style-type: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
td {
|
||||
font-size: 18px;
|
||||
}
|
||||
|
||||
select {
|
||||
font-size: 18px;
|
||||
}
|
||||
BIN
gaia/dev_apps/ds-test/style/icons/default_126.png
Executable file
BIN
gaia/dev_apps/ds-test/style/icons/default_126.png
Executable file
Binary file not shown.
|
After Width: | Height: | Size: 2.1 KiB |
BIN
gaia/dev_apps/ds-test/style/icons/default_142.png
Executable file
BIN
gaia/dev_apps/ds-test/style/icons/default_142.png
Executable file
Binary file not shown.
|
After Width: | Height: | Size: 2.5 KiB |
BIN
gaia/dev_apps/ds-test/style/icons/default_189.png
Executable file
BIN
gaia/dev_apps/ds-test/style/icons/default_189.png
Executable file
Binary file not shown.
|
After Width: | Height: | Size: 3.7 KiB |
BIN
gaia/dev_apps/ds-test/style/icons/default_284.png
Executable file
BIN
gaia/dev_apps/ds-test/style/icons/default_284.png
Executable file
Binary file not shown.
|
After Width: | Height: | Size: 5.9 KiB |
BIN
gaia/dev_apps/ds-test/style/icons/default_84.png
Executable file
BIN
gaia/dev_apps/ds-test/style/icons/default_84.png
Executable file
Binary file not shown.
|
After Width: | Height: | Size: 1.6 KiB |
Loading…
Reference in a new issue