Commit graph

56 commits

Author SHA1 Message Date
aaa264863b Experimenting with search column on the left and results on the right
(follows the mockups closer)
2013-11-18 00:24:01 +01:00
7999279aeb Experimenting with bootstrap layouts 2013-11-17 15:53:52 +01:00
fad7634f73 Fixed gap of screenshots within the thumbnail DIV 2013-11-17 14:25:27 +01:00
3c9884aac8 Show proper message if no packages were found for this query 2013-11-17 01:21:21 +01:00
44bcf1fbc6 Removed parameter debugging 2013-11-17 01:14:47 +01:00
8e9ff1ef80 Search query and display selection kept across pages and searches 2013-11-17 01:07:27 +01:00
dead80eb5e IDEA RubyMine project files added 2013-11-17 01:06:49 +01:00
20418c47b4 Removed cruft in paginator 2013-11-16 23:53:48 +01:00
0baf9e7c2c Show thumbnails in grid view in equal-height boxes 2013-11-16 23:16:31 +01:00
a0c5fd0ddf Removed old-school paginator and rewrapped template 2013-11-16 22:59:31 +01:00
984a403c70 Added bootstrap-based previous/next pager 2013-11-16 22:57:17 +01:00
e571aa8a0a Fixed Grid/List buttons in navbar (finally...) 2013-11-16 22:14:56 +01:00
Haas, Christoph
90b5b2dedb Fixed missing Javascripts
Javascript were no longer loaded. Accidentally introduced
when disabling Turbolinks.
2013-11-15 17:10:39 +01:00
d18e0a165f Removed lots of Bootstrap specialties that were barely readable 2013-11-14 00:18:52 +01:00
2517dd6192 Disabled turbolinks cruft
Turolinks may be a nice feature to speed up page load times.
But it seriously makes event handling in jQuery harder and confusing
to debug. That's why it is now disabled.
2013-11-13 23:24:14 +01:00
bc774c8b65 Simplified the grid and list view of packages 2013-11-12 22:58:36 +01:00
e3e1871a8f Better use of Rails' tag helpers. Added list view. 2013-08-25 23:38:50 +02:00
869b87bc7b Using Rails' tag helpers instead of bare HTML 2013-08-25 08:35:58 +02:00
33efb2c931 Removed Turbolinks due to side effects with jQuery onLoad 2013-08-24 23:14:51 +02:00
8b5c1d9ff2 Moved pagination to top bar.
Removed "prev", "next", "first" and "last" from kaminari paginator.
2013-08-24 22:42:42 +02:00
Haas, Christoph
c219c38a49 Improved thumbnails view
More readable fonts. Better spacing.
3-col layout on medium-sized devices (responsiveness)
2013-08-23 13:38:15 +02:00
be9cb71f47 Moved search form into navbar. Fixed paginator. 2013-08-22 00:22:12 +02:00
c275f3e52d Trying to get look right for forms using Bootstrap 3.0 2013-08-22 00:13:37 +02:00
a5b31a2dcc Fixed eager loading of packages/screenshots 2013-08-21 23:24:07 +02:00
a0ba7bdf18 Fixed kaminari pagination style for Bootstrap 3.0 2013-08-21 23:02:15 +02:00
660e494a20 Fixed navbar using Bootstrap 3.x style 2013-08-21 22:56:36 +02:00
0277a4e3d0 Merge remote-tracking branch 'remotes/origin/bootstrap3'
Conflicts:
	app/views/packages/index.html.erb
2013-08-21 19:25:26 +02:00
517557711f Experimenting with search form 2013-08-21 19:23:52 +02:00
Haas, Christoph
6ecda590d7 Trying to use Bootstrap 3
Unfortunately it's not working yet. Error:
File to import not found or unreadable: twitter/bootstrap
2013-08-21 18:11:00 +02:00
50601b9dcb Fixed styling of pagination bootstrap-style 2013-08-11 23:40:20 +02:00
d7c7488c86 Trying to improve design 2013-08-11 23:38:38 +02:00
857a2706b0 Fancybox plugin added to show large screenshot images. 2013-08-11 23:19:24 +02:00
35510212ba Added package pagination using kaminari 2013-08-10 15:03:31 +02:00
c7c7640619 Revert "Trying to implement AJAX-based endless-page pagination"
This reverts commit 732af154ad.
2013-08-10 14:46:37 +02:00
732af154ad Trying to implement AJAX-based endless-page pagination 2013-08-10 14:46:09 +02:00
e88416fbbd Trying to fix UTF-8 meta encoding 2013-08-10 14:44:19 +02:00
d3f0e163c9 Improved styling of "More screenshots…" box at the bottom 2013-08-09 23:31:10 +02:00
d4b82892d5 Improved bootstrap-style search form 2013-08-09 23:30:55 +02:00
60a9bd213d Displaying placeholder thumbnail if package does not have a screenshot. 2013-08-09 23:16:04 +02:00
b703efe785 Properly bootstrap-style media grid for thumbnails 2013-08-09 23:02:22 +02:00
6aef2a7da5 Added proper HTML5-style UTF8 encoding definition 2013-08-09 23:01:51 +02:00
2448e71574 Crap removed 2013-08-09 23:01:33 +02:00
92cafe50b0 Trying to improve bootstrap layout. Thumbnail grid still broken. 2013-08-08 23:15:04 +02:00
2a96f701ca Setting HTML5 default language to "en" 2013-08-08 23:14:39 +02:00
df39fba0ba Replaced .count by .length to omit one SQL query.
Slightly rearranged the display.
2013-08-08 22:39:39 +02:00
ca78fbabd4 Avoiding SQL queries by using .length instead of .count after eager-loading 2013-08-08 20:32:34 +02:00
928a39dcea Re-displaying search query from previous search in text field 2013-08-08 20:29:55 +02:00
362745037a Fixed screenshots count in search results
Now packages without screenshots do not raise an exception any more.
2013-08-08 20:23:24 +02:00
76d19f7e78 Unsuccessful attempt to properly eager load screenshots.
Currently the virtual attribute "image_url" in the screenshots model
apparently runs one SQL query each to get the packages data.
2013-08-07 00:18:20 +02:00
88dfb33721 Return results for packages only with screenshots.
Currently the packages controller is not working well. The JOIN is not
the best way apparently as the 'description' column exists for both the
"packages" and the "screenshots" table. So another way to query for
the data needs to be found.
2013-08-06 23:36:48 +02:00