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

Compare commits

...

305 Commits

Author SHA1 Message Date
Lars Jung
1d7e8c5a6b Merge branch 'develop' 2014-08-17 00:46:04 +02:00
Lars Jung
a79034ebc8 Prepare release. 2014-08-17 00:44:23 +02:00
Lars Jung
a17d31eee9 Fix links. 2014-08-17 00:40:57 +02:00
Lars Jung
91bce0abb4 Update build process. 2014-08-16 13:52:45 +02:00
Lars Jung
dbdb4e01ff Fix comment. 2014-08-16 13:35:03 +02:00
Lars Jung
ec0b3b1789 Back to develop. 2014-08-16 13:21:28 +02:00
Lars Jung
ec1077153b Merge branch 'develop' 2014-08-16 13:20:10 +02:00
Lars Jung
a7794230cf Prepare release. 2014-08-16 13:19:46 +02:00
Lars Jung
9b5f6f3cad Tabs to spaces. 2014-08-15 22:07:53 +02:00
Lars Jung
49403ed07c Update readme. 2014-08-15 17:20:20 +02:00
Lars Jung
8f93d78dd8 Update readme. 2014-08-15 17:04:05 +02:00
Lars Jung
b8dec0e9aa Update types. 2014-08-12 20:58:38 +02:00
Lars Jung
4b50274bb2 Update readme. 2014-08-12 00:37:38 +02:00
Lars Jung
a1f00bf5f5 Test. 2014-08-12 00:29:55 +02:00
Lars Jung
0b15f55689 Test. 2014-08-11 23:49:23 +02:00
Lars Jung
ee312bdfa2 Update package dev deps. 2014-08-10 22:10:43 +02:00
Lars Jung
425e2bd54f Update readme. 2014-08-10 21:15:45 +02:00
Lars Jung
4014e4b852 Split vid types. 2014-08-09 00:42:46 +02:00
Lars Jung
0aa438f859 Optimize SVG images. 2014-08-08 21:16:43 +02:00
Lars Jung
19a8337e9e Optimize SVG images. 2014-08-08 13:43:13 +02:00
Lars Jung
48b4b25317 Add cmd check caching. 2014-08-07 21:22:06 +02:00
Lars Jung
dfd0e65651 Update readme. 2014-08-07 00:20:56 +02:00
Lars Jung
1cdefa8492 Update readme. 2014-08-07 00:08:41 +02:00
Lars Jung
98b2a2af09 Improve cmd checks. 2014-08-04 21:58:16 +02:00
Lars Jung
237ae10be1 Minor changes. 2014-08-04 19:22:40 +02:00
Lars Jung
a58b78d11a Remove unused code. 2014-08-04 17:10:33 +02:00
Lars Jung
72d8152df5 Replace SyntaxHighlighter wiht Prism. 2014-08-04 17:06:39 +02:00
Lars Jung
2668c28737 Update build process. 2014-08-04 14:41:08 +02:00
Lars Jung
103824aa89 Update Moment.js. 2014-08-04 02:49:46 +02:00
Lars Jung
18c8709fd3 Update readme. 2014-08-04 02:32:41 +02:00
Lars Jung
aa7dd8a75f Replace underscore with lodash. 2014-08-04 02:22:43 +02:00
Lars Jung
dad7cb26d5 Update changelog. 2014-08-04 01:55:11 +02:00
Lars Jung
ca505bf637 Update jQuery.mousewheel. 2014-08-04 01:53:42 +02:00
Lars Jung
b7c180355f Update jQuery.qrcode. 2014-08-04 01:37:31 +02:00
Lars Jung
80d0952d1f Update modulejs. 2014-08-04 01:26:11 +02:00
Lars Jung
c777a9f949 Fix. 2014-08-03 21:46:10 +02:00
Lars Jung
7ecefa554a Replace markdown with marked. 2014-08-03 21:12:40 +02:00
Lars Jung
114c63cfd7 Update readme. 2014-08-03 20:49:46 +02:00
Lars Jung
ac5c914077 Update readme. 2014-08-03 20:17:37 +02:00
Lars Jung
247ac2de07 Update readme. 2014-08-03 20:15:31 +02:00
Lars Jung
58a676d789 Update readme. 2014-08-03 19:39:59 +02:00
Lars Jung
2b1258bea0 Update readme. 2014-08-03 02:04:05 +02:00
Lars Jung
3211722492 Update readme. 2014-08-03 02:03:06 +02:00
Lars Jung
f1574f3efb Update readme. 2014-08-03 02:02:04 +02:00
Lars Jung
2eb8caebc0 Merge pull request #330 from TobleMiner/develop
Changed password input to type "password"
2014-08-03 01:57:45 +02:00
Lars Jung
5cea5d76d2 Outsources themes. 2014-08-03 01:27:57 +02:00
Lars Jung
f29a1df3f9 Remove true type fonts. 2014-08-03 00:16:06 +02:00
TobleMiner
cae5e67557 Changed password input to type "password" 2014-08-01 20:28:15 +02:00
Lars Jung
072c2e3718 Update readme. 2014-07-29 22:23:14 +02:00
Lars Jung
45e2ebe6f4 Update readme. 2014-07-29 22:16:15 +02:00
Lars Jung
551da05c6c Update readme. 2014-07-27 16:49:41 +02:00
Lars Jung
49603c6f80 Fix 32bit size calculation, remove test value. 2014-07-13 13:25:01 +02:00
Lars Jung
1275afcf33 Change doctype 5 to doctype html. 2014-07-11 15:01:01 +02:00
Lars Jung
f9e7e5f9c2 Add filesize fallback for large files and 32bit PHP. 2014-07-09 02:40:23 +02:00
Lars Jung
d33b0156fc Fix server detection. 2014-07-05 02:58:15 +02:00
Lars Jung
258fcf29c9 Update info page. 2014-07-03 02:59:05 +02:00
Lars Jung
30993e40f6 Add tests to the info page. 2014-07-03 00:13:54 +02:00
Lars Jung
82d3b5040e Remove JSON shim. 2014-07-02 22:54:59 +02:00
Lars Jung
9cc6ca0df7 Update info page. 2014-07-02 22:39:01 +02:00
Lars Jung
b5e6f9b860 Update info page. 2014-07-02 22:15:57 +02:00
Lars Jung
ccd98fb113 Remove tracking pixel. 2014-07-02 21:26:02 +02:00
Lars Jung
06d9a8af85 Fix lighttpd recognition. Add support button. 2014-07-02 15:06:28 +02:00
Lars Jung
36150bdbef Set version 0.25.2+ 2014-07-01 22:37:01 +02:00
Lars Jung
7b2070b2bd Merge branch 'develop' 2014-07-01 22:35:45 +02:00
Lars Jung
e0aafa5f47 Prepare release. 2014-07-01 22:35:32 +02:00
Lars Jung
75ced2d18c Update changelog. 2014-07-01 21:39:32 +02:00
Lars Jung
d6695da97d Fix managed check. 2014-07-01 20:24:10 +02:00
Lars Jung
b4a1bb1218 Refactor PHP. 2014-07-01 03:21:54 +02:00
Lars Jung
903b29c4c0 Refactor PHP. 2014-07-01 03:03:41 +02:00
Lars Jung
8fd393d34a Refactor PHP. 2014-06-30 03:15:27 +02:00
Lars Jung
122546eae1 Minor tweaks. 2014-06-30 00:14:48 +02:00
Lars Jung
49d0c968b9 Fix default folder download (still strange for shell-tar). 2014-06-29 21:11:40 +02:00
Lars Jung
b40ae3480f Fix typos. 2014-06-29 18:26:40 +02:00
Lars Jung
96480a5c50 Add optional info page protection. 2014-06-29 17:51:00 +02:00
Lars Jung
db4932b9ce Replace PHP short open tag, as it might be turned off in PHP < 5.4.0. 2014-06-28 19:21:29 +02:00
Lars Jung
d4c6b33ed5 Some fixes. 2014-06-26 12:42:09 +02:00
Lars Jung
daa1d255e2 More fixes on Google Universal Analytics. 2014-06-25 19:30:49 +02:00
Lars Jung
bb7ed02c12 Set version to 0.25.1 2014-06-25 02:57:04 +02:00
Lars Jung
236293ce86 Merge branch 'develop' 2014-06-25 02:56:08 +02:00
Lars Jung
9ee54a008a Prepare release. 2014-06-25 02:55:13 +02:00
Lars Jung
113c7bb6f0 Update changelog. 2014-06-25 02:52:44 +02:00
Lars Jung
61301b3f98 Fix path normalization (broke paths containing '+' characters). 2014-06-25 02:47:46 +02:00
Lars Jung
f56a67af9e Update changelog. 2014-06-24 23:11:47 +02:00
Lars Jung
0c804cdf24 Fix Google Universal Analytics. 2014-06-24 23:10:34 +02:00
Lars Jung
99d59ee9ad Fix file type check. 2014-06-24 03:07:35 +02:00
Lars Jung
be827bac72 Set version to 0.25.0+ 2014-06-22 00:06:08 +02:00
Lars Jung
4073feb5b3 Merge branch 'develop' 2014-06-22 00:04:56 +02:00
Lars Jung
237ce422c1 Prepare release. 2014-06-21 23:46:31 +02:00
Lars Jung
a754c18391 Prepare release. 2014-06-21 22:00:42 +02:00
Lars Jung
26857fea74 Minor changes. 2014-06-21 20:51:02 +02:00
Lars Jung
d784b7407f Minor changes. 2014-06-21 20:14:29 +02:00
Lars Jung
ec95639600 Remove special types to correct text preview behaviour. 2014-06-21 16:46:49 +02:00
Lars Jung
5fab8e1465 Switch to deffered objects interface. 2014-06-21 15:28:04 +02:00
Lars Jung
71d2ff10dc Minor changes. 2014-06-21 14:45:25 +02:00
Lars Jung
730263ca55 Minor changes. 2014-06-21 00:51:52 +02:00
Lars Jung
2caaccabc0 Refactor JS. 2014-06-21 00:36:44 +02:00
Lars Jung
922f83357f Prefer avconv over ffmpeg. 2014-06-20 22:06:50 +02:00
Lars Jung
7d8284e3ee Update style. 2014-06-20 21:17:39 +02:00
Lars Jung
4fb4431802 Remove PHP version display from info page. 2014-06-20 19:42:25 +02:00
Lars Jung
30acf50ebe Fix sidebar styles across browsers. 2014-06-20 18:22:08 +02:00
Lars Jung
1ffa6f793a Some style and IE fixes. 2014-06-20 16:22:26 +02:00
Lars Jung
759faf9647 Add viewBox to SVG files to make IE happy. 2014-06-20 15:09:21 +02:00
Lars Jung
0960ef83b6 Minor changes. 2014-06-19 18:40:41 +02:00
Lars Jung
43168e496a Some updates. 2014-06-19 01:37:52 +02:00
Lars Jung
c1fc823a19 Remove Google Web Fonts links. 2014-06-18 19:47:47 +02:00
Lars Jung
d81ef1ec10 Include fonts. 2014-06-18 17:58:59 +02:00
Lars Jung
c240ee117d Disable thumbs in cache folder itself. 2014-06-18 00:49:21 +02:00
Lars Jung
06b10974ab Add webm to vid types. 2014-06-17 22:33:45 +02:00
Lars Jung
3e617ae005 Add alwaysVisible option to download button. 2014-06-16 02:31:50 +02:00
Lars Jung
506c93340a Add sidebar. 2014-06-16 00:41:27 +02:00
Lars Jung
d6cef5c787 Refactor. 2014-06-14 01:12:00 +02:00
Lars Jung
ca816a5745 Update info page. 2014-06-13 21:39:28 +02:00
Lars Jung
aa5c110448 Update HTML metadata. 2014-06-13 03:11:20 +02:00
Lars Jung
34105d0f28 Remove some favicons. 2014-06-13 02:45:05 +02:00
Lars Jung
78ccc49197 Fix unrenamed method name. 2014-06-10 19:54:44 +02:00
Lars Jung
98f6611a7a Fix some JS hints. 2014-06-10 00:54:27 +02:00
Lars Jung
8c6afea314 Update changelog. 2014-06-10 00:34:14 +02:00
Lars Jung
a1ebf1f4fb Add filter reset on location change. 2014-06-10 00:30:32 +02:00
Lars Jung
af29d651b5 Add audio preview. 2014-06-09 00:54:41 +02:00
Lars Jung
b7081b32de Add video preview. 2014-06-09 00:02:48 +02:00
Lars Jung
1e15c9fb9c Remove server side file manipulation extensions. 2014-06-08 22:33:51 +02:00
Lars Jung
c9d938934b Remove server side file manipulation extensions. 2014-06-08 22:32:20 +02:00
Lars Jung
67bdb1515d More refactorings. 2014-06-08 22:26:03 +02:00
Lars Jung
9c414c92e2 Clean code. 2014-06-08 19:18:16 +02:00
Lars Jung
e497612b6c Clean up. 2014-06-08 15:15:06 +02:00
Lars Jung
b6cf568e31 Add markdown support for custom headers and footers. 2014-06-08 15:13:36 +02:00
Lars Jung
f0721afb88 Minor changes. 2014-06-07 00:57:56 +02:00
Lars Jung
a7301838b9 Update view styles. 2014-06-07 00:30:52 +02:00
Lars Jung
9a76c81e7d Minor changes. 2014-06-06 19:45:12 +02:00
Lars Jung
9ba30f6dad Improve preview GUI. 2014-06-06 02:26:40 +02:00
Lars Jung
7f82e3c80a Minor fixes. 2014-06-05 02:17:36 +02:00
Lars Jung
626c8563f2 Add option where to place folders. 2014-06-04 22:41:40 +02:00
Lars Jung
e61bba9554 Update type system. 2014-06-04 21:39:54 +02:00
Lars Jung
9b4d3b7018 Update type system. 2014-06-04 17:32:22 +02:00
Lars Jung
1660227a54 Update type system. 2014-06-04 17:03:11 +02:00
Lars Jung
26eb27eae3 Sort some images. 2014-06-04 01:09:02 +02:00
Lars Jung
12b2d3ef77 Update type system. 2014-06-03 23:14:37 +02:00
Lars Jung
2d08633147 Update options to new types. 2014-06-03 01:49:56 +02:00
Lars Jung
20cb199cbd Clean types. 2014-06-03 01:27:35 +02:00
Lars Jung
a8c6a78a9a Minor changes. 2014-06-02 00:05:55 +02:00
Lars Jung
42a3beb0b2 Semantics. 2014-06-01 22:26:11 +02:00
Lars Jung
9269bd6898 More URL fixes. 2014-06-01 20:52:48 +02:00
Lars Jung
c224de1994 More URL fixes. 2014-06-01 20:37:29 +02:00
Lars Jung
330523e2b0 Semantics. Refactorings. Make it PHP 5.3 compatible. 2014-06-01 18:24:50 +02:00
Lars Jung
848e40da9c Fix themes. 2014-06-01 15:27:14 +02:00
Lars Jung
7e0420073b Add theme support. 2014-06-01 03:48:53 +02:00
Lars Jung
c6b35c82e8 Add Google UA support. 2014-05-31 20:17:41 +02:00
Lars Jung
5926612e45 Update readme. 2014-05-31 16:46:27 +02:00
Lars Jung
81465fd2f9 Fix QR code URI origin. 2014-05-31 16:43:04 +02:00
Lars Jung
9a453f768c Update readme. 2014-05-31 01:30:38 +02:00
Lars Jung
8c7d4c3f3c Extend selectable icon sizes. 2014-05-31 01:29:15 +02:00
Lars Jung
e6449384ac Update readme. 2014-05-31 00:38:25 +02:00
Lars Jung
69ad16e3ce Merge pull request #288 from alajovic/develop
Slovenian translation for h5ai
2014-05-31 00:37:04 +02:00
Lars Jung
dfa72936f2 Add 'hideIf403' option. 2014-05-31 00:28:58 +02:00
Lars Jung
25d84fe3df Semantics. 2014-05-30 22:55:31 +02:00
Lars Jung
0d6410de8e Update readme. 2014-05-30 01:09:38 +02:00
Lars Jung
d032babf1a Reset scroll position on location change. 2014-05-30 01:06:25 +02:00
Lars Jung
9da65f9fc7 Semantics. 2014-05-30 00:52:57 +02:00
Lars Jung
05504d8e5d Small changes. 2014-05-30 00:45:50 +02:00
Lars Jung
2b26796719 Refactor core/settings module. 2014-05-29 18:51:54 +02:00
Lars Jung
3d54b886dd Update readme and changelog. 2014-05-29 17:38:31 +02:00
Lars Jung
cb33b695dd Update readme and changelog. 2014-05-29 17:38:04 +02:00
Andrej Lajovic
49fe8fbdb8 Add slovenian (sl) translation 2014-05-29 16:54:05 +02:00
Lars Jung
6eae9a7114 Make fallback as simple and fast as possible. 2014-05-29 14:10:34 +02:00
Lars Jung
844b37d165 Add initial theme support. Remove get_http_code. 2014-05-29 03:55:46 +02:00
Lars Jung
0ce49c3535 Remove 'nth-child' from fallback styles. 2014-05-24 15:53:54 +02:00
Lars Jung
0c9160f8fb Remove 'mode' extension. 2014-05-24 01:16:00 +02:00
Lars Jung
62e60cffd3 Add folder deletion. 2014-05-22 23:14:20 +02:00
Lars Jung
8fa939ae30 Update some l10n files. 2014-05-22 22:03:30 +02:00
Lars Jung
9845ae5050 Merge pull request #281 from orzFly/develop
Update zh-cn.json
2014-05-22 21:59:29 +02:00
Lars Jung
71654698d3 Remove timers for now. 2014-05-22 00:13:15 +02:00
Lars Jung
b2a15ceb9d Update H5BP. 2014-05-21 23:52:01 +02:00
Lars Jung
e13c268e9d Update JS libs. 2014-05-21 23:42:11 +02:00
Lars Jung
d59379a0f1 Add CHANGELOG.md. 2014-05-21 22:44:09 +02:00
Lars Jung
8eea5f56cd More refactorings. 2014-05-21 19:55:53 +02:00
Lars Jung
a89db0c259 More refactorings. 2014-05-21 16:09:02 +02:00
Lars Jung
0b28a9eea1 More refactorings. 2014-05-21 02:21:46 +02:00
Lars Jung
351c395f82 Remove PHP closing tags. 2014-05-19 22:40:25 +02:00
Lars Jung
4c7912815c More refactorings. 2014-05-19 22:27:19 +02:00
Lars Jung
344c0a8005 More refactorings. 2014-05-18 22:04:06 +02:00
Lars Jung
fc9f846cb5 More refactorings. 2014-05-18 00:10:38 +02:00
Lars Jung
c40fac67d0 More refactorings. 2014-05-15 13:04:37 +02:00
Lars Jung
fc8a0589dd Refactoring. 2014-05-14 14:27:38 +02:00
Yeechan Lu
1899d3361b Update zh-cn.json 2014-05-12 19:22:26 +08:00
Lars Jung
b67c22f33b Refactoring PHP init code. 2014-05-12 00:39:27 +02:00
Lars Jung
5043a5188b Add padding to rational thumbs. 2014-05-09 23:20:14 +02:00
Lars Jung
08e18b40b5 Add passthru delegate and avconv support. 2014-05-09 21:56:12 +02:00
Lars Jung
365b6d8019 Update readme and license. 2014-05-08 01:59:50 +02:00
Lars Jung
53c4cb645f Cleanup. 2014-05-08 01:54:05 +02:00
Lars Jung
64a31372b8 Merge pull request #274 from willeponken/patch-1
Update for Swedish language
2014-05-08 01:50:20 +02:00
Lars Jung
4919bc8a6e Update pt translation, add ko translation. 2014-05-08 01:46:52 +02:00
Lars Jung
554f79fb94 Update bg translation. 2014-05-08 01:39:38 +02:00
Lars Jung
364f71dd08 Replace backtick operator with exec. 2014-05-08 01:31:42 +02:00
Lars Jung
a75f1b61bc Add PHP exec wrapper. 2014-05-08 00:39:24 +02:00
William Wennerström
b6735a01ea Update for Swedish language
Added missing translations for Swedish.
2014-04-17 16:34:12 +02:00
Lars Jung
f72f7efe46 Set version to 0.24.1+. 2014-04-09 18:14:32 +02:00
Lars Jung
bf4870f087 Merge branch 'develop' 2014-04-09 18:12:33 +02:00
Lars Jung
cdc0ac535f Preparing release. 2014-04-09 18:12:14 +02:00
Lars Jung
cbbefe19d2 Merge pull request #241 from Sn0wCrack/develop
Fixing Windows Program Detection
2014-04-09 14:27:59 +02:00
Lars Jung
1cc8f16ec5 Merge pull request #263 from medicalwei/patch-2
Update zh-tw.json
2014-04-09 14:16:33 +02:00
Lars Jung
9b7af2eb46 Merge pull request #251 from Haprog/finnish
Add Finnish language file
2014-04-09 14:16:16 +02:00
Lars Jung
d7749a924b Merge pull request #237 from CrazyMonster/it-l10n
Updated Italian l10n.
2014-04-09 14:15:59 +02:00
Lars Jung
e9b69db318 Merge pull request #220 from decached/patch-1
Adds Hindi 'hi' translation.
2014-04-09 14:15:33 +02:00
Lars Jung
13c787709f Merge pull request #213 from MinerCrafter/patch-1
French language updated
2014-04-09 14:15:00 +02:00
Lars Jung
e6f09d5ed0 Security bug fix. 2014-04-09 13:46:32 +02:00
Lars Jung
26b91794ce Minor changes. 2014-04-09 12:56:53 +02:00
Yao Wei
6c39a959bf Update zh-tw.json 2014-03-07 11:04:58 +08:00
Yao Wei
92b700c985 Update zh-tw.json 2014-03-07 10:48:39 +08:00
Kari Söderholm
0e50d247e2 Add Finnish language file 2014-01-16 13:53:16 +02:00
Kyle Donaldson
064527a17e Fixing Windows Program Detection
command is currently not ported for windows, which however is.
To remain intact with the current code already in place, it will detect
if the server is running windows or not.
2013-11-26 17:03:44 +11:00
CrazyMonster
fa73f54ed7 Updated Italian l10n. 2013-11-24 14:58:46 +01:00
Akash Kothawale
2d5463681c Oops! Missed a comma 2013-09-28 01:09:22 +05:30
Akash Kothawale
63100a40e3 Adds more translation 2013-09-28 01:08:13 +05:30
Akash Kothawale
1e739d4cd5 Adds Hindi 'hi' translation. 2013-09-28 00:59:02 +05:30
MinerCrafter
65aa7982e7 French language updated 2013-09-13 00:53:30 +02:00
Lars Jung
b37279d1a0 Updates info. 2013-09-06 19:07:58 +02:00
Lars Jung
20c16d2a76 Updates fallback. 2013-09-06 18:58:40 +02:00
Lars Jung
580653a1ad Updates download. 2013-09-06 00:49:50 +02:00
Lars Jung
b8503b6f03 Updates download. 2013-09-06 00:20:55 +02:00
Lars Jung
fd16ed9eda Updates build process. 2013-09-05 15:59:05 +02:00
Lars Jung
a690d4c1e9 Sets version to 0.24.0+. 2013-09-04 16:14:38 +02:00
Lars Jung
96315dc365 Merge branch 'develop' 2013-09-04 16:13:38 +02:00
Lars Jung
571089cda4 Prepares release. 2013-09-04 16:12:46 +02:00
Lars Jung
b5367d999a Updates readme. 2013-09-04 15:57:48 +02:00
Lars Jung
32d9d59a4e Styles. 2013-09-04 15:30:16 +02:00
Lars Jung
94595597d5 Fixes hover states. 2013-09-04 14:17:29 +02:00
Lars Jung
f2d28d6970 Smaller font for costum content. 2013-09-03 23:07:30 +02:00
Lars Jung
c3ea2480da Refactors. 2013-09-03 17:59:10 +02:00
Lars Jung
66e9dafaa5 Improves selectors. 2013-09-03 16:12:31 +02:00
Lars Jung
ad845dbe66 Cleans view styles. 2013-09-03 13:40:07 +02:00
Lars Jung
f0d7ec72cf Fix natural sort for file size. 2013-09-03 12:33:46 +02:00
Lars Jung
19d53b4c14 Lighter font. 2013-09-02 21:46:47 +02:00
Lars Jung
131d945638 Missing semicolon. 2013-09-01 12:44:40 +02:00
Lars Jung
cadc1f4998 Place thumbs in subfolder. 2013-08-31 23:08:09 +02:00
Lars Jung
5c5d050218 Optionally hide folders in the main view. 2013-08-31 17:47:35 +02:00
Lars Jung
fef8e2a254 Updates readme. 2013-08-31 17:17:27 +02:00
Lars Jung
c8d0f5500e Additional text preview modes: none, fixed, markdown. 2013-08-31 15:27:46 +02:00
Lars Jung
8b2852ec9d Use of EXIF thumbnails optional (opt-out). 2013-08-31 14:34:42 +02:00
Lars Jung
00cc9fb713 Minor fix. 2013-08-31 14:19:45 +02:00
Lars Jung
8639e40631 Updates readme. 2013-08-30 20:10:38 +02:00
Lars Jung
f72a09fde0 Adds optional checkboxes for selecting item. 2013-08-30 20:06:39 +02:00
Lars Jung
3d3d5ba883 Border collapse for list view. 2013-08-30 19:06:50 +02:00
Lars Jung
da297f03f7 Updates select. 2013-08-30 17:56:24 +02:00
Lars Jung
a62d9311e1 Removes unused code. 2013-08-30 13:36:16 +02:00
Lars Jung
9c6fe57279 Removes unused code. 2013-08-30 12:59:39 +02:00
Lars Jung
593c828b67 Minor changes. 2013-08-29 23:16:42 +02:00
Lars Jung
aeab3670d0 Updates fallback. 2013-08-29 10:53:34 +02:00
Lars Jung
e3d19a9175 Updates. 2013-08-29 03:15:31 +02:00
Lars Jung
24b4f4ce8a Cleans and refactors. 2013-08-28 23:56:09 +02:00
Lars Jung
aa725f11f8 Adds variable icon sizes. 2013-08-28 17:12:30 +02:00
Lars Jung
c2f5c46451 Remove gif. 2013-08-28 00:36:05 +02:00
Lars Jung
4d4e41a637 Refactors. 2013-08-27 22:38:44 +02:00
Lars Jung
7b3daeb17b Updates thumbs. 2013-08-27 21:29:29 +02:00
Lars Jung
21528dc50b Updates thumbs. 2013-08-27 21:27:31 +02:00
Lars Jung
c186be6cb5 Testing some view changes. Smaller font, bigger icons. 2013-08-27 19:15:48 +02:00
Lars Jung
774742b98c Fixes order undefined error. 2013-08-27 11:26:05 +02:00
Lars Jung
e62591bf1c Adds a yet unstyled selector. 2013-08-26 13:16:35 +02:00
Lars Jung
39cb681bf9 Updates jQuery.filedrop to 0.1.0~0a38cbc. 2013-08-25 23:03:42 +02:00
Lars Jung
aa41483af5 Updates styles. 2013-08-25 20:24:57 +02:00
Lars Jung
1f2ad2ebff Updates styles. 2013-08-25 20:17:01 +02:00
Lars Jung
a6e79b537b Changes dropbox area to whole document. 2013-08-25 14:36:15 +02:00
Lars Jung
3bbfc85877 Updates readme. 2013-08-25 02:48:24 +02:00
Lars Jung
ef969b582d Fixes thumb position. 2013-08-25 02:38:47 +02:00
Lars Jung
4a35f27224 More escapings. 2013-08-25 02:26:01 +02:00
Lars Jung
e2f3e420f1 Fixes thumb position. 2013-08-25 02:25:38 +02:00
Lars Jung
1f9365ae97 Escapes shell arguments. See issue #197. 2013-08-24 23:22:34 +02:00
Lars Jung
4cf5b13d06 Adds select SVG image. 2013-08-24 22:31:13 +02:00
Lars Jung
a568308250 Fixes issue #202. 2013-08-24 19:38:28 +02:00
Lars Jung
ad7c8d9bd8 Updates readme. 2013-08-24 15:38:07 +02:00
Lars Jung
4357c0f1f0 Makes natural sorting opt-in. 2013-08-24 15:14:25 +02:00
Lars Jung
727f161b8a It's actually the da translation. 2013-08-24 01:17:01 +02:00
Lars Jung
30b5266a3f Adds dk translation. 2013-08-24 00:57:39 +02:00
Lars Jung
7ee7d5eddb Updates readme. 2013-08-23 23:37:09 +02:00
Lars Jung
872be4ba19 Removes unused method. 2013-08-23 23:26:31 +02:00
Lars Jung
7969e89bfb Fixes deletion of multiple files at once. 2013-08-23 23:15:47 +02:00
Lars Jung
abd45c1eeb Updates sort extension. 2013-08-23 22:56:28 +02:00
Lars Jung
bbdafb9def Updates sort extension. 2013-08-23 22:32:31 +02:00
Lars Jung
1d24ab33e9 Updates sort extension. 2013-08-23 21:27:40 +02:00
Lars Jung
aef4facdb3 Improves sort extension. 2013-08-23 16:28:58 +02:00
Lars Jung
f5bef0072a Improves sort extension. 2013-08-23 13:42:13 +02:00
Lars Jung
ff1088e53f Removes unused dependencies. 2013-08-23 02:26:06 +02:00
Lars Jung
2251b52f86 Updates preview. 2013-08-23 01:59:11 +02:00
Lars Jung
797d5bbc47 Updates preview. 2013-08-23 00:12:34 +02:00
Lars Jung
72c7b32a94 Preview updates. 2013-08-21 23:00:33 +02:00
Lars Jung
11f6b3792d Minor updates. 2013-08-21 15:58:18 +02:00
Lars Jung
cdbf2e2104 Updates text preview. 2013-08-21 15:56:18 +02:00
Lars Jung
25c131f875 Updates image preview. 2013-08-21 14:04:20 +02:00
Lars Jung
8dbd7dd2a7 Adds generic preview. 2013-08-20 19:21:42 +02:00
Lars Jung
0acd3efaad Styles. 2013-08-19 14:03:23 +02:00
Lars Jung
21f04e36bc Cleans styles. 2013-08-18 21:40:08 +02:00
Lars Jung
bc7607340c Cleans fallback code. 2013-08-18 21:09:35 +02:00
Lars Jung
b42cd95e41 Adds alt attributes to fallback img elements. 2013-08-18 19:59:57 +02:00
Lars Jung
448ad6a27e Fix. 2013-08-16 19:09:37 +02:00
Lars Jung
9331d38545 Updates readme. 2013-08-16 18:29:02 +02:00
Lars Jung
2c8940d062 Updates readme. 2013-08-16 18:18:38 +02:00
Lars Jung
cec6ca2e6e Some updates on the info page. 2013-08-16 16:22:23 +02:00
Lars Jung
a296311b88 Updates build process. 2013-08-13 00:36:39 +02:00
Lars Jung
3733d0c6d0 Replace 'which' with 'command -v' to be POSIX compatible here. 2013-07-28 16:15:20 +02:00
Lars Jung
696409e19c Updates pl translation. 2013-07-26 14:44:31 +02:00
Lars Jung
8a431fe95e Adds .aiff extention to type audio. 2013-07-25 23:41:20 +02:00
Lars Jung
a3a236d2e1 Ignore warnings for unsupported images. 2013-07-23 20:39:24 +02:00
Lars Jung
d76e1194d1 Adds EXIF and PHP version to info page. 2013-07-23 20:09:56 +02:00
Lars Jung
efb447ae78 Minor refactoring. 2013-07-23 10:21:02 +02:00
Lars Jung
ede9f4d3f8 Fixes setParentFolderLabels=false. 2013-07-21 22:23:16 +02:00
Lars Jung
47d73c656b Sets version to 0.23.0-dev 2013-07-21 17:09:21 +02:00
373 changed files with 20799 additions and 19286 deletions

3
.gitignore vendored
View File

@@ -1,6 +1,5 @@
build
local
*.sublime-*
node_modules
test

480
CHANGELOG.md Normal file
View File

@@ -0,0 +1,480 @@
# Changelog
**h5ai** uses [semantic versioning](http://semver.org/).
## v0.26.1 - *2014-08-17*
* fixes links
## v0.26.0 - *2014-08-16*
* removes True Type fonts
* outsources themes to [h5ai-themes](https://github.com/lrsjng/h5ai-themes)
* adds filesize fallback for large files and 32bit PHP
* fixes server detection
* adds config file tests to info page
* removes JSON shim
* adds caching of command checks
* updates `jQuery.mousewheel` to 3.1.12
* updates `jQuery.qrcode` to 0.8.0
* replaces `markdown` with [`marked`](https://github.com/chjj/marked) 0.3.2
* updates `modulejs` to 0.4.5
* updates `Moment.js` to 2.8.1
* replaces `underscore` with [`Lo-Dash`](https://github.com/lodash/lodash) 2.4.1
* replaces `SyntaxHighlighter` with [`Prism`](http://prismjs.com) 2014-08-04
## v0.25.2 - *2014-07-01*
* adds optional info page protection
* fixes `short_open_tag` issues for PHP < 5.4.0
* fixes default folder download (`alwaysVisible` option)
* minor fixes
## v0.25.1 - *2014-06-25*
* fixes broken paths for filenames containing '+' characters
* fixes Google Universal Analytics
* fixes file type check
## v0.25.0 - *2014-06-22*
* adds sidebar
* adds initial theme support
* adds icons from [Evolvere Icon Theme](http://franksouza183.deviantart.com/art/Evolvere-Icon-theme-440718295)
* adds PHP variant to calc folder sizes
* adds scroll position reset on location change (issue [#279](https://github.com/lrsjng/h5ai/issues/279))
* adds option to hide unreadable files
* adds option where to place folders (top, inplace, bottom)
* adds markdown support for custom header and footer files
* adds video and audio preview via HTML5 elements (no fallback, works best in Chrome)
* adds filter reset on location change
* adds option to make download button always visible
* adds Google UA support
* extends selectable icon sizes (adds 128px, 192px, 256px, 384px)
* improves preview GUI
* disable thumbs in `cache` folder
* fixes QR code URI origin (issue [#287](https://github.com/lrsjng/h5ai/issues/287))
* replaces PHP backtick operator with `exec`
* removes server side file manipulation extensions `dropbox`, `delete` and `rename`
* updates `H5BP` to 4.3.0
* updates `jQuery` to 2.1.1
* updates `json2.js` to 2014-02-04
* updates `markdown-js` to 0.5.0
* updates `Modernizr` to 2.8.2
* updates `Moment.js` to 2.6.0
* updates `Underscore.js` to 1.6.0
* language updates (`bg`, `ko`, `pt`, `sl`, `sv`, `zh-cn`)
## v0.24.1 - *2014-04-09*
* security fixes! (issues [#268](https://github.com/lrsjng/h5ai/issues/268), [#269](https://github.com/lrsjng/h5ai/issues/269))
* language updates (`fi`, `fr`, `hi`, `it`, `zh-tw`)
* fixes WinOS command detection
## v0.24.0 - *2013-09-04*
* updates image and text preview
* adds variable icon sizes
* adds optional natural sort of items
* adds optional checkboxes to select items
* adds text preview modes: none, fixed, markdown
* optionally hide folders in main view
* makes use of EXIF thumbnails optional
* fixes file deletion of multiple files
* fixes `setParentFolderLabels = false`
* fixes shell-arg and RegExp escape issues
* cleans code
* updates info page `/_h5ai`
* adds `aiff` to `audio` types
* adds `da` translation by Ronnie Milbo
* updates to `pl` translation by Mark
## 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](https://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](https://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](https://github.com/brandonaaron/jquery-mousewheel) to 3.0.6
* updates `lv` translation
* adds `ro` translation by [Jakob Cosoroabă](https://github.com/midday)
* adds `ja` translation by [metasta](https://github.com/metasta)
* adds `nb` translation by [Sindre Sorhus](https://github.com/sindresorhus)
* adds `sr` translation by [vBm](https://github.com/vBm)
* adds `gr` translation by [xhmikosr](https://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](https://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](https://github.com/SalvoGentile) and [Marco Patriarca](https://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](https://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](https://github.com/jonnsl)
* adds `bg` translation by George Andonov
## v0.12.3 - *2011-07-30*
* adds `tr` translation by [Batuhan Icoz](https://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](https://github.com/lrsjng/h5ai/issues/6))
* adds custom scrollbar to tree ([issue #6](https://github.com/lrsjng/h5ai/issues/6))
* fixes broken links caused by URI encoding/decoding ([issue #9](https://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](https://github.com/Nicosmos)
* adds `nl` translation by [Stefan de Konink](https://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](https://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 @@
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.

468
README.md
View File

@@ -1,32 +1,30 @@
# h5ai
**a modern HTTP web server index for Apache httpd, lighttpd, nginx and Cherokee**
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!
[![license][license-img]][gh] [![web][web-img]][web] [![github][gh-img]][gh]
A modern HTTP web server index for Apache httpd, lighttpd, nginx and Cherokee.
For bug reports and feature requests please use [issues][gh-issues].
## Install
( **note:** please don't use files from the `src` folder for installation,
they need to be preprocessed to work correctly )
You'll find a preprocessed package, as well as detailed installation
instructions on the [project page](http://larsjung.de/h5ai/).
Do **not** install any files from the `src` folder, they need to be
preprocessed to work correctly! Find a preprocessed package and detailed
install instructions on the [project page][web].
## Build
( there are repositories for the latest [releases](http://release.larsjung.de/h5ai/) and [dev builds](http://release.larsjung.de/h5ai/dev/) )
There are installation ready packages for the latest [releases][release] and
[dev builds][develop]. But if you want to build **h5ai** yourself you need to
install the build tool [fQuery][fquery] first:
If you want to build **h5ai** yourself you need to install the build tool [fQuery](http://larsjung.de/fquery/) first:
> npm install -g fquery@0.11.0
> npm install -g fquery
This will install fQuery and its command line tool `makejs`. Run `makejs --help` to see if everything
worked fine.
To clone and build the project run the following commands.
You'll find a new directory `build` including a fresh zipball.
This will globally install fQuery and its command line tool `makejs`. Run
`makejs --help` to see if everything worked fine. To clone and build the
project run the following commands, this will create a new folder `build`
including a fresh zipball.
> git clone git://github.com/lrsjng/h5ai.git
> cd h5ai
@@ -35,410 +33,54 @@ You'll find a new directory `build` including a fresh zipball.
## License
**h5ai** is provided under the terms of the [MIT License](http://github.com/lrsjng/h5ai/blob/develop/LICENSE.md).
The MIT License (MIT)
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),
Copyright (c) 2014 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.
## References
**h5ai** profits from these great projects:
[GNOME&nbsp;Symbolic&nbsp;Icons](https://github.com/GNOME/gnome-icon-theme-symbolic)&nbsp;(CC BY-SA 3.0),
[HTML5&nbsp;★&nbsp;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.mousewheel](https://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),
[Lo-Dash](http://lodash.com)&nbsp;(MIT),
[marked](https://github.com/chjj/marked)&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)
[Prism](http://prismjs.com)&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
[web]: http://larsjung.de/h5ai/
[gh]: https://github.com/lrsjng/h5ai
[gh-issues]: https://github.com/lrsjng/h5ai/issues
[release]: http://release.larsjung.de/h5ai/
[develop]: http://release.larsjung.de/h5ai/develop/
[fquery]: http://larsjung.de/fquery/
[license-img]: http://img.shields.io/badge/license-MIT-a0a060.svg?style=flat-square
[web-img]: http://img.shields.io/badge/web-larsjung.de/h5ai-a0a060.svg?style=flat-square
[gh-img]: http://img.shields.io/badge/github-lrsjng/h5ai-a0a060.svg?style=flat-square

View File

@@ -2,168 +2,160 @@
'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;
var path = require('path'),
pkg = require('./package.json'),
root = path.resolve(__dirname),
src = path.join(root, 'src'),
build = path.join(root, 'build'),
$ = make.fQuery,
mapSrc = $.map.p(src, build).s('.less', '.css').s('.jade', ''),
mapRoot = $.map.p(root, path.join(build, '_h5ai'));
make.version('>=0.8.1');
make.defaults('build');
make.version('>=0.10.0');
make.defaults('build');
make.before(function () {
make.target('check-version', [], 'add git info to dev builds').async(function (done, fail) {
handlebarsEnv.stamp = moment().format('YYYY-MM-DD HH:mm:ss');
});
if (!pkg.develop) {
done();
return;
}
$.git(root, function (err, result) {
pkg.version += '+' + result.buildSuffix;
$.info({ method: 'check-version', message: 'version set to ' + pkg.version });
done();
});
});
make.target('check-version', [], 'add git info to dev builds').async(function (done, fail) {
make.target('clean', [], 'delete build folder').sync(function () {
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();
});
});
$.DELETE(build);
});
make.target('clean', [], 'delete build folder').sync(function () {
make.target('lint', [], 'lint all JavaScript files with JSHint').sync(function () {
$.rmfr($.I_AM_SURE, build);
});
var 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 = {
'modulejs': true
};
$(src + '/_h5ai/client/js: **/*.js, ! lib/**')
.jshint(jshint, globals);
});
make.target('lint', [], 'lint all JavaScript files with JSHint').sync(function () {
make.target('build', ['check-version'], 'build all updated files').sync(function () {
$(src + '/_h5ai/client/js: **/*.js, ! lib/**')
.jshint(jshint);
});
var env = {pkg: pkg};
var header = '/* ' + pkg.name + ' ' + pkg.version + ' - ' + pkg.homepage + ' */\n';
$(src + ': _h5ai/client/js/*.js')
.newerThan(mapSrc, $(src + ': _h5ai/client/js/**'))
.includify()
.uglifyjs()
.wrap(header)
.WRITE(mapSrc);
$(src + ': _h5ai/client/css/*.less')
.newerThan(mapSrc, $(src + ': _h5ai/client/css/**'))
.less()
.cssmin()
.wrap(header)
.WRITE(mapSrc);
$(src + ': **/*.jade')
.newerThan(mapSrc)
.handlebars(env)
.jade()
.WRITE(mapSrc);
$(src + ': **, ! _h5ai/client/js/**, ! _h5ai/client/css/**, ! **/*.jade')
.newerThan(mapSrc)
.handlebars(env)
.WRITE(mapSrc);
$(src + ': _h5ai/client/css/fonts/**')
.newerThan(mapSrc)
.WRITE(mapSrc);
$(root + ': *.md')
.newerThan(mapRoot)
.WRITE(mapRoot);
});
make.target('build', ['check-version'], 'build all updated files').sync(function () {
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);
var env = {pkg: pkg};
var header = '/* ' + pkg.name + ' ' + pkg.version + ' - ' + pkg.homepage + ' */\n';
$(src + ': _h5ai/client/css/*.less')
.modified(mapSrc, $(src + ': _h5ai/client/css/**'))
.less()
.cssmin()
.write($.OVERWRITE, mapSrc);
$(src + ': _h5ai/client/js/*.js')
.newerThan(mapSrc, $(src + ': _h5ai/client/js/**'))
.includify()
// .uglifyjs()
.wrap(header)
.WRITE(mapSrc);
$(src + ': **/*.jade')
.modified(mapSrc)
.handlebars(handlebarsEnv)
.jade()
.write($.OVERWRITE, mapSrc);
$(src + ': _h5ai/client/css/*.less')
.newerThan(mapSrc, $(src + ': _h5ai/client/css/**'))
.less()
// .cssmin()
.wrap(header)
.WRITE(mapSrc);
$(src + ': **, ! _h5ai/client/js/**, ! _h5ai/client/css/**, ! **/*.jade')
.modified(mapSrc)
.handlebars(handlebarsEnv)
.write($.OVERWRITE, mapSrc);
$(src + ': **/*.jade')
.newerThan(mapSrc)
.handlebars(env)
.jade()
.WRITE(mapSrc);
$(root + ': README*, LICENSE*')
.modified(mapRoot)
.write($.OVERWRITE, mapRoot);
});
$(src + ': **, ! _h5ai/client/js/**, ! _h5ai/client/css/**, ! **/*.jade')
.newerThan(mapSrc)
.handlebars(env)
.WRITE(mapSrc);
$(src + ': _h5ai/client/css/fonts/**')
.newerThan(mapSrc)
.WRITE(mapSrc);
$(root + ': *.md')
.newerThan(mapRoot)
.WRITE(mapRoot);
});
make.target('build-uncompressed', ['check-version'], 'build all updated files without compression').sync(function () {
make.target('release', ['clean', 'build'], 'create a zipball').async(function (done, fail) {
$(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
});
});
$(build + ': **').shzip({
target: path.join(build, pkg.name + '-' + pkg.version + '.zip'),
dir: build,
callback: done
});
});
};

View File

@@ -1,12 +1,22 @@
{
"name": "h5ai",
"version": "0.23.0",
"version": "0.26.1",
"develop": false,
"description": "a modern HTTP web server index",
"url": "http://larsjung.de/h5ai/",
"author": "Lars Jung",
"homepage": "http://larsjung.de/h5ai/",
"bugs": "https://github.com/lrsjng/h5ai/issues",
"author": "Lars Jung <lrsjng@gmail.com> (http://larsjung.de)",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/lrsjng/h5ai.git"
},
"scripts": {
"test": "mocha --recursive test"
},
"devDependencies": {
"lodash": "~2.4.1",
"mocha": "~1.21.3",
"zombie": "~2.0.0-alpha31"
}
}

View File

@@ -68,31 +68,31 @@ AddDefaultCharset utf-8
ExpiresActive on
ExpiresDefault "access plus 1 month"
# CSS
# CSS
ExpiresByType text/css "access plus 1 week"
# Data interchange
# 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!)
# Favicon (cannot be renamed!)
ExpiresByType image/x-icon "access plus 1 week"
# HTML components (HTCs)
# HTML components (HTCs)
ExpiresByType text/x-component "access plus 1 month"
# HTML
# HTML
ExpiresByType text/html "access plus 0 seconds"
# JavaScript
# JavaScript
ExpiresByType application/javascript "access plus 1 week"
# Manifest files
# Manifest files
ExpiresByType application/x-web-app-manifest+json "access plus 0 seconds"
ExpiresByType text/cache-manifest "access plus 0 seconds"
# Media
# Media
ExpiresByType audio/ogg "access plus 1 month"
ExpiresByType image/gif "access plus 1 month"
ExpiresByType image/jpeg "access plus 1 month"
@@ -101,11 +101,11 @@ AddDefaultCharset utf-8
ExpiresByType video/ogg "access plus 1 month"
ExpiresByType video/webm "access plus 1 month"
# Web feeds
# Web feeds
ExpiresByType application/atom+xml "access plus 1 hour"
ExpiresByType application/rss+xml "access plus 1 hour"
# Web fonts
# 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"

View File

@@ -0,0 +1,96 @@
-------------------------------
UBUNTU FONT LICENCE Version 1.0
-------------------------------
PREAMBLE
This licence allows the licensed fonts to be used, studied, modified and
redistributed freely. The fonts, including any derivative works, can be
bundled, embedded, and redistributed provided the terms of this licence
are met. The fonts and derivatives, however, cannot be released under
any other licence. The requirement for fonts to remain under this
licence does not require any document created using the fonts or their
derivatives to be published under this licence, as long as the primary
purpose of the document is not to be a vehicle for the distribution of
the fonts.
DEFINITIONS
"Font Software" refers to the set of files released by the Copyright
Holder(s) under this licence and clearly marked as such. This may
include source files, build scripts and documentation.
"Original Version" refers to the collection of Font Software components
as received under this licence.
"Modified Version" refers to any derivative made by adding to, deleting,
or substituting -- in part or in whole -- any of the components of the
Original Version, by changing formats or by porting the Font Software to
a new environment.
"Copyright Holder(s)" refers to all individuals and companies who have a
copyright ownership of the Font Software.
"Substantially Changed" refers to Modified Versions which can be easily
identified as dissimilar to the Font Software by users of the Font
Software comparing the Original Version with the Modified Version.
To "Propagate" a work means to do anything with it that, without
permission, would make you directly or secondarily liable for
infringement under applicable copyright law, except executing it on a
computer or modifying a private copy. Propagation includes copying,
distribution (with or without modification and with or without charging
a redistribution fee), making available to the public, and in some
countries other activities as well.
PERMISSION & CONDITIONS
This licence does not grant any rights under trademark law and all such
rights are reserved.
Permission is hereby granted, free of charge, to any person obtaining a
copy of the Font Software, to propagate the Font Software, subject to
the below conditions:
1) Each copy of the Font Software must contain the above copyright
notice and this licence. These can be included either as stand-alone
text files, human-readable headers or in the appropriate machine-
readable metadata fields within text or binary files as long as those
fields can be easily viewed by the user.
2) The font name complies with the following:
(a) The Original Version must retain its name, unmodified.
(b) Modified Versions which are Substantially Changed must be renamed to
avoid use of the name of the Original Version or similar names entirely.
(c) Modified Versions which are not Substantially Changed must be
renamed to both (i) retain the name of the Original Version and (ii) add
additional naming elements to distinguish the Modified Version from the
Original Version. The name of such Modified Versions must be the name of
the Original Version, with "derivative X" where X represents the name of
the new work, appended to that name.
3) The name(s) of the Copyright Holder(s) and any contributor to the
Font Software shall not be used to promote, endorse or advertise any
Modified Version, except (i) as required by this licence, (ii) to
acknowledge the contribution(s) of the Copyright Holder(s) or (iii) with
their explicit written permission.
4) The Font Software, modified or unmodified, in part or in whole, must
be distributed entirely under this licence, and must not be distributed
under any other licence. The requirement for fonts to remain under this
licence does not affect any document created using the Font Software,
except any version of the Font Software extracted from a document
created using the Font Software may only be distributed under this
licence.
TERMINATION
This licence becomes null and void if any of the above conditions are
not met.
DISCLAIMER
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF
COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM OTHER
DEALINGS IN THE FONT SOFTWARE.

View File

@@ -0,0 +1,15 @@
----------------------
Ubuntu Font Family
======================
The Ubuntu Font Family are a set of matching new libre/open fonts in
development during 2010--2011. The development is being funded by
Canonical Ltd on behalf the wider Free Software community and the
Ubuntu project. The technical font design work and implementation is
being undertaken by Dalton Maag.
Both the final font Truetype/OpenType files and the design files used
to produce the font family are distributed under an open licence and
you are expressly encouraged to experiment, modify, share and improve.
http://font.ubuntu.com/

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -1,76 +1,73 @@
#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);
position: fixed;
z-index: 5;
width: 100%;
height: 18px;
left: 0;
bottom: 0;
padding: 6px 0 8px 0;
background-color: @col-widget-back;
border-top: @border-widget;
color: #999;
text-align: center;
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;
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;
&: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 {
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;
}
}
&:before {
content: '·'
}
}
&.default {
}
&.dynamic {
display: none;
}
}
}

View File

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

View File

@@ -1,32 +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;
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;
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);
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;
}
}
}
&:hover {
color: @col-hover;
background-color: @col-widget-back-hover;
}
}
}
}

View File

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

View File

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

View File

@@ -1,89 +0,0 @@
#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

@@ -1,90 +1,71 @@
#fallback {
display: none;
max-width: 960px;
margin: 80px auto;
display: none;
max-width: 960px;
margin: 80px auto;
table {
display: block;
width: 100%;
border-collapse: collapse;
table {
display: block;
width: 100%;
border-collapse: collapse;
th, td {
padding: 6px;
text-align: left;
border: none;
}
th {
padding-bottom: 18px;
th, td {
padding: 6px;
text-align: left;
border: none;
}
th {
padding-bottom: 18px;
color: #555;
font-weight: normal;
opacity: 0.4;
}
td {
border-bottom: 1px solid @col-border;
overflow: hidden;
white-space: nowrap;
font-size: 15px;
a, a:visited {
color: #555;
font-weight: normal;
text-decoration: none;
cursor: pointer;
opacity: 0.4;
.transition(all 0.2s ease-in-out);
a, a:active, a:visited {
display: block;
color: #555;
text-decoration: none;
cursor: pointer;
&: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;
&:hover {
color: @col-hover;
}
}
}
.fb-i {
width: 24px;
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;
}
}
img {
width: 24px;
height: 24px;
}
}
.fb-n {
width: 682px;
max-width: 682px;
}
.fb-d {
text-align: right;
width: 160px;
min-width: 160px;
}
.fb-s {
text-align: right;
width: 70px;
min-width: 70px;
}
}
}
html.no-js, html.no-browser {
#fallback {
display: block;
}
#fallback {
display: block;
}
}

View File

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

View File

@@ -0,0 +1,56 @@
@font-face {
font-family: 'Ubuntu';
font-style: normal;
font-weight: 300;
src: local('Ubuntu Light'), local('Ubuntu-Light'), url(fonts/Ubuntu-L.woff) format('woff');
}
@font-face {
font-family: 'Ubuntu';
font-style: normal;
font-weight: 700;
src: local('Ubuntu Bold'), local('Ubuntu-Bold'), url(fonts/Ubuntu-B.woff) format('woff');
}
@font-face {
font-family: 'Ubuntu';
font-style: italic;
font-weight: 300;
src: local('Ubuntu Light Italic'), local('Ubuntu-LightItalic'), url(fonts/Ubuntu-LI.woff) format('woff');
}
@font-face {
font-family: 'Ubuntu';
font-style: italic;
font-weight: 700;
src: local('Ubuntu Bold Italic'), local('Ubuntu-BoldItalic'), url(fonts/Ubuntu-BI.woff) format('woff');
}
@font-face {
font-family: 'Ubuntu Mono';
font-style: normal;
font-weight: 400;
src: local('Ubuntu Mono'), local('UbuntuMono-Regular'), url(fonts/UbuntuMono-R.woff) format('woff');
}
@font-face {
font-family: 'Ubuntu Mono';
font-style: normal;
font-weight: 700;
src: local('Ubuntu Mono Bold'), local('UbuntuMono-Bold'), url(fonts/UbuntuMono-B.woff) format('woff');
}
@font-face {
font-family: 'Ubuntu Mono';
font-style: italic;
font-weight: 400;
src: local('Ubuntu Mono Italic'), local('UbuntuMono-Italic'), url(fonts/UbuntuMono-RI.woff) format('woff');
}
@font-face {
font-family: 'Ubuntu Mono';
font-style: italic;
font-weight: 700;
src: local('Ubuntu Mono Bold Italic'), local('UbuntuMono-BoldItalic'), url(fonts/Ubuntu-BI.woff) format('woff');
}

View File

@@ -4,6 +4,7 @@
@col-hover: rgb(29,119,194);
@col-border: rgba(0,0,0,0.05);
@col-border-strong: rgba(0,0,0,0.15);
@col-border-stronger: rgba(0,0,0,0.3);
@col-error: rgb(204,51,51);
@@ -16,41 +17,54 @@
@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);
@col-range-back: rgb(224,224,224);
@col-range-thumb: rgb(190,190,190);
@border-widget: 1px solid @col-border;
@border-widget-sep: 1px solid @col-widget-sep;
@font-family: Ubuntu, sans-serif;
@font-family: Ubuntu, Helvetica, Arial, sans-serif;
@font-weight: 300;
@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;
.transition (@transition) {
-webkit-transition: @transition;
transition: @transition;
}
html.js .hideOnJs, html.no-js .hideOnNoJs {
display: none;
.transform (@transform) {
-webkit-transform: @transform;
-ms-transform: @transform;
transform: @transform;
zoom: 1;
}
html.no-browser .noBrowserMsg {
display: inline !important;
html {
min-height: 100%;
overflow: auto;
overflow-y: scroll;
&.js .noJsMsg {
display: none;
}
&.browser .noBrowserMsg {
display: none;
}
}
body {
font-family: @font-family;
font-size: 13px;
font-weight: @font-weight;
color: @col;
background-color: @col-back;
margin: 30px;
}

View File

@@ -1,101 +1,147 @@
body#h5ai-info {
font-family: @font-family;
margin: 2em auto 4em auto;
font-size: 20px;
color: @col;
max-width: 600px;
text-align: center;
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);
a, a:active, a:visited {
color: @col;
text-decoration: none;
.transition(all 0.2s ease-in-out);
&:hover {
color: @col-hover;
}
}
&:hover {
color: @col-hover;
}
}
code {
margin: 0 0.2em;
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;
}
.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;
}
#support {
margin: 12px auto 24px auto;
padding: 6px 18px;
width: 164px;
font-size: 12px;
background: @col-widget-back;
border: @border-widget;
border-radius: 4px;
#tests {
display: inline-block;
list-style-type: none;
text-align: left;
margin: 0;
padding: 0;
.paypal {
margin: 6px 0 0 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;
}
}
#login-wrapper {
font-size: 14px;
}
#bottombar {
font-size: 13px;
}
#pass {
-moz-appearance: none;
-ms-appearance: none;
-webkit-appearance: none;
font-family: @font-family;
font-weight: @font-weight;
color: @col;
background: @col-widget-back-highlight;
border: @border-widget;
outline: none;
display: inline-block;
width: 200px;
height: 27px;
padding: 0 6px;
margin: 8px;
}
#login, #logout {
display: inline-block;
padding: 4px 16px;
margin: 8px;
background-color: @col-widget-back;
border: @border-widget;
cursor: pointer;
color: @col;
cursor: pointer;
text-decoration: none;
.transition(all 0.2s ease-in-out);
&:hover, &.hover {
background-color: @col-widget-back-highlight;
color: @col-hover;
}
}
#hint {
margin: 12px auto;
width: 360px;
color: @col;
font-size: 12px;
}
#tests-wrapper {
margin: 96px 0;
}
#tests {
display: inline-block;
list-style-type: none;
text-align: left;
margin: 0;
padding: 0;
.test {
margin: 12px 0 0 0;
padding: 6px;
.label {
display: inline-block;
width: 250px;
}
.result {
display: inline-block;
width: 250px;
text-align: right;
font-weight: bold;
&.passed {
color: #5a5;
}
&.failed {
color: #a55;
}
}
.info {
margin: 4px 0 12px 12px;
font-size: 0.7em;
color: #aaa;
width: 460px;
line-height: 1.2em;
}
}
}
#bottombar {
font-size: 13px;
}
}

View File

@@ -1,54 +0,0 @@
#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

@@ -1,14 +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;
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,9 @@
#pv-aud-audio {
position: absolute;
max-width: 100%;
max-height: 100%;
box-shadow: 0 0 8px 2px rgba(0, 0, 0, 0.3);
}

View File

@@ -1,130 +1,18 @@
#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);
position: absolute;
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);
max-width: 100%;
max-height: 100%;
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;
box-shadow: 0 0 8px 2px rgba(0, 0, 0, 0.3);
}

View File

@@ -1,232 +1,174 @@
#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 {
max-width: 960px;
text-align: left;
background-color: #fff;
margin: 0 auto;
padding: 8px;
overflow: auto;
&.highlighted {
word-break: break-all;
box-shadow: 0 0 8px 2px rgba(0, 0, 0, 0.3);
tr:hover {
background-color: rgba(0,0,0,0.05);
&.highlighted {
// word-break: break-all;
.nr {
color: #333;
}
}
code {
font-family: @font-family-mono;
font-size: 16px;
line-height: 1.2em;
}
td {
vertical-align: top;
font-family: @font-family-mono;
font-size: 16px;
line-height: 1.2em;
color: #999;
word-break: normal;
a, a:active, a:visited {
color: #2080FF;
text-decoration: none;
cursor: pointer;
&.nr {
text-align: right;
padding: 0 8px 0 4px;
}
&:hover {
color: #68A9FF;
}
}
&.line {
width: 100%;
padding: 0 4px 0 8px;
}
.token.comment,
.token.prolog,
.token.doctype,
.token.cdata {
color: #aaa;
}
code {
font-family: @font-family-mono;
font-size: 16px;
line-height: 1.2em;
}
}
.token.punctuation {
color: #999;
}
.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;
}
.namespace {
opacity: .7;
}
a, a:active, a:visited {
color: #2080FF;
text-decoration: none;
cursor: pointer;
.token.property,
.token.tag,
.token.boolean,
.token.number,
.token.constant,
.token.symbol {
color: #905;
}
&:hover {
color: #68A9FF;
}
}
}
.token.selector,
.token.attr-name,
.token.string,
.token.builtin {
color: #690;
}
.token.operator,
.token.entity,
.token.url,
.language-css .token.string,
.style .token.string,
.token.variable {
color: #a67f59;
background: hsla(0,0%,100%,.5);
}
.token.atrule,
.token.attr-value,
.token.keyword {
color: #07a;
}
.token.function {
color: #DD4A68;
}
.token.regex,
.token.important {
color: #e90;
}
.token.important {
font-weight: bold;
}
.token.entity {
cursor: help;
}
// pre.line-numbers {
// position: relative;
// padding-left: 3.8em;
// counter-reset: linenumber;
// }
// pre.line-numbers > code {
// position: relative;
// }
// .line-numbers .line-numbers-rows {
// position: absolute;
// pointer-events: none;
// top: 0;
// font-size: 100%;
// left: -3.8em;
// width: 3em; /* works for line-numbers below 1000 lines */
// letter-spacing: -1px;
// border-right: 1px solid #999;
// -webkit-user-select: none;
// -moz-user-select: none;
// -ms-user-select: none;
// user-select: none;
// }
// .line-numbers-rows > span {
// pointer-events: none;
// display: block;
// counter-increment: linenumber;
// }
// .line-numbers-rows > span:before {
// content: counter(linenumber);
// color: #999;
// display: block;
// padding-right: 0.8em;
// text-align: right;
// }
// .token.tab:not(:empty):before,
// .token.cr:before,
// .token.lf:before {
// color: hsl(24, 20%, 85%);
// }
// .token.tab:not(:empty):before {
// content: '▸';
// }
// .token.cr:before {
// content: '␍';
// }
// .token.lf:before {
// // content: '␊';
// content: '¶';
// }
// .token a {
// color: inherit;
// }
}
&.markdown {
font-size: 16px;
padding: 8px 24px;
&.markdown {
font-size: 16px;
padding: 8px 24px;
a, a:active, a:visited {
color: #2080FF;
text-decoration: none;
cursor: pointer;
a, a:active, a:visited {
color: #2080FF;
text-decoration: none;
cursor: pointer;
&:hover {
color: #68A9FF;
}
}
&: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);
pre, code {
font-family: @font-family-mono;
}
code {
color: #008200;
}
}
}

View File

@@ -0,0 +1,14 @@
#pv-vid-video {
position: absolute;
max-width: 100%;
max-height: 100%;
box-shadow: 0 0 8px 2px rgba(0, 0, 0, 0.3);
}
#pv-vid-video:-webkit-full-screen {
top: auto !important;
left: auto !important;
}

View File

@@ -0,0 +1,154 @@
#pv-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-overlay.fullscreen {
background-color: #111;
}
#pv-content {
position: absolute;
}
#pv-spinner {
position: absolute;
img {
width: 100px;
height: 100px;
margin: -50px -50px;
}
}
#pv-prev-area, #pv-next-area {
position: absolute;
top: 50%;
cursor: pointer;
img {
width: 48px;
height: 48px;
margin: -36px 0;
padding: 12px;
opacity: 0.5;
}
&:hover, &.hover {
img {
background-color: rgba(27,27,27,0.8);
opacity: 1;
}
}
}
#pv-prev-area {
left: 0;
img {
border-top-right-radius: 8px;
border-bottom-right-radius: 8px;
padding-left: 48px;
}
}
#pv-next-area {
right: 0;
img {
border-top-left-radius: 8px;
border-bottom-left-radius: 8px;
padding-right: 48px;
}
}
#pv-buttons {
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-bottombar {
position: fixed;
z-index: 5;
width: 100%;
height: 32px;
left: 0;
bottom: 0;
background-color: rgb(27,27,27);
border-top: 1px solid rgb(45,45,45);
}
#pv-overlay.fullscreen {
#pv-bottombar {
opacity: 0.5;
}
}
@media only screen and (max-width: 700px) {
#pv-prev-area, #pv-next-area, #pv-close-area {
display: none !important;
}
}

View File

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

View File

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

View File

@@ -0,0 +1,125 @@
#sidebar {
position: fixed;
right: -220px;
width: 200px;
top: 31px;
height: 100%;
z-index: 3;
overflow: auto;
padding: 8px;
background-color: @col-widget-back;
border-left: @border-widget;
}
#settings {
.block {
display: block;
margin: 12px 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 {
opacity: 1.0;
background: @col-widget-back-highlight;
}
}
.current {
a, span.element {
opacity: 1.0;
background: @col-widget-back-highlight;
}
}
img {
position: relative;
top: -2px;
width: 16px;
height: 16px;
}
.view {
display: inline-block;
margin: 0 4px 0 0;
}
.select {
background-color: @col-widget-back-highlight;
width: 175px;
overflow: hidden;
}
input, select {
-moz-appearance: none;
-ms-appearance: none;
-webkit-appearance: none;
font-family: @font-family;
font-size: 13px;
font-weight: @font-weight;
color: @col;
background: @col-widget-back;
width: 100%;
height: 30px;
line-height: 30px;
border: 0 solid #000;
outline: none;
cursor: pointer;
}
select {
width: 200px;
padding: 0 4px;
}
input[type='range'] {
border-radius: 2px;
width: 64px;
margin: 0 0 4px 12px;
padding: 0 2px;
vertical-align: middle;
}
.range-track() {
-moz-appearance: none;
-ms-appearance: none;
-webkit-appearance: none;
border-width: 0;
border-radius: 2px;
background: @col-range-back;
height: 2px;
}
.range-thumb() {
-moz-appearance: none;
-ms-appearance: none;
-webkit-appearance: none;
border-width: 0;
border-radius: 2px;
background: @col-range-thumb;
width: 12px;
height: 12px;
}
input[type='range']::-webkit-slider-runnable-track { .range-track; }
input[type='range']::-moz-range-track { .range-track; }
input[type='range']::-ms-track { .range-track; }
input[type='range']::-ms-fill-lower { .range-track; }
input[type='range']::-ms-fill-upper { .range-track; }
input[type='range']::-webkit-slider-thumb { .range-thumb; margin-top: -5px; }
input[type='range']::-moz-range-thumb { .range-thumb; }
input[type='range']::-ms-thumb { .range-thumb; }
}

View File

@@ -1,89 +1,87 @@
#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);
position: fixed;
z-index: 5;
width: 100%;
min-height: 30px;
left: 0;
top: 0;
background-color: @col-widget-back;
border-bottom: @border-widget;
}
.topbar-highlight {
background-color: @col-widget-back-highlight;
opacity: 1.0;
background-color: @col-widget-back-highlight;
opacity: 1.0;
}
.topbar-hover {
.topbar-highlight;
color: @col-hover;
.topbar-highlight;
color: @col-hover;
}
.topbar-left {
float: left;
border-right: @border-widget-sep;
float: left;
border-right: @border-widget-sep;
}
.topbar-right {
float: right;
border-left: @border-widget-sep;
float: right;
border-left: @border-widget-sep;
}
#navbar {
list-style: none;
list-style-image: none;
margin: 0;
padding: 0;
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);
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;
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;
}
&: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

@@ -1,120 +1,116 @@
#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;
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-scrollbar {
width: 6px;
background-color: @col-sb-back;
cursor: pointer;
.sp-thumb {
background-color: @col-sb-thumb;
// .border-radius(3px);
}
&.active .sp-thumb {
background-color: @col-sb-thumb-active;
}
}
.sp-thumb {
background-color: @col-sb-thumb;
}
&.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;
.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;
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;
&:hover, &.hover {
color: @col-hover;
background-color: @col-widget-back-hover;
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;
}
}
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

@@ -1,58 +1,122 @@
.view-details-sized(@size) {
li {
&.item {
a, a:active, a:visited {
height: @size + 6px;
}
.label, .date, .size {
padding: ((@size - 16px)/2) 8px;
}
}
.icon.square {
width: @size;
img {
width: @size;
height: @size;
}
}
.label {
margin: 0 230px 0 (@size + 16px);
}
}
}
#view.view-details {
li {
li {
&.header {
display: list-item;
}
&.header {
display: list-item;
}
&.item {
&.item {
a, a:active, a:visited {
border-top: 1px solid @item-border-col-sep;
border-bottom: 1px solid @item-border-col-sep;
a, a:active, a:visited {
border-bottom: 1px solid @item-border-col-sep;
&:hover, &.hover {
border-color: @item-border-col-hover;
}
}
&: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;
}
}
// needs to be here, to not conflict with header fields
.icon {
padding: 8px;
}
}
&.item + .item {
.icon.square {
display: inline-block;
position: absolute;
left: 0;
top: -4px;
}
a, a:active, a:visited {
border-top: none;
}
}
.date {
position: absolute;
right: 100px;
top: 0;
}
.icon.small {
display: inline-block;
position: absolute;
left: 0;
top: -2px;
width: 16px;
}
.size {
position: absolute;
right: 0;
top: 0;
}
.label {
margin: 0 270px 0 24px;
}
.selector {
margin-top: -1px;
}
}
.date {
position: absolute;
right: 100px;
top: 0;
}
.view-details-sized(@icon-size);
.size {
position: absolute;
right: 0;
top: 0;
}
}
&.size-16 {
.view-details-sized(16px)
}
&.size-24 {
.view-details-sized(24px)
}
&.size-32 {
.view-details-sized(32px)
}
&.size-48 {
.view-details-sized(48px)
}
&.size-64 {
.view-details-sized(64px)
}
&.size-96 {
.view-details-sized(96px)
}
&.size-128 {
.view-details-sized(128px)
}
&.size-192 {
.view-details-sized(192px)
}
&.size-256 {
.view-details-sized(256px)
}
&.size-384 {
.view-details-sized(384px)
}
}

View File

@@ -1,41 +1,113 @@
.view-grid-sized(@size) {
li {
&.item {
a, a:active, a:visited {
width: @size + 182px;
height: @size + 6px;
}
.label, .date, .size {
padding: ((@size - 16px)/2) 8px;
}
}
.icon.square {
width: @size;
img {
width: @size;
height: @size;
}
}
.label {
margin: 0 0 0 (@size + 8px);
}
}
}
#view.view-grid {
li {
li {
&.item {
float: left;
&.item {
float: left;
margin: 2px;
a, a:active, a:visited {
float: left;
margin: 2px;
padding: 8px;
width: 164px;
height: 24px;
border: 1px solid rgba(0,0,0,0);
a, a:active, a:visited {
border: 1px solid rgba(0,0,0,0);
&:hover, &.hover {
border-color: @item-border-col-hover;
}
}
}
&:hover, &.hover {
border-color: @item-border-col-hover;
}
}
.icon.small {
display: inline-block;
position: absolute;
left: 11px;
top: 9px;
width: 16px;
}
// needs to be here, to not conflict with header fields
.icon {
padding: 8px;
}
}
.label {
display: block;
max-width: 140px;
margin: 0 0 0 24px;
}
.icon.square {
display: inline-block;
position: absolute;
left: 0;
top: -4px;
}
.date, .size {
display: none;
}
}
.label {
display: block;
}
.date, .size {
display: none;
}
}
.view-grid-sized(@icon-size);
&.size-16 {
.view-grid-sized(16px)
}
&.size-24 {
.view-grid-sized(24px)
}
&.size-32 {
.view-grid-sized(32px)
}
&.size-48 {
.view-grid-sized(48px)
}
&.size-64 {
.view-grid-sized(64px)
}
&.size-96 {
.view-grid-sized(96px)
}
&.size-128 {
.view-grid-sized(128px)
}
&.size-192 {
.view-grid-sized(192px)
}
&.size-256 {
.view-grid-sized(256px)
}
&.size-384 {
.view-grid-sized(384px)
}
}

View File

@@ -1,46 +1,115 @@
.view-icons-sized(@size) {
li {
&.item {
a, a:active, a:visited {
width: @size * 2;
height: @size + 72px;
}
}
.icon.rational {
height: @size;
img {
width: @size;
height: @size;
}
img.thumb {
width: auto;
height: auto;
max-width: @size * 2;
max-height: @size;
}
}
}
}
#view.view-icons {
li {
text-align: center;
li {
text-align: center;
&.item {
float: left;
&.item {
float: left;
margin: 8px;
a, a:active, a:visited {
float: left;
margin: 8px;
padding: 8px;
width: 100px;
height: 120px;
border: 1px solid rgba(0,0,0,0);
a, a:active, a:visited {
padding: 8px;
min-width: 96px;
border: 1px solid rgba(0,0,0,0);
&:hover, &.hover {
border-color: @item-border-col-hover;
}
}
}
&:hover, &.hover {
border-color: @item-border-col-hover;
}
}
}
.icon.big {
display: block;
height: 48px;
margin-bottom: 6px;
}
.icon.rational {
display: block;
margin-bottom: 6px;
}
.label {
text-align: center;
word-wrap: break-word;
white-space: normal;
}
.label {
text-align: center;
word-wrap: break-word;
white-space: normal;
}
.date, .size {
display: none;
}
}
.date, .size {
display: none;
}
}
.empty, .no-match {
margin: 0 120px;
padding: 16px;
height: 120px;
}
.empty, .no-match {
margin: 0 120px;
padding: 16px;
height: 120px;
}
.view-icons-sized(@icon-size);
&.size-16 {
.view-icons-sized(16px);
}
&.size-24 {
.view-icons-sized(24px);
}
&.size-32 {
.view-icons-sized(32px);
}
&.size-48 {
.view-icons-sized(48px);
}
&.size-64 {
.view-icons-sized(64px);
}
&.size-96 {
.view-icons-sized(96px);
}
&.size-128 {
.view-icons-sized(128px);
}
&.size-192 {
.view-icons-sized(192px);
}
&.size-256 {
.view-icons-sized(256px);
}
&.size-384 {
.view-icons-sized(384px);
}
}

View File

@@ -1,62 +0,0 @@
#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

@@ -1,13 +1,4 @@
#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;
@@ -17,167 +8,190 @@
@item-background-col-sel: rgba(0,0,0,0.02);
@item-border-col-sel: @col-border-strong;
@icon-size: 48px;
#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);
}
#view {
display: none;
margin: 0 auto;
display: none;
margin: 0 auto;
a, a:active, a:visited {
color: #333;
cursor: pointer;
text-decoration: none;
}
a, a:active, a:visited {
color: #333;
cursor: pointer;
text-decoration: none;
}
ul {
margin: 0;
padding: 0;
list-style: none;
}
ul {
margin: 0;
padding: 0;
list-style: none;
}
li {
position: relative;
white-space: nowrap;
li {
position: relative;
white-space: nowrap;
&.header {
display: none;
font-size: 13px;
&.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);
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;
}
}
}
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 {
&.item {
font-size: 15px;
a, a:active, a:visited {
display: block;
overflow: hidden;
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;
}
}
&:hover, &.hover {
color: @col-hover;
background-color: @item-background-col-hover;
border-color: @item-border-col-hover;
}
&.selected:not(.selecting), &.selecting:not(.selected) {
&:hover {
.selector {
display: block;
}
}
}
a, a:active, a:visited {
// color: #000;
// color: @col-hover;
background-color: @item-background-col-sel;
border-color: @item-border-col-sel;
&.selected:not(.selecting), &.selecting:not(.selected) {
&:hover, &.hover {
background-color: @item-background-col-sel;
border-color: @item-border-col-sel;
}
}
}
}
a, a:active, a:visited {
background-color: @item-background-col-sel;
border-color: @item-border-col-sel;
&.error {
&:hover, &.hover {
background-color: @item-background-col-sel;
border-color: @item-border-col-sel;
}
}
a, a:active, a:visited {
color: #aaa;
.selector {
display: block;
// border-color: @col-border-stronger;
&:hover, &.hover {
// color: #e80;
color: @col-hover;
}
}
img {
display: block;
}
}
}
}
.label .hint {
padding: 0 6px;
font-size: 0.9em;
color: #c55;
}
}
&.folder-parent {
&.folder-parent {
.date, .size {
display: none;
}
}
.date, .size {
display: none;
}
}
.icon {
display: none;
text-align: center;
.icon {
display: none;
text-align: center;
img {
vertical-align: top;
}
img {
.thumb {
box-shadow: 0 0 0 1px rgba(0,0,0,0.12);
}
&.thumb {
.box-shadow(0 0 0 1px #ddd);
}
}
&.rational {
.thumb {
padding: 2px;
border-radius: 3px;
}
}
}
&.small {
.label {
display: block;
overflow: hidden;
text-align: left;
text-overflow: ellipsis;
}
img {
max-width: 16px;
max-height: 16px;
}
}
.date {
text-align: right;
width: 130px;
}
&.big {
.size {
text-align: right;
width: 80px;
}
img {
max-width: 100px;
max-height: 48px;
}
}
}
.selector {
display: none;
position: absolute;
left: 0;
top: 0;
width: 18px;
height: 18px;
background-color: #fff;
border: 1px solid @col-border-strong;
cursor: pointer;
.transition(all 0.2s ease-in-out);
.label {
display: block;
overflow: hidden;
text-align: left;
}
&:hover {
border-color: @col-border-stronger;
}
.date {
text-align: right;
width: 160px;
}
img {
display: none;
width: 100%;
height: 100%;
}
}
}
.size {
text-align: right;
width: 80px;
}
}
.empty, .no-match {
margin: 50px 0;
text-align: center;
color: #ddd;
font-size: 5em;
font-weight: bold;
}
.empty, .no-match {
margin: 50px 0;
text-align: center;
color: #ddd;
font-size: 5em;
font-weight: bold;
}
.no-match {
display: none;
}
.no-match {
display: none;
}
}

View File

@@ -1,6 +1,6 @@
/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */
/*
* 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.
@@ -53,10 +53,14 @@ hr {
}
/*
* Remove the gap between images and the bottom of their containers: h5bp.com/i/440
* Remove the gap between images, videos, audio and canvas and the bottom of
* their containers: h5bp.com/i/440
*/
img {
audio,
canvas,
img,
video {
vertical-align: middle;
}
@@ -78,17 +82,6 @@ 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

@@ -1,4 +1,4 @@
/*! normalize.css v1.1.1 | MIT License | git.io/normalize */
/*! normalize.css v1.1.3 | MIT License | git.io/normalize */
/* ==========================================================================
HTML5 display definitions
@@ -59,22 +59,16 @@ audio:not([controls]) {
========================================================================== */
/**
* 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
* 1. 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
* 2. 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 */
font-size: 100%; /* 1 */
-ms-text-size-adjust: 100%; /* 2 */
-webkit-text-size-adjust: 100%; /* 2 */
}
/**

View File

@@ -1,57 +0,0 @@
.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

@@ -2,29 +2,28 @@
@import "lib/h5bp-normalize";
@import "lib/h5bp-main-header";
@import "lib/mixins";
@import "inc/fonts";
@import "inc/general";
@import "inc/topbar";
@import "inc/bottombar";
@import "inc/sidebar";
@import "inc/download";
@import "inc/delete";
@import "inc/filter";
@import "inc/l10n";
@import "inc/tree";
@import "inc/qrcode";
@import "inc/preview";
@import "inc/preview-aud";
@import "inc/preview-img";
@import "inc/preview-txt";
@import "inc/preview-vid";
@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";

Binary file not shown.

Before

Width:  |  Height:  |  Size: 551 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 554 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 492 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 551 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 227 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 663 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 554 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 506 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 757 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 699 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 599 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 592 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 671 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 311 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 586 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 535 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 679 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 619 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 846 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 395 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 591 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 311 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 494 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 621 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 326 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 255 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 655 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 551 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 504 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 530 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 770 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 792 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 671 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 788 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 658 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 675 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 540 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 540 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 423 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 614 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 627 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 614 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 799 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 757 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 610 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 679 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 629 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 817 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 622 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 743 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 621 B

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