Commit graph

44 commits

Author SHA1 Message Date
Sébastien Lucas 30b41a6cf4 Set focus on the search box. fix #90 2013-09-06 20:37:05 +02:00
Sébastien Lucas 5a87d62ee8 Fix JS problem on IE < 9.0. fix #89 2013-09-06 09:18:41 +02:00
Sébastien Lucas 9d117220c4 Handle better when server side rendering is enabled. re #82 2013-09-05 08:41:40 +02:00
Sébastien Lucas 9ff4bd2476 Update some of the javascripts methods to use a PHP name to ease server side rendering. 2013-08-22 15:12:04 +02:00
Sébastien Lucas 4aa3529131 Properly close the lightbox when clicking on a link in it.
Fix a bug reported by le_ on MobileRead (http://www.mobileread.com/forums/showpost.php?p=2580757&postcount=525)
2013-07-29 08:23:33 +02:00
Sébastien Lucas d35becb7fe Use localized string. re #53 2013-07-22 21:35:21 +02:00
Sébastien Lucas fc8c510ae4 Add a waiting icon while the mail is sent. re #53 2013-07-22 21:27:32 +02:00
Sébastien Lucas 3de84ecf7e Set debug to false. 2013-07-16 21:57:14 +02:00
Sébastien Lucas fb51523b33 Handle links better. re #73 2013-07-16 21:56:55 +02:00
Sébastien Lucas 5b90f76e2c Fix the customize page 2013-07-11 17:43:18 +02:00
Sébastien Lucas 5b6918488c Add a button to clear all filters. re #46 2013-07-08 18:02:37 +02:00
Sébastien Lucas c56cecb382 Modify the cookies to expires far away. 2013-07-03 23:57:53 +02:00
Sébastien Lucas 35d6a5ab4e Add a global parameter to enable tag filtering with books. re #46
Also fix many problem with util.js
2013-07-03 23:36:38 +02:00
Sébastien Lucas 4cd43297f1 Fix header. 2013-07-02 14:51:43 +02:00
Sébastien Lucas b9047be3ce More JSHint fixes. 2013-07-02 14:37:37 +02:00
Sébastien Lucas 1eb4217c01 Fix some JSHint warnings. 2013-07-02 14:15:10 +02:00
Sébastien Lucas 08445d0479 little cleanup of the filter code. lots more to do. re #46 2013-07-01 22:26:32 +02:00
Sébastien Lucas dc30facf3e ugly way update to filters to update the list of tags when you start filtering. re #46
The tags are also correcly sorted.

TODO : update the click event when adding new li.
2013-07-01 18:14:37 +02:00
Sébastien Lucas 452bde9cb5 Add filter in the HTML catalog. need UI work. re #46 2013-06-28 02:07:32 +02:00
Sébastien Lucas 428550f27c Move customize inside the current template. re #73 2013-06-27 08:27:29 +02:00
Sébastien Lucas 8833ff06ea Forgot one file. re #73 2013-06-25 08:53:38 +02:00
Sébastien Lucas e833172e99 Add emailing. re #53 2013-06-21 21:31:49 +02:00
Sébastien Lucas 30d3730464 Fix version string 2013-06-21 08:31:01 +02:00
Sébastien Lucas b2d670a05d Also use the cache event if not using back with browser. re #73 2013-06-20 21:21:43 +02:00
Sébastien Lucas 44c3a10487 Due to a bug in Firefox which forbid state of size greater that 320k. The cache is not outside. re #73 2013-06-20 21:08:50 +02:00
Sébastien Lucas cdde134a65 Also use global options. re #73 2013-06-20 20:31:57 +02:00
Sébastien Lucas 3144c528e5 Handle better if pushState is available or not. re #73 2013-06-20 14:43:31 +02:00
Sébastien Lucas 1c8ddb44d4 Many things in a single commit. Bad :( !. re #73
* Add partial update. No improvement for now
 * Add some logging to console if DEBUG is enabled.
 * Change the way the sorting box is enabled to help with partial update.
2013-06-20 14:34:10 +02:00
Sébastien Lucas 51c9c416d4 Add a function to test if a variable is undefined. 2013-06-20 11:11:01 +02:00
Sébastien Lucas 4410a5cc82 Handle search with Ajax. re #73 2013-06-18 22:24:35 +02:00
Sébastien Lucas aa376d63b2 simplify again. re #73 2013-06-17 22:30:09 +02:00
Sébastien Lucas 2029ab7d01 Simplify a little the JSON, a little more to do. re # 73 2013-06-17 22:23:58 +02:00
Sébastien Lucas 23267e37fa Simplify book detail. re #73 2013-06-17 21:41:59 +02:00
Sébastien Lucas 8de878fa94 Save new things in constants. re #73 2013-06-17 21:21:52 +02:00
Sébastien Lucas 7640ae31f7 Everything is in the template. re #73 2013-06-16 22:14:21 +02:00
Sébastien Lucas 10ed3f7944 Almost everything is in javascript now ... index.php could be an HTML page. re #73 2013-06-16 22:01:13 +02:00
Sébastien Lucas fccb7a9820 little optimization : i18n is only transfered one time. re #73 2013-06-16 15:21:21 +02:00
Sébastien Lucas b49432e3e1 Save current JSON data instead of generated HTML. Reenabled tool click. re #73 2013-06-16 15:08:47 +02:00
Sébastien Lucas 77b155ac20 Cosmetics 2013-06-16 14:47:11 +02:00
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 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