- Bootstrap CSS: Upgraded from 3.3.7 to 5.3.3
- Bootstrap JS: Upgraded from 3.3.7 to 5.3.3
- jQuery: Kept and updated to 3.7.1 (latest stable)
- Navigation: Updated Bootstrap 3 navbar structure to Bootstrap 5
- Changed
navbar-toggletonavbar-toggler - Updated dropdown attributes from
data-toggletodata-bs-toggle - Changed
dropdown-menu > li > atodropdown-item - Updated dividers from
<li class="divider"></li>to<hr class="dropdown-divider">
- Changed
- Alerts: Updated alert close buttons to use Bootstrap 5 syntax
- Changed
data-dismisstodata-bs-dismiss - Updated close button from
×tobtn-close
- Changed
- Accordion: Converted Bootstrap 3 panels to Bootstrap 5 accordion
- Changed
panel-grouptoaccordion - Converted
paneltoaccordion-item - Updated
panel-headingtoaccordion-header - Changed
panel-bodytoaccordion-body - Updated collapse attributes to use
data-bs-*syntax
- Changed
- Button styles: Added
.btn-defaultequivalent styles - Panel components: CSS fallbacks for panel-to-card migration
- Form groups: Maintained spacing compatibility
- Wells: Provided styling for
.welland.well-smclasses - Glyphicons: FontAwesome fallbacks for common glyphicon classes
- Input groups: Styling for
.input-group-addon - Grid system: Maintained compatibility for legacy column classes
- Utilities: Text colors, sr-only, collapse behaviors
- Data attributes: Automatic migration from
data-*todata-bs-* - Panel groups: Automatic conversion to Bootstrap 5 accordions
- Tooltips: Legacy tooltip initialization
- jQuery API: Compatibility layer for
$.fn.tooltip(),$.fn.collapse(),$.fn.modal() - Event handling: Legacy event support for alerts and other components
- ShowdownScriptsPartial: Updated to use Bootstrap 5 tooltip syntax
- Changed
data-original-titletodata-bs-original-title
- jQuery 3.7.1 maintained for compatibility with:
- DataTables integration
- Custom form handling
- Legacy JavaScript code
- Third-party plugins
- All navigation menus
- Alert messages
- Form validation
- Data tables
- Tooltips
- Dropdowns
- Collapse/accordion functionality
Bootstrap 5.3.3 supports:
- Chrome >= 60
- Firefox >= 60
- Edge >= 79
- Safari >= 12
- iOS Safari >= 12
- Android Chrome >= 60
- Smaller bundle size: Bootstrap 5 is smaller than Bootstrap 3
- Better CSS: Improved CSS custom properties and utilities
- Modern JavaScript: Native ES6+ features instead of jQuery dependencies
- Improved accessibility: Better ARIA support and semantic markup
- Navigation Menu: Test all dropdown menus and mobile responsiveness
- Analysis Page: Verify accordion functionality on the methods-of-analysis page
- Forms: Test all form validation and submission
- Alerts: Verify alert dismissal functionality
- Data Tables: Test sorting, filtering, and pagination
- Tooltips: Verify tooltip display and content
- Mobile: Test responsive behavior on various screen sizes
- Third-party plugins: Some jQuery plugins may need updates
- Custom CSS: Existing custom styles may need adjustment
- JavaScript libraries: Dependencies on Bootstrap 3 APIs may need attention
- Print styles: Layout changes may affect print formatting
- Gradual migration: Replace compatibility layer with native Bootstrap 5 code
- Icon migration: Consider migrating from FontAwesome 4.7 to newer version
- CSS optimization: Remove unused compatibility styles over time
- Component modernization: Update forms to use Bootstrap 5 validation styles
Anlab.Mvc\Views\Shared\Layout.cshtmlAnlab.Mvc\Views\Analysis\Index.cshtmlAnlab.Mvc\Views\Shared\_ShowdownScriptsPartial.cshtmlAnlab.Mvc\wwwroot\css\bootstrap-compatibility.css(new)Anlab.Mvc\wwwroot\js\bootstrap-compatibility.js(new)