bterkuile
4013070e4f
feat: migrate from Foundation to Fomantic-UI
...
Swap foundation-rails for fomantic-ui-sass across the gem's own
layout/menu/alerts partials and all 11 generic scaffold resources
(pages, news, faqs, quotes, images, directories, keywords, yml_files,
contact_forms, newsletter_subscriptions, users). Foundation grid/button
classes replaced with Fomantic ui.form/ui.button/ui.table conventions;
legacy Foundation mixins in the custom component sass (panel, button,
grid-row/grid-column) rewritten as plain CSS since they no longer exist
once foundation_and_overrides.scss is gone.
Also fixes a real bug found along the way: boolean_text used
`.present?` on values, but SimplyCouch stores booleans as the strings
"0"/"1" — and "0".present? is true in Ruby, so it always rendered
"Yes" regardless of actual value. Now uses ActiveModel::Type::Boolean.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com >
2026-07-07 23:36:35 -05:00
BenClaw
28be1d86d9
fix: require ace/mode-json for page_settings JSON editor
...
SetMode('ace/mode/json') fails silently when the mode isn't loaded,
skipping the JSON branch and falling through to handlebars mode.
2026-05-30 21:24:26 +02:00
BenClaw
548a227617
feat: add page_settings JSON property + ACE JSON mode
...
- Add property :page_settings (Hash, default {}) to Page model
- JSON.parse string input in setter (form submits as text)
- Add collapsible 'Page Settings (JSON)' section to page form
- Support data-mode='json' attribute for ACE editor
(html_edit.js.coffee: check textarea data-mode attribute)
2026-05-30 20:33:15 +02:00
bterkuile
fc3c2f268a
Fixes for rails 8 support
2025-08-27 11:55:13 -05:00
bterkuile
a451ea622a
Fase out bourbon
2025-02-13 11:44:53 -05:00
bterkuile
25f4fbebb7
Newest tinymce is without jquery. Not tested
2025-02-10 15:02:18 -05:00
bterkuile
3aa204aa30
Changes for mozo host
2020-03-05 11:36:19 -05:00
bterkuile
c4a7e7c987
Fix require dependency
2015-06-09 11:57:59 +02:00
bterkuile
9f225a1e1b
Add datepicker functionality
2015-06-09 11:15:26 +02:00
bterkuile
20ebd784fc
Add link-to helper with locale support
2015-04-08 12:28:30 +02:00
bterkuile
19a159e8d7
Use locale in template variables if available
2015-04-08 11:29:10 +02:00
bterkuile
7b333eec63
Fix yml editing not setting values correctly
2015-04-08 11:10:21 +02:00
bterkuile
e937070277
Add other page fields to preview functionality
2015-03-11 07:33:26 +01:00
bterkuile
ba76940007
more hacky solution for preview iframe in foundation reveal modal
2015-03-08 10:22:20 +01:00
bterkuile
6a191e5d07
Add template support
2015-03-07 21:19:34 +01:00
bterkuile
c931df94a0
Fix ace value setting
2015-03-07 17:11:19 +01:00
bterkuile
3d98bcc89b
Use ace to edit pages, and ass yml_files and preview setup
2015-03-07 16:56:07 +01:00
bterkuile
8ba2fa731e
Fix directories and images
2015-03-06 11:28:11 +01:00
bterkuile
829921d382
Formatted source editing and sitemap overload option
2015-03-06 09:59:43 +01:00
bterkuile
2df08b7348
further foundation refactor
2015-02-25 10:05:38 +01:00
bterkuile
82553ab0a2
Better styling
2015-02-25 09:33:02 +01:00
bterkuile
e2f8459960
kinda update to foundation, depricate bootstrap 2
2015-01-28 18:15:25 +01:00
bterkuile
f709443e4c
Another tinymce tweak
2014-08-07 18:03:30 +02:00
bterkuile
1959c5e8b5
add more plugins to advanced editor
2014-08-07 17:55:18 +02:00
bterkuile
372231b1b7
New gem readyness and strong parameter fixes
2014-07-14 18:58:23 +02:00
bterkuile
98191722e0
Update and passing specs
2014-07-07 17:27:45 +02:00
bterkuile
b67280eb31
Debourbonify cmtool
2014-04-29 13:17:04 +02:00
bterkuile
00e13937ba
Upgrade to new jquery ui system
2013-07-15 00:31:58 +02:00
bterkuile
c1ff4a9e50
refactor for better plugin integration
2012-12-17 14:19:04 +01:00
bterkuile
0d6aeea49a
remove sessions styling from cmtool
2012-12-13 18:29:00 +01:00
bterkuile
cde1037871
remove less dependency and require relative helpers
2012-12-13 16:29:05 +01:00
bterkuile
3e72713c77
quick commit, untested
2012-12-13 16:22:28 +01:00
bterkuile
e27485cb20
Move to twitter design
2012-11-25 11:48:39 +01:00
bterkuile
bb8efcb616
Leiden top Amsterdam CS moving towards twitter bootstrap
2012-11-23 18:02:58 +01:00
bterkuile
0a548fd690
dependency update
2012-11-21 16:28:50 +01:00
bterkuile
2ef63f0517
initialize test framenwork and add form handlers for newsletter and contact forms
2012-04-02 18:04:47 +02:00
bterkuile
2ca8e2c533
progress
2012-03-28 10:17:52 +02:00
bterkuile
a18d1bd646
fixes and styling upgrades
2012-03-25 14:38:59 +02:00
bterkuile
4c72fb10a1
upgrade styling
2012-03-25 14:24:02 +02:00
bterkuile
7bc602f476
initial version
2012-03-25 12:44:00 +02:00