Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add proper clearfix for frontend | Harald Eilertsen | 2015-12-16 | 1 | -0/+12 |
| | |||||
* | Fix some cosmetic issues | Harald Eilertsen | 2015-12-11 | 3 | -10/+14 |
| | |||||
* | Upgrade to refinery 2.1.0 | Harald Eilertsen | 2015-11-14 | 1 | -4/+1 |
| | |||||
* | Don't underline links, and fix some cosmetics. | Harald Eilertsen | 2014-12-13 | 2 | -5/+7 |
| | |||||
* | Limit number of tags show on blog post pages too. | Harald Eilertsen | 2014-12-13 | 1 | -7/+7 |
| | |||||
* | Display most popular tags if no recent tags. | Harald Eilertsen | 2014-12-12 | 1 | -0/+4 |
| | |||||
* | Limit the number of tags we show. | Harald Eilertsen | 2014-12-12 | 1 | -1/+16 |
| | | | | | | | | Display the 50 most popular tags from the past 30 days. This should be a fair compromise between most popular and most recent, I hope. We may have to tune this further, but it's at least better than showing all. This is a fix for issue #56. | ||||
* | Ensure that banner ads always appear stacked vertically. | Harald Eilertsen | 2014-12-12 | 1 | -0/+3 |
| | | | | Fix for issue #51. | ||||
* | Be explicit about which stylesheets to include in application.css. | Harald Eilertsen | 2014-12-12 | 1 | -1/+6 |
| | | | | | Using the `import_tree` directive makes backend styling bleed into the frontend styles. We don't want that. | ||||
* | Drop default foreground color from backend stylesheet. | Harald Eilertsen | 2014-12-12 | 1 | -1/+0 |
| | | | | | Setting the foreground color and not the background results in unreadable text in some setups. | ||||
* | Override backend styling. | Harald Eilertsen | 2014-12-12 | 1 | -0/+1597 |
| | |||||
* | Enable piwik tracking for analytics. | Harald Eilertsen | 2014-12-07 | 1 | -0/+1 |
| | |||||
* | Translate admin category form. | Harald Eilertsen | 2014-03-02 | 1 | -3/+3 |
| | |||||
* | Allow customization of number of sidebar items for each category. | Harald Eilertsen | 2014-03-02 | 3 | -2/+7 |
| | |||||
* | Sidebar modules interleaved, clearfix them. | Harald Eilertsen | 2014-02-17 | 1 | -1/+1 |
| | |||||
* | Open banner targets in a new window/tab. | Harald Eilertsen | 2014-02-16 | 1 | -1/+1 |
| | |||||
* | Display published ads instead of active. | Harald Eilertsen | 2014-02-16 | 1 | -3/+0 |
| | | | | | | | This means that ads will only be shown between their start-publishin date, and their end-publishing date. They will also only be shown on the pages where they are enabled. This allows different ads on different pages, or ads only on some pages, while others completely without ads. | ||||
* | Render banners from layout instead of modifying all views. | Harald Eilertsen | 2014-02-16 | 3 | -2/+7 |
| | |||||
* | Fix styling for banners | Harald Eilertsen | 2014-02-16 | 3 | -9/+11 |
| | | | | | - Put banners in center of container - Set minimum size of page and elements to make room for banners | ||||
* | Add refinery-banners engine. | Harald Eilertsen | 2014-02-16 | 3 | -0/+6 |
| | |||||
* | Show only posts not listed on the sides in the front page center panel.v1.0.0 | Harald Eilertsen | 2014-02-15 | 1 | -5/+5 |
| | |||||
* | Try to make sidebar items from blog look better too. | Harald Eilertsen | 2014-02-07 | 1 | -0/+17 |
| | |||||
* | Fix styling of contact form. | Harald Eilertsen | 2014-02-07 | 1 | -2/+3 |
| | |||||
* | Fix sidebar overflow issue. | Harald Eilertsen | 2014-02-07 | 1 | -0/+1 |
| | | | | | | | Ideally I would like to have the sidebars expand to show all their contents, but I have not found a way to make this look nice. They should also expand their container, so that the footer comes below the sidebars. For now this seems like an acceptable solution. | ||||
* | Fix side body part on pages where there is no side body. | Harald Eilertsen | 2014-02-07 | 2 | -1/+6 |
| | |||||
* | Make sidebars nicer. | Harald Eilertsen | 2014-02-06 | 4 | -4/+26 |
| | | | | | - Module headings now go all the way out. - Side body content is included like a module only if not empty. | ||||
* | Make footer on blog-posts index view a bit nicer. | Harald Eilertsen | 2014-02-06 | 1 | -2/+8 |
| | |||||
* | Darken module header background. | Harald Eilertsen | 2014-02-06 | 1 | -0/+0 |
| | |||||
* | Make header logo transparent. | Harald Eilertsen | 2014-02-06 | 1 | -0/+0 |
| | |||||
* | Refactor stylesheets and do a major overhaul of the styling. | Harald Eilertsen | 2014-01-28 | 8 | -139/+249 |
| | |||||
* | Style link-colors. | Harald Eilertsen | 2014-01-28 | 1 | -0/+17 |
| | |||||
* | Begin styling with a better color scheme. | Harald Eilertsen | 2014-01-27 | 1 | -32/+81 |
| | |||||
* | Update blog main views to not render body_content right. | Harald Eilertsen | 2013-12-25 | 4 | -0/+57 |
| | |||||
* | Move the side_body stuff to the right sidebar. | Harald Eilertsen | 2013-12-25 | 3 | -8/+15 |
| | |||||
* | Add tests for sidebar helper. | Harald Eilertsen | 2013-12-25 | 1 | -1/+1 |
| | | | | Also fixes DOM id of sidebar modules with spaces in their title. | ||||
* | Refactor filtering of sidebar modules to helper. | Harald Eilertsen | 2013-12-25 | 3 | -3/+11 |
| | | | | Also strip out modules with empty bodies. | ||||
* | More sidebar module fixes. | Harald Eilertsen | 2013-12-25 | 6 | -10/+17 |
| | | | | | | | | | | | | | | | | | | | | | | | | There was some problems with the approach in the previous commits. - render_collection (render @sidebar_modules in our case) requires that all objects return the same partial path. Ours may not do that, so we wrote our own `render_sidebar_modules`-helper. - The way render_partial finds the correct path to the partial is to append what's returned by to_partial_path with whatever root the parent view is in. That would require duplication of the partials under all the different engines namespaces. Our `render_sidebar_modules` does it differently, and just looks up the partial according to the root namespace. This means the sidebar_module code can move back under the root application so we don't mess up the refinery namespaces. - Finally found the proper way to link to a blog_post so that it works from all namespaces. The correct way is: refinery.blog_post_path(post) This works in views (and presumably helpers,) but not in controllers which is why we struggled with it before. | ||||
* | Clean up sidebar modules. | Harald Eilertsen | 2013-12-25 | 7 | -25/+42 |
| | | | | | | | | | | | | | | Rewrite the _sidebar_module partial to render only one module, and to not make any assumptions about the contents of a module. (Except that it has a title and a body.) Move the actual module logic into model classes, and use the ActiveModel magic to have it find it's own partial. Now we have the view logic for each module in it's own partial that in turn renders as part of the _sidebar_module partial. Only implementation this far is the blog-category module listing the latest blog entries within each category. | ||||
* | Populate home page with blog entries. | Harald Eilertsen | 2013-12-24 | 3 | -0/+35 |
| | | | | | | I would like to just render the refinery/blog/index template for this, but I did not find a way to do it, so I copied it instead. May need to revisit this if upgrading to a new refinery or blog engine. | ||||
* | Display sidebar position in backend category list. | Harald Eilertsen | 2013-12-23 | 2 | -0/+98 |
| | |||||
* | Only render sidebar modules if present. | Harald Eilertsen | 2013-12-23 | 1 | -1/+2 |
| | |||||
* | Use blog category position to populate sidebars. | Harald Eilertsen | 2013-12-23 | 3 | -8/+12 |
| | |||||
* | Add sidebar_position field to blog categories. | Harald Eilertsen | 2013-12-23 | 3 | -0/+37 |
| | |||||
* | Add read more link to sidebar items. | Harald Eilertsen | 2013-12-23 | 1 | -0/+1 |
| | |||||
* | Move markup from decorator to template. | Harald Eilertsen | 2013-12-23 | 2 | -11/+4 |
| | | | | | Note to self, use model decorators to massage model data, but leave the markup to the views where it belong. | ||||
* | Title of sidebar entry links to full blog post. | Harald Eilertsen | 2013-12-23 | 1 | -1/+1 |
| | |||||
* | Add sidebar_module partial and SidebarPostDecorator class. | Harald Eilertsen | 2013-12-23 | 4 | -12/+38 |
| | | | | | | | | | | | | | Also did some code cleanup in PagesControllerDecorator::populate_sidebars. The controller will now populate left and right sidebars (only left for now,) while the SidebarPostDecorator will provide the markup for each post that is to be shown in a sidebar. The plan is to further expand the system with other Sidebar- Decorators, so each item can be rendered using the same in the partial. | ||||
* | Begin automatic filling of sidebars with content. | Harald Eilertsen | 2013-11-14 | 2 | -1/+22 |
| | | | | | List blog categories and 10 most resent posts in each category in the left sidebar. | ||||
* | Add styling for blog posts on blog summary page. | Harald Eilertsen | 2013-11-08 | 1 | -0/+33 |
| | |||||
* | Change stylesheet colors. | Harald Eilertsen | 2013-11-08 | 1 | -3/+3 |
| |