Andreas Nedbal
7243fa11d4
Remove superfluous .html from layout
2020-05-11 19:40:43 +02:00
Andreas Nedbal
2686017ad8
Fix lints in app/views/layouts
2020-05-11 19:40:43 +02:00
Andreas Nedbal
7414471d41
Fix lints in app/views/modal
2020-05-11 19:40:43 +02:00
Andreas Nedbal
13878070fd
Remove superfluous .html from moderation views
2020-05-11 19:40:43 +02:00
Andreas Nedbal
3c1d007c5e
Fix lints in app/views/moderation
2020-05-11 19:40:43 +02:00
Andreas Nedbal
730b6156ce
Fix lints in app/views/navigation
2020-05-11 19:40:43 +02:00
Andreas Nedbal
d27ef3aae5
Fix lints in app/views/notifications
2020-05-11 19:38:07 +02:00
Andreas Nedbal
2d4726c297
Fix lints in app/views/public
2020-05-11 19:38:07 +02:00
Andreas Nedbal
7f17a2995e
Fix lints in app/views/question
2020-05-11 19:38:07 +02:00
Andreas Nedbal
eed08b811c
Fix lints in app/views/services
2020-05-11 19:38:07 +02:00
Andreas Nedbal
c21a3d0f73
Fix lints in app/views/settings
2020-05-11 19:38:07 +02:00
Andreas Nedbal
fe70717510
Fix lints in app/views/shared
2020-05-11 19:38:07 +02:00
Andreas Nedbal
a3117861c8
Fix lints in app/views/tabs
2020-05-11 19:38:07 +02:00
Andreas Nedbal
e08f9dafab
Fix lints in app/views/user
2020-05-11 19:38:06 +02:00
Andreas Nedbal
caa6b27684
Fix lints in app/views/static
2020-05-11 19:38:06 +02:00
Andreas Nedbal
4474d9895c
Fix notification menu clipping out of view
2020-05-11 15:19:40 +02:00
Georg Gadinger
2b66026683
Fix inbox entry not being cleared after submission
2020-05-09 14:46:47 +02:00
Andreas Nedbal
937f24839d
Fix profile links on new inbox entries being not visible
2020-05-09 11:41:24 +02:00
Andreas Nedbal
0db1de9552
Fix question page dropdowns using old Bootstrap layout
2020-05-09 05:39:01 +02:00
Andreas Nedbal
c9866e87bf
Merge branch 'master' of github.com:Retrospring/retrospring
2020-05-09 05:03:54 +02:00
Andreas Nedbal
6798dcd090
Fix question dropdown using old Bootstrap layout
2020-05-09 05:03:25 +02:00
Georg Gadinger
0d28152f3e
Fix items being inserted after "Load More" button
2020-05-09 04:51:14 +02:00
Georg Gadinger
9b4c8027b8
Fix pagination for ajax views
2020-05-09 04:39:09 +02:00
Andreas Nedbal
adf5968ad0
Fix some layout issues on question pages
2020-05-09 04:10:40 +02:00
Andreas Nedbal
4ae8b7ed81
Remove timepicker from ban modal
2020-05-09 03:21:25 +02:00
Andreas Nedbal
936969d72a
Fix ban dialog functionality
2020-05-09 03:09:12 +02:00
Andreas Nedbal
322cfceeab
Merge branch 'feature/bootstrap' of github.com:Retrospring/retrospring into feature/bootstrap
2020-05-09 02:46:03 +02:00
Andreas Nedbal
b29d3309d0
Make default btn-link themable
2020-05-09 02:45:57 +02:00
Andreas Nedbal
ba2e82d7ec
Fix moderation userbox layout
2020-05-09 02:45:47 +02:00
Georg Gadinger
ae8e0b651a
Fix Question#show view when user is nil
2020-05-09 02:43:43 +02:00
Georg Gadinger
3ae83d8d02
Unbreak the "Your Data" page when some timestamps are not set
2020-05-09 02:18:23 +02:00
Georg Gadinger
65f152b762
Move user theme to the end of the body --> turbolinks has turbo links again
2020-05-09 02:08:31 +02:00
Andreas Nedbal
d82b7006e8
Fix turbolinks loading being broken
2020-05-09 01:57:20 +02:00
Andreas Nedbal
07033545ee
Fix smiling commits not setting proper classes
2020-05-09 01:35:03 +02:00
Andreas Nedbal
925193548f
Remove hover states from notification dropdown
2020-05-09 00:53:24 +02:00
Andreas Nedbal
bc3c1f287e
Add Bootstrap input-group-text overrides for CSS variables
2020-05-09 00:51:37 +02:00
Andreas Nedbal
e44be8fa0e
Use large bell icon for notifications page
2020-05-09 00:50:46 +02:00
Andreas Nedbal
eec9637aef
Add spacing to inbox user avatars
2020-05-09 00:13:53 +02:00
Andreas Nedbal
c76f839ea7
Fixed announcement JavaScript functionality
2020-05-07 20:36:14 +02:00
Andreas Nedbal
8a8c2667de
Adjust theme settings page layout
...
- Moved color section to come right after General
- Adjusted buttons for light/dark preview to not trigger form submit
2020-05-07 20:28:20 +02:00
Andreas Nedbal
f11431279d
Fix header image not being centered
2020-05-07 19:53:40 +02:00
Andreas Nedbal
6e51294eca
Adjust announcement index page design
2020-05-07 19:49:39 +02:00
Andreas Nedbal
a9344f63a6
Override Bootstrap alert-link styling for CSS variables
2020-05-07 19:30:32 +02:00
Andreas Nedbal
5d63d0ba27
Update announcement styling and adjust announcement views
2020-05-07 19:30:13 +02:00
Andreas Nedbal
501a2cce42
Replace bootstrap3-datetimepicker with a BS4 equivalent
2020-05-07 19:29:12 +02:00
Andreas Nedbal
1cc49cf03c
Adjust warning-text default theme value
2020-05-07 19:28:26 +02:00
Andreas Nedbal
633f69c163
Fix about page icon styles
2020-05-07 15:09:55 +02:00
Andreas Nedbal
d607a8790b
Fix styling of new inbox entries
2020-05-07 15:01:35 +02:00
Andreas Nedbal
0c0b8eaf16
Remove log statement from theme code
2020-05-07 03:56:11 +02:00
Andreas Nedbal
787ec882c4
Fix answerbox text layout on mobile
2020-05-07 03:46:44 +02:00
Andreas Nedbal
7c8809ce14
Remove iOS button style from dropdown toggle
2020-05-07 03:43:13 +02:00
Andreas Nedbal
a3d302586d
Remove border-radius from jumbotrons
2020-05-07 03:39:02 +02:00
Andreas Nedbal
207769d164
Fix layout of profile header in profile settings
2020-05-07 02:30:50 +02:00
Andreas Nedbal
3a4b04b5da
Don't track theme style tags with turbolinks
2020-05-07 02:13:07 +02:00
Andreas Nedbal
12955cc663
Fix design of user and questionboxes
2020-05-07 02:12:44 +02:00
Andreas Nedbal
b443aff964
Fix moderation comment layout
2020-05-06 22:54:36 +02:00
Andreas Nedbal
c75c86e16c
Add focus and active override styles
2020-05-06 22:48:07 +02:00
Andreas Nedbal
771e09133c
Add active styling for buttons
2020-05-06 22:35:33 +02:00
Andreas Nedbal
c261c85e22
Fix outline button styles
2020-05-06 22:24:56 +02:00
Andreas Nedbal
e4561862e5
Adjust frontpage text to match master version
2020-05-06 22:22:16 +02:00
Andreas Nedbal
928eeb28f3
Redirect user to edit_user_theme_path after deletion
2020-05-06 22:19:30 +02:00
Andreas Nedbal
83f51b6422
Add new styling for Devise views
2020-05-06 21:56:10 +02:00
Andreas Nedbal
6c54f8b79f
Adjust image spacing in profile settings
2020-05-06 21:29:06 +02:00
Andreas Nedbal
f4da2b84c6
Improve styling of minicolors swatch
2020-05-06 21:19:49 +02:00
Andreas Nedbal
65e66003ee
Fix theme deletion not working
2020-05-06 18:51:06 +02:00
Andreas Nedbal
f8448405a4
Remove empty Helper classes
2020-05-06 18:42:53 +02:00
Andreas Nedbal
f6ca2176d3
Remove arctic_scroll
2020-05-06 18:13:51 +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
859d2825d1
Remove mention of shutdown from export page
2020-05-06 14:23:11 +02:00
Andreas Nedbal
689dd3880f
Adjust texts in tabs/feed template
2020-05-06 13:56:09 +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
c142920c6c
Adjust answerbox layout on mobile
2020-05-05 05:04:54 +02:00
Andreas Nedbal
0bc4a5b968
Fix hidespan helper using not existing Bootstrap class
2020-05-05 05:04:43 +02:00
Andreas Nedbal
22ae1f6655
Adjust navigation layout on main feed pages
2020-05-05 04:31:15 +02:00
Andreas Nedbal
aa25e8199f
Remove old theme styling file
2020-05-05 03:27:56 +02:00
Andreas Nedbal
83cebe4d9b
Fix theme preview not applying
...
This happens because the generated "preview style tag" is added before the main style one. This change makes sure the theme is rendered right after the application style
2020-05-05 02:03:49 +02:00
Andreas Nedbal
9d5d205ded
Fix muted text variant not overriding Bootstrap default
2020-05-05 02:02:49 +02:00
Andreas Nedbal
04c4e4c7f1
Add variables for light/dark color variants
2020-05-05 02:02:33 +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
53979580d8
Merge branch 'master' into feature/bootstrap
2020-05-04 23:19:54 +02:00
Andreas Nedbal
a3a1250dcf
Fix default text color of list group actions
2020-05-04 20:47:00 +02:00
Andreas Nedbal
d93548891d
Remove obsolete render_theme_with_context
2020-05-04 17:26:57 +02:00
Andreas Nedbal
e7c5b1a4a3
Remove theme preview route and logic
2020-05-04 17:26:38 +02:00
Andreas Nedbal
582f8606b0
Changed theme preview to work without hitting an endpoint
2020-05-04 17:26:18 +02:00
Andreas Nedbal
fe357eaa07
Update layout of the theme settings page
2020-05-04 15:37:13 +02:00
Andreas Nedbal
9235533f59
Adjust button styles for theming
...
- Default (unstyled) buttons use the body text color
- Colored buttons use their text color equivalent
2020-05-03 21:57:19 +02:00
Andreas Nedbal
a36bcf6cd3
Add Bootstrap modal overrides for CSS variables
2020-05-03 21:44:12 +02:00
Andreas Nedbal
ea638305cc
Fix customized hover/focus styles for list group items
2020-05-03 20:39:45 +02:00
Andreas Nedbal
1eddb0ad36
Adjust input styling to be a bit more lenient in themes
2020-05-03 20:39:21 +02:00
Andreas Nedbal
a6b21a85e5
Add more theming changes to dropdowns
2020-05-03 20:24:32 +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
51bef29ace
More style adjustments to default and core elements
2020-05-03 17:28:19 +02:00
Andreas Nedbal
9b38b1d736
Refactor comment styles and layout
2020-05-02 21:23:04 +02:00
Andreas Nedbal
85d97b0c71
Rename changed classes across templates
2020-05-02 20:35:48 +02:00
Andreas Nedbal
b508eb3f21
Refactor and adjust answerbox styles
2020-05-02 20:35:28 +02:00
Andreas Nedbal
2a8a80e859
Refactor locale panel styles
2020-05-02 18:29:04 +02:00
Andreas Nedbal
28c21dcc3d
Refactor smile user list styles
2020-05-02 18:12:55 +02:00
Andreas Nedbal
1f5ec4e28d
Remove unused variable file
2020-05-02 17:47:07 +02:00
Andreas Nedbal
7601da1975
Remove unused panel styles
2020-05-02 17:44:43 +02:00
Andreas Nedbal
f40435da4b
Remove unused classes from base and add imports to main file
2020-05-02 17:38:23 +02:00
Andreas Nedbal
22ef4f4656
Add smiles scss component
2020-05-02 17:37:58 +02:00
Andreas Nedbal
948bc27810
Add body element scss file for body style adjustments
2020-05-02 17:37:42 +02:00
Andreas Nedbal
1e2259fe40
Rename j2-page class to container--main
2020-05-02 17:37:19 +02:00
Andreas Nedbal
4e9311c25b
Add generic navbar-height variable
2020-05-02 17:36:40 +02:00
Andreas Nedbal
2c11272bd4
Move utility class to utilities file
2020-05-02 17:36:22 +02:00
Andreas Nedbal
8c3ff8f31d
Add overrides for growls and sweet-alert
2020-05-02 17:36:05 +02:00
Georg Gadinger
0109322610
add spec for Ajax::ModerationController
2020-05-01 22:41:26 +02:00
Andreas Nedbal
185b5a65c8
Refactor notification styling and layout
2020-05-01 21:57:14 +02:00
Andreas Nedbal
aa5ca6c64a
Remove unused variables and move remaining ones to proper file
2020-05-01 19:50:51 +02:00
Andreas Nedbal
e8b003fde4
Refactor entry styling and adjust layouts where used
2020-05-01 19:29:05 +02:00
Andreas Nedbal
932c611dab
Fix userbox layout on frontpage
2020-05-01 18:55:18 +02:00
Andreas Nedbal
33e2533467
Add overrides files for bs-datetimepicker and minicolors
2020-05-01 18:38:49 +02:00
Andreas Nedbal
86744a3da4
Refactor userbox styling and layout
2020-05-01 18:38:29 +02:00
Georg Gadinger
3e95d5ebeb
add spec for Ajax::ReportController
2020-05-01 10:17:05 +02:00
Georg Gadinger
6f3f3afa2f
add spec for Ajax::GroupController
2020-05-01 10:17:05 +02:00
Georg Gadinger
54532c71e1
add spec for Ajax::QuestionController
...
also fix some minor annoyances
2020-05-01 10:17:05 +02:00
Georg Gadinger
1824fb1c25
add spec for Ajax::InboxController
2020-05-01 10:17:05 +02:00
Georg Gadinger
dd5f718f31
Question: user association is optional
2020-05-01 10:17:05 +02:00
Georg Gadinger
d492cd34f6
AjaxController: also rescue from StandardError
2020-05-01 10:17:05 +02:00
Andreas Nedbal
7bd7b91ea4
Refactor and redesign user profile section
2020-04-30 20:35:22 +02:00
Andreas Nedbal
3f0d84a4ad
Re-add answer/show template
2020-04-30 20:33:05 +02:00
Andreas Nedbal
d61fa91f0d
Refactor question styles
...
- Created styles in component/question
- Removed old styles from scss/panel
- Moved question partial to question controller resource, as it is only used there, not shared
2020-04-30 00:44:43 +02:00
Andreas Nedbal
e8bbf2c2f1
Adjust casing of $colorNames variable
2020-04-29 18:26:15 +02:00
Andreas Nedbal
c4c0c44eec
Remove old navbar styles and refactor navigation
...
- Create components/buttons for btn-fab element
- Create components/avatars for defined avatar size classes and behaviour
2020-04-29 18:15:52 +02:00
Andreas Nedbal
77b650ed86
Remove unused "about--moderator" styles
2020-04-29 15:49:13 +02:00
Andreas Nedbal
cc5489c357
Remove group styles and adjust group modal layout
2020-04-29 15:26:50 +02:00
Andreas Nedbal
0bf0b7d6da
Remove more "no-header" styles for profiles
2020-04-29 14:49:43 +02:00
Andreas Nedbal
56bef6a4aa
Remove unnecessary styles for "data" page
2020-04-29 14:49:24 +02:00
Andreas Nedbal
ea36f7e218
Remove mobile specific profile styles
2020-04-29 14:48:35 +02:00
Andreas Nedbal
91a7f7ed33
Fix wrong partial in Ajax::CommentController#create
2020-04-29 14:01:48 +02:00
Andreas Nedbal
b22c7d358c
Fix wrong partial path in Ajax::AnswerController#create
2020-04-29 13:33:53 +02:00
Andreas Nedbal
45b11bddfd
Merge branch 'master' into feature/bootstrap
2020-04-29 02:49:07 +02:00
Georg Gadinger
29a5d0408c
ajax_controller: fix variable name
2020-04-28 21:42:41 +02:00
Georg Gadinger
66527a8c9c
views/ajax: delete
2020-04-28 20:39:17 +02:00
Georg Gadinger
2f2b9ab1f4
New Relic be like: *notices your errors* OwO what's this?
2020-04-28 20:32:36 +02:00
Georg Gadinger
e07d069c73
Refactor Ajax::*Controllers
...
Also removed the unused `Ajax::QuestionController#preview` method and
route
2020-04-28 20:28:00 +02:00
Andreas Nedbal
d53abd307d
Remove no-header classes from profile page
2020-04-28 19:33:54 +02:00
Andreas Nedbal
22197a9e51
Add Bootstrap input CSS variable overrides
2020-04-28 15:56:38 +02:00
Andreas Nedbal
01499797a1
Add Bootstrap text-muted CSS variable override
2020-04-28 15:52:20 +02:00
Andreas Nedbal
650751e875
Adjust profile statistics layout
...
- Instead of being in the sidebar, they are now present as a tabbed navigation
- The questionbox is now present on any layout
2020-04-28 15:03:51 +02:00
Andreas Nedbal
ddb2537926
Add Bootstrap dropdown CSS variable overrides
2020-04-28 15:02:23 +02:00
Andreas Nedbal
a0c99574ba
Fix usage of deprecated size() method
2020-04-28 13:26:20 +02:00
Andreas Nedbal
e7d076d699
Add missing --color-text variables for themes
2020-04-28 13:19:59 +02:00
Andreas Nedbal
93fc9c2963
Add Bootstrap alert CSS variable overrides
2020-04-28 13:17:02 +02:00
Andreas Nedbal
aa453ab770
Moved $colors list into variables
...
Also renamed it because it would cause a collission with Bootstraps $colors surely at some point.
2020-04-28 13:07:16 +02:00
Andreas Nedbal
a7cefa11b3
Add customizable hover styles to buttons
2020-04-27 19:57:10 +02:00
Andreas Nedbal
1951779c00
Fix Jumbotron styles being broken due to adjusted *-text behaviour
2020-04-27 18:39:24 +02:00