Commit Graph

99 Commits

Author SHA1 Message Date
Daniel O'Connor
f23289ec6e Improve header, footer 2024-04-07 12:31:07 +00:00
Daniel O'Connor
7d63234841 Upgrade to bootstrap 5 (#3605)
* Upgrade boostrap

* Remove deprecated bootstrap toggles

* Migrate other details

* Avoid accidentally including bootstrap twice

* Avoid accidentally including bootstrap twice

* Avoid accidentally including bootstrap twice

* Fix spec

* Fix spec, where the size of the screen has gone to a partial breakpoint/you can't click on your own name in tablet view

* Fix spec

* Cleanup

* Cleanup
2024-03-10 11:49:22 +10:30
Brenda Wallace
325729751a Move search bar to middle, hide sitename on small screens 2020-02-20 19:29:35 +13:00
Brenda Wallace
c6fc519e7d Production release (#2311)
* Reduce the number of queries to find if member has seed of this crop

* Don't read crop photos from db again

* Cache the footer

* Reduce queries per thumbnail.

* Reducing the number of db queries on crops#show

* Cache photos

* Add query_diet, to count queries on the page

* Fix model spec

* Put query count on the page

* Little bit less queries to look up sci name

* Turn on bullet in dev

* Tell default photo to expire in 1 hour

* Small improvements to crops controller to reduce query count

* Don't cache photo do agressively

* Fix specs

* Bump bootstrap from 4.3.1 to 4.4.1

Bumps [bootstrap](https://github.com/twbs/bootstrap-rubygem) from 4.3.1 to 4.4.1.
- [Release notes](https://github.com/twbs/bootstrap-rubygem/releases)
- [Changelog](https://github.com/twbs/bootstrap-rubygem/blob/master/CHANGELOG.md)
- [Commits](https://github.com/twbs/bootstrap-rubygem/compare/v4.3.1...v4.4.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* [Security] Bump puma from 4.3.0 to 4.3.1

Bumps [puma](https://github.com/puma/puma) from 4.3.0 to 4.3.1. **This update includes a security fix.**
- [Release notes](https://github.com/puma/puma/releases)
- [Changelog](https://github.com/puma/puma/blob/master/History.md)
- [Commits](https://github.com/puma/puma/compare/v4.3.0...v4.3.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Move signout link into user menu

* fixed logo display on small screens

* Update specs to find logout link

* [CodeFactor] Apply fixes to commit b999d89
2019-12-06 20:46:24 +13:00
Brenda Wallace
cdc87b5511 Tidy up mobile view of logo/nav 2019-11-30 16:22:45 +13:00
Brenda Wallace
057e6f3069 Change fonts, tidy up navbar, and use text for site name 2019-11-30 16:22:45 +13:00
Brenda Wallace
b0c8b11246 📝 Inline editing and display tidy ups (#2200)
* Inline editing and display tidy ups
2019-10-08 11:06:53 +13:00
Brenda Wallace
e90d719436 fixed unread count on headers 2019-07-21 20:24:30 +12:00
Brenda Wallace
67ce5265b4 Migrate from paranoia to discard
closes #1995
2019-07-21 16:59:06 +12:00
Brenda Wallace
339b3fd57e Moving to conversations and messages instead of notifications 2019-07-20 13:21:05 +12:00
Brenda Wallace
29e606a870 use badges for unread message count 2019-07-11 13:17:31 +12:00
Brenda Wallace
68bc237dd9 Wrap for readbility 2019-07-09 09:12:52 +12:00
Brenda Wallace
f127dd18ba fix display of inbox item in menu
fixes #2046
2019-07-09 09:11:49 +12:00
Brenda Wallace
0811699020 USe search bar partial 2019-05-25 19:15:27 +12:00
Brenda Wallace
253d1806ef Fix the admin menu 2019-05-18 21:42:26 +12:00
Brenda Wallace
a21366a098 fix icons on header nav 2019-05-17 12:18:36 +12:00
Brenda Wallace
707dc2e156 Fix display of member menu 2019-05-17 11:54:49 +12:00
Brenda Wallace
c999715ab0 Restoring the nav bar 2019-05-16 21:53:27 +12:00
Brenda Wallace
f5d48d1b56 Removing bootstrap 3 - only bootstrap 4
because both isn't particularly clever
2019-05-13 07:52:38 +12:00
Brenda Wallace
3cb6fb90f7 Fix crop display 2019-04-29 15:31:39 +12:00
Brenda Wallace
4196ce9e6b Fix search 2019-04-26 17:35:22 +12:00
Brenda Wallace
3ed173ebcd Material design changes 2019-02-17 21:33:36 +13:00
Brenda Wallace
986bca44f7 Merge remote-tracking branch 'upstream/dev' into routes-tidy-up
Conflicts:
	app/views/layouts/_header.html.haml
	spec/features/gardens/actions_spec.rb
2019-01-24 13:48:36 +13:00
Brenda Wallace
33ad133665 Revert modifications to menu 2019-01-24 12:17:40 +13:00
Brenda Wallace
6eebc7480c Moved global actions - only show if no buttonbar 2019-01-24 12:17:40 +13:00
Brenda Wallace
2f271da909 Move global buttons and search 2019-01-24 12:17:40 +13:00
Brenda Wallace
1e266a92f6 Members slug used in rotes 2019-01-06 08:45:42 +13:00
Brenda Wallace
387200abf7 Moving garden data under members 2019-01-06 08:45:42 +13:00
Brenda Wallace
68953188f8 Update to new path names 2019-01-06 08:45:42 +13:00
Brenda Wallace
42de726405 Removing shop, products, accounts, orders 2018-02-09 10:53:05 +13:00
Brenda Wallace
123c34b6d1 Haml cleanup for layout 2017-02-13 07:33:48 +13:00
Brenda Wallace
0fa9f54c9c Rename member.has_role? to role? 2017-01-14 20:54:43 +13:00
Jim Stallings
fe6e269c64 GS-658 - i18n automation POC 2016-12-02 15:34:38 +10:30
Kristine Nicole Polvoriza
d1438d1b2e Fixed the nav header in mobile view 2016-07-28 12:31:50 +08:00
Daniel O'Connor
8f5000443f Use navbar-right, and reposition search box to fix mobile layout 2016-07-08 17:45:00 +09:30
Jim Stallings
85f7ca4058 GS-658 - internationalize drop down links and page titles 2015-08-29 18:39:38 -04:00
Cesy
b6dfeb980c i18n example 2015-08-12 14:56:36 +00:00
Jace Monje
b9a29115a2 new navbar 2015-07-09 07:14:49 +08:00
Skud
d0f856d389 Fixed various problems with search matching 2015-02-17 19:20:25 +11:00
Skud
09a78d4661 Merge pull request #701 from Skud/search_tweaks
Search tweaks
2015-02-10 20:57:32 +11:00
Skud
0fc4c3cb4d Made search result page show a suitable title 2015-02-10 19:07:50 +11:00
Mackenzie Morgan
c3429cc0f3 adding admin access test for cms, and changing the cms admin path, and adding a link for it to the admin page, and updating the navbar so i can actually target the sign-in link in the test. also removing sample fixture gencode from cms installation 2015-02-09 00:05:02 -05:00
Taylor Griffin
df3b300967 remove '/assets' from references to assets 2014-12-12 21:31:22 +11:00
Skud
7543221f73 Added 'skip navigation menu' link for screenreaders 2014-09-04 18:40:51 +10:00
Skud
4f4aad7626 Added pear logo to top nav 2014-09-04 18:14:49 +10:00
Amy Hendrix
84f6635679 Continue cleaning up header styling 2014-07-13 20:07:42 -04:00
Amy Hendrix
4728de5dd8 Clean up header markup for Bootstrap 3 2014-07-13 19:27:06 -04:00
Amy Hendrix
0d7fbc9b76 update button class to bootstrap3 2014-07-13 18:33:19 -04:00
Amy Hendrix
bf217b1618 correct navbar-btn 2014-07-13 18:25:02 -04:00
Amy Hendrix
bb458c17e8 another navbar-collapse instance 2014-07-13 18:23:53 -04:00