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