Commit graph

93 commits

Author SHA1 Message Date
Andreas Nedbal
3a4b04b5da Don't track theme style tags with turbolinks 2020-05-07 02:13:07 +02:00
Andreas Nedbal
f8448405a4 Remove empty Helper classes 2020-05-06 18:42:53 +02:00
Andreas Nedbal
e1c1357d9b Fix missing arguments on current_page? 2020-05-06 14:49:35 +02:00
Andreas Nedbal
9961796e3b Apply review suggestion for navigation tag helpers 2020-05-06 14:30:12 +02:00
Andreas Nedbal
892b708c6f Implement changes to ThemeHelper requested by review
- turned theme_attribute_map into frozen constant ATTRIBUTE_MAP
- early return if no theme exists, instead of if-block
- usage of Hash#key? instead Hash[k] to confirm existence of key in hash
- Early skip/next if key is not present in Hash instead of if-block
2020-05-06 13:36:43 +02:00
Andreas Nedbal
d9f67e86d9 Fix get_active_theme to return proper theme for user 2020-05-05 20:17:49 +02:00
Andreas Nedbal
0bc4a5b968 Fix hidespan helper using not existing Bootstrap class 2020-05-05 05:04:43 +02:00
Andreas Nedbal
880429f5f9 Add new fields for themes
- In the settings view
- In the model validation
- In the controller parameter permissions
- In the CoffeeScript/Ruby helpers
2020-05-05 02:02:16 +02:00
Andreas Nedbal
d93548891d Remove obsolete render_theme_with_context 2020-05-04 17:26:57 +02:00
Andreas Nedbal
241b8cbdcb Rename card variables to "raised" 2020-05-03 20:10:50 +02:00
Andreas Nedbal
02cc1c418d WIP: Initial implementation of CSS variable based theming 2020-05-03 17:28:41 +02:00
Andreas Nedbal
e9e0a222b0 Merge branch 'master' into feature/bootstrap 2020-04-27 02:11:54 +02:00
Andreas Nedbal
8d9f1d5efb Adjust list_group_item helper for Bootstrap 4 2020-04-26 21:48:02 +02:00
Andreas Nedbal
4917ce46d3 Fix "nav-item" assigning class in nav_entry helper 2020-04-26 14:30:23 +02:00
Andreas Nedbal
8b8a5a1e72 Add parent_layout helper 2020-04-25 17:02:59 +02:00
Andreas Nedbal
7767eeae9f Merge branch 'master' into feature/bootstrap 2020-04-25 13:14:01 +02:00
Karina Kwiatek
47fde17560 Remove deprecated gravatar_url method 2020-04-20 23:18:14 +01:00
Andreas Nedbal
2b39888679 Adjust base navigations Bootstrap 4 2020-04-19 23:03:34 +02:00
Karina Kwiatek
8a632a09cd Create Announcement model & controller 2020-04-19 20:12:22 +01:00
Georg Gadinger
76f4ec35e2 get rid of "Fixnum is deprecated" warning 2020-04-19 14:39:59 +02:00
Georg Gadinger
3e7497a144 Upgrade to Rails 5 2020-04-19 00:59:22 +02:00
Georg Gadinger
b8701e7626 Make user_screen_name helper use kwargs, add link_only arg 2017-03-30 19:17:25 +02:00
Yuki
71caf3cce5 Several changes to theming, solving a bunch of bugs 2015-08-27 05:30:26 +05:30
Yuki
a7c3acea76 ISHYGDDT 2015-08-26 02:14:14 +05:30
Yuki
cd6c746e4d paperclip is dead to me 2015-08-26 01:41:30 +05:30
Yuki
906692e78f Theming is finished
Previews, settings pane and presets!
2015-08-25 23:57:06 +05:30
Yuki
1912fc3766 Model goop
also made the theme selection logic for user profiles and current user, and the saving logic
2015-08-25 13:56:36 +05:30
Yuki
e7e28efcab Theme Progress
Link color
Notification dropdown text fix
Dropdown select color
Panels
Modals
Buttons, Labels and Alerts
nprogress
fix and rename __THEME_CSS_CACHE to __THEME_CSS_CACHE_V1
2015-08-25 01:26:59 +05:30
Yuki
5f8dc8a24f Cache CSS if in production 2015-07-29 22:29:52 +05:30
Yuki
47344a5774 ThemeHelper.render_theme_with_context 2015-07-29 22:24:33 +05:30
Yuki
b60823abe2 minor fixes 2015-06-09 21:35:35 +05:30
Yuki
607574cfce don't need this function 2015-06-09 08:56:10 +05:30
Yuki
339ddf5204 I woke up 2 minutes ago 2015-06-09 08:54:17 +05:30
Yuki
d2511dea42 Fix retrospring/bugs#76 2015-06-09 08:51:58 +05:30
Yuki
52890707c5 less logic in views 2015-05-27 06:51:06 +05:30
Yuki
74bbbdf4ca FILTHY 2015-05-27 06:41:21 +05:30
pixeldesu
9c83972105 localized answerbox (trigger warning: horrible code) 2015-05-27 02:58:03 +02:00
Yuki
cd904ae1bc Fix FAQ 2015-05-26 04:56:58 +05:30
Yuki
9d93bbf9b1 Allow loading markdown files from FS 2015-05-24 18:18:54 +05:30
Yuki
db75f3dd36 Answers show question content, not answer content (makes more sense) 2015-05-15 06:46:02 +05:30
pixeldesu
773b2917cb Merge branch 'feature-discover' 2015-05-14 00:47:23 +02:00
Yuki
6c5f97f3da Case-sensitivity fix. 2015-05-14 03:40:34 +05:30
Yuki
2e1cb4d273 Made titles functional, because functional programming is the future 2015-05-14 03:32:19 +05:30
Georg G
c9a268ebdf added empty DiscoverController 2015-05-13 20:39:04 +02:00
Yuki
ecffd07344 Support for post subscriptions 2015-04-21 06:42:11 +05:30
pixeldesu
4e185bbaa7 change Bootswatch theme, general theme changes, list group helper 2015-04-19 16:49:53 +02:00
nilsding
0bf46a888f added a new Markdown renderer (TwitteredMarkdown) which will be used for sharing to Twitter 2015-01-29 16:45:58 +01:00
nilsding
1bb369aa7d implemented basic functionality of YE OLDE BANHAMMER! 2015-01-12 22:44:13 +01:00
nilsding
38e5550241 strip blank spaces 2015-01-12 13:08:10 +01:00
nilsding
9de917fb23 closes GitHub issue #57 2015-01-12 13:00:00 +01:00