feat setup: Setup Redux, Immutable.js and React

feat FileList: Implement File List + changedir action
This commit is contained in:
Mahdi Dibaiee
2015-08-31 11:19:22 +04:30
parent 86113d017d
commit ee6f5d6ffb
32 changed files with 8558 additions and 1755 deletions

106
build/img/icons/icon.svg Normal file
View File

@ -0,0 +1,106 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:sketch="http://www.bohemiancoding.com/sketch/ns"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="128px"
height="128px"
viewBox="0 0 128 128"
version="1.1"
id="svg2"
inkscape:version="0.48.2 r9819"
sodipodi:docname="icon.svg">
<metadata
id="metadata14">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
</cc:Work>
</rdf:RDF>
</metadata>
<sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1142"
inkscape:window-height="849"
id="namedview12"
showgrid="false"
inkscape:zoom="1.84375"
inkscape:cx="-32.542373"
inkscape:cy="64"
inkscape:window-x="672"
inkscape:window-y="146"
inkscape:window-maximized="0"
inkscape:current-layer="Page-1" />
<!-- Generator: Sketch 3.0.2 (7799) - http://www.bohemiancoding.com/sketch -->
<title
id="title4">empty</title>
<description
id="description6">Created with Sketch.</description>
<defs
id="defs8">
<linearGradient
id="linearGradient3761">
<stop
style="stop-color:#4e748b;stop-opacity:1;"
offset="0"
id="stop3763" />
<stop
style="stop-color:#393e3f;stop-opacity:1;"
offset="1"
id="stop3765" />
</linearGradient>
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient3761"
id="linearGradient3767"
x1="129.66949"
y1="65.8983"
x2="129.66949"
y2="188.59828"
gradientUnits="userSpaceOnUse" />
</defs>
<path
sodipodi:type="arc"
style="fill:url(#linearGradient3767);fill-opacity:1;fill-rule:evenodd;stroke:none"
id="path2991"
sodipodi:cx="129.35593"
sodipodi:cy="128.27118"
sodipodi:rx="63.18644"
sodipodi:ry="63.18644"
d="m 192.54237,128.27118 a 63.18644,63.18644 0 1 1 -126.372883,0 63.18644,63.18644 0 1 1 126.372883,0 z"
transform="translate(-65.355927,-64.271179)" />
<g
id="Page-1"
sketch:type="MSPage"
transform="matrix(0.9,0,0,0.9,6.4,6.4)"
style="fill:none;stroke:none">
<circle
id="empty"
sketch:type="MSShapeGroup"
cx="64"
cy="64"
r="58"
sodipodi:cx="64"
sodipodi:cy="64"
sodipodi:rx="58"
sodipodi:ry="58"
style="stroke:#bcc6c5;stroke-width:11;stroke-linecap:round;stroke-dasharray:20, 20;fill:none;fill-opacity:1"
d="M 122,64 C 122,96.032515 96.032515,122 64,122 31.967485,122 6,96.032515 6,64 6,31.967485 31.967485,6 64,6 c 32.032515,0 58,25.967485 58,58 z" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 804 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

13
build/index.html Normal file
View File

@ -0,0 +1,13 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Hawk</title>
<meta name="viewport" content="width=device-width">
</head>
<body>
<div id='wrapper'></div>
<script src='main.js'></script>
</body>
</html>

1571
build/js/libs/l10n.js Normal file

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,3 @@
appname = Hawk
app_description.innerHTML = This app is empty. Fill it with your own stuff!
message = Hello world

View File

@ -0,0 +1 @@
@import url(en-US.properties)

File diff suppressed because it is too large Load Diff

31
build/manifest.webapp Normal file
View File

@ -0,0 +1,31 @@
{
"version": "0.1.0",
"name": "Hawk",
"description": "Keep an eye on your files with a full-featured file-manager",
"launch_path": "/index.html",
"icons": {
"16": "/img/icons/icon16x16.png",
"48": "/img/icons/icon48x48.png",
"60": "/img/icons/icon60x60.png",
"128": "/img/icons/icon128x128.png"
},
"developer": {
"name": "Mahdi Dibaiee",
"url": "http://dibaiee.ir"
},
"type": "privileged",
"permissions": {
"device-storage:videos": {"access": "readwrite"},
"device-storage:pictures": {"access": "readwrite"},
"device-storage:music": {"access": "readwrite"},
"device-storage:sdcard": {"access": "readwrite"},
"device-storage:apps": {"access": "readwrite"},
"webapps-manage": {}
},
"installs_allowed_from": [
"*"
],
"locales": {
},
"default_locale": "en"
}