You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+21-15Lines changed: 21 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,11 @@
1
1
# Changelog
2
2
3
+
## v5.0.1
4
+
- Updated seeds.rb file for identifier_schemes to include context value and removed logo_url and idenitifier_prefix for Shibboleth (as it was causing issues with SSO). [#3525](https://github.com/DMPRoadmap/roadmap/pull/3525)
5
+
- Adjustments to style of select tags and plan download layout [#3509](https://github.com/DMPRoadmap/roadmap/pull/3509)
@@ -86,7 +92,7 @@ When we use a native DOM element in Javascript, we obtain it by applying get() t
86
92
We sometimes use the button native Dom element to programmatically click, as the Jquery button element with trigger('click') won't work because the trigger() function cannot be used to mimic native browser events, such as clicking (cf., https://learn.jquery.com/events/triggering-event-handlers/ )
87
93
88
94
+ Accordion & spinners
89
-
- Bespoke versions replaced by Bootstrap 5 accordion and spinner now.
95
+
- Bespoke versions replaced by Bootstrap 5 accordion and spinner now.
90
96
- Accordion
91
97
* Changed the default Bootstrap arrow icon for the accordion to use the fontawesome icons plus and minus icons. Created a several accordion specific colour variables:
92
98
<br>// Accordion colors
@@ -102,7 +108,7 @@ We sometimes use the button native Dom element to programmatically click, as the
102
108
- Bootstrap dropped `btn-block` class for utilities. So we removed any styling using it.
103
109
- Close Buttons: Renamed `close` to`btn-close`.
104
110
- Renamed `btn-default` to `btn-secondary` and variable `$btn-default-color` changed to `$btn-secondary-color`.
105
-
+ Dropdowns
111
+
+ Dropdowns
106
112
- Dropdown list items with class `dropdown` have class `dropdown-item` added usually with`px-3` for positioning.
107
113
- Added new `dropdown-menu-dark` variant and associated variables for on-demand dark dropdowns.
108
114
- Data attributes changes required by Bootstrap 5 (as used by accordion and dropdown buttons):
@@ -111,7 +117,7 @@ We sometimes use the button native Dom element to programmatically click, as the
111
117
*`data-target` --> `data-bs-target`
112
118
*`data-toggle` --> `data-bs-toggle`
113
119
- Bootstrap 5 Popover added to some dropdown-menu items by adding attribute `data-bs-toggle="popover"`
114
-
+ Form
120
+
+ Form
115
121
-`form-group` class replaced with `form-control`.
116
122
- Form labels now require `form-label` or `form-check-label` to go with `form-control` and `form-check` respectively. So all obsolete `control-label` replaced by `form-label` and missing ones added.
117
123
- Dropped form-specific layout classes for our grid system. Use Bootstrap grid and utilities instead of `form-group`, `form-row`, or `form-inline`.
@@ -138,7 +144,7 @@ We sometimes use the button native Dom element to programmatically click, as the
138
144
- Bootstrap rewrote component with flexbox. Dropped nearly all > selectors for simpler styling via un-nested classes.
139
145
Instead of HTML-specific selectors like .nav > li > a, we use separate classes for `navs, nav-items, and nav-links`. (Note because the `nav-link` class has not always been added as it comes with styles not appropriate for our styling for links.)
140
146
This makes your HTML more flexible while bringing along increased extensibility. So we have dropped HTML-specific selectors and css in `_navs.scss`
141
-
e.g.,
147
+
e.g.,
142
148
<br>`.nav-tabs > li > a:hover` --> `nav-tabs nav-link:hover`,
143
149
<br>`.nav-pills > li > a:hover` -->`nav-pills .nav-link:hover`.
144
150
- Pages with css classes `nav` and`navbar` updated to work with Bootstrap 5. So `app/assets/stylesheets/blocks/_navbars.scss` and `app/assets/stylesheets/blocks/_navs.scss` updated.
@@ -150,8 +156,8 @@ We sometimes use the button native Dom element to programmatically click, as the
150
156
+ Notifications
151
157
- Notifications now use classes `d-block` and `d-none` to show and hide respectively.
152
158
+ Panels, thumbnails & wells (replacements)
153
-
- Bootstrap 5 dropped panels, thumbnails and wells. So pages with them updated with Bootstrap 5 replacements.
154
-
* All views with css classes`panel, panel-body, panel-*` Have panel replaced by card to give `card, card_body, card-*`, etc.
159
+
- Bootstrap 5 dropped panels, thumbnails and wells. So pages with them updated with Bootstrap 5 replacements.
160
+
* All views with css classes`panel, panel-body, panel-*` Have panel replaced by card to give `card, card_body, card-*`, etc.
155
161
* As `panel-default` and some otherpanel css classes don't have card equivalents with same suffixes we have added these classes temporarily in `_cards.sccs`, e.g.,`.card-default`, etc.
156
162
+ Utilities
157
163
- Bootstrap renamed several utilities to use logical property names instead of directional names with the addition of RTL support:
@@ -166,9 +172,9 @@ We sometimes use the button native Dom element to programmatically click, as the
166
172
* As Bootstrap 5.2 dropped class `text-justify` we have created a custom version based on comment https://github.com/twbs/bootstrap/pull/29793#issuecomment-1814683346
167
173
*`text-*` utilities do not add hover and focus states to links anymore. `link-*` helper classes can be used instead.
:id,:name,{prompt: false},{multiple: false,'data-toggle': 'tooltip',title: _('Select which group this guidance relates to.'),class: 'form-control','aria-required': true})%>
37
+
:id,:name,{prompt: false},{multiple: false,'data-toggle': 'tooltip',title: _('Select which group this guidance relates to.'),class: 'form-select','aria-required': true})%>
Copy file name to clipboardExpand all lines: app/views/org_admin/questions/_form.html.erb
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -32,7 +32,7 @@
32
32
:title,
33
33
question.question_format_id),
34
34
{},
35
-
class: "form-control question_format",
35
+
class: "form-select question_format",
36
36
'data-toggle': 'tooltip',
37
37
'data-html': true,
38
38
title: _("You can choose from:<ul><li>- text area (large box for paragraphs);</li> <li>- text field (for a short answer);</li> <li>- checkboxes where options are presented in a list and multiple values can be selected;</li> <li>- radio buttons where options are presented in a list but only one can be selected;</li> <li>- dropdown like this box - only one option can be selected;</li> <li>- multiple select box allows users to select several options from a scrollable list, using the CTRL key;</li></ul>")
0 commit comments