MobileRead Forums

MobileRead Forums (https://www.mobileread.com/forums/index.php)
-   Server (https://www.mobileread.com/forums/forumdisplay.php?f=277)
-   -   Remove "Read" button from CCS (https://www.mobileread.com/forums/showthread.php?t=320708)

wgib 06-10-2019 09:44 PM

Remove "Read" button from CCS
 
Is there a way I can remove the "Read" button from the code and have only the "Download" button instead. I'm happy to delve into the code and ok with simple editing.

:thanks:

kovidgoyal 06-11-2019 12:37 AM

it's not styled using CSS, it's in javascript. But if you wish to hide the button, it is fairly simple, look in the file book_details.pyj search for 'Read'

kovidgoyal 06-11-2019 12:38 AM

In a calibre install you will need to search for the same thing in the compiled javascript in the file index-generated.html in the resources/content-server directory inside the calibre instalation folder.

wgib 06-11-2019 08:29 PM

Thank you for your quick response, Kovid. Much appreciate


All times are GMT -4. The time now is 05:35 PM.

Powered by: vBulletin
Copyright ©2000 - 3.8.5, Jelsoft Enterprises Ltd.
MobileRead.com is a privately owned, operated and funded community.