Sébastien Lucas
bf54e6a7b9
Template are now cleanly split. Properly handle synchronization with jquery. re #73
...
--HG--
rename : templates/default/frontpage.html => templates/default/header.html
rename : templates/default/frontpage.html => templates/default/main.html
2013-06-16 08:46:41 +02:00
Sébastien Lucas
c8595a567b
Factorize a little all fancybox stuff. re #73
2013-06-16 07:50:14 +02:00
Sébastien Lucas
a0cb911ce9
Bookdetail is handled with ajax. Template is not complete though. re #73
...
Fixes some small bugs with the other template.
2013-06-15 16:09:37 +02:00
Sébastien Lucas
e9065b9c29
Little code refactoring and handle the case of going back to the first page visited. re #73
2013-06-15 08:36:45 +02:00
Sébastien Lucas
c96d629ad0
Move most of javascript in util.js. Enabled paging with arrow keys. Refactor a little. re #73
2013-06-15 08:27:33 +02:00
Sébastien Lucas
a509e3389d
The new interface is completely in Ajax. Feel a lot faster. re #73
...
Uses pushState / popState to keep browser history correct and allow using back in the browser.
2013-06-15 08:03:22 +02:00
Sébastien Lucas
faaf4ca43c
almost finish CSS change. re #25
2013-05-29 21:30:37 +02:00
Sébastien Lucas
e2622191b4
Move the CSS to a specific directory. re #25
2013-05-28 07:49:52 +02:00
Sébastien Lucas
83e1a1172c
Reduce a little the size of HTML page size
2013-05-24 11:33:34 +02:00
Sébastien Lucas
5d3f80bd92
For now disable the display of language in the main list. re #66
2013-05-23 18:25:33 +02:00
Sébastien Lucas
a842dcbc10
Use a search input instead of text. Adapt a little the css.
2013-05-22 18:09:12 +02:00
ipuiu
cdc2114bd8
Added localization for languages.
2013-05-21 21:39:25 +03:00
ipuiu
f4e365ce96
Merged Language Feature.
2013-05-21 20:49:21 +03:00
Sébastien Lucas
32279afc6e
Hide tags & series if there is none. re #63
2013-05-21 09:10:05 +02:00
Sébastien Lucas
02dd282763
Place Open Sans Font before style.css
2013-05-17 08:22:52 +02:00
Sébastien Lucas
91a29209e7
Include a local version of normalize.
2013-05-17 06:36:38 +02:00
Sébastien Lucas
3e7c6deefb
Fix book sorting
2013-05-16 17:51:09 +02:00
Sébastien Lucas
0486dfd03b
Small fixes to UI again
2013-05-16 17:22:21 +02:00
Sébastien Lucas
28afce612e
Typo
2013-05-16 17:12:19 +02:00
Sébastien Lucas
8657088be7
Change the way to handle smartphones
2013-05-16 17:09:29 +02:00
Sébastien Lucas
38d1607458
Fix display when no cover is found
2013-05-16 13:35:24 +02:00
Sébastien Lucas
19670291a2
Somehow fix paging ui.
2013-05-16 12:41:22 +02:00
Sébastien Lucas
3f0246f7a2
Fix  
2013-05-16 12:30:43 +02:00
Sébastien Lucas
c8c0f80eeb
Fix header so that it's always vertically centered
2013-05-16 12:26:41 +02:00
Sébastien Lucas
546e37cd8e
Fix a validation error
2013-05-16 08:29:53 +02:00
Sébastien Lucas
8f15485bfc
reindent
2013-05-16 07:00:21 +02:00
Sébastien Lucas
0e44eb9ae0
Fix the toolbox.
2013-05-16 06:59:34 +02:00
Sébastien Lucas
7d81cbe893
Seems to be working again.
2013-05-15 21:58:27 +02:00
Sébastien Lucas
639d1bf8b0
Merge almost everything. a lot to test.
2013-05-15 21:55:33 +02:00
Sébastien Lucas
c45179fdf5
TAB to spaces. no other change.
2013-05-15 21:19:31 +02:00
Sébastien Lucas
9ad2624c19
Fix icon with HTML5
2013-05-15 21:17:30 +02:00
Sébastien Lucas
32d4588cbd
Merge pull request #61 from wogong/master
...
add Chinese localization file and add charset setting
2013-05-07 05:10:35 -07:00
Sébastien Lucas
700c27e0fc
Move Fancybox to the resources directory.
...
--HG--
rename : fancybox/blank.gif => resources/fancybox/blank.gif
rename : fancybox/fancybox_loading.gif => resources/fancybox/fancybox_loading.gif
rename : fancybox/fancybox_overlay.png => resources/fancybox/fancybox_overlay.png
rename : fancybox/fancybox_sprite.png => resources/fancybox/fancybox_sprite.png
rename : fancybox/helpers/fancybox_buttons.png => resources/fancybox/helpers/fancybox_buttons.png
rename : fancybox/helpers/jquery.fancybox-buttons.css => resources/fancybox/helpers/jquery.fancybox-buttons.css
rename : fancybox/helpers/jquery.fancybox-buttons.js => resources/fancybox/helpers/jquery.fancybox-buttons.js
rename : fancybox/helpers/jquery.fancybox-media.js => resources/fancybox/helpers/jquery.fancybox-media.js
rename : fancybox/helpers/jquery.fancybox-thumbs.css => resources/fancybox/helpers/jquery.fancybox-thumbs.css
rename : fancybox/helpers/jquery.fancybox-thumbs.js => resources/fancybox/helpers/jquery.fancybox-thumbs.js
rename : fancybox/jquery.fancybox.css => resources/fancybox/jquery.fancybox.css
rename : fancybox/jquery.fancybox.pack.js => resources/fancybox/jquery.fancybox.pack.js
2013-05-06 17:49:22 +02:00
Sébastien Lucas
ea9c73c244
Remove the unneeded option to use CDN. it's too confusing and is not really needed.
2013-05-06 17:45:27 +02:00
wogong
c641aeea58
add charset utf-8 in index.php, fix the display problem in Chinese
2013-05-04 10:46:10 +08:00
Sébastien Lucas
0241f6bc54
Handle a little better resource on CDN.
2013-04-26 15:03:08 +02:00
Sébastien Lucas
cb0e50d3df
remove some xhtml notation to prepare the move to HTML5
2013-04-24 15:43:26 +02:00
Sébastien Lucas
0d43027f75
Remove the image used in the OPDS catalog in the HTML catalog. Reported by Thomas Severinsen.
2013-04-24 15:38:39 +02:00
Sébastien Lucas
e6560be28c
Localize all alternate text. re #37
2013-04-21 16:22:26 +02:00
Sébastien Lucas
002cd1d6a2
Remove the loading image. Wasn't enabled for a while.
2013-04-21 15:56:22 +02:00
Sébastien Lucas
f46b5cfaf6
Reindentation
2013-04-21 15:53:38 +02:00
Sébastien Lucas
059f05fac1
Fix some strings. re #37
2013-04-21 15:47:32 +02:00
Sébastien Lucas
6272cd1b01
Get rid of fancybox completely if not enabled. fixes #50
...
About.xml is still utf8 but looses it's BOM
2013-04-21 15:00:21 +02:00
Sébastien Lucas
73433a1c20
Some more localization. Again thanks to Tobias for the patch. re #37
2013-04-20 15:57:02 +02:00
Sébastien Lucas
56516960ce
Clicking on home with multidatabase allow to stay in current database. re #40
2013-04-17 14:12:10 +02:00
Sébastien Lucas
89c353dd07
Add a config item to use local resources instead of CDN hosted resources.
2013-04-17 13:42:23 +02:00
Sébastien Lucas
cd03b49954
Fix book search with multidatabase. re #40
2013-04-08 17:28:45 +02:00
Sébastien Lucas
dd1a00f560
Fix link in the book permalink. fixes #54
...
Thanks to celta ;).
2013-04-02 22:02:08 +02:00
Sébastien Lucas
c8025d2702
Fix opds feed url. fix #44
2013-03-08 09:43:37 +01:00
Sébastien Lucas
6a9646bf15
Enhance the search to have a different output depending on the current page. re #34
2013-03-08 09:40:25 +01:00
Sébastien Lucas
a4002e28ae
Upgrade to Jquery 1.9.1 and Fancybox 2.4.0
2013-03-07 11:09:19 +01:00
Sébastien Lucas
54e7300d75
Merge cadric fork
2013-03-06 08:02:03 +01:00
Sébastien Lucas
0f1e635b27
Use a cookie for the toolbar. re #41
2013-03-03 08:10:30 +01:00
Thomas Severinsen
1086e6a3a5
apply link to entire div for book information
2013-03-02 00:14:46 +01:00
Thomas Severinsen
7ce7b28e7c
Updated css .download
2013-03-01 19:21:32 +01:00
Sébastien Lucas
42c3841157
Exit if we're redirecting to feed.php
2013-03-01 17:48:25 +01:00
Sébastien Lucas
6f0bae5ae4
move search & sort. That also fix w3c validation error. re #41
2013-03-01 17:45:55 +01:00
Thomas Severinsen
0599e6af9f
Book popup class for index
2013-02-28 21:38:29 +01:00
Thomas Severinsen
5c7daaf21d
Font updates
2013-02-28 17:44:05 +01:00
Sébastien Lucas
ab84d1e721
Simplify e-Ink detection.
2013-02-28 16:31:59 +01:00
Sébastien Lucas
15e8372f04
Add an automatic redirect if we're coming from an OPDS reader.
...
For information the user agent of Moon+ Reader is :
Stanza iPhone/Aldiko/Moon+ Reader(Android)
That's really bad !
2013-02-28 16:26:15 +01:00
Thomas Severinsen
6a58a81b21
New theme, updated to HTML5
...
New style.css to reflect the update to html5
several changes in index.php as the html has been updated.
Had to delete icons support in base.php as they where conflicting with
the new theme.
2013-02-28 15:41:21 +01:00
Tyler J. Wagner
46c0de5c66
This adds the function getPubDate() to book.php, which
...
returns either the publication year, or "", if the value is null or
"Undefined". By "Undefined", I mean the value Calibre sets as pubdate when
you choose "Undefined" in the GUI. which is 1 Jan 0100, or -58979926800.
2013-02-20 21:06:37 +01:00
Sébastien Lucas
0d1506a078
Fix other type of Kobo eReader (Glo, Mini) detection
2013-02-05 20:14:58 +01:00
Sébastien Lucas
f4675dec52
Add Custom columns through config. Only tested in HTML catalog for now
...
re #32
2013-01-19 07:08:47 +01:00
Sébastien Lucas
140c88a63c
Fix an alt string that existed in the lang file.
...
Add a missing translation (more to do about it).
2013-01-06 09:28:49 +01:00
Sébastien Lucas
6f17a4dc65
Add URL discover for the OPDS feed.
2013-01-06 09:22:47 +01:00
Sébastien Lucas
0ba361e434
Add a permalink to book (the little linkish thingy)
...
fix the image zoom in the book detail
Add book title to the book detail
clean the code a little (more to do)
2013-01-03 21:40:43 +01:00
Sébastien Lucas
00d7e1da4a
Add a config item to specify a custom icon. Based on a patch by Tyler J. Wagner.
2012-12-22 18:03:52 +01:00
Sébastien Lucas
8906430b13
Add a config item to avoid using Fancyapps.
...
For now the about box still use Fancyapps.
Reported by mcister and Northguy
2012-12-10 06:06:45 +01:00
Sébastien Lucas
8838f15034
Add ratings only in recent addition for now.
2012-12-04 10:58:39 +01:00
Sébastien Lucas
da108b30a9
Upgrade fancybox to last version (2.1.3)
2012-12-03 16:30:35 +01:00
Sébastien Lucas
ddb7442c4a
Add an about box to the catalog. fix #20
2012-10-20 06:54:13 +02:00
Sébastien Lucas
d28552a485
Bind left / right to previous / next page.
2012-10-11 21:43:37 +02:00
Sébastien Lucas
3c4f4851a6
Make HTML paging usable.
2012-10-11 21:14:06 +02:00
Sébastien Lucas
e498e6325a
Swith to the fancybox packed file (I should have done it a while ago).
2012-09-30 15:42:17 +02:00
Sébastien Lucas
a19b59eb1e
Update to Fancybox 2.1.0. Changed the way the max-width is handled. Should be better this way.
2012-09-30 15:38:09 +02:00
Sébastien Lucas
14b06905d5
Refactoring
2012-09-21 14:19:11 +02:00
Sébastien Lucas
be4bcf3e9f
Add basing pagin support in HTML catalog
2012-09-21 13:36:52 +02:00
Sébastien Lucas
654eddebc6
Avoid a warning (but no code using it)
...
--HG--
extra : rebase_source : e332c0dceb6fad0be7d4c282f0184a1427ae9961
2012-09-19 18:20:01 +02:00
Sébastien Lucas
c823715c83
Fix a warning
...
--HG--
extra : rebase_source : 1a3a44f105d0fd18735cd42aab5f0284ec1937cc
2012-09-19 15:57:40 +02:00
Dan Greve
822177d7a0
Changed jQuery.js to use https instead of http. This is a security risk when using an SSL encrypted session. Chrome considers it as unsafe and shows a shield warning, and https is crossed out
2012-09-19 22:23:19 -04:00
Sébastien Lucas
211f90e2f3
Fix yet another problem with HTML special chars. fix #11
2012-09-03 16:01:46 +02:00
Sébastien Lucas
69f0be3e78
Change index to be Ansi again. Easier for now
2012-09-03 15:57:35 +02:00
Northguy
f2b7b7ff9f
Added Eink test for Sony PRS-T1 E-reader
...
Sony PRS-T1 is not recognised as eInk. Added HTTP_USER_AGENT recognition.
HTTP_USER_AGENT = "Mozilla/5.0 (Linux; U; en-us; EBRD1101; EXT) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1"
2012-09-02 01:54:22 +03:00
Sébastien Lucas
8f2eaa141d
Add a group on the cover fancybox (left and right navigation)
2012-07-21 17:50:27 +02:00
Sébastien Lucas
3ebc6ef5eb
Now that tha Kobo can handle properly Fancybox :
...
* Add a detection for e-Ink browser
* Remove effect for e-Ink browser (fewer refresh needed)
* Handle the margin to allow closing of Fancyboxes
2012-07-21 15:23:49 +02:00
Sébastien Lucas
76f2fa7488
Temporary disable "loading" message
2012-07-02 20:52:30 +02:00
Sébastien Lucas
3e393c3d10
Simplify menu
2012-07-01 21:17:19 +02:00
Sébastien Lucas
f5b8918ee0
Fix HTML catalog when more than 2 prefered format are available
2012-07-01 14:59:18 +02:00
Sébastien Lucas
2d83cd6e78
Update HTML links to the new methods
2012-06-26 14:45:09 +02:00
Sébastien Lucas
75e4362044
Better handling of missing covers
2012-06-24 08:51:49 +02:00
Sébastien Lucas
06ce256e55
Change the way format are handled in HTML catalog.
...
More work remaining to make it clean
2012-06-24 08:16:47 +02:00
Sébastien Lucas
cfcafdf7e4
Add sort direction
2012-06-20 22:33:57 +02:00
Sébastien Lucas
1935e05c9c
Add new sort option
2012-06-20 22:23:23 +02:00
Sébastien Lucas
3e330a40b5
Add some sorting
2012-06-20 22:01:19 +02:00
Sébastien Lucas
9cfbed82a3
Some icons for the menu
2012-06-18 20:59:45 +02:00
Sébastien Lucas
875a776dc1
Hopefully full handling of & in everything...
2012-06-18 14:12:12 +02:00
Sébastien Lucas
f7b72ec441
* Fixed handling of & in title / tags / authors / etc
...
* Fixed menu
2012-06-17 20:49:26 +02:00
Sébastien Lucas
d5690ea68f
Better search UI (IMHO)
2012-06-13 21:21:13 +02:00