twitter bootstrap
hi just wondering it there chance you can integrate twitter bootstrap in to the script this would allow users to easily customise the theme also it has good support for mobile. http://twitter.github.io/bootstrap/
Started to work on that
To limit your tests, my current todo list for the bootstrap theme is :
- [ ] No customize UI in the new template.
- [ ] Sorting is no longer possible.
- [x] Mail is not completely working
- [ ] No Lightbox / Popup for book detail or covers
- [x] No tooltips
- [x] The navbar does not collapse properly
- [x] The search icon is on a new line when the navbar is collapsed
- [ ] The typeahead plugin does not work when navbar is collapsed
How can I enable this theme?
EDIT: I renamed the dafault template folder to default.old and the bootstrap folder to default. Worked fine.
A proper way of switching theme will be included in next release of COPS. Hopefully next sunday ;)
Hey I just wanted to let you know that there are still things in the bootstrap theme that don't work.
- The navbar-collapse doesn't work because there is no JS loaded.
- E-mail doesn't work if you hit cancel on the first "enter email" prompt because there is no way to enter a destination address.
EDIT: If you clear cookies, it will ask you for an email again but this isn't very user-friendly.
Also, there is no indication of progress on the E-mail when it works until the success notification comes up. This may lead to confusion that nothing is happening. - index.php?page=19 (customize COPS UI page) only shows as a list of config titles with a "0" badge beneath them because of the way you set up main.html with {{? it.containsBook == 0}}

- Not really an issue, but I changed the href in main.html for the book covers to point to the book details page rather than the img. Navigation is simpler this way and more natural, esp. on mobile.
Can you confirm which version of COPS you're using ? latest release ? current git HEAD ?
I just cloned the repository about 8 hours ago.
Ooops ......
I knew that COPS customization was not usable (I'll disable it for now), but I'm sure that last time I tested the navbar collapsed on my phone.
TODO is in first post
About your 4th topic, your idea is interesting, I thought of making the whole panel clickable (instead of just the title) for all the lists except the book lists. But I could simplify all the links. I'll test it.
Well, to be more specific, mail does work, there is just no way to add your destination e-mail if you previously hit cancel. I would have to clear my cookies for the site to get the popup again. If you can call the email entry field with a button, that would help.
For your list:
- Customize UI can't be accessed anyway without specifically typing in index.php?page=19. Not really a big deal there.
- I honestly didn't notice there was sorting anyway haha
- See above, kinda works.
- A separate page is great IMO, if you want a popup though, modals in Bootstrap are pretty easy to work with.
I don't think the whole panel needs to be clickable, but just the title is too small for phones. Let me know what you decide. I'm fine just changing it manually if you decide against it.
Also, instead on making the navbar-brand show the current page, maybe add breadcrumbs to the heading of main.html and switch the navbar-brand to the catalog title that links to home. Throw out the Home button completely, it looks strange.
To be more clear on the navbar-collapse, it does collapse. The button just doesn't do anything when you try to get to the search form.
Thanks for the report I'll keep that in mind and will certainly ask for your help to test my modifications ;)
Sounds good. I'm sure I'll be playing around with it for a while yet.
Just wanted to let you know that I tried your updates a bit. Something is broken in file.html. It causes the whole site to be a white screen.
The changes to the header.html are near perfect. I wish I could get the search form and button to stay on the same line when the navbar collapses though.
About file.html, that's strange I just tested it with IE11, FF30 and Chrome 36 and it work fine.
About the search, I spend an hour googling and trying many tweaks, none worked completely :( . I'll probably finish by either removing completely the icon or hiding the icon when the menu is collapsed.
My bad about the file.html, it must have been something on my end. I got it to work now.
I did the same thing yesterday with the search icon. It was driving me insane. When I fixed it for mobile, it broke for desktop and vice versa. I finally deleted it yesterday but that breaks other things for me haha. I guess I might just have to live with it.
Tags need adj to limit chars. Bootstrap is making me hate tags........

That's on my todo list
Done