Commit 66d2057
authored
Add files via upload
## Breaking Changes
**Important:** This release is only compatible with SimpleSAMLphp 2.2.2 and higher due to the required `formURL` variable.
Users on SimpleSAMLphp 2.2.1 and earlier should remain on theme version 0.2.1.
## Major Changes
### Complete CSP Strict Compliance
- Removed all inline event handlers and replaced with data attributes
- Eliminated all inline scripts - moved to external files (theme-init.js)
- Removed all inline styles in favor of CSS classes
- Full compatibility with Content Security Policy strict mode without requiring nonces
### JavaScript Architecture Overhaul
- Unified all JavaScript functionality into single `theme-bundle.js` file
- Added separate `theme-init.js` for immediate theme application (prevents flash)
- Reduced HTTP requests from 5+ files to 2 core bundles
- Exposed `window.SimpleSAMLTheme` object for external integrations
### UI/UX Design Improvements
- Simplified theme switcher to dark/light modes only (removed auto mode)
- Modernized password visibility toggle with minimal 18x18px icon design
- Wider alert containers (600px) for better error message readability
- Consistent button heights across all navigation elements
- Changed error alerts to use danger styling (red) instead of warning (yellow)
### Form Compatibility Updates
- Updated form action to use `formURL` variable instead of `moduleURL()` function
- Compatible with SimpleSAMLphp 2.2+ form handling
- Dynamic username placeholder when `forceUsername` is active
### Bootstrap Framework Update
- Updated from Bootstrap 5.3.2 to Bootstrap 5.3.8
## New Features
- Keyboard accessibility for password visibility toggle
- Form validation with submit button state management
- Auto-dismiss feature for dismissible alerts after 10 seconds
- Development mode logging for easier debugging
## Compatibility Matrix
| SimpleSAMLphp Version | Theme Version | Compatibility |
|-----------------------|---------------|---------------|
| 2.0.x - 2.2.1 | 0.2.1 | Full |
| 2.2.2+ | 0.4.0 | Full |1 parent 3a9e8a7 commit 66d2057
File tree
59 files changed
+60875
-0
lines changed- bootstrap
- public/assets
- css
- js
- vendor/bootstrap/5.3.8
- css
- img
- js
- themes/5
- core
- default
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
59 files changed
+60875
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments