1
0
mirror of https://github.com/lrsjng/h5ai.git synced 2025-08-28 08:10:17 +02:00

Compare commits

...

513 Commits

Author SHA1 Message Date
Lars Jung
dc6b0d4ad5 Merge branch 'develop' 2013-07-21 17:07:05 +02:00
Lars Jung
a76bf373a8 Prepares release. 2013-07-21 17:04:46 +02:00
Lars Jung
31e1524a71 Fixes grid style. 2013-07-21 16:27:35 +02:00
Lars Jung
26296813c7 Updates docs. 2013-07-21 14:52:55 +02:00
Lars Jung
2b8e223d1d Fixes misplaced content. 2013-07-21 03:18:40 +02:00
Lars Jung
116a70bc8c Cleans code. 2013-07-21 02:52:00 +02:00
Lars Jung
81a3729f0c Dropbox still very unreliable. 2013-07-21 02:12:53 +02:00
Lars Jung
b031168868 Updates readme. 2013-07-21 01:39:19 +02:00
Lars Jung
31e2f9cc33 Fixes filter. Excludes parent folder from possible matches. 2013-07-21 01:16:52 +02:00
Lars Jung
28ca49dc72 Updates json2.js to 2013-05-26. 2013-07-21 00:50:28 +02:00
Lars Jung
17dc62411f Updates undescore.js to 1.5.1. 2013-07-21 00:26:46 +02:00
Lars Jung
026c890027 Updates undescore.js to 1.5.1. 2013-07-21 00:26:18 +02:00
Lars Jung
9aebb37273 Updates markdown-js to 0.4.0-9c21acdf08. 2013-07-21 00:20:13 +02:00
Lars Jung
88ea49ed05 Updates Moment.js to 2.1.0. 2013-07-21 00:08:05 +02:00
Lars Jung
e1fb82c896 Updates jQuery.mousewheel to 3.1.3. 2013-07-20 23:56:54 +02:00
Lars Jung
62b53851c7 Updates readme. 2013-07-20 22:01:58 +02:00
Lars Jung
8f6aaa892c Optional hide parent folder links. 2013-07-20 22:00:54 +02:00
Lars Jung
289ce2993c Adds optional custom headers/footers that are propageted to all subfolders. 2013-07-20 21:21:57 +02:00
Lars Jung
8a2451474a Removes tiff from preview and thumbnails. Still broken. 2013-07-20 19:08:20 +02:00
Lars Jung
91b6b60ad0 Sematincs. 2013-07-20 17:57:27 +02:00
Lars Jung
5e302256a5 Removes newline. 2013-07-20 17:18:55 +02:00
Lars Jung
ab484ce9a6 Refactors php_tar. 2013-07-20 14:56:03 +02:00
Lars Jung
28d7b128e9 Refactors php_tar. 2013-07-20 14:51:12 +02:00
Lars Jung
8d06364046 Refactors php_tar. 2013-07-20 14:47:34 +02:00
Lars Jung
cc42a48f74 php_tar: Fixes total size. 2013-07-20 14:38:01 +02:00
Lars Jung
c5f23c5289 php_tar: fixing emtpy files bug. 2013-07-20 14:31:16 +02:00
Lars Jung
74f1c0a986 Refactors php_tar. Fixes tar file header, now supports long paths. Adds support for emtpy dirs. Ignores empty files (failed). 2013-07-19 17:56:22 +02:00
Lars Jung
02dd104223 Removes PharData check. 2013-07-19 12:18:46 +02:00
Lars Jung
8a07a5f9e3 Updates readme. 2013-07-19 12:11:19 +02:00
Lars Jung
330491a7e8 Fixes and refactoring in Image class. 2013-07-19 11:59:55 +02:00
Lars Jung
8209793b96 Uses EXIF-thumbs to generate thumbs if possible. 2013-07-19 02:38:24 +02:00
Lars Jung
ec5220a5f9 Semantics. 2013-07-19 00:20:21 +02:00
Lars Jung
694ababf15 Write files in segments. 2013-07-19 00:13:44 +02:00
Lars Jung
ab45b3072c Adds workaround to use direct POST-request downloads. 2013-07-18 23:25:53 +02:00
Lars Jung
adce6f19c4 Correct root dir in php_tar. 2013-07-18 21:07:56 +02:00
Lars Jung
4fac5baedd Updates packaged download extension. 2013-07-18 20:14:10 +02:00
Lars Jung
a703a004a4 Undos integration of custom TAR creation. 2013-07-18 15:51:11 +02:00
Lars Jung
040919808c Merge pull request #193 from TvdW/develop
Implement POSIX.1-1988 UStar directly instead of calling the tar binary
2013-07-18 06:48:14 -07:00
Tom van der Woerdt
84208f7b34 Merge branch 'develop' of https://github.com/lrsjng/h5ai into develop 2013-07-17 19:12:39 +02:00
Tom van der Woerdt
53e32b5986 Fix the size prediction for files where (size%512==0) 2013-07-17 19:12:00 +02:00
Tom van der Woerdt
e815f4d070 Tar: predict total archive size and send the header 2013-07-17 19:07:10 +02:00
Tom van der Woerdt
89acf0cafc Fix the Tar creator for cases where filenames aren't absolute 2013-07-17 18:50:04 +02:00
Tom van der Woerdt
24ae3bed4d Implement POSIX.1-1988 UStar support without having to go through GNU tar 2013-07-17 18:35:02 +02:00
Lars Jung
97b0f6e0bd Makes previews less keyboard greedy. 2013-07-17 17:54:20 +02:00
Lars Jung
1099b297b7 Add optional .exe extension and ignorecase to command checks. 2013-07-17 15:39:02 +02:00
Lars Jung
2ec5da753c Cleans view icons. 2013-07-17 14:56:24 +02:00
Lars Jung
898d1a9b03 Changes view-list styles. 2013-07-17 02:29:03 +02:00
Lars Jung
7d2b1c1c30 Fixes some packaging issues. 2013-07-16 23:43:26 +02:00
Lars Jung
b09d4f638c Sends PHP packaged archives in smaller segments (16MB) to not hit PHP's memory limit. Thanks to Zaoh Lei. 2013-07-16 21:38:07 +02:00
Lars Jung
a87500309a Shell packaging now uses passthru. 2013-07-16 20:47:38 +02:00
Lars Jung
b3ffd4f621 Removes artifical delay. 2013-07-16 14:07:17 +02:00
Lars Jung
0c9f1655c6 Updates readme. 2013-07-16 13:33:49 +02:00
Lars Jung
a072962a53 Updates previews. Removes spin.js. 2013-07-16 13:23:52 +02:00
Lars Jung
d8d8d752cf Updates spinner. 2013-07-16 13:20:02 +02:00
Lars Jung
896c92e6a0 Updates image preview. 2013-07-16 01:41:12 +02:00
Lars Jung
d588bb3563 Don't rely on browser cache in image preview. 2013-07-15 22:29:39 +02:00
Lars Jung
e36dde384d Adds m4v to the video extensions. 2013-07-15 00:18:43 +02:00
Lars Jung
1be30a8e74 Secures ABS_HREF. 2013-07-15 00:17:10 +02:00
Lars Jung
4c8bb24267 Increase the delay before adjusting the image prewiew. 2013-07-14 20:29:55 +02:00
Lars Jung
a189042a47 Testing new view icons. 2013-07-14 19:44:58 +02:00
Lars Jung
0f49591f9c Updates 'pl' lang. 2013-07-14 14:50:51 +02:00
Lars Jung
2a412fb44c Fixes jade var resolutions. 2013-07-14 13:05:54 +02:00
Lars Jung
b648c45929 Adding a patch by Zhao Lei for downloading large archives. Still commented, will be tested later. 2013-07-14 02:00:32 +02:00
Lars Jung
19eea2b316 Fixing PHP path and request issues. 2013-07-14 01:18:59 +02:00
Lars Jung
bfba6c084c Fixes missing path. 2013-07-13 14:42:03 +02:00
Lars Jung
927f41d1a1 Yeah, Safari. 2013-07-13 14:29:10 +02:00
Lars Jung
5cc060ee27 Changes htaccess rules. 2013-07-12 23:33:43 +02:00
Lars Jung
78879d3649 Adds link to info page. 2013-07-12 14:26:51 +02:00
Lars Jung
576ca69b44 Adds index hint to server info page. 2013-07-12 02:59:24 +02:00
Lars Jung
4d56f9aebf Removes unused file types. 2013-07-11 21:40:57 +02:00
Lars Jung
b49726d74e Updates readme. 2013-07-11 18:40:09 +02:00
Lars Jung
d7b51e2de8 Updates fallback. 2013-07-11 17:57:28 +02:00
Lars Jung
bf059c0393 Small fix. 2013-07-11 17:02:28 +02:00
Lars Jung
a076dfc7d3 Adds no-browser fallback. 2013-07-11 16:09:58 +02:00
Lars Jung
a4e599034e Changes folder icons. 2013-07-11 14:45:34 +02:00
Lars Jung
7f871403dc Changes some icons. 2013-07-11 03:05:54 +02:00
Lars Jung
9340c5232c Adds a version and url check to not confuse multiple installations. 2013-07-11 01:32:53 +02:00
Lars Jung
5f27518852 Some comments. 2013-07-10 23:11:44 +02:00
Lars Jung
63115432ce Some comments. 2013-07-10 20:44:54 +02:00
Lars Jung
0f7e01a82f Remove example styles that break during minification. 2013-07-10 01:32:06 +02:00
Lars Jung
bfd65340d3 Minor style fix. 2013-07-10 00:34:40 +02:00
Lars Jung
8b304d22b8 Updates jQuery to 2.0.3. 2013-07-09 22:59:45 +02:00
Lars Jung
84486af599 Updates jQuery.qrcode to 0.4. 2013-07-09 15:41:47 +02:00
Lars Jung
cb1edc3650 More styles. 2013-07-09 02:09:51 +02:00
Lars Jung
695b357668 Fixes #154 2013-07-08 22:38:41 +02:00
Lars Jung
fa6e7cfa1a Cleans code. 2013-07-08 21:24:37 +02:00
Lars Jung
6d3438cb1c Fixes filter problems. 2013-07-08 20:25:05 +02:00
Lars Jung
48522d8e68 Replaces app icons. 2013-07-08 15:56:38 +02:00
Lars Jung
39e4955918 Replaces app icons. 2013-07-08 15:31:29 +02:00
Lars Jung
08044e102f Refines icons. 2013-07-08 14:39:55 +02:00
Lars Jung
fd70cf9d7a Adds 'uk' translation. 2013-07-08 01:52:39 +02:00
Lars Jung
06de6c3274 Updates jQuery to 1.10.2. 2013-07-08 01:21:36 +02:00
Lars Jung
8159b3c4fd Updates jQuery to 1.10.2. 2013-07-08 01:20:24 +02:00
Lars Jung
75b5ab5a19 Updates h5bp styles and normalization. 2013-07-08 01:04:42 +02:00
Lars Jung
172ddc1033 Updates tree folder icons. 2013-07-08 00:57:26 +02:00
Lars Jung
f5435802e7 Images are now svg's from the 'Gnome Symbolic Icon Theme'. 2013-07-07 22:34:34 +02:00
Lars Jung
49276c157c More style changes. 2013-07-06 20:37:08 +02:00
Lars Jung
dc85bc4d5c Some new styles. 2013-07-06 02:31:55 +02:00
Lars Jung
d3e7016cd5 Updates lv translation. 2012-11-07 20:04:58 +01:00
Lars Jung
5e28056257 Fixes lighttpd issues. 2012-11-02 01:11:08 +01:00
Lars Jung
84be82d175 Small fixes and semantics. 2012-10-28 16:43:19 +01:00
Lars Jung
3a92606e0c Small improvments in sorting. 2012-10-28 02:55:57 +02:00
Lars Jung
a447502703 Small fixes. 2012-10-27 15:30:25 +02:00
Lars Jung
6c00a8e669 Moves init code to index file. 2012-10-27 04:29:55 +02:00
Lars Jung
32d7aa74e5 More semantic changes. 2012-10-27 04:17:28 +02:00
Lars Jung
1dea89befb Semantic changes. 2012-10-27 03:50:35 +02:00
Lars Jung
9163996ac2 Minor style changes. 2012-10-27 02:02:10 +02:00
Lars Jung
17c6f18910 Updates readme. Markdown problems. 2012-10-26 02:22:47 +02:00
Lars Jung
2819fd8496 Improves event system. 2012-10-26 00:30:52 +02:00
Lars Jung
34eed09537 Improves event system. 2012-10-25 01:37:34 +02:00
Lars Jung
aded72363a Updates text preview. 2012-10-22 02:12:07 +02:00
Lars Jung
0631444c50 Updates readme. 2012-10-21 23:42:48 +02:00
Lars Jung
b92298d007 More update on text preview. 2012-10-21 23:36:06 +02:00
Lars Jung
74b0ec827b Improves text preview. A little bit slower, but with line-wrap. 2012-10-21 23:15:59 +02:00
Lars Jung
e6e5f3309b Minor style updates. 2012-10-21 21:28:56 +02:00
Lars Jung
cc30a12bee Updates readme. 2012-10-21 18:43:11 +02:00
Lars Jung
7d0a691bc3 Add option related to non-h5ai links. 2012-10-21 18:37:19 +02:00
Lars Jung
1dd6e5c7b0 Minor changes. 2012-10-20 21:03:40 +02:00
Lars Jung
f97a4e490b Some style improvments. 2012-10-19 23:52:18 +02:00
Lars Jung
796e508635 Minor style changes. 2012-10-19 19:12:45 +02:00
Lars Jung
3814558ca1 Fixes event stack. 2012-10-19 18:40:07 +02:00
Lars Jung
e956a49680 More changes to enable smart browsing. 2012-10-18 23:08:48 +02:00
Lars Jung
499013f4fb Initial switch to smart browsing. 2012-10-18 21:27:09 +02:00
Lars Jung
ecc05d3a8b Adds notifications. 2012-10-18 20:53:38 +02:00
Lars Jung
c7a9d444af Adds notifications. 2012-10-18 20:52:47 +02:00
Lars Jung
910312f7ce Cleans code. 2012-10-17 01:54:05 +02:00
Lars Jung
885ce9e9e9 Cleans code. 2012-10-17 01:33:26 +02:00
Lars Jung
cecc5c57a2 Cleans code. 2012-10-17 00:53:28 +02:00
Lars Jung
396bc6662f Cleans code. 2012-10-17 00:17:22 +02:00
Lars Jung
70f4500232 Removes aai. 2012-10-16 23:10:05 +02:00
Lars Jung
e43d43933a Updates storage. 2012-10-16 22:50:41 +02:00
Lars Jung
e6bbb7c2cd Changes versioning. 2012-10-16 20:44:59 +02:00
Lars Jung
4d3b4b85df Updates version to 0.23-dev. 2012-10-16 17:04:04 +02:00
Lars Jung
b097ac2b2d Version 0.22.1 2012-10-16 17:02:24 +02:00
Lars Jung
f047f94ad9 Merge branch 'develop' 2012-10-16 17:00:33 +02:00
Lars Jung
072f1c8158 Fixes a edge-case problem with the API. 2012-10-16 15:16:20 +02:00
Lars Jung
ca19318671 Updates responsive styles. 2012-10-16 15:11:00 +02:00
Lars Jung
c80c2b146a Updates version to 0.23-dev 2012-10-14 18:40:43 +02:00
Lars Jung
a23df9ffb8 Version 0.22 2012-10-14 18:38:34 +02:00
Lars Jung
ba911bd09c Merge branch 'develop' 2012-10-14 18:35:58 +02:00
Lars Jung
138fc4d43c Adds folderstatus extension for aai mode. Updates default options for upcoming release. 2012-10-14 18:32:25 +02:00
Lars Jung
57d6ef9520 Updates options and readme. 2012-10-14 02:30:01 +02:00
Lars Jung
ba793c27cb Updates readme. 2012-10-14 00:02:10 +02:00
Lars Jung
160fd8ecbf Improves download extension. Updates option docs. 2012-10-13 23:58:52 +02:00
Lars Jung
270956c10d Updates readme. 2012-10-13 21:37:06 +02:00
Lars Jung
17ad8d0632 Loads qrcode extension on demand now. 2012-10-13 21:30:41 +02:00
Lars Jung
787d37853b Removes amplify dependencies. 2012-10-13 18:46:54 +02:00
Lars Jung
906d83a3b0 Updates readme. 2012-10-13 15:36:04 +02:00
Lars Jung
bfd8f1b5e0 Updates readme. 2012-10-13 15:26:44 +02:00
Lars Jung
2029f020a3 Updates readme. 2012-10-13 15:23:30 +02:00
Lars Jung
84ad7e4ef9 Updates readme. 2012-10-13 03:09:00 +02:00
Lars Jung
e8c124a0cf Updates readme. 2012-10-13 02:54:51 +02:00
Lars Jung
af300036b4 Updates readme. 2012-10-13 02:31:08 +02:00
Lars Jung
a64630b387 Updates readme. 2012-10-13 02:26:31 +02:00
Lars Jung
3f91022cde Fixes fixed topbar height. 2012-10-12 20:05:27 +02:00
Lars Jung
840363badb Fixes minor refresh problem with single quotes. 2012-10-12 15:42:46 +02:00
Lars Jung
7be15da13a Fixes stat problems on 32bit systems. 2012-10-12 13:57:27 +02:00
Lars Jung
b87dc5a45b Removes a console.log. 2012-10-12 01:31:50 +02:00
Lars Jung
8658bac71a Refactors js. 2012-10-12 01:01:24 +02:00
Lars Jung
2cabbad0d6 Merge pull request #137 from XhmikosR/to-merge
updates Underscore.js to v1.4.2
2012-10-11 10:36:24 -07:00
Lars Jung
a8e0c049f2 Splits up type js into js and json. 2012-10-11 18:28:12 +02:00
Lars Jung
69ffcc2d32 More changes on init procedure. 2012-10-11 15:05:10 +02:00
Lars Jung
a087e96d69 More changes to init procedure and API. 2012-10-11 14:45:18 +02:00
Lars Jung
15dd200b28 Performance improvements in aai mode. Minor changes. 2012-10-11 00:37:08 +02:00
XhmikosR
aaa24df8a3 update Underscore.js to v1.4.2 2012-10-10 17:33:36 +03:00
Lars Jung
d7f1c68366 Switch to general API nearly done. 2012-10-10 16:05:50 +02:00
Lars Jung
a60d5556af Changes some API things. 2012-10-09 14:16:57 +02:00
Lars Jung
811994423d Changes API. 2012-10-08 01:16:02 +02:00
Lars Jung
d6c5696f96 More changes. Improves styles. 2012-10-07 21:31:13 +02:00
Lars Jung
cb9341451b Another partial commit. 2012-10-07 13:48:27 +02:00
Lars Jung
abb9b7bd0e More changes in js. 2012-10-07 02:40:50 +02:00
Lars Jung
318fefbbfd More refactorings. 2012-10-06 22:49:09 +02:00
Lars Jung
b8b6d32a33 More refactorings. 2012-10-06 20:08:59 +02:00
Lars Jung
bd65025a4c More PHP refactorings. 'cs' lang update. 2012-10-06 18:25:59 +02:00
Lars Jung
42cfe55ef3 Cleans and improves PHP code. 2012-10-06 16:50:43 +02:00
Lars Jung
c6a9374488 Removes folderstatus extension. 2012-10-06 15:10:04 +02:00
Lars Jung
029872a212 More PHP refactorings. Fixes text preview. 2012-10-06 14:29:24 +02:00
Lars Jung
838a346c29 Minor changes. 2012-10-06 01:17:11 +02:00
Lars Jung
e53f261c69 Removes temp dir references. 2012-10-05 21:27:27 +02:00
Lars Jung
f6832982bb Fixes index page. 2012-10-05 21:22:19 +02:00
Lars Jung
07d4eee151 Minor changes. 2012-10-05 20:29:37 +02:00
Lars Jung
59609aaee9 Fixes makefile. 2012-10-05 20:00:45 +02:00
Lars Jung
3c5a859f28 Fixes l10n after changes. 2012-10-05 19:59:06 +02:00
Lars Jung
c71f891af2 Cosmetics. 2012-10-05 19:55:48 +02:00
Lars Jung
7494491637 Updates script inclusions. 2012-10-05 15:23:45 +02:00
Lars Jung
e0fb8b3285 Merge pull request #126 from XhmikosR/jquery
update 3rd party libs
2012-10-05 06:20:02 -07:00
XhmikosR
ba2455a87f use the non minified js since they are minified when building h5ai 2012-10-04 19:48:59 +03:00
XhmikosR
6f80d345a8 update spin.js to v1.2.7 2012-10-04 19:48:58 +03:00
XhmikosR
8d7f7d68aa update moment.js to v1.7.2 2012-10-04 19:48:56 +03:00
XhmikosR
1b66788d96 update underscore.js to v1.4.1 2012-10-04 19:48:53 +03:00
XhmikosR
28b002dbee update jQuery to v1.8.2 2012-10-04 19:48:53 +03:00
Lars Jung
326b7f54e1 Updates readme. 2012-09-22 13:51:24 +02:00
Lars Jung
0a280e177b Combines scripts in head section. Shouldn't matter that much. 2012-09-22 13:40:04 +02:00
Lars Jung
f24747e92f Changes shortcut icon format to .ico ... guess why: IE 2012-09-22 01:29:56 +02:00
Lars Jung
ede2316f53 Cleans code. 2012-09-19 23:59:53 +02:00
Lars Jung
26d0de5985 Hopefully fixes date parsing in aai mode. 2012-09-19 20:56:54 +02:00
Lars Jung
df208faf25 Adds experimental support for local config files. 2012-09-19 14:47:52 +02:00
Lars Jung
bcc9f21fc1 Another test commit. Ignore. 2012-09-19 00:56:56 +02:00
Lars Jung
4169de4d6b Test. Just ignore this. 2012-09-19 00:43:48 +02:00
Lars Jung
bc4e1b349a Updates readme. 2012-09-18 21:59:03 +02:00
Lars Jung
8520658c34 Adds ctrl-click file selection. 2012-09-18 18:56:50 +02:00
Lars Jung
9545ec2894 More updates to readme. 2012-09-18 16:59:11 +02:00
Lars Jung
188d2825b1 Updates readme. 2012-09-18 16:46:48 +02:00
Lars Jung
c4084343dc Updates build process. 2012-09-18 16:30:17 +02:00
Lars Jung
3a0e620065 Cleans l10n. 2012-09-18 02:25:14 +02:00
Lars Jung
421d5c2e24 Fixes l10n in case it is disabled. 2012-09-18 02:14:21 +02:00
Lars Jung
4e6c446ce4 Fixes index page. 2012-09-18 01:29:22 +02:00
Lars Jung
b649cd1519 Cleans config to pure json. 2012-09-17 22:37:20 +02:00
Lars Jung
0e05e6d0a1 Fine tweaks to tree layout. 2012-09-17 22:17:05 +02:00
Lars Jung
5ae35ee763 Cleans css. 2012-09-17 00:09:51 +02:00
Lars Jung
6b5556f338 Cleans js. Fixes js. Updates ru translation. 2012-09-16 21:02:40 +02:00
Lars Jung
aa92ab9e83 Cleans js templates. 2012-09-16 17:14:42 +02:00
Lars Jung
01d152ede5 Merge pull request #116 from XhmikosR/upstream
update Greek translation
2012-09-16 07:05:57 -07:00
XhmikosR
1cbf46d2a5 update Greek translation 2012-09-16 16:56:24 +03:00
Lars Jung
53733ccdf5 Cleans styles. 2012-09-16 15:15:07 +02:00
Lars Jung
6245c4654c Fixes Apache mod_autoindex date parsing. 2012-09-16 01:50:15 +02:00
Lars Jung
1f3d501a04 Cleans CSS, adds new grid and list view, replaces small parent-folder icon. 2012-09-16 01:34:50 +02:00
Lars Jung
842bca74f9 Improves filter. Still problems with filter and preview. 2012-09-14 23:24:22 +02:00
Lars Jung
27c598d96e Adds optional binary prefixes. 2012-09-14 19:53:19 +02:00
Lars Jung
3cd11139a2 Minor changes. 2012-09-14 19:16:11 +02:00
Lars Jung
1aec23008e Fixes piwik-analytics extension. 2012-09-14 15:32:33 +02:00
Lars Jung
9d8552a272 Merge pull request #110 from BluePyth/piwik_analytics
Adds Piwik Analytics support
2012-09-14 04:48:43 -07:00
Lars Jung
9648bd6a42 Adds missing jQuery.spin plugin. 2012-09-14 09:59:52 +02:00
Lars Jung
cb6eb4b1b3 Updates 3rd party libs. 2012-09-14 00:45:58 +02:00
Lars Jung
07fcb40aab Updates build process. 2012-09-14 00:25:20 +02:00
Romain Sertelon
010b984a93 Issues fixed 2012-09-13 15:59:26 +02:00
Lars Jung
6d188f1271 Updates readme. 2012-09-12 21:35:24 +02:00
Lars Jung
2fecdef3e0 Adds he translation to config. 2012-09-12 20:55:27 +02:00
Lars Jung
8783f00460 Merge pull request #109 from tomer/develop
Hebrew translation
2012-09-12 11:51:59 -07:00
Lars Jung
b727b29275 Updates build process. 2012-09-12 20:48:15 +02:00
Romain Sertelon
d0544462d5 Adds Piwik Analytics support 2012-09-12 16:04:06 +02:00
Tomer Cohen
47a1c0989c Hebrew translation 2012-09-11 22:02:00 +03:00
Lars Jung
07d67787d8 Removes some blank lines. 2012-08-31 19:44:59 +02:00
Lars Jung
586c21a2c1 More jade. 2012-08-31 18:15:21 +02:00
Lars Jung
b80eeeebbf Adds background transition for img preview fullscreen mode. 2012-08-31 16:55:38 +02:00
Lars Jung
151f70773d Updates h5bp to 4.0.0. 2012-08-31 16:40:24 +02:00
Lars Jung
491e0e4068 Replaces dev number with short git hash. 2012-08-24 14:40:10 +02:00
Lars Jung
f4ea5dab4a Merge pull request #107 from Neelfyn/patch-2
Update French translation
2012-08-23 15:43:11 -07:00
Antoine
1f15b636e2 Update French translation
Add "filter" and "delete" strings to French translation.
2012-08-23 18:25:17 +03:00
Lars Jung
4b7aba378c Changes on info index page. 2012-08-19 22:44:10 +02:00
Lars Jung
4c96efe1c7 Minor refactorings. 2012-08-17 22:56:24 +02:00
Lars Jung
799f1ecd13 Updates config.js comments. 2012-08-17 16:51:10 +02:00
Lars Jung
f1a2a44079 Adds core/mode. Lots of changes to make installation more flexible. 2012-08-17 16:35:25 +02:00
Lars Jung
fd89ea1d90 Abstracts h5ai-index.php. 2012-08-15 22:05:52 +02:00
Lars Jung
5a017a0d5a _h5ai/index does not need to have absolute hrefs. 2012-08-15 12:32:00 +02:00
Lars Jung
e53d72e977 More jade. 2012-08-15 12:20:42 +02:00
Lars Jung
10c651c0a5 Updates readme. 2012-08-13 21:42:36 +02:00
Lars Jung
bf2cf3c048 Removes old code. 2012-08-13 21:39:27 +02:00
Lars Jung
1458623998 Updates Thumb to use defined paths. 2012-08-13 21:34:06 +02:00
Lars Jung
09abaa9a3c Updates lv translation. 2012-08-13 21:11:32 +02:00
Lars Jung
1217d2d699 Changes temp dir to cache dir. Adds auto deletion of temp packages. 2012-08-13 21:08:42 +02:00
Lars Jung
ee30ba509a Adds @ to php checks to ignore exceptions. Updates el translation. 2012-08-13 19:18:36 +02:00
Lars Jung
3617a7fb80 Updates readme and lv translation. 2012-08-13 17:08:28 +02:00
Lars Jung
7d324ce51f Uses utf8_encode for uploaded files. 2012-08-13 00:09:33 +02:00
Lars Jung
a6a95780da Improves build process. 2012-08-12 23:27:10 +02:00
Lars Jung
a99c28f234 Moves index.html to jade. Minor changes. 2012-08-12 22:19:40 +02:00
Lars Jung
bdcab107eb Minor changes. 2012-08-12 17:27:54 +02:00
Lars Jung
7b216484de Adds DirectoryIndex to htaccess. 2012-08-12 17:01:11 +02:00
Lars Jung
08f2f6e165 Updates readme. 2012-08-12 16:44:58 +02:00
Lars Jung
67e5779402 Ignore pattern might be absolute now. 2012-08-12 16:37:28 +02:00
Lars Jung
9a447a83bd Adds renaming. 2012-08-12 15:43:33 +02:00
Lars Jung
35d85b4e99 Renames autoupdate to autorefresh. 2012-08-12 15:18:50 +02:00
Lars Jung
1be5e121b3 Cleans code. 2012-08-12 14:56:05 +02:00
Lars Jung
fbfbcd0439 Separates translations. 2012-08-12 14:52:27 +02:00
Lars Jung
801ee05872 Adds refresh after delete an upload. 2012-08-12 11:58:09 +02:00
Lars Jung
3e3b2813cd Adds core/refresh. Refactors ext/autoupdate. 2012-08-12 11:48:34 +02:00
Lars Jung
f7fbd2e256 Fixed content transition. 2012-08-11 22:40:23 +02:00
Lars Jung
71d22fb9e0 Improves api security. 2012-08-11 22:05:29 +02:00
Lars Jung
ff40e2129f Updates dropbox design. Now the content space is the dropzone. 2012-08-11 21:41:25 +02:00
Lars Jung
4c3267c1f8 Removes unused folder uploads. 2012-08-11 20:58:10 +02:00
Lars Jung
2a1f864e6f Fixes typos. 2012-08-11 17:53:07 +02:00
Lars Jung
c160c89027 Sorts extensions in config.js 2012-08-11 17:49:30 +02:00
Lars Jung
9d26d5ae7e Adds l10n for delete. 2012-08-11 13:39:09 +02:00
Lars Jung
cc7d9ee912 Fixes selection update for deleted entries. 2012-08-11 13:36:51 +02:00
Lars Jung
0b6b2b0f33 Changes context-menu to pure delete function. 2012-08-11 13:25:27 +02:00
Lars Jung
91a9621648 Changes build process to use handelbars. 2012-08-11 02:41:03 +02:00
Lars Jung
45922c1e7b Adds context menu with delete option. 2012-08-11 02:29:15 +02:00
Lars Jung
14960af036 Dropbox feature nearly done. 2012-08-11 02:28:05 +02:00
Lars Jung
f915bdea3b Improves display of 'empty' string for empty folders. 2012-08-11 02:26:48 +02:00
Lars Jung
befdf54952 Style improvments. 2012-08-11 02:24:55 +02:00
Lars Jung
94deb369b1 Updates error messages for api upload function. 2012-08-11 02:22:41 +02:00
Lars Jung
87b3c6bfee Improves entry url encoding. 2012-08-11 02:21:12 +02:00
Lars Jung
9ac5973907 Reformats config comments. 2012-08-11 02:19:29 +02:00
Lars Jung
2f288703bf Updates jQuery to 1.8.0 2012-08-11 02:16:13 +02:00
Lars Jung
d76fad3a51 Adds drag'n'drop upload. 2012-08-09 11:34:20 +02:00
Lars Jung
da438f2f0b Adds new events. Adds autoupdate extension. 2012-08-08 02:44:25 +02:00
Lars Jung
4245f2019e Adds type diff. 2012-08-07 15:51:50 +02:00
Lars Jung
49eb730757 Updates langs. 2012-08-07 13:48:01 +02:00
Lars Jung
b506405a2c Updates version to 0.22-dev. 2012-08-06 19:28:56 +02:00
Lars Jung
bdb8c3f099 Updates version to 0.21. 2012-08-06 19:26:32 +02:00
Lars Jung
bc945895cf Merge branch 'develop' 2012-08-06 19:24:04 +02:00
Lars Jung
aa9ed865f6 Adds font references. 2012-08-06 19:17:27 +02:00
Lars Jung
a8a6871ebd Updates preview styles. 2012-08-06 16:47:17 +02:00
Lars Jung
61ae46386e Updates config. 2012-08-06 14:10:20 +02:00
Lars Jung
219234dfdd Minor style changes. 2012-08-06 01:03:54 +02:00
Lars Jung
c29b681c1b Updates readme. 2012-08-06 00:26:43 +02:00
Lars Jung
8c2c02fe82 Updates readme. 2012-08-06 00:25:25 +02:00
Lars Jung
9c1142bd02 Adds markdown preview rendering. Adds markdown type and icons. 2012-08-06 00:21:00 +02:00
Lars Jung
298d2e2efd Loads SyntaxHighlighter on demand. 2012-08-05 22:01:40 +02:00
Lars Jung
d4a213beac Updates makefile.js. 2012-08-05 19:56:26 +02:00
Lars Jung
0f948a56d8 Updates readme. 2012-08-05 17:42:06 +02:00
Lars Jung
a8e0474cca Updates readme. 2012-08-05 17:39:33 +02:00
Lars Jung
725cb1a6b8 Updates makefile to work with fQuery 0.3.0. 2012-08-05 17:33:19 +02:00
Lars Jung
a0a8882db7 Updates readme. 2012-08-05 02:56:28 +02:00
Lars Jung
f366779f7b Updates text preview styling. 2012-08-05 02:37:52 +02:00
Lars Jung
90b0b97e22 Adds text file preview and highlighting. 2012-08-04 21:47:22 +02:00
Lars Jung
974392d2eb Cleans preview-img code. 2012-08-04 15:41:42 +02:00
Lars Jung
2bcf6593a9 Adds keyboard support to image preview. 2012-08-04 01:10:44 +02:00
Lars Jung
a6fdf653a1 Updates makefile. 2012-08-03 17:09:48 +02:00
Lars Jung
0ff3d900fe Adds localization for filter placeholder. 2012-08-03 15:09:04 +02:00
Lars Jung
ce75e45b03 Updates 'el'. 2012-08-03 12:35:04 +02:00
Lars Jung
a3c68c61f8 Updates lang 'el' 2012-08-03 11:55:32 +02:00
Lars Jung
38011bd9a7 Adds date format for 'el'. 2012-08-03 11:46:12 +02:00
Lars Jung
f5e7b10d94 Refactores css. 2012-08-03 01:06:23 +02:00
Lars Jung
7ad5958487 Updates libs. 2012-08-03 00:49:28 +02:00
Lars Jung
695d5148bb updates readme. 2012-08-03 00:32:07 +02:00
Lars Jung
87103f1c3f changes language code 'gr' to 'el'. 2012-08-03 00:29:26 +02:00
Lars Jung
77f301057b Updates readme. 2012-08-03 00:06:43 +02:00
Lars Jung
9e6c612513 Improves filter. See readme and config.js. 2012-08-03 00:03:27 +02:00
Lars Jung
eaf6ad3fcb Updates readme. 2012-08-02 23:14:45 +02:00
Lars Jung
e25e5b72f4 Adds Google Analytics support (async). 2012-08-02 23:13:43 +02:00
Lars Jung
65b1823c5d Updates Modernizr to 2.6.1. 2012-08-02 22:26:52 +02:00
Lars Jung
8682e202a9 Changes build process from ant to fquery. 2012-08-02 14:35:25 +02:00
Lars Jung
3349108f7e Refactores entry model. 2012-07-17 21:28:34 +02:00
Lars Jung
050d91daa8 Refactors entry model. Hopefully not breaking anything. 2012-07-17 19:42:23 +02:00
Lars Jung
a4c81135d5 Updates, guess what.., encoding #!@#*. 2012-07-17 14:20:30 +02:00
Lars Jung
30d48fb1ef Updates location checking. 2012-07-17 13:49:37 +02:00
Lars Jung
f65f5021ae Improves location check. 2012-07-17 12:00:09 +02:00
Lars Jung
8273f0ded0 Merge pull request #76 from Neelfyn/patch-1
Add French date format
2012-07-16 13:14:48 -07:00
Antoine
07e8c67338 Add French date format 2012-07-16 22:30:05 +03:00
Lars Jung
162f32f5b8 Minor style updates. 2012-07-16 17:38:37 +02:00
Lars Jung
68497e749b Hopefully fixed href bugs for all browsers now. 2012-07-16 17:23:01 +02:00
Lars Jung
8fea7bfb74 Fixes undecoded label bug. 2012-07-16 14:00:05 +02:00
Lars Jung
7e6549faee Updates readme. 2012-07-16 01:12:06 +02:00
Lars Jung
4724214b9e Adds no-js fallback to PHP verison. 2012-07-15 23:29:21 +02:00
Lars Jung
1828855f63 Single source of truth for current location. 2012-07-15 19:34:20 +02:00
Lars Jung
17c31fc9d9 Fixes issue 72: Duplicate tree entries and emtpy main view. 2012-07-15 18:58:10 +02:00
Lars Jung
b6d6bf8ba7 Cleans code. 2012-07-15 14:06:16 +02:00
Lars Jung
2282a0ba71 Fixes problems with misalgined image previews. 2012-07-14 19:45:30 +02:00
Lars Jung
864687aedf Fixes broken callback in tree. 2012-07-14 18:26:22 +02:00
Lars Jung
93d13d6177 Updates readme. 2012-07-14 16:49:02 +02:00
Lars Jung
74450a252a Updates readme. 2012-07-14 16:47:35 +02:00
Lars Jung
87f9ada878 Updates readme. 2012-07-14 16:42:07 +02:00
Lars Jung
f6d24d050f Splits settings.js. 2012-07-14 16:34:12 +02:00
Lars Jung
64640ada83 Adds ajax abstraction. Refactors global dependencies. 2012-07-13 17:57:02 +02:00
Lars Jung
018a574d5e Another take on command button that doesn't work. 2012-07-13 13:16:05 +02:00
Lars Jung
52ffd8720a Starts fixing cmd/control select issues on mac. 2012-07-12 23:27:49 +02:00
Lars Jung
a7ffda422b Minor changes in build.xml. 2012-07-12 13:25:16 +02:00
Lars Jung
e870292878 Merge pull request #75 from manuelbieh/develop
Fixed "Call to undefined method PharData::add_file()"
2012-07-12 03:50:21 -07:00
Manuel Bieh
875b4fbe0e Fixed "Call to undefined method PharData::add_file()" -> Method is called addFile (camel cased, http://am.php.net/manual/de/phar.addfile.php) 2012-07-12 11:14:40 +02:00
Lars Jung
d47b996c9f Updates modulejs to 0.2. 2012-07-11 01:00:39 +02:00
Lars Jung
84a2ed582f Minor refactorings. 2012-07-09 00:43:01 +02:00
Lars Jung
cad50f76e2 Updates to modulejs 0.1. 2012-07-08 15:04:14 +02:00
Lars Jung
9266be9708 Updates jQuery.qrcode to 0.2 and jQuery.scrollpanel to 0.1. 2012-07-04 21:30:33 +02:00
Lars Jung
76e89820eb Updates jQuery.scrollpanel. 2012-07-04 16:28:19 +02:00
Lars Jung
bd76573401 Minor changes. 2012-07-01 14:05:09 +02:00
Lars Jung
6c3f271a3e Bundles jQuery with the main script. 2012-06-07 21:22:04 +02:00
Lars Jung
85f0af61d0 Moves LICENSE and README to folder _h5ai in the release package. 2012-05-28 18:33:25 +02:00
Lars Jung
3d06b0b81a Adds hu translation. 2012-05-28 15:06:07 +02:00
Lars Jung
09c8cf04af Version is now 0.21-pre. 2012-05-11 19:09:01 +02:00
Lars Jung
387ded1033 Merge branch 'develop' 2012-05-11 19:06:44 +02:00
Lars Jung
4cb9967b39 Thumbnails and image preview. 2012-05-11 18:54:52 +02:00
Lars Jung
faf1ce0bcf Merge branch 'develop' 2012-04-19 01:04:03 +02:00
Lars Jung
ce3ef3a195 Sets default settings. 2012-04-19 01:00:19 +02:00
Lars Jung
ade6cf8e0b Final modifications. 2012-04-19 00:57:43 +02:00
Lars Jung
de92767e5a Adds support for tarred downloads. 2012-04-17 23:38:15 +02:00
Lars Jung
e67c854cb5 Fixes problems with file type recognition. 2012-04-17 14:32:47 +02:00
Lars Jung
cc06b07d52 Fixes syntax error in ZipIt.php. 2012-04-16 21:04:04 +02:00
Lars Jung
71ed41fa69 Refactored and lots of modification. See README.md. 2012-04-16 12:53:54 +02:00
Lars Jung
859a680e19 Switches from date.js to Moment.js and adds underscore.js. 2012-04-01 01:03:09 +02:00
Lars Jung
240adb79eb Refactores js. 2012-03-31 21:30:13 +02:00
Lars Jung
4a530f5ec0 Minor changes. 2012-03-29 23:15:32 +02:00
Lars Jung
eb7f3878b1 Moves PHP feature checks into main class. 2012-03-27 20:02:23 +02:00
Lars Jung
972be7677c Enhanced feature checks. 2012-03-27 04:05:55 +02:00
Lars Jung
0d22407a2d Changes on index page. 2012-03-26 01:32:15 +02:00
Lars Jung
c173d74d06 Adds PHP support checks to index page. 2012-03-25 22:49:05 +02:00
Lars Jung
eda1a3b6ac Fixes a zipped download failure feedback bug. 2012-03-25 03:02:27 +02:00
Lars Jung
e4b6bace43 Adds options to info page. 2012-03-25 01:09:35 +01:00
Lars Jung
908848bfc7 Refactored info page assets. 2012-03-25 00:45:32 +01:00
Lars Jung
764bc0034c Adds a info index file at /_h5ai. 2012-03-25 00:09:43 +01:00
Lars Jung
c2e76dee24 Caches h5ai files only for 7 days now. 2012-03-25 00:09:04 +01:00
Lars Jung
81cce9e07c Fixes thumbnail size for portrait screenshots in icon view. 2012-03-24 21:51:23 +01:00
Lars Jung
cdb9157cd1 Disable hash changes since they break logical browser history. 2012-03-24 21:39:00 +01:00
Lars Jung
f34de37913 Fixes mousewheel scrolling, was broke mystically. 2012-03-12 23:33:04 +01:00
Lars Jung
3f0327ff1d Adds sr translation by Goran. 2012-03-12 22:31:52 +01:00
Lars Jung
998d3f30c6 Merge pull request #46 from sindresorhus/develop
Norwegian translation
2012-03-12 14:12:32 -07:00
Sindre Sorhus
0eda3f3701 Norwegian translation 2012-03-12 13:31:58 +01:00
Lars Jung
db4bfec2dd Minor changes. 2012-03-07 20:58:30 +01:00
Lars Jung
a796bd606f Refactores localization. 2012-03-07 17:29:20 +01:00
Lars Jung
1152c00018 Updates libs: jQuery, amplify and jQuery.fracs. 2012-03-07 14:18:49 +01:00
Lars Jung
194a202a0b Renames main script file to H5ai.js and main h5ai reference to h5ai. 2012-03-07 02:33:48 +01:00
Lars Jung
fbff8686bf Removes unnecessary closures. 2012-03-07 01:58:34 +01:00
Lars Jung
b1f6bd0d67 Fixes warnings on https sites loading http resources. 2012-03-06 01:24:47 +01:00
Lars Jung
89a85c0dd2 Semantic changes on file names. 2012-03-04 23:23:33 +01:00
Lars Jung
18181edad9 Fixes minor CSS bug. 2012-03-04 23:06:05 +01:00
Lars Jung
db946f2812 Adds a very basic print style. 2012-03-02 17:26:23 +01:00
Lars Jung
833a8ed13f Adds html5 shiv for IE < 9. 2012-03-01 10:54:42 +01:00
Lars Jung
51c5eb53e7 Adds missing html-tag classes for old browsers. 2012-02-29 17:01:48 +01:00
Lars Jung
3e318e43e8 Updates readme. 2012-02-29 16:39:11 +01:00
Lars Jung
d4c80612dc Fixes js problems in IE 7+8. Hides broken tree view in those browsers and adds a message to the footer. 2012-02-29 16:34:24 +01:00
Lars Jung
13693a4f3b Updates readme. 2012-02-28 13:38:41 +01:00
Lars Jung
1f1a6938ba Merge branch 'develop' of github.com:lrsjng/h5ai into develop 2012-02-28 13:37:24 +01:00
Lars Jung
a45725052b Changes options for dev. 2012-02-28 13:37:12 +01:00
Lars Jung
d90f7f33f7 Merge pull request #41 from metasta/develop
Added Japanese (ja) translation
2012-02-28 04:36:00 -08:00
metasta
f917f3b570 first japanese translation 2012-02-28 12:46:52 +09:00
Lars Jung
4be6e0f4c3 Updates readme. 2012-02-25 16:30:27 +01:00
Lars Jung
ad82ecad6f Merge pull request #40 from midday/ro-locale
Thank you!
2012-02-25 07:27:42 -08:00
Jakob Cosoroaba
14db2a2db7 fixed missing caron 2012-02-25 17:21:10 +02:00
Jakob Cosoroaba
e1c7e3da59 Added Romanian Locale 2012-02-25 17:21:10 +02:00
Lars Jung
6bbf0604b8 Updates lv translation and replaces spaces with tabs in config.js. 2012-02-24 23:38:59 +01:00
Lars Jung
16d4aa3aa9 Changes version to pre0.19. 2012-02-24 18:14:33 +01:00
Lars Jung
796fc75533 Merge branch 'develop' 2012-02-24 17:02:46 +01:00
Lars Jung
cc13005a1d Prepares release. 2012-02-24 16:52:31 +01:00
Lars Jung
cdb0f9035d Minor changes. 2012-02-24 16:37:37 +01:00
Lars Jung
041c172a55 Adds support for zipped download of htaccess restricted files. 2012-02-24 16:31:47 +01:00
Lars Jung
08cc2834df Adds en- and decoding for URL hashes. 2012-02-24 00:01:43 +01:00
Lars Jung
997f1cd80f Improves URL hashs. 2012-02-23 22:41:17 +01:00
Lars Jung
7c1feaebc0 Changes download button style while zipping. 2012-02-23 12:38:11 +01:00
Lars Jung
f1175f5149 More design changes. 2012-02-22 23:47:05 +01:00
Lars Jung
556d206ab8 Hide filter input field if no filter is set. 2012-02-22 13:18:46 +01:00
Lars Jung
bfebcb3bcd Changes design. 2012-02-22 11:38:53 +01:00
Lars Jung
32023fc86e Updates readme. 2012-02-22 07:22:04 +01:00
Lars Jung
78dc01d5b3 Merge pull request #38 from medicalwei/develop
Add translation to zh-tw, and fix translation on zh-cn.
2012-02-21 22:16:50 -08:00
Yao Wei (魏銘廷)
4e90a41614 added zh-tw translation. fix zh-cn translation. 2012-02-22 13:24:49 +08:00
Lars Jung
1b0c9d81ac Adds animated loading gif. 2012-02-21 21:29:47 +01:00
Lars Jung
84f543aca5 Filter accepts RegExp and primitive search sequences. 2012-02-21 01:59:19 +01:00
Lars Jung
749a87eaf7 Reduces number of HTTP requests. 2012-02-20 16:35:48 +01:00
Lars Jung
6901044518 Small js fixes. 2012-02-20 15:08:29 +01:00
Lars Jung
b39fbb8dc0 Removes console.log lines. 2012-02-20 03:12:12 +01:00
Lars Jung
d7b3bd79f8 Fixes build process. 2012-02-20 03:06:01 +01:00
Lars Jung
c8d079b826 Updates readme. 2012-02-20 02:47:00 +01:00
Lars Jung
8ee901517b Removes some redundancy. 2012-02-20 02:46:02 +01:00
Lars Jung
6bfbdb4d05 Adds optional QRCodes and filtering for displayed files. 2012-02-19 22:29:42 +01:00
Lars Jung
bc6e9fb150 Improves zipped download. 2012-02-17 23:21:13 +01:00
Lars Jung
f51a0b80a7 Js version uses settings.thumbTypes too. 2012-02-17 13:47:09 +01:00
Lars Jung
d56d0716cb Fixes problems with thumbnails for filenames with single and double quotes. 2012-02-17 11:28:08 +01:00
Lars Jung
42d3dfe80e Updates readme. 2012-02-17 03:25:57 +01:00
Lars Jung
1a8ef62188 Fixes broken links in custom headers/footers. Updates default options. 2012-02-17 03:23:42 +01:00
Lars Jung
ecf91b506e Disallows indexing the _h5ai folder by default. 2012-02-17 01:21:43 +01:00
Lars Jung
ca4d3ae315 Adds classes to <html> to distinguish h5ai versions. 2012-02-17 01:18:57 +01:00
Lars Jung
ba12154566 Updates build process. 2012-02-16 00:55:13 +01:00
Lars Jung
ba3e61c1d0 Moves thumbTypes to config.js. 2012-02-16 00:34:55 +01:00
Lars Jung
9f10e92175 Fixes include problems as well as Win path problems. 2012-02-15 18:41:13 +01:00
Lars Jung
d72ea22fb0 Small fix on initial tree view display. 2012-02-14 13:16:28 +01:00
Lars Jung
76f107cbfe Fixes problems with folder recognition in the JS version. 2012-02-13 00:11:19 +01:00
Lars Jung
cbdd185602 Makes custom headers/footers optional. Disabled by default. 2012-02-12 23:56:19 +01:00
Lars Jung
20858a1f43 Switches indentation to tabs. 2012-02-12 22:35:38 +01:00
Lars Jung
231ba3013b Updates es translation. 2012-02-12 21:59:17 +01:00
Lars Jung
47b6260186 Prepares for 0.18. 2012-02-12 02:40:14 +01:00
Lars Jung
8308c70f90 Merge branch 'develop' 2011-11-28 00:50:22 +01:00
Lars Jung
3baab50953 Last changes before release. 2011-11-28 00:49:22 +01:00
Lars Jung
4e4e654467 Fixes config. 2011-11-26 20:56:07 +01:00
Lars Jung
ff32e198a6 Merge branch 'switch-root' into develop 2011-11-26 20:54:32 +01:00
Lars Jung
ebec62adac Changes a lot... forgot to commit. 2011-11-26 20:53:51 +01:00
Lars Jung
74d967a27a Merge branch 'develop' 2011-11-02 00:57:18 +01:00
Lars Jung
6a5c35ad9a Last changes before release. 2011-11-02 00:56:55 +01:00
Lars Jung
4901034721 A lot of small fixes. 2011-11-01 22:33:00 +01:00
Lars Jung
8b1d6b9ef7 Updates readme. 2011-10-30 22:05:25 +01:00
Lars Jung
0fcd4e9709 Merge branch 'redesign-js' into develop 2011-10-30 21:55:05 +01:00
Lars Jung
4a65ce61df Improves file selection for zipped download. Zipped download is now disabled by default. 2011-10-30 21:50:25 +01:00
Lars Jung
3c23c7e956 Changes default language from to . 2011-10-07 16:38:30 +02:00
Lars Jung
caced60eaa More refactorings. 2011-10-06 05:12:29 +02:00
Lars Jung
4c1ed3d1e8 Redesigned js. 2011-09-29 13:43:22 +02:00
Lars Jung
8670b248a9 Refactorings. 2011-09-27 17:45:09 +02:00
Lars Jung
7f46dceba0 Minor refactorings. 2011-09-24 03:26:03 +02:00
Lars Jung
a95aef17be Removed release folder. 2011-09-23 17:09:05 +02:00
Lars Jung
e8dcb83d92 Improved HTML head sections. 2011-09-23 17:05:40 +02:00
Lars Jung
03de1d9472 Sorted translations in options.js. 2011-09-18 22:45:30 +02:00
Lars Jung
5e486e0aa2 Moved to version 0.16. 2011-09-18 19:54:18 +02:00
Lars Jung
a8f62f187c Added it translation. Switched to wepp. 2011-09-18 19:49:26 +02:00
Lars Jung
8e21a3c038 Fixed security issues. 2011-09-06 20:57:49 +02:00
Lars Jung
df30c67ade Added selection and zipped download. 2011-09-04 21:18:55 +02:00
Lars Jung
2d3b0eed4f Added selection and zipped download. 2011-09-04 21:18:19 +02:00
Lars Jung
a371ee2afd Minor additions. 2011-09-01 14:27:58 +02:00
Lars Jung
480c4aab79 Added thumbs and slide option. 2011-08-16 21:03:09 +02:00
Lars Jung
745bff09cb Changes in /h5ai/.htaccess 2011-08-12 19:04:14 +02:00
Lars Jung
7d6ced78da Fixes on PHP interpretation and tree display. 2011-08-12 15:58:03 +02:00
Lars Jung
b9835ebaad Added PHP implementation. For a full list of changes see README.md. 2011-08-06 13:26:44 +02:00
Lars Jung
8da046d550 Updated readme. 2011-07-30 13:45:26 +02:00
Lars Jung
e5b7ee6125 Added tr translation. 2011-07-30 13:19:28 +02:00
Lars Jung
e70d9029d2 Added es translation. 2011-07-30 12:35:51 +02:00
Lars Jung
b561082bca Updated build process and readme. 2011-07-29 13:52:51 +02:00
Lars Jung
ae464169a6 Updated readme. 2011-07-29 03:25:48 +02:00
Lars Jung
0f681930b3 Fixed unchecked use of console.log. 2011-07-29 02:36:53 +02:00
Lars Jung
5db74d054f Improved preformance for large directories. Changed build process. 2011-07-28 18:07:13 +02:00
Lars Jung
2e179df6e5 Changed license to MIT. 2011-07-27 02:25:00 +02:00
Lars Jung
8aed077297 Improved tree scrollbar. 2011-07-26 16:40:18 +02:00
Lars Jung
89fd74c4ab Fixed problems with ' in links 2011-07-24 18:05:44 +02:00
Lars Jung
5708b2e38e * fixed problems with XAMPP on Windows (see dot.htaccess comments for instructions)
* fixed tree fade-in-fade-out effect for small displays ([issue #6](http://github.com/lrsjng/h5ai/issues/6))
* added custom scrollbar to tree ([issue #6](http://github.com/lrsjng/h5ai/issues/6))
* fixed broken links caused by URI encoding/decoding ([issue #9](http://github.com/lrsjng/h5ai/issues/9))
* added "empty" to localization (hope Google Translate did a good job here)
2011-07-24 15:25:43 +02:00
Lars Jung
2407cd50ce Merge pull request #7 from MarcoSharper/master
Czech and Slovak translation
2011-07-19 11:46:04 -07:00
Marek Hrabe
fbcb8cb5e8 Added Slovak translation 2011-07-19 20:38:09 +02:00
Marek Hrabe
d822eb63e2 Added Czech translation 2011-07-19 20:33:03 +02:00
Lars Jung
5245b131b8 Forgot to build target. 2011-07-18 23:24:26 +02:00
Lars Jung
0293d54789 Finally decided to release v0.9. Totally flushed by the feedback of the last 2 days. Thanks. See README.md for changes. 2011-07-18 23:22:24 +02:00
Lars Jung
0d4edcb047 Lots of changes. See README.md changelog. 2011-07-08 03:32:23 +02:00
Lars Jung
a339814582 Updated screenshots. 2011-07-07 02:59:10 +02:00
Lars Jung
8eac4ca133 Removed shadows. Reworked tree side bar. 2011-07-07 02:26:07 +02:00
Lars Jung
e4646734f2 Added localization. 2011-07-05 01:39:45 +02:00
Lars Jung
e54abe08ca Added folder effects to details and icons view. Moved some icons. 2011-07-04 20:14:24 +02:00
Lars Jung
faaddd8d60 Remove screenshots. 2011-07-04 16:31:05 +02:00
Lars Jung
d599425452 Some comments and documentation. 2011-07-04 16:26:35 +02:00
Lars Jung
3e6197d2fc Added comments in options.js. 2011-07-04 12:51:34 +02:00
Lars Jung
ecf93da505 Forgot to remove local options. 2011-07-04 02:24:12 +02:00
Lars Jung
e91a127771 Forgot to remove local options. 2011-07-04 02:23:43 +02:00
Lars Jung
b8fba3ac8e Added basic options support. Refactored js. 2011-07-04 02:18:27 +02:00
Lars Jung
b7387adfc8 Some fixes. 2011-07-02 21:11:25 +02:00
Lars Jung
8ee98ed7bd Disabled tree. 2011-07-01 15:32:22 +02:00
Lars Jung
067e0970f8 Added tree sidebar. 2011-07-01 01:51:24 +02:00
Lars Jung
13ddb670b8 Updated screenshots and readme. 2011-06-27 16:13:07 +02:00
Lars Jung
ed1a19dd5c Rewrote js. Added and sorted icons. Cleaned. Version 0.4. 2011-06-27 15:35:50 +02:00
Lars Jung
c06bfea09b Updated references. 2011-06-25 02:58:00 +02:00
Lars Jung
e3da1c2603 Updated references. 2011-06-25 02:54:52 +02:00
Lars Jung
e14787e258 Forgot to update readme. 2011-06-24 22:18:44 +02:00
466 changed files with 29761 additions and 1457 deletions

47
.gitignore vendored
View File

@@ -1,47 +1,6 @@
# Build folders to ignore
bin
build
#target
# Eclipse
.classpath
.ant-targets-build.xml
# Numerous always-ignore extensions
*.diff
*.err
*.orig
*.log
*.rej
*.swo
*.swp
*.vi
*~
*.sass-cache
# OS or Editor folders
.DS_Store
.cache
.project
.settings
.tmproj
nbproject
Thumbs.db
# Dreamweaver added files
_notes
dwsync.xml
# Komodo
*.komodoproject
.komodotools
# Folders to ignore
.hg
.svn
.CVS
intermediate
publish
.idea
local
*.sublime-*
test

19
LICENSE.md Normal file
View File

@@ -0,0 +1,19 @@
Copyright (c) 2013 Lars Jung, http://larsjung.de
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
of the Software, and to permit persons to whom the Software is furnished to do
so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

506
README.md
View File

@@ -1,102 +1,444 @@
# h5ai v0.3.1 &#160; · &#160; a beautified Apache index
# h5ai
**a modern HTTP web server index for Apache httpd, lighttpd, nginx and Cherokee**
## Screenshots
<a href="http://github.com/lrsjng/h5ai/raw/master/resources/h5ai-v0.2.1-details.png" target="_blank">
<img src="http://github.com/lrsjng/h5ai/raw/master/resources/h5ai-v0.2.1-details.png" width="400px" alt="screenshot" title="screenshot" style="display: inline" />
</a>
&#160; &#160; &#160;
<a href="http://github.com/lrsjng/h5ai/raw/master/resources/h5ai-v0.2.1-icons.png" target="_blank">
<img src="http://github.com/lrsjng/h5ai/raw/master/resources/h5ai-v0.2.1-icons.png" width="400px" alt="screenshot" title="screenshot" style="display: inline" />
</a>
## Live example
View a [sample folder](http://repo.larsjung.de/h5ai-sample)
*(the files are all empty to save webspace)*
The preferred way to report a bug or make a feature request is to
create [a new issue](http://github.com/lrsjng/h5ai/issues/new) on GitHub!
## Install
Everything you need is located in folder `target`.
( **note:** please don't use files from the `src` folder for installation,
they need to be preprocessed to work correctly )
* Copy folder `h5ai` to the web-root directory of your server or alternativly set an alias `/h5ai/` to
this folder.
* Add the content of file `dot.htaccess` to the `.htaccess` file inside the directory
you want to be styled (you might have to create this file). This directory and any subdirectories will be
styled by h5ai.
Optionally add `h5ai.header.html` and/or `h5ai.footer.html` files to any of the styled folders to [display
custom top or bottom sections](http://repo.larsjung.de/h5ai-sample/customize). The content of those files
will be wrapped by `<header>` and `<footer>` tags.
You'll find a preprocessed package, as well as detailed installation
instructions on the [project page](http://larsjung.de/h5ai/).
## Changelog
## Build
### v0.3.1
*2011-06-24*
( there are repositories for the latest [releases](http://release.larsjung.de/h5ai/) and [dev builds](http://release.larsjung.de/h5ai/dev/) )
* refactored js
* added `folderClick` and `fileClick` callback hooks
* fixed .emtpy style
If you want to build **h5ai** yourself you need to install the build tool [fQuery](http://larsjung.de/fquery/) first:
> npm install -g fquery
### v0.3
*2011-06-23*
This will install fQuery and its command line tool `makejs`. Run `makejs --help` to see if everything
worked fine.
* included build stuff, files previously found in the base directory are now located in folder `target`
* styles and scripts are now minified
* added Modernizr 2.0.4 for future use
* updated jQuery to version 1.6.1
To clone and build the project run the following commands.
You'll find a new directory `build` including a fresh zipball.
### v0.2.3
*2011-06-17*
* more refactoring in main.js
* ~~added custom js support, and global includes~~ *removed, only custom top and bottom sections supported*
### v0.2.2
*2011-06-16*
* refactored a lot, added some comments
* included fixes from [NumEricR](http://github.com/NumEricR/h5ai)
* added top/bottom message support, only basicly styled
### v0.2.1
*2011-06-16*
* fixed croped filenames
* fixed missing .png extension in header
* added some color to the links
* added changelog
### v0.2
*2011-06-15*
* added icon view
## Author
[Lars Jung](http://larsjung.de)
[h5ai on github](http://github.com/lrsjng/h5ai)
> git clone git://github.com/lrsjng/h5ai.git
> cd h5ai
> makejs release
## License
<a rel="license" href="http://creativecommons.org/licenses/by-sa/3.0/"><img alt="Creative Commons License" style="border-width:0" src="http://i.creativecommons.org/l/by-sa/3.0/88x31.png" /></a>
This project is licensed under the [CC BY-SA 3.0 License](http://creativecommons.org/licenses/by-sa/3.0/).
It is based on
[HTML5 Boilerplate](http://html5boilerplate.com),
[jQuery](http://jquery.com),
[Modernizr](http://www.modernizr.com) and
[Faenza icon set](http://tiheum.deviantart.com/art/Faenza-Icons-173323228),
please respect their rights.
**h5ai** is provided under the terms of the [MIT License](http://github.com/lrsjng/h5ai/blob/develop/LICENSE.md).
It profits from these great projects:
[Faenza icon set](http://tiheum.deviantart.com/art/Faenza-Icons-173323228)&nbsp;(GPL),
[Gnome Symbolic Icon Theme](https://git.gnome.org/browse/gnome-icon-theme-symbolic/)&nbsp;(CC BY-SA 3.0),
[HTML5 ★ Boilerplate](http://html5boilerplate.com)&nbsp;(MIT),
[jQuery](http://jquery.com)&nbsp;(MIT),
[jQuery.filedrop](http://www.github.com/weixiyen/jquery-filedrop)&nbsp;(MIT),
[jQuery.fracs](http://larsjung.de/fracs/)&nbsp;(MIT),
[jQuery.mousewheel](http://github.com/brandonaaron/jquery-mousewheel)&nbsp;(MIT),
[jQuery.qrcode](http://larsjung.de/qrcode/)&nbsp;(MIT),
[jQuery.scrollpanel](http://larsjung.de/scrollpanel/)&nbsp;(MIT),
[markdown-js](http://github.com/evilstreak/markdown-js)&nbsp;(MIT),
[Modernizr](http://www.modernizr.com)&nbsp;(MIT/BSD),
[modulejs](http://larsjung.de/modulejs/)&nbsp;(MIT),
[Moment.js](http://momentjs.com)&nbsp;(MIT),
[SyntaxHighlighter](http://alexgorbatchev.com/SyntaxHighlighter/)&nbsp;(MIT/GPL),
[Underscore.js](http://underscorejs.org)&nbsp;(MIT)
## Changelog
( **h5ai** uses [semantic versioning](http://semver.org/) )
### v0.23.0 - *2013-07-21*
* removes `aai` mode!
* drops support for IE7+8 (simple fallback, same as no javascript)
* uses History API if available (way faster browsing)
* faster thumbnail generation if EXIF thumbnails available
* adds optional custom headers/footers that are propageted to all subfolders
* optional hide parent folder links
* some fixes on previews
* speeds up packaged downloads
* add line wrap and line highlighting (on hover) to text preview
* new design (colors, images)
* now uses scalable images for the interface
* fixes filter (ignore parent folder, display of `no match`)
* lots of small fixes
* updates H5BP to 4.2.0
* updates jQuery to 2.0.3
* updates jQuery.mousewheel to 3.1.3
* updates Moment.js to 2.1.0
* updates markdown-js to 0.4.0-9c21acdf08
* updates json2.js to 2013-05-26
* adds `uk` translation by Viktor Matveenko
* updates to `pl` translation by Mark
### v0.22.1 - *2012-10-16*
* bug fix concerning API requests in PHP mode
* minor changes in responsive styles
### v0.22 - *2012-10-14*
* general changes h5ai directory layout and configuration
* splits configuration file (`config.json`) into files `options.json`, `types.json` and `langs.json`
* localization now in separate files
* adds auto-refresh
* adds drag'n'drop upload (PHP, experimental)
* adds file deletion (PHP, experimental)
* cleans and improves PHP code
* PHP no longer respects htaccess restrictions (so be careful)
* PHP ignore patterns might include paths now
* improves separation between aai and php mode
* improves performance in aai mode
* adds optional binary prefixes for file sizes
* improves filter: autofocus on keypress, clear on `ESC`
* download packages now packaged relative to current folder
* download package name changable
* splits type `js` into `js` and `json`
* prevents some errors with files > 2GB on 32bit OS
* adds max subfolder size in tree view
* adds ctrl-click file selection
* adds Piwik analytics extension
* temp download packages are now stored in the `cache`-folder and deleted as soon as possible
* updates translations
* adds `he` translation by [Tomer Cohen](https://github.com/tomer)
* updates 3rd party libs
### v0.21 - *2012-08-06*
* fixes misaligned image previews
* adds no JavaScript fallback to PHP version
* fixes duplicate tree entries and empty main views
* adds Google Analytics support (async)
* improves filter (now ignorecase, now only checks if chars in right order)
* adds keyboard support to image preview (space, enter, backspace, left, right, up, down, f, esc)
* adds text file preview and highlighting with [SyntaxHighlighter](http://alexgorbatchev.com/SyntaxHighlighter/) (same keys as img preview)
* adds Markdown preview with [markdown-js](http://github.com/evilstreak/markdown-js)
* adds new type `markdown`
* changes language code `gr` to `el`
* adds localization for filter placeholder
* adds `hu` translation by [Rodolffo](http://github.com/Rodolffo)
* updates to [jQuery.qrcode](http://larsjung.de/qrcode/) 0.2
* updates to [jQuery.scrollpanel](http://larsjung.de/scrollpanel/) 0.1
* updates to [modulejs](http://larsjung.de/modulejs/) 0.2
* updates to [Moment.js](http://momentjs.com) 1.7.0
* updates to [Underscore.js](http://underscorejs.org) 1.3.3
### v0.20 - *2012-05-11*
* adds image preview
* adds thumbnails for video and pdf
* adds support for lighttpd, nginx and cherokee and maybe other webservers with PHP
* adds folder size in PHP version via shell `du`
* fixes some localization problems
* updates info page at `/_h5ai/`
* switches to JSHint
### v0.19 - *2012-04-19*
* adds lots of config options
* changes in `config.js` and `h5ai.htaccess`
* fixes js problems in IE 7+8
* hides broken tree view in IE < 9, adds a message to the footer
* removes hash changes since they break logical browser history
* fixes thumbnail size for portrait images in icon view
* fixes problems with file type recognition
* adds an info page at `/_h5ai/`
* sort order is preserved while browsing
* removes PHP error messages on thumbnail generation
* fixes PHP some problems with packed download
* adds support for tarred downloads
* changes crumb image for folders with an index file
* adds `index.php` to use h5ai in non-Apache environments
* switches from [Datejs](http://www.datejs.com) to [Moment.js](http://momentjs.com)
* adds [underscore.js](http://underscorejs.org)
* fixes mousewheel problems, updates [jQuery.mousewheel](http://github.com/brandonaaron/jquery-mousewheel) to 3.0.6
* updates `lv` translation
* adds `ro` translation by [Jakob Cosoroabă](http://github.com/midday)
* adds `ja` translation by [metasta](http://github.com/metasta)
* adds `nb` translation by [Sindre Sorhus](http://github.com/sindresorhus)
* adds `sr` translation by [vBm](http://github.com/vBm)
* adds `gr` translation by [xhmikosr](http://github.com/xhmikosr)
### v0.18 - *2012-02-24*
* adds optional QRCode display
* adds optional filtering for displayed files and folders
* updates design
* improves zipped download
* adds support for zipped download of htaccess restricted files
* changes h5ai.htaccess
* custom headers/footers are now optional and disabled by default
* fixes problems with folder recognition in the JS version
* fixes include problems in PHP version
* fixes path problems on servers running on Windows in PHP version
* fixes broken links in custom headers/footers while zipped download enabled
* fixes problems with thumbnails for files with single or double quotes in filename
* improves url hashes
* updates year in `LICENSE.TXT`
* updates es translation
* adds `zh-tw` translation by [Yao Wei](http://github.com/medicalwei)
* updates `zh-cn` translation
### v0.17 - *2011-11-28*
* h5ai is now located in `_h5ai` to reduce collisions
* switches from HTML5 Boilerplate reset to normalization
* adds some style changes for small devices
* configuration (options, types, translations) now via `config.js`
* icons for JS version are now configured via `config.js`
* sort order configuration changed
* sorting is now done without page reload
* adds `customHeader` and `customFooter` to `config.js`
* supports restricted folders to some extent
* some style changes on tree and language menu
* fixes total file/folder count in status bar
* adds support for use with userdir (requires some manual changes)
### v0.16 - *2011-11-02*
* sorts translations in `options.js`
* improves HTML head sections
* refactors JavaScript and PHP a lot
* improves/fixes file selection for zipped download
* fixes scrollbar and header/footer link issues (didn't work when zipped download enabled)
* adds support for ctrl-select
* `dateFormat` in `options.js` changed, now affecting JS and PHP version
* `dateFormat` is localizable by adding it to a translation in `options.js`
* PHP version is now configurable via `php/config.php` (set custom doc root and other PHP related things)
* image thumbs and zipped download is disabled by default now, but works fine if PHP is configured
### v0.15.2 - *2011-09-18*
* adds `it` translation by [Salvo Gentile](http://github.com/SalvoGentile) and [Marco Patriarca](http://github.com/Fexys)
* switches build process from scripp to wepp
### v0.15.1 - *2011-09-06*
* fixes security issues with the zipped download feature
* makes zipped download optional (but enabled by default)
### v0.15 - *2011-09-04*
* adds zipped download for selected files
* cleans and refactores
### v0.14.1 - *2011-09-01*
* display meta information in bottom bar (icon view)
* adds `zh-cn` translation by [Dongsheng Cai](http://github.com/dongsheng)
* adds `pl` translation by Radosław Zając
* adds `ru` translation by Богдан Илюхин
### v0.14 - *2011-08-16*
* adds image thumbnails for PHP version
* new option `slideTree` to turn off auto slide in
### v0.13.2 - *2011-08-12*
* changes in `/h5ai/.htaccess` ... PHP configuration ...
### v0.13.1 - *2011-08-12*
* fixes initial tree display
* adds sort order option
* adds/fixes some translations
* adds `lv` translation by Sandis Veinbergs
### v0.13 - *2011-08-06*
* adds PHP implementation! (should work with PHP 5.2+)
* adds new options
* changes layout of the bottom bar to display status information
* adds language selector to the bottom bar
* quotes keys in `options.js` to make it valid json
* changes value of option `lang` from `undefined` to `null`
* adds some new keys to `h5aiLangs`
* adds browser caching rules for css and js
* adds `pt` translation by [Jonnathan](http://github.com/jonnsl)
* adds `bg` translation by George Andonov
### v0.12.3 - *2011-07-30*
* adds `tr` translation by [Batuhan Icoz](http://github.com/batuhanicoz)
### v0.12.2 - *2011-07-30*
* adds `es` translation by Jose David Calderon Serrano
### v0.12.1 - *2011-07-29*
* fixes unchecked use of console.log
### v0.12 - *2011-07-28*
* improves performance
### v0.11 - *2011-07-27*
* changes license to MIT license, see `LICENSE.txt`
### v0.10.2 - *2011-07-26*
* improves tree scrollbar
### v0.10.1 - *2011-07-24*
* fixes problems with ' in links
### v0.10 - *2011-07-24*
* fixes problems with XAMPP on Windows (see `dot.htaccess` comments for instructions)
* fixes tree fade-in-fade-out effect for small displays ([issue #6](http://github.com/lrsjng/h5ai/issues/6))
* adds custom scrollbar to tree ([issue #6](http://github.com/lrsjng/h5ai/issues/6))
* fixes broken links caused by URI encoding/decoding ([issue #9](http://github.com/lrsjng/h5ai/issues/9))
* adds "empty" to localization (hope Google Translate did a good job here)
### v0.9 - *2011-07-18*
* links hover states between crumb, extended view and tree
* fixes size of tree view (now there's a ugly scrollbar, hopefully will be fixed)
* refactores js to improve performance and cleaned code
* adds caching for folder status codes and content
* adds `fr` translation by [Nicolas](http://github.com/Nicosmos)
* adds `nl` translation by [Stefan de Konink](http://github.com/skinkie)
* adds `sv` translation by Oscar Carlsson
### v0.8 - *2011-07-08*
* removes slashes from folder labels
* optionally rename parent folder entries to real folder names, see `options.js`
* long breadcrumbs (multiple rows) no longer hide content
* error folder icons are opaque now
* refactores js a lot (again...)
### v0.7 - *2011-07-07*
* removes shadows
* smarter tree side bar
### v0.6 - *2011-07-05*
* refactores js
* adds localization, see `options.js`
### v0.5.3 - *2011-07-04*
* refactores js
* adds basic options support via `options.js`
* adds comments to `options.js`
* adds optional tree sidebar
### v0.5.2 - *2011-07-02*
* details view adjusts to window width
* links icon for *.gz and *.bz2
### v0.5.1 - *2011-07-01*
* disables tree sidebar for now, since it had unwanted side effects
### v0.5 - *2011-07-01*
* adds tree sidebar
* some refactorings
### v0.4 - *2011-06-27*
* adds better fallback, in case JavaScript is disabled
* rewrites js, fixed middle-button click etc. problems
* refactors css
* sorts, adds and moves icons and images
* updates dot.access
### v0.3.2 - *2011-06-24*
* removes lib versions from file names
* adds 'empty' indicator for icons view
### v0.3.1 - *2011-06-24*
* refactores js
* adds `folderClick` and `fileClick` callback hooks
* fixes .emtpy style
### v0.3 - *2011-06-23*
* includes build stuff, files previously found in the base directory are now located in folder `target`
* styles and scripts are now minified
* adds Modernizr 2.0.4 for future use
* updates jQuery to version 1.6.1
### v0.2.3 - *2011-06-17*
* more refactoring in main.js
### v0.2.2 - *2011-06-16*
* refactores a lot, adds some comments
* includes fixes from [NumEricR](http://github.com/NumEricR)
* adds top/bottom message support, only basicly styled
### v0.2.1 - *2011-06-16*
* fixes croped filenames
* fixes missing .png extension in header
* adds some color to the links
* adds changelog
### v0.2 - *2011-06-15*
* adds icon view

View File

@@ -1,19 +0,0 @@
custom = true
# project
project.name = h5ai
project.version = 0.3.2
# src
src.dir = src
# build
build.dir = target
# libs
lib.scripp.jar = tools/scripp.jar

View File

@@ -1,58 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<project
name="h5ai"
basedir="."
xmlns:scripp="antlib:de.larsjung.scripp.ant"
>
<target name="init">
<property file="build.properties" />
<tstamp>
<format property="build.stamp" pattern="yyyy-MM-dd-HHmmss" />
</tstamp>
<property name="build.label" value="${project.name} ${project.version} b${build.stamp}" />
<echo>Build: ${build.label}</echo>
<taskdef
resource="de/larsjung/scripp/ant/antlib.xml"
uri="antlib:de.larsjung.scripp.ant"
classpath="${lib.scripp.jar}"
/>
</target>
<target name="clean" depends="init">
<delete dir="${build.dir}" />
</target>
<target name="build" depends="clean">
<mkdir dir="${build.dir}" />
<copy todir="${build.dir}">
<fileset dir="${src.dir}" />
</copy>
<replace dir="${build.dir}">
<replacefilter token="%BUILD%" value="${build.label}" />
<replacefilter token="%BUILD_NAME%" value="${project.name}" />
<replacefilter token="%BUILD_VERSION%" value="${project.version}" />
<replacefilter token="%BUILD_STAMP%" value="${build.stamp}" />
</replace>
<scripp.dir dir="${build.dir}/h5ai/css" />
<scripp.dir dir="${build.dir}/h5ai/js" />
</target>
<macrodef name="scripp.dir">
<attribute name="dir" />
<sequential>
<scripp:process>
<fileset dir="@{dir}" includes="**/*.less,**/*.css,**/*.js" excludes="inc/**/*,**/*.min.css,**/*.min.js" />
<globmapper from="*.less" to="*.css" />
<globmapper from="*.css" to="*.css" />
<globmapper from="*.js" to="*.js" />
</scripp:process>
<delete dir="@{dir}/inc">
<fileset dir="@{dir}" includes="**/*.less" />
</delete>
</sequential>
</macrodef>
</project>

169
makefile.js Normal file
View File

@@ -0,0 +1,169 @@
/*jshint node: true */
'use strict';
var path = require('path'),
pkg = require('./package.json'),
root = path.resolve(__dirname),
src = path.join(root, 'src'),
build = path.join(root, 'build'),
jshint = {
// Enforcing Options
bitwise: true,
curly: true,
eqeqeq: true,
forin: true,
latedef: true,
newcap: true,
noempty: true,
plusplus: true,
trailing: true,
undef: true,
// Environments
browser: true,
// Globals
predef: [
'modulejs'
]
},
handlebarsEnv = {
pkg: pkg
},
mapSrc = function (blob) {
return blob.source.replace(src, build).replace(/\.less$/, '.css').replace(/\.jade$/, '');
},
mapRoot = function (blob) {
return blob.source.replace(root, path.join(build, '_h5ai'));
};
module.exports = function (make) {
var Event = make.Event,
$ = make.fQuery,
moment = make.moment;
make.version('>=0.8.1');
make.defaults('build');
make.before(function () {
handlebarsEnv.stamp = moment().format('YYYY-MM-DD HH:mm:ss');
});
make.target('check-version', [], 'add git info to dev builds').async(function (done, fail) {
if (!/-dev$/.test(pkg.version)) {
done();
return;
}
$.git(root, function (err, result) {
pkg.version += '-' + result.revListOriginMasterHead.length + '-' + result.revParseHead.slice(0, 7);
Event.info({
method: 'check-version',
message: 'version set to ' + pkg.version
});
done();
});
});
make.target('clean', [], 'delete build folder').sync(function () {
$.rmfr($.I_AM_SURE, build);
});
make.target('lint', [], 'lint all JavaScript files with JSHint').sync(function () {
$(src + '/_h5ai/client/js: **/*.js, ! lib/**')
.jshint(jshint);
});
make.target('build', ['check-version'], 'build all updated files').sync(function () {
$(src + ': _h5ai/client/js/*.js')
.modified(mapSrc, $(src + ': _h5ai/client/js/**'))
.includify()
.uglifyjs()
.write($.OVERWRITE, mapSrc);
$(src + ': _h5ai/client/css/*.less')
.modified(mapSrc, $(src + ': _h5ai/client/css/**'))
.less()
.cssmin()
.write($.OVERWRITE, mapSrc);
$(src + ': **/*.jade')
.modified(mapSrc)
.handlebars(handlebarsEnv)
.jade()
.write($.OVERWRITE, mapSrc);
$(src + ': **, ! _h5ai/client/js/**, ! _h5ai/client/css/**, ! **/*.jade')
.modified(mapSrc)
.handlebars(handlebarsEnv)
.write($.OVERWRITE, mapSrc);
$(root + ': README*, LICENSE*')
.modified(mapRoot)
.write($.OVERWRITE, mapRoot);
});
make.target('build-uncompressed', ['check-version'], 'build all updated files without compression').sync(function () {
$(src + ': _h5ai/client/js/*.js')
.modified(mapSrc, $(src + ': _h5ai/client/js/**'))
.includify()
// .uglifyjs()
.write($.OVERWRITE, mapSrc);
$(src + ': _h5ai/client/css/*.less')
.modified(mapSrc, $(src + ': _h5ai/client/css/**'))
.less()
// .cssmin()
.write($.OVERWRITE, mapSrc);
$(src + ': **/*.jade')
.modified(mapSrc)
.handlebars(handlebarsEnv)
.jade()
.write($.OVERWRITE, mapSrc);
$(src + ': **, ! _h5ai/client/js/**, ! _h5ai/client/css/**, ! **/*.jade')
.modified(mapSrc)
.handlebars(handlebarsEnv)
.write($.OVERWRITE, mapSrc);
$(root + ': README*, LICENSE*')
.modified(mapRoot)
.write($.OVERWRITE, mapRoot);
});
make.target('release', ['clean', 'build'], 'create a zipball').async(function (done, fail) {
$(build + ': **').shzip({
target: path.join(build, pkg.name + '-' + pkg.version + '.zip'),
dir: build,
callback: done
});
});
};

12
package.json Normal file
View File

@@ -0,0 +1,12 @@
{
"name": "h5ai",
"version": "0.23.0",
"description": "a modern HTTP web server index",
"url": "http://larsjung.de/h5ai/",
"author": "Lars Jung",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/lrsjng/h5ai.git"
}
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 103 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 92 KiB

115
src/_h5ai/.htaccess Normal file
View File

@@ -0,0 +1,115 @@
DirectoryIndex index.html
# ------------------------------------------------------------------------------
# | File access |
# ------------------------------------------------------------------------------
# Block access to directories without a default document.
# Usually you should leave this uncommented because you shouldn't allow anyone
# to surf through every directory on your server (which may includes rather
# private places like the CMS's directories).
<IfModule mod_autoindex.c>
Options -Indexes
</IfModule>
# ------------------------------------------------------------------------------
# | Better website experience |
# ------------------------------------------------------------------------------
# Force IE to render pages in the highest available mode in the various
# cases when it may not: http://hsivonen.iki.fi/doctype/ie-mode.pdf.
# Use, if installed, Google Chrome Frame.
<IfModule mod_headers.c>
Header set X-UA-Compatible "IE=edge,chrome=1"
# `mod_headers` can't match based on the content-type, however, we only
# want to send this header for HTML pages and not for the other resources
<FilesMatch "\.(appcache|crx|css|eot|gif|htc|ico|jpe?g|js|m4a|m4v|manifest|mp4|oex|oga|ogg|ogv|otf|pdf|png|safariextz|svg|svgz|ttf|vcf|webapp|webm|webp|woff|xml|xpi)$">
Header unset X-UA-Compatible
</FilesMatch>
</IfModule>
# ------------------------------------------------------------------------------
# | UTF-8 encoding |
# ------------------------------------------------------------------------------
# Use UTF-8 encoding for anything served as `text/html` or `text/plain`.
AddDefaultCharset utf-8
# Force UTF-8 for certain file formats.
<IfModule mod_mime.c>
AddCharset utf-8 .atom .css .js .json .rss .vtt .webapp .xml
</IfModule>
# ------------------------------------------------------------------------------
# | Expires headers (for better cache control) |
# ------------------------------------------------------------------------------
# The following expires headers are set pretty far in the future. If you don't
# control versioning with filename-based cache busting, consider lowering the
# cache time for resources like CSS and JS to something like 1 week.
<IfModule mod_expires.c>
ExpiresActive on
ExpiresDefault "access plus 1 month"
# CSS
ExpiresByType text/css "access plus 1 week"
# Data interchange
ExpiresByType application/json "access plus 0 seconds"
ExpiresByType application/xml "access plus 0 seconds"
ExpiresByType text/xml "access plus 0 seconds"
# Favicon (cannot be renamed!)
ExpiresByType image/x-icon "access plus 1 week"
# HTML components (HTCs)
ExpiresByType text/x-component "access plus 1 month"
# HTML
ExpiresByType text/html "access plus 0 seconds"
# JavaScript
ExpiresByType application/javascript "access plus 1 week"
# Manifest files
ExpiresByType application/x-web-app-manifest+json "access plus 0 seconds"
ExpiresByType text/cache-manifest "access plus 0 seconds"
# Media
ExpiresByType audio/ogg "access plus 1 month"
ExpiresByType image/gif "access plus 1 month"
ExpiresByType image/jpeg "access plus 1 month"
ExpiresByType image/png "access plus 1 month"
ExpiresByType video/mp4 "access plus 1 month"
ExpiresByType video/ogg "access plus 1 month"
ExpiresByType video/webm "access plus 1 month"
# Web feeds
ExpiresByType application/atom+xml "access plus 1 hour"
ExpiresByType application/rss+xml "access plus 1 hour"
# Web fonts
ExpiresByType application/font-woff "access plus 1 month"
ExpiresByType application/vnd.ms-fontobject "access plus 1 month"
ExpiresByType application/x-font-ttf "access plus 1 month"
ExpiresByType font/opentype "access plus 1 month"
ExpiresByType image/svg+xml "access plus 1 month"
</IfModule>

7
src/_h5ai/cache/README.md vendored Normal file
View File

@@ -0,0 +1,7 @@
# Cache
This directory is used for server side caching. To use caching make this
directory writable for your webserver.
There is no critical data in here. You can savely remove any content. This
will clear the cache.

View File

@@ -0,0 +1,76 @@
#bottombar {
position: fixed;
z-index: 5;
width: 100%;
height: 18px;
left: 0;
bottom: 0;
padding: 6px 0 8px 0;
// .vert-gradient(rgb(241,241,241), rgb(228,228,228));
background-color: @col-widget-back;
border-top: @border-widget;
// .box-shadow(0 -2px 4px 0 rgba(0, 0, 0, 0.15);
color: #999;
text-align: center;
a, a:active, a:visited {
color: #555;
text-decoration: none;
.transition(all 0.2s ease-in-out);
opacity: 0.7;
&:hover {
color: @col-hover;
opacity: 1;
}
}
.left {
position: absolute;
left: 0;
display: block;
padding: 0 8px;
}
.center {
display: block;
}
.right {
position: absolute;
right: 0;
display: block;
padding: 0 8px;
}
.noJsMsg {
color: @col-error;
margin-left: 16px;
}
.noBrowserMsg {
display: none;
color: @col-error;
margin-left: 16px;
a, a:active, a:visited {
color: @col-error;
text-decoration: underline;
opacity: 1;
&:hover {
color: @col-hover;
}
}
}
.status {
.sep {
display: inline-block;
padding: 0 6px;
&:before {
content: '·'
}
}
&.default {
}
&.dynamic {
display: none;
}
}
}

View File

@@ -0,0 +1,30 @@
#content {
max-width: 960px;
margin: 50px auto;
font-size: 16px;
}
#content-header, #content-footer {
color: #333;
a, a:active, a:visited {
color: @col-link;
text-decoration: none;
cursor: pointer;
&:hover {
color: #555;
}
}
}
#content-header {
padding-bottom: 12px;
margin-bottom: 32px;
}
#content-footer {
padding-top: 12px;
margin-top: 32px;
}

View File

@@ -0,0 +1,32 @@
#view .context-menu {
display: block;
position: absolute;
right: 0;
top: 0;
background-color: @col-widget-back;
border: @border-widget;
color: #999;
z-index: 10;
font-size: 0.9em;
ul {
margin: 0;
padding: 0;
list-style: none;
text-align: left;
li {
padding: 8px 12px 10px 12px;
white-space: nowrap;
border-top: @border-widget-sep;
.transition(all 0.2s ease-in-out);
&:hover {
color: @col-hover;
background-color: @col-widget-back-hover;
}
}
}
}

View File

@@ -0,0 +1,10 @@
#delete {
display: none;
.topbar-right;
.transition(all 0.2s ease-in-out);
&.failed {
background-color: rgba(255,0,0,0.5);
}
}

View File

@@ -0,0 +1,10 @@
#download {
display: none;
.topbar-right;
.transition(all 0.2s ease-in-out);
&.failed {
background-color: rgba(255,0,0,0.5);
}
}

View File

@@ -0,0 +1,89 @@
#content {
border: 1px dashed #fff;
.border-radius(8px);
.transition(border-color 0.2s ease-in-out);
&.hint {
border-color: #ddd;
}
&.match {
border-color: #999;
}
}
#uploads {
width: 450px;
margin: 12px auto;
padding: 0;
list-style: none;
.upload {
color: #555;
font-size: 0.9em;
.name {
display: inline-block;
white-space: nowrap;
overflow: hidden;
&:before {
display: inline-block;
content: '•';
color: #55c;
width: 1em;
text-align: center;
padding-right: 1em;
}
}
.size {
display: none;
float: right;
white-space: nowrap;
&:after {
content: ' bytes'
}
}
.error {
float: right;
white-space: nowrap;
color: #c55;
}
.finished {
float: right;
white-space: nowrap;
color: #008200;
}
.progress {
display: inline-block;
margin: 4px 8px;
width: 84px;
height: 8px;
background-color: #ddd;
overflow: hidden;
float: right;
.bar {
width: 0%;
height: 100%;
background-color: #999;
}
}
&.finished .name:before {
content: '✔';
color: #008200;
}
&.error .name:before {
content: '✖';
color: #c55;
}
}
}

View File

@@ -0,0 +1,90 @@
#fallback {
display: none;
max-width: 960px;
margin: 80px auto;
table {
display: block;
width: 100%;
border-collapse: collapse;
th, td {
padding: 6px;
text-align: left;
border: none;
}
th {
padding-bottom: 18px;
a, a:visited {
color: #555;
font-weight: normal;
text-decoration: none;
cursor: pointer;
opacity: 0.4;
.transition(all 0.2s ease-in-out);
&:hover {
color: #555;
opacity: 0.9;
}
}
span {
color: #555;
font-weight: normal;
opacity: 0.4;
}
}
td {
border-bottom: 1px solid @col-border;
overflow: hidden;
white-space: nowrap;
font-size: 16px;
a, a:active, a:visited {
display: block;
color: #555;
text-decoration: none;
cursor: pointer;
&:hover {
color: @col-hover;
}
}
}
td:nth-child(1), th:nth-child(1) {
text-align: center;
width: 16px;
color: #ccc;
font-size: 0.9em;
img {
width: 16px;
height: 16px;
}
}
td:nth-child(2), th:nth-child(2) {
width: 682px;
max-width: 682px;
}
td:nth-child(3), th:nth-child(3) {
text-align: right;
width: 160px;
min-width: 160px;
}
td:nth-child(4), th:nth-child(4) {
text-align: right;
width: 70px;
min-width: 70px;
}
}
}
html.no-js, html.no-browser {
#fallback {
display: block;
}
}

View File

@@ -0,0 +1,18 @@
#filter {
.topbar-right;
input {
border: none;
font-family: @font-family;
color: @col;
background-color: rgba(0,0,0,0);
width: 30px;
}
&.current {
input {
width: 150px;
}
}
}

View File

@@ -0,0 +1,56 @@
@col: rgb(85,85,85);
@col-back: rgb(255,255,255);
@col-hover: rgb(29,119,194);
@col-border: rgba(0,0,0,0.05);
@col-border-strong: rgba(0,0,0,0.15);
@col-error: rgb(204,51,51);
@col-link: rgb(29,119,194);
@col-link-hover: rgb(29,119,194);
@col-widget-back: rgb(245,245,245);
@col-widget-back-highlight: rgba(255,255,255,0.8);
@col-widget-back-hover: rgba(255,255,255,0.8);
@col-widget-back-sel: rgba(255,255,255,0.8);
@col-widget-sep: @col-border;
// @col-sb-back: rgb(210,210,210);
// @col-sb-thumb: rgb(180,180,180);
// @col-sb-thumb-active: rgb(150,150,150);
@col-sb-back: rgba(0,0,0,0.08);
@col-sb-thumb: rgba(0,0,0,0.15);
@col-sb-thumb-active: rgba(0,0,0,0.25);
@border-widget: 1px solid @col-border;
@border-widget-sep: 1px solid @col-widget-sep;
@font-family: Ubuntu, sans-serif;
@font-family-mono: "Ubuntu Mono", monospace;
html { overflow-y: auto; }
::-moz-selection { background: #68A9FF; color: #fff; text-shadow: none; }
::selection { background: #68A9FF; color: #fff; text-shadow: none; }
body {
font-family: @font-family;
// font-weight: 400;
font-size: 13px;
color: @col;
background-color: @col-back;
margin: 30px;
}
html.js .hideOnJs, html.no-js .hideOnNoJs {
display: none;
}
html.no-browser .noBrowserMsg {
display: inline !important;
}

View File

@@ -0,0 +1,101 @@
body#h5ai-info {
font-family: @font-family;
margin: 2em auto 4em auto;
font-size: 20px;
color: @col;
max-width: 600px;
text-align: center;
a, a:active, a:visited {
color: @col;
text-decoration: none;
.transition(all 0.2s ease-in-out);
&:hover {
color: @col-hover;
}
}
.build-version {
display: block;
}
.build-stamp {
display: block;
margin-top: 0.3em;
font-size: 0.6em;
color: #aaa;
}
.idx-file {
margin-top: 1em;
font-size: 0.6em;
display: block;
color: #aaa;
.value {
margin-left: 0.5em;
padding: 2px 4px;
.border-radius(4px);
font-family: @font-family-mono;
letter-spacing: 0.1em;
background-color: @col-widget-back;
border: @border-widget;
}
}
h1 {
font-size: 3.6em;
margin: 0;
}
h2 {
font-size: 1.15em;
margin: 2.6em 0 0 0;
}
p {
line-height: 1.6em;
}
p + p {
margin-top: 1.2em;
}
li {
margin-top: 0.6em;
line-height: 1.4em;
}
#tests {
display: inline-block;
list-style-type: none;
text-align: left;
margin: 0;
padding: 0;
.test-label {
display: inline-block;
width: 300px;
}
.test-result {
display: inline-block;
width: 70px;
text-align: right;
font-weight: bold;
color: #aaa;
&.test-passed {
color: #5a5;
}
&.test-failed {
color: #a55;
}
}
.test-info {
margin: 4px 0 12px 12px;
font-size: 0.7em;
color: #aaa;
width: 310px;
line-height: 1.2em;
}
}
#bottombar {
font-size: 13px;
}
}

View File

@@ -0,0 +1,54 @@
#langSelector {
position: relative;
cursor: pointer;
.langOptions {
position: absolute;
z-index: 2;
overflow: auto;
display: none;
right: 0;
top: 0;
max-height: 200px;
background-color: @col-widget-back;
border: @border-widget;
.sp-scrollbar {
margin: 0;
width: 6px;
background-color: @col-sb-back;
cursor: pointer;
.sp-thumb {
background-color: @col-sb-thumb;
}
&.active .sp-thumb {
background-color: @col-sb-thumb-active;
}
}
ul {
margin: 0;
padding: 0;
list-style: none;
text-align: left;
}
li {
padding: 8px 24px 10px 24px;
white-space: nowrap;
border-top: @border-widget-sep;
.transition(all 0.2s ease-in-out);
&.current {
color: #333;
background-color: @col-widget-back-sel;
}
&:hover {
color: @col-hover;
background-color: @col-widget-back-hover;
}
}
}
}

View File

@@ -0,0 +1,14 @@
#notify {
position: fixed;
left: 50%;
top: 3px;
width: 200px;
margin-left: -100px;
z-index: 100;
padding: 2px 6px 2px 6px;
color: #fff;
background-color: rgba(0, 0, 0, 0.2);
.border-radius(4px);
text-align: center;
}

View File

@@ -0,0 +1,130 @@
#pv-img-overlay {
display: none;
position: fixed;
left: 0;
top: 0;
right: 0;
bottom: 0;
z-index: 100;
background-color: rgba(0,0,0,0.5);
.transition(background-color 0.3s ease-in-out);
text-align: center;
}
#pv-img-content, #pv-spinner {
position: fixed;
}
@check-white: #f8f8f8;
@check-black: #e8e8e8;
#pv-img-image {
max-width: 100%;
max-height: 100%;
border: 2px solid #fff;
.border-radius(4px);
background-color: @check-white;
background-image:
-webkit-linear-gradient(45deg, @check-black 25%, transparent 25%, transparent 75%, @check-black 75%, @check-black),
-webkit-linear-gradient(45deg, @check-black 25%, transparent 25%, transparent 75%, @check-black 75%, @check-black);
background-size: 60px 60px;
background-position: 0 0, 30px 30px
}
#pv-img-overlay.fullscreen {
background-color: #111;
#pv-img-image {
border: 0;
.border-radius(0);
}
}
#pv-img-close {
position: fixed;
width: 100%;
height: 100%;
cursor: pointer;
}
#pv-img-prev {
position: fixed;
cursor: pointer;
}
#pv-img-next {
position: fixed;
cursor: pointer;
}
#pv-img-buttons, #pv-img-topbuttons {
list-style: none;
list-style-image: none;
margin: 0;
padding: 0;
img {
position: relative;
top: -2px;
width: 16px;
height: 16px;
}
img + span, img + input {
margin-left: 6px;
}
input {
background-color: rgba(255,255,255,0.1);
border: none;
color: #ccc;
}
.bar-label {
display: block;
color: #ccc;
height: 30px;
line-height: 30px;
padding: 0 10px;
opacity: 0.7;
.transition(all 0.2s ease-in-out);
}
.bar-highlight {
background-color: rgba(255,255,255,0.1);
opacity: 1.0;
}
@bar-sep-border: 1px solid rgba(255,255,255,0.08);
.bar-button {
.bar-label;
cursor: pointer;
&:hover, &.hover {
.bar-highlight;
}
}
.bar-left {
float: left;
border-right: @bar-sep-border;
}
.bar-right {
float: right;
border-left: @bar-sep-border;
}
}
#pv-img-bottombar {
position: fixed;
z-index: 5;
width: 100%;
height: 32px;
left: 0;
bottom: 0;
// .vert-gradient(rgb(27,27,27), rgb(14,14,14));
background-color: rgb(27,27,27);
border-top: 1px solid rgb(45,45,45);
}

View File

@@ -0,0 +1,232 @@
#pv-txt-overlay {
display: none;
position: fixed;
left: 0;
top: 0;
right: 0;
bottom: 0;
z-index: 100;
background-color: rgba(0,0,0,0.5);
text-align: center;
}
#pv-txt-content {
max-width: 960px;
margin: 0 auto;
padding: 10px;
background-color: #fff;
border: 2px solid #fff;
.border-radius(4px);
text-align: left;
overflow: auto;
position: relative;
}
#pv-txt-spinner {
position: fixed;
}
#pv-txt-text {
&.highlighted {
word-break: break-all;
tr:hover {
background-color: rgba(0,0,0,0.05);
.nr {
color: #333;
}
}
td {
vertical-align: top;
font-family: @font-family-mono;
font-size: 16px;
line-height: 1.2em;
color: #999;
word-break: normal;
&.nr {
text-align: right;
padding: 0 8px 0 4px;
}
&.line {
width: 100%;
padding: 0 4px 0 8px;
}
code {
font-family: @font-family-mono;
font-size: 16px;
line-height: 1.2em;
}
}
.plain {
color: #000;
}
.comments {
color: #008200;
}
.string {
color: #1111ff;
}
.keyword {
color: #006699;
font-weight: bold;
}
.preprocessor {
color: #999;
}
.variable {
color: #aa7700;
}
.value {
color: #009900;
}
.functions {
color: #ff1493;
}
.constants {
color: #0066cc;
}
.script {
color: #006699;
font-weight: bold;
}
.color1 {
color: #999;
}
.color2 {
color: #ff1493;
}
.color3 {
color: #ff1111;
}
a, a:active, a:visited {
color: #2080FF;
text-decoration: none;
cursor: pointer;
&:hover {
color: #68A9FF;
}
}
}
&.markdown {
font-size: 16px;
padding: 8px 24px;
a, a:active, a:visited {
color: #2080FF;
text-decoration: none;
cursor: pointer;
&:hover {
color: #68A9FF;
}
}
pre, code {
font-family: @font-family-mono;
}
code {
color: #008200;
}
}
}
#pv-txt-close {
position: fixed;
left: 0;
top: 0;
width: 100%;
height: 100%;
cursor: pointer;
}
#pv-txt-prev {
position: fixed;
cursor: pointer;
}
#pv-txt-next {
position: fixed;
cursor: pointer;
}
#pv-txt-buttons, #pv-txt-topbuttons {
list-style: none;
list-style-image: none;
margin: 0;
padding: 0;
img {
position: relative;
top: -2px;
width: 16px;
height: 16px;
}
img + span, img + input {
margin-left: 6px;
}
input {
background-color: rgba(255,255,255,0.1);
border: none;
color: #ccc;
}
.bar-label {
display: block;
color: #ccc;
height: 30px;
line-height: 30px;
padding: 0 10px;
opacity: 0.7;
.transition(all 0.2s ease-in-out);
}
.bar-highlight {
background-color: rgba(255,255,255,0.1);
opacity: 1.0;
}
@bar-sep-border: 1px solid rgba(255,255,255,0.05);
.bar-button {
.bar-label;
cursor: pointer;
&:hover, &.hover {
.bar-highlight;
}
}
.bar-left {
float: left;
border-right: @bar-sep-border;
}
.bar-right {
float: right;
border-left: @bar-sep-border;
}
}
#pv-txt-bottombar {
position: fixed;
z-index: 5;
width: 100%;
height: 32px;
left: 0;
bottom: 0;
.vert-gradient(rgb(27,27,27), rgb(14,14,14));
border-top: 1px solid rgb(45,45,45);
}

View File

@@ -0,0 +1,16 @@
#qrcode {
display: none;
position: fixed;
right: 16px;
bottom: 50px;
z-index: 1;
background-color: @col-widget-back;
border: @border-widget;
padding: 8px;
canvas {
display: block;
}
}

View File

@@ -0,0 +1,60 @@
@media only screen and (max-width: 700px) {
#topbar {
.crumb {
display: none;
}
.current {
display: block;
}
.view span {
display: none;
}
}
#view.view-details, #view.view-list {
.header .label, .item .label {
margin-right: 110px;
}
.header .date, .item .date {
display: none;
}
}
#view.view-icons {
padding: 0;
border: none;
}
#bottombar {
.center {
display: none;
}
}
}
@media only screen and (max-width: 500px) {
body {
margin: 8px;
}
#tree {
display: none !important;
}
}
@media print {
a[href]:after {
content: "";
}
#topbar {
position: static;
margin-bottom: 2em;
.view, #download {
display: none;
}
}
#bottombar {
position: static;
margin-top: 2em;
}
#tree {
display: none !important;
}
}

View File

@@ -0,0 +1,89 @@
#topbar {
position: fixed;
z-index: 5;
width: 100%;
min-height: 30px;
left: 0;
top: 0;
// .vert-gradient(rgb(241,241,241), rgb(228,228,228));
background-color: @col-widget-back;
border-bottom: @border-widget;
// .box-shadow(0 2px 4px 0 rgba(0, 0, 0, 0.15);
}
.topbar-highlight {
background-color: @col-widget-back-highlight;
opacity: 1.0;
}
.topbar-hover {
.topbar-highlight;
color: @col-hover;
}
.topbar-left {
float: left;
border-right: @border-widget-sep;
}
.topbar-right {
float: right;
border-left: @border-widget-sep;
}
#navbar {
list-style: none;
list-style-image: none;
margin: 0;
padding: 0;
a, a:active, a:visited, span.element {
color: @col;
cursor: pointer;
text-decoration: none;
opacity: 0.7;
.transition(all 0.2s ease-in-out);
display: block;
height: 30px;
line-height: 30px;
padding: 0 10px;
&:hover, &.hover {
.topbar-hover;
}
}
.current {
a, span.element {
.topbar-highlight;
}
}
img {
position: relative;
top: -2px;
width: 16px;
height: 16px;
}
img + span, img + input {
margin-left: 6px;
}
.crumb {
.topbar-left;
.hint {
margin-left: 8px;
font-style: italic;
color: #999;
}
img.hint {
opacity: 0.8;
width: 12px;
height: 12px;
}
}
.view {
.topbar-right;
}
}

View File

@@ -0,0 +1,120 @@
#tree {
display: none;
position: fixed;
left: 0;
top: 31px;
height: 100%;
z-index: 3;
overflow: auto;
padding: 8px;
background-color: @col-widget-back;
border-right: @border-widget;
.sp-scrollbar {
// margin: 8px 8px 8px 0;
width: 6px;
background-color: @col-sb-back;
// .border-radius(3px);
cursor: pointer;
.sp-thumb {
background-color: @col-sb-thumb;
// .border-radius(3px);
}
&.active .sp-thumb {
background-color: @col-sb-thumb-active;
}
}
.indicator {
position: relative;
top: 2px;
display: inline-block;
width: 16px;
height: 22px;
float: left;
opacity: 0.7;
cursor: pointer;
img {
width: 12px;
height: 12px;
.transition(all 0.2s ease-in-out);
}
&.open {
img {
.transform(rotate(90deg));
}
}
&.unknown {
opacity: 0.3;
}
&.none {
opacity: 0;
cursor: inherit;
}
}
a, a:active, a.visited {
display: block;
height: 1.231em;
line-height: 1.231em;
margin-left: 14px;
padding: 4px 6px;
color: #555;
border: 1px solid rgba(0,0,0,0);
.border-radius(3px);
text-decoration: none;
opacity: 0.7;
&:hover, &.hover {
color: @col-hover;
background-color: @col-widget-back-hover;
// border-color: rgba(0,0,0,0.05);
opacity: 1;
}
}
.icon {
position: relative;
top: -2px;
margin-right: 6px;
img {
width: 16px;
height: 16px;
}
}
.hint {
margin-left: 6px;
font-size: 0.9em;
color: #ccc;
}
.content {
list-style: none;
margin: 0;
padding: 0 0 0 24px;
}
.summary {
margin: 0 0 0 24px;
color: #999;
font-style: italic;
}
.current {
> a, > a:active, > a:visited {
background-color: @col-widget-back-sel;
border-color: @col-widget-sep;
opacity: 1;
}
}
.error {
> a, > a:active, > a:visited {
color: #999;
&:hover, &.hover {
color: @col-hover;
}
}
.hint {
color: #c55;
}
}
}

View File

@@ -0,0 +1,58 @@
#view.view-details {
li {
&.header {
display: list-item;
}
&.item {
a, a:active, a:visited {
border-top: 1px solid @item-border-col-sep;
border-bottom: 1px solid @item-border-col-sep;
&:hover, &.hover {
border-color: @item-border-col-hover;
}
}
// needs to be here, to not conflict with header fields
.icon, .label, .date, .size {
padding: 8px 6px;
}
}
&.item + .item {
a, a:active, a:visited {
border-top: none;
}
}
.icon.small {
display: inline-block;
position: absolute;
left: 0;
top: -2px;
width: 16px;
}
.label {
margin: 0 270px 0 24px;
}
.date {
position: absolute;
right: 100px;
top: 0;
}
.size {
position: absolute;
right: 0;
top: 0;
}
}
}

View File

@@ -0,0 +1,41 @@
#view.view-grid {
li {
&.item {
float: left;
a, a:active, a:visited {
float: left;
margin: 2px;
padding: 8px;
width: 164px;
height: 24px;
border: 1px solid rgba(0,0,0,0);
&:hover, &.hover {
border-color: @item-border-col-hover;
}
}
}
.icon.small {
display: inline-block;
position: absolute;
left: 11px;
top: 9px;
width: 16px;
}
.label {
display: block;
max-width: 140px;
margin: 0 0 0 24px;
}
.date, .size {
display: none;
}
}
}

View File

@@ -0,0 +1,46 @@
#view.view-icons {
li {
text-align: center;
&.item {
float: left;
a, a:active, a:visited {
float: left;
margin: 8px;
padding: 8px;
width: 100px;
height: 120px;
border: 1px solid rgba(0,0,0,0);
&:hover, &.hover {
border-color: @item-border-col-hover;
}
}
}
.icon.big {
display: block;
height: 48px;
margin-bottom: 6px;
}
.label {
text-align: center;
word-wrap: break-word;
white-space: normal;
}
.date, .size {
display: none;
}
}
.empty, .no-match {
margin: 0 120px;
padding: 16px;
height: 120px;
}
}

View File

@@ -0,0 +1,62 @@
#view.view-list {
li {
&.header {
display: list-item;
}
&.item {
a, a:active, a:visited {
border-top: 1px solid @item-border-col-sep;
border-bottom: 1px solid @item-border-col-sep;
height: 60px;
&:hover, &.hover {
border-color: @item-border-col-hover;
}
}
// needs to be here, to not conflict with header fields
.icon {
padding: 8px 6px;
}
.label, .date, .size {
padding: 18px 6px;
}
}
&.item + .item {
a, a:active, a:visited {
border-top: none;
}
}
.icon.big {
display: inline-block;
position: absolute;
left: 0;
top: -2px;
width: 100px;
}
.label {
margin: 0 270px 0 110px;
}
.date {
position: absolute;
right: 100px;
top: 0;
}
.size {
position: absolute;
right: 0;
top: 0;
}
}
}

View File

@@ -0,0 +1,183 @@
#selection-rect {
display: none;
position: absolute;
left: 0;
top: 0;
z-index: 2;
border: 1px dashed @col-border-strong;
background-color: rgba(0,0,0,0.01);
}
@item-border-col-sep: @col-border;
@item-background-col-hover: rgba(0,0,0,0.02);
@item-border-col-hover: @col-border;
@item-background-col-sel: rgba(0,0,0,0.02);
@item-border-col-sel: @col-border-strong;
#view {
display: none;
margin: 0 auto;
a, a:active, a:visited {
color: #333;
cursor: pointer;
text-decoration: none;
}
ul {
margin: 0;
padding: 0;
list-style: none;
}
li {
position: relative;
white-space: nowrap;
&.header {
display: none;
font-size: 13px;
a, a:active, a:visited {
padding: 6px 6px 18px 6px;
opacity: 0.4;
.transition(all 0.2s ease-in-out);
img {
display: none;
position: relative;
top: -2px;
width: 12px;
height: 12px;
padding: 0 8px;
}
&:hover {
color: #555;
opacity: 0.9;
}
&.ascending img.ascending {
display: inline;
}
&.descending img.descending {
display: inline;
}
}
}
&.item {
a, a:active, a:visited {
display: block;
overflow: hidden;
&:hover, &.hover {
// color: #e80;
color: @col-hover;
background-color: @item-background-col-hover;
border-color: @item-border-col-hover;
}
}
&.selected:not(.selecting), &.selecting:not(.selected) {
a, a:active, a:visited {
// color: #000;
// color: @col-hover;
background-color: @item-background-col-sel;
border-color: @item-border-col-sel;
&:hover, &.hover {
background-color: @item-background-col-sel;
border-color: @item-border-col-sel;
}
}
}
}
&.error {
a, a:active, a:visited {
color: #aaa;
&:hover, &.hover {
// color: #e80;
color: @col-hover;
}
}
.label .hint {
padding: 0 6px;
font-size: 0.9em;
color: #c55;
}
}
&.folder-parent {
.date, .size {
display: none;
}
}
.icon {
display: none;
text-align: center;
img {
&.thumb {
.box-shadow(0 0 0 1px #ddd);
}
}
&.small {
img {
max-width: 16px;
max-height: 16px;
}
}
&.big {
img {
max-width: 100px;
max-height: 48px;
}
}
}
.label {
display: block;
overflow: hidden;
text-align: left;
}
.date {
text-align: right;
width: 160px;
}
.size {
text-align: right;
width: 80px;
}
}
.empty, .no-match {
margin: 50px 0;
text-align: center;
color: #ddd;
font-size: 5em;
font-weight: bold;
}
.no-match {
display: none;
}
}

View File

@@ -0,0 +1,172 @@
/* ==========================================================================
Helper classes
========================================================================== */
/*
* Image replacement
*/
.ir {
background-color: transparent;
border: 0;
overflow: hidden;
/* IE 6/7 fallback */
*text-indent: -9999px;
}
.ir:before {
content: "";
display: block;
width: 0;
height: 150%;
}
/*
* Hide from both screenreaders and browsers: h5bp.com/u
*/
.hidden {
display: none !important;
visibility: hidden;
}
/*
* Hide only visually, but have it available for screenreaders: h5bp.com/v
*/
.visuallyhidden {
border: 0;
clip: rect(0 0 0 0);
height: 1px;
margin: -1px;
overflow: hidden;
padding: 0;
position: absolute;
width: 1px;
}
/*
* Extends the .visuallyhidden class to allow the element to be focusable
* when navigated to via the keyboard: h5bp.com/p
*/
.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
clip: auto;
height: auto;
margin: 0;
overflow: visible;
position: static;
width: auto;
}
/*
* Hide visually and from screenreaders, but maintain layout
*/
.invisible {
visibility: hidden;
}
/*
* Clearfix: contain floats
*
* For modern browsers
* 1. The space content is one way to avoid an Opera bug when the
* `contenteditable` attribute is included anywhere else in the document.
* Otherwise it causes space to appear at the top and bottom of elements
* that receive the `clearfix` class.
* 2. The use of `table` rather than `block` is only necessary if using
* `:before` to contain the top-margins of child elements.
*/
.clearfix:before,
.clearfix:after {
content: " "; /* 1 */
display: table; /* 2 */
}
.clearfix:after {
clear: both;
}
/*
* For IE 6/7 only
* Include this rule to trigger hasLayout and contain floats.
*/
.clearfix {
*zoom: 1;
}
/* ==========================================================================
Print styles.
Inlined to avoid required HTTP connection: h5bp.com/r
========================================================================== */
@media print {
* {
background: transparent !important;
color: #000 !important; /* Black prints faster: h5bp.com/s */
box-shadow: none !important;
text-shadow: none !important;
}
a,
a:visited {
text-decoration: underline;
}
a[href]:after {
content: " (" attr(href) ")";
}
abbr[title]:after {
content: " (" attr(title) ")";
}
/*
* Don't show links for images, or javascript/internal links
*/
.ir a:after,
a[href^="javascript:"]:after,
a[href^="#"]:after {
content: "";
}
pre,
blockquote {
border: 1px solid #999;
page-break-inside: avoid;
}
thead {
display: table-header-group; /* h5bp.com/t */
}
tr,
img {
page-break-inside: avoid;
}
img {
max-width: 100% !important;
}
@page {
margin: 0.5cm;
}
p,
h2,
h3 {
orphans: 3;
widows: 3;
}
h2,
h3 {
page-break-after: avoid;
}
}

View File

@@ -0,0 +1,94 @@
/*
* HTML5 Boilerplate
*
* What follows is the result of much research on cross-browser styling.
* Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
* Kroc Camen, and the H5BP dev community and team.
*/
/* ==========================================================================
Base styles: opinionated defaults
========================================================================== */
html,
button,
input,
select,
textarea {
color: #222;
}
body {
font-size: 1em;
line-height: 1.4;
}
/*
* Remove text-shadow in selection highlight: h5bp.com/i
* These selection rule sets have to be separate.
* Customize the background color to match your design.
*/
::-moz-selection {
background: #b3d4fc;
text-shadow: none;
}
::selection {
background: #b3d4fc;
text-shadow: none;
}
/*
* A better looking default horizontal rule
*/
hr {
display: block;
height: 1px;
border: 0;
border-top: 1px solid #ccc;
margin: 1em 0;
padding: 0;
}
/*
* Remove the gap between images and the bottom of their containers: h5bp.com/i/440
*/
img {
vertical-align: middle;
}
/*
* Remove default fieldset styles.
*/
fieldset {
border: 0;
margin: 0;
padding: 0;
}
/*
* Allow only vertical resizing of textareas.
*/
textarea {
resize: vertical;
}
/* ==========================================================================
Chrome Frame prompt
========================================================================== */
.chromeframe {
margin: 0.2em 0;
background: #ccc;
color: #000;
padding: 0.2em 0;
}
/* ==========================================================================
Author's custom styles
========================================================================== */

View File

@@ -0,0 +1,533 @@
/*! normalize.css v1.1.1 | MIT License | git.io/normalize */
/* ==========================================================================
HTML5 display definitions
========================================================================== */
/**
* Correct `block` display not defined in IE 6/7/8/9 and Firefox 3.
*/
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section,
summary {
display: block;
}
/**
* Correct `inline-block` display not defined in IE 6/7/8/9 and Firefox 3.
*/
audio,
canvas,
video {
display: inline-block;
*display: inline;
*zoom: 1;
}
/**
* Prevent modern browsers from displaying `audio` without controls.
* Remove excess height in iOS 5 devices.
*/
audio:not([controls]) {
display: none;
height: 0;
}
/**
* Address styling not present in IE 7/8/9, Firefox 3, and Safari 4.
* Known issue: no IE 6 support.
*/
[hidden] {
display: none;
}
/* ==========================================================================
Base
========================================================================== */
/**
* 1. Prevent system color scheme's background color being used in Firefox, IE,
* and Opera.
* 2. Prevent system color scheme's text color being used in Firefox, IE, and
* Opera.
* 3. Correct text resizing oddly in IE 6/7 when body `font-size` is set using
* `em` units.
* 4. Prevent iOS text size adjust after orientation change, without disabling
* user zoom.
*/
html {
background: #fff; /* 1 */
color: #000; /* 2 */
font-size: 100%; /* 3 */
-webkit-text-size-adjust: 100%; /* 4 */
-ms-text-size-adjust: 100%; /* 4 */
}
/**
* Address `font-family` inconsistency between `textarea` and other form
* elements.
*/
html,
button,
input,
select,
textarea {
font-family: sans-serif;
}
/**
* Address margins handled incorrectly in IE 6/7.
*/
body {
margin: 0;
}
/* ==========================================================================
Links
========================================================================== */
/**
* Address `outline` inconsistency between Chrome and other browsers.
*/
a:focus {
outline: thin dotted;
}
/**
* Improve readability when focused and also mouse hovered in all browsers.
*/
a:active,
a:hover {
outline: 0;
}
/* ==========================================================================
Typography
========================================================================== */
/**
* Address font sizes and margins set differently in IE 6/7.
* Address font sizes within `section` and `article` in Firefox 4+, Safari 5,
* and Chrome.
*/
h1 {
font-size: 2em;
margin: 0.67em 0;
}
h2 {
font-size: 1.5em;
margin: 0.83em 0;
}
h3 {
font-size: 1.17em;
margin: 1em 0;
}
h4 {
font-size: 1em;
margin: 1.33em 0;
}
h5 {
font-size: 0.83em;
margin: 1.67em 0;
}
h6 {
font-size: 0.67em;
margin: 2.33em 0;
}
/**
* Address styling not present in IE 7/8/9, Safari 5, and Chrome.
*/
abbr[title] {
border-bottom: 1px dotted;
}
/**
* Address style set to `bolder` in Firefox 3+, Safari 4/5, and Chrome.
*/
b,
strong {
font-weight: bold;
}
blockquote {
margin: 1em 40px;
}
/**
* Address styling not present in Safari 5 and Chrome.
*/
dfn {
font-style: italic;
}
/**
* Address differences between Firefox and other browsers.
* Known issue: no IE 6/7 normalization.
*/
hr {
-moz-box-sizing: content-box;
box-sizing: content-box;
height: 0;
}
/**
* Address styling not present in IE 6/7/8/9.
*/
mark {
background: #ff0;
color: #000;
}
/**
* Address margins set differently in IE 6/7.
*/
p,
pre {
margin: 1em 0;
}
/**
* Correct font family set oddly in IE 6, Safari 4/5, and Chrome.
*/
code,
kbd,
pre,
samp {
font-family: monospace, serif;
_font-family: 'courier new', monospace;
font-size: 1em;
}
/**
* Improve readability of pre-formatted text in all browsers.
*/
pre {
white-space: pre;
white-space: pre-wrap;
word-wrap: break-word;
}
/**
* Address CSS quotes not supported in IE 6/7.
*/
q {
quotes: none;
}
/**
* Address `quotes` property not supported in Safari 4.
*/
q:before,
q:after {
content: '';
content: none;
}
/**
* Address inconsistent and variable font size in all browsers.
*/
small {
font-size: 80%;
}
/**
* Prevent `sub` and `sup` affecting `line-height` in all browsers.
*/
sub,
sup {
font-size: 75%;
line-height: 0;
position: relative;
vertical-align: baseline;
}
sup {
top: -0.5em;
}
sub {
bottom: -0.25em;
}
/* ==========================================================================
Lists
========================================================================== */
/**
* Address margins set differently in IE 6/7.
*/
dl,
menu,
ol,
ul {
margin: 1em 0;
}
dd {
margin: 0 0 0 40px;
}
/**
* Address paddings set differently in IE 6/7.
*/
menu,
ol,
ul {
padding: 0 0 0 40px;
}
/**
* Correct list images handled incorrectly in IE 7.
*/
nav ul,
nav ol {
list-style: none;
list-style-image: none;
}
/* ==========================================================================
Embedded content
========================================================================== */
/**
* 1. Remove border when inside `a` element in IE 6/7/8/9 and Firefox 3.
* 2. Improve image quality when scaled in IE 7.
*/
img {
border: 0; /* 1 */
-ms-interpolation-mode: bicubic; /* 2 */
}
/**
* Correct overflow displayed oddly in IE 9.
*/
svg:not(:root) {
overflow: hidden;
}
/* ==========================================================================
Figures
========================================================================== */
/**
* Address margin not present in IE 6/7/8/9, Safari 5, and Opera 11.
*/
figure {
margin: 0;
}
/* ==========================================================================
Forms
========================================================================== */
/**
* Correct margin displayed oddly in IE 6/7.
*/
form {
margin: 0;
}
/**
* Define consistent border, margin, and padding.
*/
fieldset {
border: 1px solid #c0c0c0;
margin: 0 2px;
padding: 0.35em 0.625em 0.75em;
}
/**
* 1. Correct color not being inherited in IE 6/7/8/9.
* 2. Correct text not wrapping in Firefox 3.
* 3. Correct alignment displayed oddly in IE 6/7.
*/
legend {
border: 0; /* 1 */
padding: 0;
white-space: normal; /* 2 */
*margin-left: -7px; /* 3 */
}
/**
* 1. Correct font size not being inherited in all browsers.
* 2. Address margins set differently in IE 6/7, Firefox 3+, Safari 5,
* and Chrome.
* 3. Improve appearance and consistency in all browsers.
*/
button,
input,
select,
textarea {
font-size: 100%; /* 1 */
margin: 0; /* 2 */
vertical-align: baseline; /* 3 */
*vertical-align: middle; /* 3 */
}
/**
* Address Firefox 3+ setting `line-height` on `input` using `!important` in
* the UA stylesheet.
*/
button,
input {
line-height: normal;
}
/**
* Address inconsistent `text-transform` inheritance for `button` and `select`.
* All other form control elements do not inherit `text-transform` values.
* Correct `button` style inheritance in Chrome, Safari 5+, and IE 6+.
* Correct `select` style inheritance in Firefox 4+ and Opera.
*/
button,
select {
text-transform: none;
}
/**
* 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
* and `video` controls.
* 2. Correct inability to style clickable `input` types in iOS.
* 3. Improve usability and consistency of cursor style between image-type
* `input` and others.
* 4. Remove inner spacing in IE 7 without affecting normal text inputs.
* Known issue: inner spacing remains in IE 6.
*/
button,
html input[type="button"], /* 1 */
input[type="reset"],
input[type="submit"] {
-webkit-appearance: button; /* 2 */
cursor: pointer; /* 3 */
*overflow: visible; /* 4 */
}
/**
* Re-set default cursor for disabled elements.
*/
button[disabled],
html input[disabled] {
cursor: default;
}
/**
* 1. Address box sizing set to content-box in IE 8/9.
* 2. Remove excess padding in IE 8/9.
* 3. Remove excess padding in IE 7.
* Known issue: excess padding remains in IE 6.
*/
input[type="checkbox"],
input[type="radio"] {
box-sizing: border-box; /* 1 */
padding: 0; /* 2 */
*height: 13px; /* 3 */
*width: 13px; /* 3 */
}
/**
* 1. Address `appearance` set to `searchfield` in Safari 5 and Chrome.
* 2. Address `box-sizing` set to `border-box` in Safari 5 and Chrome
* (include `-moz` to future-proof).
*/
input[type="search"] {
-webkit-appearance: textfield; /* 1 */
-moz-box-sizing: content-box;
-webkit-box-sizing: content-box; /* 2 */
box-sizing: content-box;
}
/**
* Remove inner padding and search cancel button in Safari 5 and Chrome
* on OS X.
*/
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
-webkit-appearance: none;
}
/**
* Remove inner padding and border in Firefox 3+.
*/
button::-moz-focus-inner,
input::-moz-focus-inner {
border: 0;
padding: 0;
}
/**
* 1. Remove default vertical scrollbar in IE 6/7/8/9.
* 2. Improve readability and alignment in all browsers.
*/
textarea {
overflow: auto; /* 1 */
vertical-align: top; /* 2 */
}
/* ==========================================================================
Tables
========================================================================== */
/**
* Remove most spacing between table cells.
*/
table {
border-collapse: collapse;
border-spacing: 0;
}

View File

@@ -0,0 +1,57 @@
.border-radius (@radius) {
-webkit-border-radius: @radius; /* Saf3-4, iOS 1-3.2, Android <1.6 */
-moz-border-radius: @radius; /* FF1-3.6 */
border-radius: @radius; /* Opera 10.5, IE9, Saf5, Chrome, FF4, iOS 4, Android 2.1+ */
}
.background-clip () {
-webkit-background-clip: padding-box;
-moz-background-clip: padding;
background-clip: padding-box;
}
.box-shadow (@shadow) {
-webkit-box-shadow: @shadow; /* Saf3-4 */
-moz-box-shadow: @shadow; /* FF3.5 - 3.6 */
box-shadow: @shadow; /* Opera 10.5, IE9, FF4+, Chrome 10+ */
}
.transition (@transition) {
-webkit-transition: @transition; /* Saf3.2+, Chrome */
-moz-transition: @transition; /* FF4+ */
-ms-transition: @transition; /* IE10? */
-o-transition: @transition; /* Opera 10.5+ */
transition: @transition;
}
.transform (@transform) {
-webkit-transform: @transform; /* Saf3.1+, Chrome */
-moz-transform: @transform; /* FF3.5+ */
-ms-transform: @transform; /* IE9 */
-o-transform: @transform; /* Opera 10.5 */
transform: @transform;
zoom: 1;
}
.vert-gradient (@top, @bottom) {
background-color: @top;
background-image: -webkit-gradient(linear, left top, left bottom, from(@top), to(@bottom)); /* Saf4+, Chrome */
background-image: -webkit-linear-gradient(top, @top, @bottom); /* Chrome 10+, Saf5.1+, iOS 5+ */
background-image: -moz-linear-gradient(top, @top, @bottom); /* FF3.6 */
background-image: -ms-linear-gradient(top, @top, @bottom); /* IE10 */
background-image: -o-linear-gradient(top, @top, @bottom); /* Opera 11.10+ */
background-image: linear-gradient(top, @top, @bottom);
}
.background-size (@size) {
-webkit-background-size: @size; /* Saf3-4 */
-moz-background-size: @size; /* FF3.6 */
background-size: @size; /* Opera, IE9, Saf5, Chrome, FF4 */
}

View File

@@ -0,0 +1,34 @@
@import "lib/h5bp-normalize";
@import "lib/h5bp-main-header";
@import "lib/mixins";
@import "inc/general";
@import "inc/topbar";
@import "inc/bottombar";
@import "inc/download";
@import "inc/delete";
@import "inc/filter";
@import "inc/l10n";
@import "inc/tree";
@import "inc/qrcode";
@import "inc/preview-img";
@import "inc/preview-txt";
@import "inc/notify";
@import "inc/content";
@import "inc/view";
@import "inc/view-details";
@import "inc/view-icons";
@import "inc/view-list";
@import "inc/view-grid";
// @import "inc/context-menu";
@import "inc/dropbox";
@import "inc/fallback";
@import "inc/responsive";
@import "inc/h5ai-info";
@import "lib/h5bp-main-footer";

View File

Before

Width:  |  Height:  |  Size: 551 B

After

Width:  |  Height:  |  Size: 551 B

View File

Before

Width:  |  Height:  |  Size: 554 B

After

Width:  |  Height:  |  Size: 554 B

View File

Before

Width:  |  Height:  |  Size: 492 B

After

Width:  |  Height:  |  Size: 492 B

View File

Before

Width:  |  Height:  |  Size: 551 B

After

Width:  |  Height:  |  Size: 551 B

View File

Before

Width:  |  Height:  |  Size: 227 B

After

Width:  |  Height:  |  Size: 227 B

View File

Before

Width:  |  Height:  |  Size: 663 B

After

Width:  |  Height:  |  Size: 663 B

View File

Before

Width:  |  Height:  |  Size: 554 B

After

Width:  |  Height:  |  Size: 554 B

View File

Before

Width:  |  Height:  |  Size: 506 B

After

Width:  |  Height:  |  Size: 506 B

View File

Before

Width:  |  Height:  |  Size: 757 B

After

Width:  |  Height:  |  Size: 757 B

View File

Before

Width:  |  Height:  |  Size: 699 B

After

Width:  |  Height:  |  Size: 699 B

View File

Before

Width:  |  Height:  |  Size: 599 B

After

Width:  |  Height:  |  Size: 599 B

View File

Before

Width:  |  Height:  |  Size: 592 B

After

Width:  |  Height:  |  Size: 592 B

View File

Before

Width:  |  Height:  |  Size: 671 B

After

Width:  |  Height:  |  Size: 671 B

View File

Before

Width:  |  Height:  |  Size: 311 B

After

Width:  |  Height:  |  Size: 311 B

View File

Before

Width:  |  Height:  |  Size: 586 B

After

Width:  |  Height:  |  Size: 586 B

View File

Before

Width:  |  Height:  |  Size: 535 B

After

Width:  |  Height:  |  Size: 535 B

View File

Before

Width:  |  Height:  |  Size: 679 B

After

Width:  |  Height:  |  Size: 679 B

View File

Before

Width:  |  Height:  |  Size: 619 B

After

Width:  |  Height:  |  Size: 619 B

View File

Before

Width:  |  Height:  |  Size: 846 B

After

Width:  |  Height:  |  Size: 846 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 395 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 591 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 311 B

View File

Before

Width:  |  Height:  |  Size: 494 B

After

Width:  |  Height:  |  Size: 494 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 621 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 326 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 255 B

View File

Before

Width:  |  Height:  |  Size: 655 B

After

Width:  |  Height:  |  Size: 655 B

View File

Before

Width:  |  Height:  |  Size: 551 B

After

Width:  |  Height:  |  Size: 551 B

View File

Before

Width:  |  Height:  |  Size: 504 B

After

Width:  |  Height:  |  Size: 504 B

View File

Before

Width:  |  Height:  |  Size: 530 B

After

Width:  |  Height:  |  Size: 530 B

View File

Before

Width:  |  Height:  |  Size: 770 B

After

Width:  |  Height:  |  Size: 770 B

View File

Before

Width:  |  Height:  |  Size: 792 B

After

Width:  |  Height:  |  Size: 792 B

View File

Before

Width:  |  Height:  |  Size: 671 B

After

Width:  |  Height:  |  Size: 671 B

View File

Before

Width:  |  Height:  |  Size: 788 B

After

Width:  |  Height:  |  Size: 788 B

View File

Before

Width:  |  Height:  |  Size: 658 B

After

Width:  |  Height:  |  Size: 658 B

View File

Before

Width:  |  Height:  |  Size: 675 B

After

Width:  |  Height:  |  Size: 675 B

View File

Before

Width:  |  Height:  |  Size: 540 B

After

Width:  |  Height:  |  Size: 540 B

View File

Before

Width:  |  Height:  |  Size: 540 B

After

Width:  |  Height:  |  Size: 540 B

View File

Before

Width:  |  Height:  |  Size: 423 B

After

Width:  |  Height:  |  Size: 423 B

View File

Before

Width:  |  Height:  |  Size: 614 B

After

Width:  |  Height:  |  Size: 614 B

View File

Before

Width:  |  Height:  |  Size: 627 B

After

Width:  |  Height:  |  Size: 627 B

View File

Before

Width:  |  Height:  |  Size: 614 B

After

Width:  |  Height:  |  Size: 614 B

View File

Before

Width:  |  Height:  |  Size: 799 B

After

Width:  |  Height:  |  Size: 799 B

View File

Before

Width:  |  Height:  |  Size: 757 B

After

Width:  |  Height:  |  Size: 757 B

View File

Before

Width:  |  Height:  |  Size: 610 B

After

Width:  |  Height:  |  Size: 610 B

View File

Before

Width:  |  Height:  |  Size: 679 B

After

Width:  |  Height:  |  Size: 679 B

View File

Before

Width:  |  Height:  |  Size: 629 B

After

Width:  |  Height:  |  Size: 629 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 817 B

View File

Before

Width:  |  Height:  |  Size: 622 B

After

Width:  |  Height:  |  Size: 622 B

View File

Before

Width:  |  Height:  |  Size: 743 B

After

Width:  |  Height:  |  Size: 743 B

View File

Before

Width:  |  Height:  |  Size: 621 B

After

Width:  |  Height:  |  Size: 621 B

View File

Before

Width:  |  Height:  |  Size: 781 B

After

Width:  |  Height:  |  Size: 781 B

View File

Before

Width:  |  Height:  |  Size: 384 B

After

Width:  |  Height:  |  Size: 384 B

View File

Before

Width:  |  Height:  |  Size: 660 B

After

Width:  |  Height:  |  Size: 660 B

View File

Before

Width:  |  Height:  |  Size: 660 B

After

Width:  |  Height:  |  Size: 660 B

View File

Before

Width:  |  Height:  |  Size: 627 B

After

Width:  |  Height:  |  Size: 627 B

View File

Before

Width:  |  Height:  |  Size: 613 B

After

Width:  |  Height:  |  Size: 613 B

View File

Before

Width:  |  Height:  |  Size: 586 B

After

Width:  |  Height:  |  Size: 586 B

View File

Before

Width:  |  Height:  |  Size: 510 B

After

Width:  |  Height:  |  Size: 510 B

View File

Before

Width:  |  Height:  |  Size: 406 B

After

Width:  |  Height:  |  Size: 406 B

View File

Before

Width:  |  Height:  |  Size: 677 B

After

Width:  |  Height:  |  Size: 677 B

Some files were not shown because too many files have changed in this diff Show More