aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/WifiCard.js
Commit message (Collapse)AuthorAgeFilesLines
* Allow setting additional cards to print (#275)guicamest2023-08-151-92/+89
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add setting for additional cards to print * Render additional cards to print * Do not render additional cards if amount is less than 1 * Render additional cards when printing * Improve layout for portrait printing * Render eap and identity textfields conditionally so that they dont use space * Use all width in print-area * Change additionalCards setting to Input and react to changes * Allow hiding tip (legend) on card * Print only full cards * Move print-area - not-displayed - to the bottom of the page * Set default ssid back to empty, additional cards to 0 * Lower marginBottom of password field to 5 instead of 24 (default) * Use conditional rendering instead of class to hide password * Set marginBottom to QR code only on portrait mode * Set row-gap to 0 to allow up to 6 cards to fit in portrait mode in A4 * Move hideTip setting right after hiddenSSID
* fix: nopass support (#266)Ben Woodward2023-01-231-8/+15
| | | Fixes #265
* Add support for EAP-PWD (#246)Jan Tatje2022-08-121-3/+46
| | | I also added a German translation of the new strings.
* Always add paddingRight for rtl (#207)Ben Woodward2021-08-281-2/+3
| | | | | | | | | | | | | * :bug: hotfix logo padding for rtl languages * manually run prettier * :bug: fix icons padding * :bug: fix header padding * Always add paddingRight for rtl Co-authored-by: Tokyo <ahmed.tokyo1@gmail.com>
* Support Hidden WiFi networks (#101)olekstomek2021-08-081-1/+1
| | | | | | | | | | | | | | | * ability to set that WiFi network is hidden * fix: hide password checbox hidden chebox with hidden SSID option * improvement, delete constant * merge master * add a setting - the WiFi network can have a hidden SSID * update translation for English and Polish language * change one line translation in Eng, add semicolon in format to connect to WiFi
* Removes direction prop from wificard (#177)Ben Woodward2021-08-061-7/+1
| | | | This was causing a runtime error and isn't necessary. Fixes #172
* Style and code refactor (#166)Ben Woodward2021-08-051-0/+148
* Move all settings below card * refactor components; lifting state up * background color * Evergreen components for everything * password error * Tighten card size * Simply hide password to basic toggle, never disable * Hide password label, too * Maximize mobile portrait width * Make wifi tip smaller * Small style tweaks * Copy: update password length error text to include helpful instructions This will need a backfill for other translations * Remove unused css * Use empty string for EncryptionMode=None value * Remove light.min.css * Include logo on wificard * Cleanup after rebase * Clean-up comments on state * Padding for mobile