Commit Graph
83 Commits
Author SHA1 Message Date
Jonathan Rehm d85e0b96dc Prevent jQuery from cache busting static assets
If the HTML that's returned from the `$.get` request contains a `<script src="..."/>` tag it loads the JavaScript file via ajax, and by default it attaches a timestamp to it to bust cache. That means the file loads every time the modal is opened, and the browser treats it as a new file each time. The result is that code fires multiple times and events listeners are added multiple times.
2017-07-22 11:11:14 -07:00
Jonathan Rehm d799b859ea Make changes suggested by codacy 2017-07-08 09:15:40 -07:00
Jonathan Rehm 675e8dd5cd Show book details in modal dialog
With them shown in a modal, you don't lose your place in the pagination. If the request comes via Ajax, the minimal layout is used. If via a normal request, the full layout is used. That lets you open the details in a new tab and have the full experience, but if you're clicking through the results of a search, you can view many without losing your place.
2017-07-08 09:15:40 -07:00
OzzieIsaacs 254e1f5262 Merge remote-tracking branch 'button_padding/simplify-read-code'
# Conflicts:
#	cps/static/css/style.css
2017-07-08 11:25:20 +02:00
OzzieIsaacs 15531324ea Add translation of rich text editor 2017-07-08 11:19:36 +02:00
OzzieIsaacs 77c4da0f07 Merge remote-tracking branch 'button_padding/tinymce' 2017-07-08 11:03:21 +02:00
OzzieIsaacs b876a03f26 - Changed link color on download button to white
- removed file icons on download button
- removed shadow style on download button
2017-07-08 10:57:40 +02:00
OzzieIsaacs 6b71e77436 Merge remote-tracking branch 'Download/feature/download-icon-20170410' 2017-07-08 09:35:09 +02:00
Jonathan Rehm 4fe1536b7e Simplify the read functionality's code
* Use block label to toggle the checkbox
* Submit form when checkbox's value changes (regardless of whether mouse is used or not)
* Remove unused code
2017-07-06 10:33:47 -07:00
Jonathan Rehm d25300a7fb Add padding to bottom of buttons on shelf page
This adds some space between the buttons when viewing them on a mobile device.
2017-07-06 07:44:28 -07:00
Jonathan Rehm 7853cb2602 Add TinyMCE to provide rich-text editing for descriptions 2017-06-22 08:59:28 -07:00
OzzieIsaacs 2b50dea304 Updated pdf.js to 1.7.225 (Fix #193) 2017-05-13 14:01:52 +02:00
林檎and林檎 95f22aa4b5 add drop shadow to distinct the fixed area 2017-04-26 17:14:18 +08:00
林檎and林檎 f6076bc337 media tweak for better download placement 2017-04-26 17:14:18 +08:00
林檎and林檎 720c07b9ee remove empty style 2017-04-26 17:14:18 +08:00
林檎and林檎 45eeb6588a Change Download Style. 2017-04-26 17:14:18 +08:00
Ozzie Isaacs ede8ae6742 Fix #182, #176 2017-04-21 20:44:17 +02:00
OzzieIsaacs cd0d450829 Allow deleting books (fixes #119) 2017-04-14 20:29:11 +02:00
OzzieIsaacs 699bd036e8 Code cosmetics 2017-04-04 19:05:09 +02:00
OzzieIsaacs dc45b53b24 code cosmetics 2017-04-03 21:05:28 +02:00
OzzieIsaacs 8c7a8a954a Code cosmetics 2017-04-03 20:05:55 +02:00
OzzieIsaacs d59be5faf4 Code cosmetics
Bugfix upload
2017-04-03 19:57:45 +02:00
OzzieIsaacs 7c6d527a55 Code cosmetics 2017-04-02 10:05:07 +02:00
OzzieIsaacs 79d5bab4ba Code cosmetics 2017-03-31 18:41:05 +02:00
OzzieIsaacs 5044b78b08 Code cosmetics 2017-03-31 18:31:16 +02:00
OzzieIsaacs 986f40b80a Code cosmetics 2017-03-30 21:17:18 +02:00
OzzieIsaacs 78067b87bc Code cosmetics 2017-03-29 21:43:55 +02:00
Jack Darlington 7d31abf920 added jquery.form.js to project locally 2017-03-12 21:20:09 +00:00
OzzieIsaacs 38c782fcf1 Merge remote-tracking branch 'Douban/prod'
# Conflicts:
#	cps/templates/book_edit.html
2017-03-07 20:30:55 +01:00
OzzieIsaacs edadf84710 Added editing star rating graphically
Added ability to reload database connection (refresh problem)
Bugfix display hot books (no hot books, hot books are deleted books, no longer result in error 500)
2017-03-07 19:10:17 +01:00
idalin bdf28e1475 fix bug for metadata searching result. 2017-03-07 09:49:59 +08:00
idalin a6b2977286 add i18n message for getmeta feature. 2017-03-07 09:46:09 +08:00
idalin 338ca61cf9 fixed douban api not working in some cases 2017-02-28 15:17:37 +08:00
idalin 54bc299e88 get metadata from douban and google while editing. 2017-02-28 14:58:11 +08:00
idalin e100702345 get metadata from douban and google while editing. 2017-02-28 14:52:55 +08:00
OzzieIsaacs 1a83ad713c Additional version info for sqlite database 2017-02-25 09:02:59 +01:00
Ozzie IsaacsandGitHub b876505f22 Delete doubtable.js 2017-02-25 06:15:00 +01:00
idalin 4a2b5b46a3 merge 2017-02-24 14:36:10 +08:00
idalin 2f1fdab9de delete douban_meta.js in master.(This is for Chinese user only) 2017-02-24 14:34:08 +08:00
idalin d6dd28e703 limit search results to 20 2017-02-24 14:29:44 +08:00
OzzieIsaacs 41a20fe3e1 Added version info of dependencys in about section 2017-02-23 19:58:56 +01:00
idalin 80e6311b93 fetch metadata from douban while editing metadata 2017-02-21 17:49:43 +08:00
OzzieIsaacs 709fa88c62 Navbar reduced to icons on smaller screens
Feedback updater improved (#81)
2017-02-20 19:52:00 +01:00
OzzieIsaacs e712649612 Improvement for #83, higher contrast of hamburger menu
Improvement for #84, search is excluded from mobile view
2017-02-18 10:38:16 +01:00
OzzieIsaacs ba8e107402 Move vendored css/js to libs folders to fix language stats 2017-02-07 20:33:08 +01:00
OzzieIsaacs ea305ff578 Merge remote-tracking branch 'origin/move-js-libs' 2017-02-07 20:27:47 +01:00
OzzieIsaacs 98ed740e73 Fixed missing js files for sorting shelfs 2017-02-07 20:14:43 +01:00
janeczku 13919a1d23 Move vendored css/js to libs folders to fix language stats 2017-02-07 19:21:14 +01:00
OzzieIsaacs 18a06e4a25 Fixed typeahead with reverse proxy
fixed marking of tags in advanced search
seperated js and html
2017-02-05 13:40:53 +01:00
OzzieIsaacs 4eee58c21c Started migration of config to app database 2017-01-22 16:44:37 +01:00