From 01c6de0297c2bf58b7ac6536f202f18eb47c3e4e Mon Sep 17 00:00:00 2001 From: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Mon, 7 Feb 2022 10:54:58 +0000 Subject: [PATCH 01/11] Squashed commit of the following: commit c7438018a273a2b995154f806a6a8d9150552624 Merge: c029eb9f3c 0447d164d0 Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Mon Feb 7 10:14:56 2022 +0000 Merge branch 'master' into update-forms-2 commit c029eb9f3c3dd712d582f3319dd82c8aaf4d5b2f Merge: 9881a888be f25a406c51 Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Fri Jan 28 16:09:51 2022 +0000 Merge branch 'update-forms' into update-forms-2 commit f25a406c51594ed598e760c8c9b2856d15edfc2a Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Fri Jan 28 11:09:38 2022 +0000 Use ID if provided otherwise generate one commit d56150dffe11e8863df580e853d6fbe29acc9628 Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Thu Jan 27 23:09:20 2022 +0000 Add random IDs for radio commit fa263e73a915a42a71ff5e5d4681a0fe253850fe Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Thu Jan 27 10:14:30 2022 +0000 Fix port control commit dc2e6832c658a8101f9fb09412f49964223dafcf Merge: 7540afd06f 50a4702f59 Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Thu Jan 27 09:51:19 2022 +0000 Merge branch 'master' into update-forms commit 9881a888be443de837e283a8661bcf1e9efe9354 Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Wed Jan 26 13:53:04 2022 +0000 Add checkboxes container commit d0f9acc55ee848a3320d19a8f3aabe154c4216dc Merge: ea317946e9 7540afd06f Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Wed Jan 26 13:49:16 2022 +0000 Merge branch 'update-forms' into update-forms-2 commit 7540afd06f805d6a2b16ea6d8c9d935623416d96 Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Mon Jan 24 21:55:22 2022 +0000 Fix tooltip being under bottom bar commit e7881dadcced34d64c942b79c68666468272804e Merge: a97db3cebc 0cb248b6bc Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Mon Jan 24 21:54:05 2022 +0000 Merge branch 'master' into update-forms commit a97db3cebc7b207ee3d5ba2370d5fc602e6964cd Merge: 22bc424511 6b5e3d1170 Author: Tim Jacomb Date: Thu Jan 13 08:26:12 2022 +0000 Merge branch 'master' into update-forms commit ea317946e9ab88259b94f5c37c1fc647f0ed6492 Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Sun Jan 9 21:05:03 2022 +0000 Update font sizes commit a6fddf43c0551379176296bc12d296727a176f48 Merge: a9a6b629bb 22bc424511 Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Sun Jan 9 21:03:15 2022 +0000 Merge branch 'update-forms' into update-forms-2 commit 22bc424511bb2658ab9411554dce1f1bbba8aa36 Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Sun Jan 9 21:00:19 2022 +0000 Use form font weight variable commit 3480a6751ba381aaac5d90a8c3b1776a5757e505 Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Sun Jan 9 20:54:53 2022 +0000 Increase size of section headings, decrease weight of radios/checkbox labels, change padding to REM commit a9a6b629bb2e2293dec0f6ca9e17ba92fcfe6f08 Merge: c5d84efbbd 7f63f70d0a Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Sun Jan 9 20:33:10 2022 +0000 Merge branch 'update-forms' into update-forms-2 commit 7f63f70d0a8f76a4c1a883b326f38162c50fa0f1 Merge: 3d250007de 59e0fb69ee Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Sun Jan 9 20:31:45 2022 +0000 Merge branch 'increase-form-width' into update-forms commit 59e0fb69eeee2ccdae2382a2e950f42713152652 Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Sun Jan 9 20:19:26 2022 +0000 Increase widths of form elements (roughly 100 pixels wider) commit 3d250007de1d42e12e48013f3e4c55748c00c21f Author: Tim Jacomb Date: Sun Jan 9 20:18:49 2022 +0000 Fixup repeatableDeleteButton compat commit f47d5e224f869a775a44e4b0effd5ac122e74781 Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Sun Jan 9 17:14:49 2022 +0000 Update job config page width to match inner form components commit fd5a5a7fa211f0f254e96df3536cbd502066dd60 Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Sun Jan 9 16:02:07 2022 +0000 Update settings pages to use app bar component over hardcoded HTML commit 07eb2c3431217d5f96c0fbec54341b9e22e1711b Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Sun Jan 9 15:39:12 2022 +0000 Increase form width commit fa9d13e2a99f9b1eb5372ee365fb050274bc9a22 Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Sun Jan 9 15:38:53 2022 +0000 Update theme.less commit 9ed4affa8e30993608c9769266a242c2c7a4d9d7 Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Sun Jan 9 15:28:41 2022 +0000 Remove title from remove icon commit 9d8cb3b6a027084bb4dca36f453fe63dbc3e5dec Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Sun Jan 9 15:27:08 2022 +0000 Restore trailing newl ine commit 4f00ce48379d7f4588250f1200970b6f58a44fe2 Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Sun Jan 9 15:26:09 2022 +0000 Use app bar tag for configure system page commit 2915caa335848a77c111f74b5fe088900f27ba55 Merge: 4b8e0ff054 64d0f15ee5 Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Sun Jan 9 15:14:43 2022 +0000 Merge branch 'master' into update-forms commit 4b8e0ff05482b115e5f7f01cb1d35d973839a82c Author: Tim Jacomb Date: Sun Jan 9 14:50:16 2022 +0000 Convert html markup for plugins not using jelly tag commit 89f1aba8b26a525767b31d422b2a6982f8b02a7b Author: Tim Jacomb Date: Sun Jan 9 09:35:24 2022 +0000 Correct overriding title for breadcrumb-config-outline commit 45333a0791f7bf29a0e8cfbb32783df99e67422b Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Wed Jan 5 15:01:59 2022 +0000 Undo accidental bracket change commit cd3b14059ec12dffc2fb3afef3c9e5e1cd8d3bb5 Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Wed Jan 5 15:00:26 2022 +0000 Fix YUI menus being hidden by bottom bars commit b7120c48239d730361e7bd4c6c526c31788b85d5 Merge: 8982741422 7e8b5b37f7 Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Wed Jan 5 14:51:41 2022 +0000 Merge branch 'master' into update-forms commit c5d84efbbdedd6d789eec81bc262cb4a888451e0 Merge: 952a3acaab 8982741422 Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Mon Jan 3 13:09:32 2022 +0000 Merge branch 'update-forms' into update-forms-2 commit 89827414222bd73469dd34592bbbdbe20d227c99 Merge: 8b35b58eb8 12ad7a841d Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Sun Jan 2 20:08:09 2022 +0000 Merge branch 'master' into update-forms commit 952a3acaab69f023169d834447147189672d7853 Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Wed Dec 29 22:23:36 2021 +0000 Add columns to env variables commit 0d128dc1d2d242e3553d9ebacfc157220378bf96 Merge: b569503077 8b35b58eb8 Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Wed Dec 29 17:05:07 2021 +0000 Merge branch 'update-forms' into update-forms-2 commit 8b35b58eb85dce639e8417f2114da21aeeeb75c3 Merge: ec71af64ae 8a8c70f04f Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Wed Dec 29 17:04:47 2021 +0000 Merge branch 'master' into update-forms commit b569503077bf585862f52b39d87ec27fffbbd1ff Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Wed Dec 29 14:42:59 2021 +0000 Cleanup toggle switch commit f31ec794de7b262e9910744dd30397c4542c7612 Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Wed Dec 29 13:01:34 2021 +0000 Update input.less commit ec71af64aef8be6700058e27132ee43272f11250 Merge: e28f8a690a f1739945a8 Author: Tim Jacomb Date: Wed Dec 29 08:32:06 2021 +0000 Merge branch 'master' into update-forms commit cd91cff93c131bae683e3c69a50aeba1ddca9687 Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Tue Dec 28 20:29:18 2021 +0000 Add support for description in radios commit bd3028572ac30f5eee21ea9d4f979c0c9b5c565c Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Tue Dec 28 20:08:59 2021 +0000 Split out form files commit ddef35fdd9656fffab518206c4446fb3e49be813 Merge: 4846849b6d e28f8a690a Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Tue Dec 28 19:46:33 2021 +0000 Merge branch 'update-forms' into update-forms-2 commit 4846849b6de5b7ddb5e254636f7e0bca565aff30 Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Tue Dec 28 19:45:32 2021 +0000 Cleanup commit a7b856722d4bb2420150e428aa317f565f60bad5 Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Tue Dec 28 19:41:23 2021 +0000 Remove icon, restore OG Old Data screen commit e28f8a690a9358a1c09bf830d0977d05baed8990 Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Tue Dec 28 19:29:56 2021 +0000 Update autocomplete dropdown style commit f9acb8d8e97931a99c97a640d257c797e2f28cfd Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Tue Dec 28 17:35:59 2021 +0000 Remove unneeded check to improve performance commit 3f8ac70349433ee149e991f6c606c566823321f2 Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Tue Dec 28 17:32:48 2021 +0000 Rewrite checkbox for better performance + improve disabled state commit 5802f110e23e809cd041c032d4ba67b6a0cb030a Merge: a19136922c ecd17cdf99 Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Tue Dec 28 14:13:56 2021 +0000 Merge branch 'update-forms' into update-forms-2 commit ecd17cdf99784d8d4a904f938e9e190298e4a9cb Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Tue Dec 28 14:09:04 2021 +0000 Add disabled states for checkboxes, reduce margin if no label commit 4dba9dfcd4bd9d61f241a30d7477377d25f12577 Merge: c29631391b bc43e373ac Author: Tim Jacomb Date: Tue Dec 28 12:33:36 2021 +0000 Merge branch 'master' into update-forms commit c29631391bd715bf3cb1cbc434d1eb1f7d08a531 Merge: 47d6611133 96c95de6c3 Author: Tim Jacomb Date: Mon Dec 27 09:10:20 2021 +0000 Merge branch 'update-forms' of github.com:janfaracik/jenkins into update-forms commit 47d66111335dcb8069f721331349e5e31443c02b Merge: 2c0eacc103 0e66614b91 Author: Tim Jacomb Date: Mon Dec 27 09:10:12 2021 +0000 Merge branch 'master' into update-forms commit 96c95de6c38f8cf159c796edb6f17a61b18104c1 Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Sun Dec 26 19:28:05 2021 +0000 Reduce token list padding/margin commit a19136922cee2d5d348c2b8335be00543b8414b9 Merge: bac462076a 2c0eacc103 Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Sun Dec 26 15:48:04 2021 +0000 Merge branch 'update-forms' into update-forms-2 commit 2c0eacc103c7a879206ad528dc234d24e861ad78 Author: Tim Jacomb Date: Sun Dec 26 15:29:55 2021 +0000 Set z-index on bottom sticker commit bac462076a7a76fc370b8014ae6d2bc01ff465b3 Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Sat Dec 25 17:38:12 2021 +0000 Update config.jelly commit 08e3e1ddae4a0affc29d8cfada173d33cd94e4e6 Merge: 464e07bbd4 cc50203b9c Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Sat Dec 25 17:36:03 2021 +0000 Merge branch 'update-forms' into update-forms-2 commit cc50203b9c3e76b6c5d5a82b4feabf020e49eb25 Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Fri Dec 24 14:29:13 2021 +0000 Potential fix? commit 41a8e28d9ddcf584bf15686499190efe05cd0e15 Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Fri Dec 24 14:11:01 2021 +0000 Adjust config job page to look better commit a2615d8527da603bb1156caa3547ea6dffd21ef1 Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Fri Dec 24 14:05:41 2021 +0000 Revert titleless entry change, fix gap between draggable items, fix non draggable cards having drag handle commit 49d0f0c2febb56def181065b53adfe01913e7992 Merge: d3914e67c3 86ce50e78f Author: Tim Jacomb Date: Fri Dec 24 07:51:52 2021 +0000 Merge branch 'master' into update-forms commit d3914e67c39810a6b590f085d0d2181b256b9c4b Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Thu Dec 23 19:43:02 2021 +0000 Fix sticky bottom not aligning to left correctly commit e27a8c1736fc37550508eb06cc324bb7549375b5 Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Thu Dec 23 19:40:50 2021 +0000 Fix attach-previous for radios without IDs, add styling for multi-selects, reordeer entry for entries without titles, fix title class for dropdownLists commit 54287e5ef317c46eda6e0251f860703a56384181 Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Thu Dec 23 19:00:05 2021 +0000 Fix legacy attach previous labels commit efdec08f3cc718113535f513ae864eb02d377e13 Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Thu Dec 23 18:41:13 2021 +0000 Update form-element-path.js commit 959979d960e5504b8d385895ae518db8a4af0379 Merge: 0298e43bf1 e16c5eb2ca Author: Tim Jacomb Date: Thu Dec 23 17:11:07 2021 +0000 Merge branch 'master' into update-forms commit 0298e43bf161f5b8f943e9fe151891f27a613ee5 Merge: f91066f5c6 32776717f8 Author: Tim Jacomb Date: Thu Dec 23 17:10:53 2021 +0000 Merge branch 'update-forms' of github.com:janfaracik/jenkins into update-forms commit f91066f5c683ee47d8a1afd539a399c697867285 Author: Tim Jacomb Date: Thu Dec 23 16:54:50 2021 +0000 Bump ATH commit 7c6c56825ce7de61833ae64814d2630df9eeb3c9 Merge: ccf116808d 67cfa954c8 Author: Tim Jacomb Date: Tue Dec 21 15:17:26 2021 +0000 Merge branch 'master' into update-forms commit 464e07bbd4b43eb4fafa28a127c83ec99cac0c07 Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Sun Dec 19 16:41:30 2021 +0000 Update style.less commit 615222f67abed72ad4bef82845c8cec97ef415b4 Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Sun Dec 19 16:40:23 2021 +0000 Add margin to table, initial work on manage old data page commit 267f43a1d9f0d66fae2fa9bb325fe909701083c6 Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Sun Dec 19 15:27:26 2021 +0000 Style more selects, fix margins, make headings slightly smaller with more padding commit bb3a4d297a1f8b075eac5ee3549b6537025222b8 Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Sun Dec 19 15:08:26 2021 +0000 Fix missing select class commit e1716e8a2f3214e1195d4068de19171483b5cc78 Merge: b4661b0ee8 32776717f8 Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Sun Dec 19 14:59:53 2021 +0000 Merge branch 'update-forms' into update-forms-2 commit 32776717f858e0d5d9c3578b4f63deaa18b53b81 Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Sat Dec 18 23:52:00 2021 +0000 Increase max width of components commit f27e7ea9579924be0f89a70078a70cc334699f8d Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Sat Dec 18 20:02:04 2021 +0000 Add resize ability to CodeMirror textboxes commit ccf116808da4f44dfd47d21c2eef3e290346fcc2 Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Tue Dec 14 23:21:39 2021 +0000 Fix YUI menu not showing commit 7eb8a454608a7ac271a07e1bc575c234d456ca68 Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Tue Dec 14 22:12:08 2021 +0000 Update tabbar.js commit 96ba6a7f6a841b195c01881601734c263d32b72b Merge: adc5587581 cd3b1f77c8 Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Tue Dec 14 22:03:18 2021 +0000 Merge branch 'master' into update-forms commit adc55875816b8a366296ff434d7bec08190d40dd Author: Tim Jacomb Date: Mon Dec 13 08:09:48 2021 +0000 Add TODO for important when we can remove it commit 59a680bf5ac3e5c4f9588be7827ea133359e60b3 Author: Tim Jacomb Date: Sun Dec 12 17:49:45 2021 +0000 Fix xss in repeatableDeleteButton commit 53ac7f0553f3c7ab09a6935f6fd147698c7ae934 Author: Tim Jacomb Date: Sun Dec 12 17:05:13 2021 +0000 Update ATH commit 13c96986d493b9b0d8aea59cbbb03196f7343b15 Author: Tim Jacomb Date: Sun Dec 12 16:51:51 2021 +0000 Fix typo commit b4661b0ee8029a36fded972bbd28e219be8e3753 Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Mon Dec 6 15:52:03 2021 +0000 Cleanup commit 3af77d8bb9b6475a8d79d45827e3719976cd24a6 Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Mon Dec 6 11:43:59 2021 +0000 Style CodeMirror commit 005147da0c1c7d40471d77029fef2208b82cd4c3 Merge: 1563e75ded 6d0452fada Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Sun Dec 5 23:47:34 2021 +0000 Merge branch 'update-forms' into update-forms-2 commit 6d0452fada6620ba117feec54bb734e43b0a4e3b Author: Tim Jacomb Date: Sun Dec 5 12:30:05 2021 +0000 Fix tabbar test Not sure if this is correct but the tabs work fine with this commit db144e7d7489908617c77504608de56ed2415f11 Author: Tim Jacomb Date: Sun Dec 5 11:24:21 2021 +0000 Don't use form-element-path commit 6bff25b34de3b510c2f565a9c6886283b7f44e91 Merge: 51e1a0ab54 14a763b4f5 Author: Tim Jacomb Date: Sun Dec 5 11:11:44 2021 +0000 Merge branch 'master' into update-forms commit 51e1a0ab543947dd6d426bbc98aff9226778527f Author: Tim Jacomb Date: Sun Dec 5 09:21:22 2021 +0000 Revert setting-main removal commit df784953b571a9a27d7618e8fcceb7baf8df018d Merge: 0d470d8e74 85e97a45da Author: Tim Jacomb Date: Fri Dec 3 08:35:31 2021 +0000 Merge branch 'update-forms' of github.com:janfaracik/jenkins into update-forms commit 0d470d8e740d37c9e19447d537495207f01f4781 Author: Tim Jacomb Date: Fri Dec 3 08:35:17 2021 +0000 Minor tweaks doesn't work though commit 85e97a45da2e121973f4fab8404bd073cbc0a8a4 Merge: 22422b95f2 5f6fccf786 Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Thu Dec 2 21:19:42 2021 +0000 Merge branch 'update-forms' of https://github.com/janfaracik/jenkins into update-forms commit 22422b95f2de3127a76235fa6efe17b960af9277 Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Thu Dec 2 21:19:39 2021 +0000 Update repeatable.js commit 5f6fccf78667735a35d1d4678449a535f2f6b375 Author: Tim Jacomb Date: Thu Dec 2 09:05:34 2021 +0000 Fix repeatable buttons test commit ebd5bc41242388c4cf2a5f8e4d3ca2ba4de67807 Author: Tim Jacomb Date: Thu Dec 2 08:30:30 2021 +0000 Fix some tests commit 7e5f10ca99e1b9c7f0d9e0b198a3c34b1a849dbe Merge: 62a8614679 da7935d6cc Author: Tim Jacomb Date: Wed Dec 1 20:54:58 2021 +0000 Merge branch 'master' into update-forms commit 62a8614679db06b4b9b9297f1d91f38022fc769c Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Wed Dec 1 15:54:50 2021 +0000 Adjust padding, adjust sizes commit 19a04e81ece0139e0df375f011ec916a8e38ba8d Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Tue Nov 30 15:54:35 2021 +0000 Even out spacing, rough fix for dropdowns commit 1563e75ded7237e58a9087adb33344f17c42c038 Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Tue Nov 30 13:59:12 2021 +0000 Restyle new user form/user passwords commit a1aeca23de9133ab961274c3ea7e200c99057341 Merge: 55402faf53 72340095b0 Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Tue Nov 30 11:27:19 2021 +0000 Merge branch 'update-forms' into update-forms-2 commit 72340095b05a0c52533966b1b6acfec6b433183a Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Tue Nov 30 10:54:00 2021 +0000 Fix help showing in the wrong spot commit 88e1017c601cd8237d6cab7dbbee7ca86a8d7f3f Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Tue Nov 30 10:03:52 2021 +0000 Fix additional paddings at bottom of forms/optional blocks commit f120f18637351fe58328d4f6837f233def5ad3f6 Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Tue Nov 30 00:24:38 2021 +0000 Use ionicon checkmark instead of default font - :100: consistency commit 3145f9f81d6c0584d0b11276369d3c99f483af9b Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Tue Nov 30 00:15:47 2021 +0000 Update `select` component to use ionicon chevron instead commit dd53979cfc5407f3c1b05a8a8f646325bd35e8f2 Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Mon Nov 29 20:56:03 2021 +0000 More comprehensive solution for checkbox spacing commit be68cd1449a65d3ea3f9c3df5e8c4128ed0dfd23 Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Mon Nov 29 20:37:55 2021 +0000 Style combobox, fix spacing issues for Maven Config commit 4a44304e5b30b97f411cc4bc6139e7795761f684 Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Mon Nov 29 20:19:35 2021 +0000 Fix checkbox help alignment, add theme support for YUI modals commit 5566a69d3ddf980dd88b9deee9b9a9d80ca141d0 Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Mon Nov 29 14:56:34 2021 +0000 WB: Restyle draggable cards commit 55402faf53425a8caab05abf1d5efacb5f20524c Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Sun Nov 28 16:19:16 2021 +0000 Initial commit 0b1d8ed80200aa00dee3b1694b42e06624512d8c Merge: 9281ae82c6 d2fa876062 Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Sun Nov 28 16:13:13 2021 +0000 Merge branch 'master' into update-forms commit 9281ae82c6ee43013cb4f226d6d57d1919053b16 Author: Tim Jacomb Date: Fri Nov 26 08:06:56 2021 +0000 Use form element path to make test less fragile commit f7b8e982f76582e6c42846c58045afcf91b6e77b Merge: 1f509d6843 b55eb6b512 Author: Tim Jacomb Date: Thu Nov 25 08:47:52 2021 +0000 Merge branch 'master' into update-forms commit 1f509d68431b53b4a1ef77633c33105e90571389 Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Tue Nov 23 21:07:39 2021 +0000 Update global.properties commit 78735a6fe9c08013d8e54a8a2f1e2993ccc03927 Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Mon Nov 22 22:46:09 2021 +0000 Restore missing description for administrative monitors commit 40191ec92e74c918f495d20a25fa634f8aefb3d8 Merge: 4a8e448378 65b9f1cf51 Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Mon Nov 22 22:35:13 2021 +0000 Merge branch 'master' into update-forms commit 4a8e44837870d3b5dcb90edba71fe3492410b5d4 Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Mon Nov 22 22:29:55 2021 +0000 Adjust description margin/line height, make help button slightly large/more visible, remove hardcoded description text commit ae97a26e1ea325117f10334c391181ef3a580673 Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Mon Nov 22 20:35:30 2021 +0000 Fix post build action radio not working commit 22900aca93304bdc069fad653c88a8bfb3193e2b Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Mon Nov 22 18:30:51 2021 +0000 Update theme.less commit 73f38f0e087d47181ad01a905d11e2c9c2bc6110 Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Sat Nov 20 17:01:22 2021 +0000 Fix selects widths being overridden by plugins :anger: commit bb3200073b76f1ffa73fae83bc043c71ba363849 Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Sat Nov 20 16:54:40 2021 +0000 Fix missing tabs (I want to replace all of this functionality before end of December) commit 998071640483f7c2b44fa9db687f634af01dd7fc Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Sat Nov 20 16:24:22 2021 +0000 Fix checkboxes not having focus states commit 49a71d3aabf32bff8cec1cf5c0766906d5967075 Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Thu Nov 18 22:39:47 2021 +0000 Reduce checkbox padding significantly (this was v painful) commit 03cac28296bd76907fd09b0c088d9b4d946ffa21 Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Thu Nov 18 21:04:19 2021 +0000 Still has debug code commit 0023d7e4187c52001c7cf586967c3c1c8785d1a1 Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Thu Nov 18 20:13:59 2021 +0000 Fix spacing of some elements commit 5228845d4ad5d6c361d225b6d6acd36640436418 Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Tue Nov 16 19:20:56 2021 +0000 Fix being able to POST configure node page (should fix some unit tests too) commit e9d50f93585ca5df531436f3832b320030d13102 Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Tue Nov 16 17:27:34 2021 +0000 Fix one test commit 3e5bb7a4808ed77a3ec7f40e995910d8dad3309a Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Mon Nov 15 20:51:51 2021 +0000 Fix copyright, remove theme change commit 7892e6c822d482f77e09960d7dd2fbeccad4cff3 Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Mon Nov 15 20:10:01 2021 +0000 Fix misaligned badges commit 74274f44edb3a3fce3e60a8268ed85b34e8480c5 Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Mon Nov 15 20:06:43 2021 +0000 Update base-styles-v2.less commit aa2cb1bdb84ba7d1d9d3f61559862937e0fd55ed Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Mon Nov 15 20:05:24 2021 +0000 Update hudson-behavior.js commit 20ed27cfea0f01ff494c9213d56fb006771a1f43 Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Mon Nov 15 19:57:52 2021 +0000 Update hudson-behavior.js commit 46c2a78af06f139d9f0e8bb42c4099eb27e9b8a6 Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Mon Nov 15 19:50:29 2021 +0000 Update hudson-behavior.js commit 422242e5f9a31b075c87814ce4b31a5b2dfd823c Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Mon Nov 15 19:44:23 2021 +0000 28,276.56 commit 97278e35fc298e702812919304d590ae0865d8b8 Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Mon Nov 15 13:05:43 2021 +0000 Reset commit 8f8c39b6d1cdb0cf116feda5609933b4e0d1f7b6 Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Mon Nov 15 01:00:51 2021 +0000 Update configure.jelly commit b809cc151be3fb18eb38dacdaba40475aae2bd93 Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Mon Nov 15 00:25:13 2021 +0000 Fix ? button commit 3dd0e914c88dcf210510b2e19904cf2ae141b2ee Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Mon Nov 15 00:23:06 2021 +0000 Fix checkbox text misalignment commit 2e5c9c97e74cc0078a84c11e5b8f0f2e95fbf370 Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Mon Nov 15 00:13:50 2021 +0000 Update hudson-behavior.js commit e72b5fd7edde64fa0a52ae188d0cfd6dceaeebba Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Mon Nov 15 00:02:49 2021 +0000 Fix commit f07f81cf3d3da020eea4b5959a7b7f0fbac06621 Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Sun Nov 14 23:32:44 2021 +0000 Fix commit 8c00e8910583d2b55804a650dccdaf7ddf8a9d49 Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Sun Nov 14 23:19:06 2021 +0000 Update index.groovy commit cce4f8ad6e6776e0714f3678f868dfb1a6cc44a3 Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Sun Nov 14 22:37:40 2021 +0000 Update section.less commit d5ce1cf6462b389f5a8023b2146332455df66068 Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Sun Nov 14 22:29:47 2021 +0000 Attempt at styling Global Tool Configuration commit 9bfb49f1e0577da89b7355cf3db19e49830aa16d Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Sun Nov 14 22:23:06 2021 +0000 Update configure.jelly commit d63997aef0e198cfa80e89b959c459da88a0c3dc Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Sun Nov 14 22:15:26 2021 +0000 Fix broken submission commit 875b78171831f975e90f95fd829b5516db2505fa Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Sun Nov 14 22:09:07 2021 +0000 Little cleanup commit a724bf22a80d742ba327efdb51411056a09aa174 Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Sun Nov 14 22:01:01 2021 +0000 Update entry.jelly commit c282ba2d1d41cc5becc181fb70f187eb5657d552 Merge: 1298ce9d74 5bb9fdf2a5 Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Sun Nov 14 22:00:05 2021 +0000 Merge branch 'master' into update-forms commit 1298ce9d745597457690876040ce8d2c62a53b08 Merge: b051f4f118 cee0d06770 Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Wed Nov 10 11:03:27 2021 +0000 Merge branch 'master' into update-forms commit b051f4f118c9e6937245097a60431ba3738590bd Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Sat Nov 6 12:32:34 2021 +0000 cleanup TCP ip commit ac1b0969aa6934718549726c271c180d767b372f Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Sat Nov 6 11:56:20 2021 +0000 Cleanup commit 7fb61fb826b4d3c314bad40fd90053155dd2dc32 Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Sat Nov 6 00:47:35 2021 +0000 Fix commit cea8325b7436fdcb6404274ed7d8bca9d4f1ad76 Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Sat Nov 6 00:03:16 2021 +0000 Radio optional blocks now animate in/out commit 1c09b8d41c0bb8b5b9bd5aa97036620fe6b70779 Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Fri Nov 5 23:49:31 2021 +0000 Update radioBlock.jelly commit 93ffeaf4ceae24ff50d26b6a369c0ba201f16cf0 Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Fri Nov 5 23:48:22 2021 +0000 Update form.less commit ae7b9180bcd63a66be7820af14c779102e5f43a4 Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Fri Nov 5 20:10:19 2021 +0000 New job input is now styled commit 5876c3800a53393396fb1631402bf055b4872e26 Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Fri Nov 5 20:03:33 2021 +0000 Radio content now animates too! commit 9973c7118e36ad0a3764da611cbbaa954317f9fe Merge: 177c259cd2 5537928a19 Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Fri Nov 5 19:39:26 2021 +0000 Merge branch 'fix-project-config-page-tabs' into update-forms commit 5537928a1908897113023c45fd723a1f4cd9a923 Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Fri Nov 5 19:32:05 2021 +0000 Init commit 177c259cd2a2bc4031ea33d5b820765ad550c31b Merge: 7eba6bc436 79742deb22 Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Tue Oct 26 22:04:14 2021 +0100 Merge branch 'new-new-view-page' into update-forms commit 79742deb22b0d31c3c792a57c05988cf0a4e7bdb Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Tue Oct 26 22:02:59 2021 +0100 Fix missing help buttons and help buttons that only show as ? commit c1dc2122713caac3a0150072805049185bf370a7 Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Tue Oct 26 21:42:30 2021 +0100 Add min width/height to help button to ensure it doesnt get squished commit 7eba6bc436e01aff17a4fe9e384eb1a2c97aab8f Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Tue Oct 26 21:38:59 2021 +0100 Restore section functionality commit 122065f437cad209025c6a226f2625f8a3d3b25d Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Tue Oct 26 21:33:28 2021 +0100 Update hudson-behavior.js commit 9ab33f27aa780e0d3be1e982e60b8f9df047f3d5 Merge: 9dba04301a 5d6476c7a2 Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Tue Oct 26 20:51:15 2021 +0100 Merge branch 'new-new-view-page' into update-forms commit 5d6476c7a203b4627142dba47ef1b19e216466c3 Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Tue Oct 26 20:48:50 2021 +0100 Fix checkbox label not appearing next to checkbox commit 70782b148c3be104fdc03fca71f936f4c84834c6 Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Tue Oct 26 20:26:46 2021 +0100 Fix Global Credentials' Verify Configuration button being hidden by the floating submit bar commit 74d66324e1e9dac22991069709be663187ec679c Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Tue Oct 26 20:09:50 2021 +0100 Update description of ID attribute for form - thanks @timja Co-authored-by: Tim Jacomb <21194782+timja@users.noreply.github.com> commit 8810c275a27cca5cbb9565c7ea816cf22c98d338 Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Mon Oct 25 20:34:39 2021 +0100 Delete button style - it'll be updated in future buttons MR commit 9dba04301abb3e463aa5c2ad1475fc6975e4d6d4 Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Mon Oct 25 18:38:08 2021 +0100 Rename handle commit 6ed44c60a7f8a83df60e66b9e7cb8e108a32e870 Merge: c3208af899 e894c56add Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Sun Oct 24 21:14:36 2021 +0100 Merge branch 'new-new-view-page' into update-forms commit e894c56addae94520d01833e6fb1c94432231d2b Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Sun Oct 24 21:08:27 2021 +0100 Draggable cards now have a max width commit a1cc00316843cc015183fb3f6cfb7da9b9804d7f Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Sun Oct 24 21:00:51 2021 +0100 Fix error/warning icon commit c3208af8994f6e31a0e0d8f8d0dc0e1804298b0a Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Sun Oct 24 14:12:27 2021 +0100 Getting there... commit b8b894c858cadb93295e164fd4ba12eaa803042a Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Sat Oct 23 23:02:11 2021 +0100 Getting there... commit 1a55c92ffa5c577311a4e40849e49fc12fb03f38 Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Sat Oct 23 21:11:26 2021 +0100 Big config page cleanup commit 7a302b4f33f9d9179aa931bafab87f84ab8ae64f Merge: 4d8174ab2d 15876639b8 Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Sat Oct 23 20:24:33 2021 +0100 Merge branch 'new-new-view-page' into update-forms commit 15876639b8a7e336fcdbd36a8db31bbc7666a3af Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Fri Oct 22 21:57:14 2021 +0100 Move JS out of html commit bbf2cc1b9a9d1a8fbdd5d79327a105d1aa2225ba Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Fri Oct 22 21:46:49 2021 +0100 Extract more props into variables, fin? commit 1a6662c2aef13363100edf72fc2f8c3ec70dad7f Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Fri Oct 22 21:33:57 2021 +0100 Move radius to CSS variables, rename help button to be consistent commit 26423de3022243a9c6c0f985f0943797fdfaeacf Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Fri Oct 22 21:28:41 2021 +0100 Move some props to CSS variables commit 4d8174ab2df842fbf8f52b12a6148e5ee3b9a5af Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Fri Oct 22 20:51:46 2021 +0100 Update form.less commit 3aa9787bbf6a87823e620f8c51cc02c495859381 Merge: ce43a00a53 3a1980e8cb Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Fri Oct 22 20:51:28 2021 +0100 Merge branch 'new-new-view-page' into update-forms commit 3a1980e8cb0162adbd1b5f9eced9a639d61c8bf0 Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Fri Oct 22 20:50:43 2021 +0100 Add focus state to (?) button commit 32fddacef523262f140740e8cfb1bbfc7b084ddf Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Fri Oct 22 19:31:16 2021 +0100 Add form item width variable commit b8d574e5de2e3f66afb49876a1cc030f1cd29903 Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Fri Oct 22 19:17:24 2021 +0100 Add max-width none to fix pipeline editor commit e77882d6b10bc4f512385f7b76e4cad0d132206a Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Fri Oct 22 18:44:54 2021 +0100 Fix failing unit tests commit acd5c19e4ff15fcf78e138b90dfbdc4d0a4ffc74 Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Fri Oct 22 16:24:59 2021 +0100 Fix Azure inputs commit 0a4ecee9c246b621127ac147dc198be2ff525001 Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Fri Oct 22 16:14:14 2021 +0100 Fix help button not working on pipeline page, improves background of help container commit ab8517a15f229847eb02b6befb12a65ccfa066e4 Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Fri Oct 22 14:46:41 2021 +0100 Add tooltip to help button commit db504c7bad430ae0ad59878d9ad1b1860f906d2e Merge: fadba5a60b d738127bc3 Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Fri Oct 22 14:18:12 2021 +0100 Merge branch 'master' into new-new-view-page commit fadba5a60bd3d4d0640461a9428d42797831e4b1 Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Fri Oct 22 13:32:26 2021 +0100 Move help-button to form.less, restyle help box commit dc4a6ede25ef5b180ccb6107b21128757c0cf0fc Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Fri Oct 22 13:26:09 2021 +0100 Move help link to left, restyle it, decrease spacing between components, shrink header a touch commit ce43a00a5349d6117721c138cf39e6ed694b4877 Merge: 275c7da08a 5032586300 Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Thu Oct 21 19:57:52 2021 +0100 Merge branch 'new-new-view-page' into update-forms commit 503258630024629a375a4f625e11fdaa5810401d Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Thu Oct 21 19:47:49 2021 +0100 Update form.less commit 33dc0047757e378d2396d8777fc4d09f9b18a689 Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Thu Oct 21 19:45:37 2021 +0100 Style number inputs too commit 6dbda766891de79ffee133f727fb909ef7ee05b0 Merge: 3eb5b63125 417177d42c Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Thu Oct 21 19:40:20 2021 +0100 Merge branch 'new-new-view-page' of https://github.com/janfaracik/jenkins into new-new-view-page commit 3eb5b6312506f7ed6945f7d9bca90f4fdc8d38b4 Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Thu Oct 21 19:40:13 2021 +0100 Add page title for New Node page commit 417177d42cee58cd2e360fca35cc010924ecbba2 Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Thu Oct 21 19:40:00 2021 +0100 Apply suggestions from code review Co-authored-by: Tim Jacomb <21194782+timja@users.noreply.github.com> commit 7cddfd316fb1a1e18510a79f1e350959cca75450 Merge: 281b2bda67 6adc9c0519 Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Thu Oct 21 11:58:42 2021 +0100 Merge branch 'master' into new-new-view-page commit 275c7da08a92aaba048d9dbff39896850ff55ee2 Merge: 304ba88591 281b2bda67 Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Sun Oct 10 22:17:02 2021 +0100 Merge branch 'new-new-view-page' into update-forms commit 281b2bda670a9be429c49ba376aef56a242a4f7e Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Sun Oct 10 22:07:38 2021 +0100 Animate in/out radio children commit 138fe14547c5d5a8d6a9122752cbfea038f6f45a Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Sun Oct 10 21:51:37 2021 +0100 Update form.less commit b2ef80ef65f89d1244b4469210ec6da468f9b611 Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Sun Oct 10 21:50:25 2021 +0100 Use search bar instead of input commit 304ba88591f68b33554fa139c55a52b9826e0c01 Merge: 1d3a03dce4 dff84c519c Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Sun Oct 10 20:55:02 2021 +0100 Merge branch 'new-new-view-page' into update-forms commit dff84c519c789bc3778377e67a34abf7d23fd3f5 Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Sun Oct 10 20:54:34 2021 +0100 Update new node page commit 1e2b8c07af0a80a5a5f5c2a4179a2be761789b0f Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Sun Oct 10 18:03:21 2021 +0100 Update form.jelly commit 60e0040ef953ece8d80477609eeda754d3b92a8f Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Fri Oct 8 15:29:34 2021 +0100 Update entry.jelly commit b5bfaa35819c80a5283a43e250126c19b5077ed3 Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Fri Oct 8 15:15:52 2021 +0100 Add locale commit b40ccad630f15b305aadca9a624debae8a2e7703 Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Fri Oct 8 15:13:35 2021 +0100 Update hudson-behavior.js commit 5835e66ed7b2dcab4f497fca4b2a6fc09cd7eef7 Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Fri Oct 8 13:42:07 2021 +0100 Update style.less commit 367a2e15e6f06869962685a3271d2a6bac58e8f9 Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Fri Oct 8 13:41:34 2021 +0100 Update field, add back inline error commit 1d3a03dce409f2b6447a0c0df5968a5f6845dc10 Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Fri Oct 8 13:03:15 2021 +0100 More commit e434ecb4f8374d0c287ec157125b00005fb132e3 Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Fri Oct 8 00:02:58 2021 +0100 Improve search in header commit dbc1b2f20ea55ee17267c0d6af7f8c82c752d2a9 Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Thu Oct 7 23:55:58 2021 +0100 Update form.less commit 2cd5ffe74296f900c42d46cebd859e2e43eacff3 Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Thu Oct 7 23:33:04 2021 +0100 Replace setting-input with jenkins-input commit 458b29c8db4ffc4d25439880ceae9f2132b6eb76 Merge: 16cf101ad8 8799f5f5e7 Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Thu Oct 7 22:57:59 2021 +0100 Merge branch 'remove-unused-assets' into update-forms commit 16cf101ad807a5b628553c454bc9b6aaad58b87b Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Thu Oct 7 22:57:55 2021 +0100 Initial commit 5baf1be02def138708f3c4f83a8c19618d5d8d43 Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Thu Oct 7 22:29:18 2021 +0100 Add toggle switch, add title commit 00eac4f36ee9fa2d4f36ea26dc7a627c166a6cc5 Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Thu Oct 7 22:22:33 2021 +0100 Add checkbox styling commit ddd81ee8a21429525ffc925b0ec044314aa186f3 Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Thu Oct 7 22:11:28 2021 +0100 Initial commit 2bd13ec2ed9e2a56c77032fd839bd541b0e48b43 Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Thu Oct 7 21:15:09 2021 +0100 Add properties commit d471735cca6db5eb01112f131abe0c37f0234513 Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Thu Oct 7 21:05:08 2021 +0100 Update colours to have blue hue, correct radio focus commit f2149db29c9ad88b505cddd730c86cda688a09c2 Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Thu Oct 7 20:57:01 2021 +0100 Redo form commit 170f87e8cad503b4d34c49be02e6caaf59afc6ff Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Thu Oct 7 19:51:47 2021 +0100 Reset commit 0d38bb01089ebe2ff8e7b2f9fc9ad65befce7438 Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Thu Oct 7 19:50:18 2021 +0100 Update newJob.jelly commit 10702e34d6d4cb36e68ca36a1617a3ef3a085986 Merge: 3d6d8ffaaf 956ff65e26 Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Thu Oct 7 19:47:17 2021 +0100 Merge remote-tracking branch 'origin/page-titles' into new-new-view-page commit 8799f5f5e75f648df15debf6bfc0c81a54abfd4c Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Wed Oct 6 08:50:41 2021 +0100 Remove unused menu arrows/breadcrumb gif commit 1ef07d98e01e9e0e7e4315a8485aaac5bdd28a87 Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Sun Oct 3 21:18:01 2021 +0100 Update style.less commit ae30f327c3d6596ca9e03d5c4d598a33305f364e Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Sun Oct 3 21:08:51 2021 +0100 Removed mask-icon, removed Jenkins svg commit ba98591c67577a8badcae6fdd8399735c6e4692f Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Sun Oct 3 20:12:04 2021 +0100 Remove unused assets commit 956ff65e26a09759773cd9e194232e880fb30254 Author: Jan Faracik Date: Mon Aug 16 20:39:03 2021 +0100 Getting there... commit 88f4c623d6611daba334432c12adb8ba154b1308 Author: Jan Faracik Date: Mon Aug 16 13:58:55 2021 +0100 input commit 6b51ea5f91880c17427b473e3566bffd2cfd7285 Author: Jan Faracik Date: Mon Aug 16 10:01:33 2021 +0100 Initial --- .../hudson/PluginManager/advanced.jelly | 4 +- .../hudson/cli/CLIAction/command.jelly | 7 +- .../hudson/cli/CLIAction/example.jelly | 10 - .../hudson/cli/CLIAction/index.jelly | 4 +- .../diagnosis/OldDataMonitor/manage.jelly | 5 +- .../model/RunParameterDefinition/config.jelly | 16 +- .../Details/config.jelly | 8 +- .../_entryForm.jelly | 92 +- .../config.jelly | 14 +- .../DownloadFromUrlInstaller/config.jelly | 12 +- .../ToolLocationNodeProperty/config.jelly | 23 +- .../main/resources/lib/form/checkboxes.jelly | 40 + core/src/main/resources/lib/form/radio.jelly | 8 + .../main/resources/lib/form/radioBlock.jelly | 8 + .../resources/lib/form/textarea/textarea.js | 1 - .../resources/lib/hudson/scriptConsole.jelly | 24 +- war/src/main/js/widgets/config/tabbar.less | 9 - war/src/main/less/abstracts/theme.less | 1 + war/src/main/less/base-styles-v2.less | 10 +- war/src/main/less/base/style.less | 14 +- war/src/main/less/base/typography.less | 18 +- war/src/main/less/form/checkbox.less | 143 ++++ war/src/main/less/form/codemirror.less | 33 + war/src/main/less/form/input.less | 22 + war/src/main/less/form/layout.less | 146 ++++ war/src/main/less/form/radio.less | 123 +++ war/src/main/less/form/search.less | 112 +++ war/src/main/less/form/select.less | 66 ++ war/src/main/less/form/toggle-switch.less | 95 +++ war/src/main/less/modules/app-bar.less | 10 +- war/src/main/less/modules/form.less | 798 ------------------ war/src/main/less/modules/table.less | 1 + .../main/webapp/scripts/hudson-behavior.js | 1 - 33 files changed, 930 insertions(+), 948 deletions(-) create mode 100644 core/src/main/resources/lib/form/checkboxes.jelly create mode 100644 war/src/main/less/form/checkbox.less create mode 100644 war/src/main/less/form/codemirror.less create mode 100644 war/src/main/less/form/input.less create mode 100644 war/src/main/less/form/layout.less create mode 100644 war/src/main/less/form/radio.less create mode 100644 war/src/main/less/form/search.less create mode 100644 war/src/main/less/form/select.less create mode 100644 war/src/main/less/form/toggle-switch.less delete mode 100644 war/src/main/less/modules/form.less diff --git a/core/src/main/resources/hudson/PluginManager/advanced.jelly b/core/src/main/resources/hudson/PluginManager/advanced.jelly index 5155ca71ecd3..49e5e8078624 100644 --- a/core/src/main/resources/hudson/PluginManager/advanced.jelly +++ b/core/src/main/resources/hudson/PluginManager/advanced.jelly @@ -62,12 +62,12 @@ THE SOFTWARE. ${%deploytext} - +

${%Or}

+ class="validated" checkUrl="'checkPluginUrl?value='+this.value"/> diff --git a/core/src/main/resources/hudson/cli/CLIAction/command.jelly b/core/src/main/resources/hudson/cli/CLIAction/command.jelly index 53bfdeb07830..51cd87c5ffea 100644 --- a/core/src/main/resources/hudson/cli/CLIAction/command.jelly +++ b/core/src/main/resources/hudson/cli/CLIAction/command.jelly @@ -24,13 +24,10 @@ THE SOFTWARE. - + -

- - Command ${command.name} -

+

Command ${command.name}

diff --git a/core/src/main/resources/hudson/cli/CLIAction/example.jelly b/core/src/main/resources/hudson/cli/CLIAction/example.jelly
index 5a4c4cef320f..bbf147224a9a 100644
--- a/core/src/main/resources/hudson/cli/CLIAction/example.jelly
+++ b/core/src/main/resources/hudson/cli/CLIAction/example.jelly
@@ -24,16 +24,6 @@ THE SOFTWARE.
 
 
 
-  
-    
-  
   
java -jar jenkins-cli.jar -s ${h.inferHudsonURL(request)} -webSocket ${commandArgs}
diff --git a/core/src/main/resources/hudson/cli/CLIAction/index.jelly b/core/src/main/resources/hudson/cli/CLIAction/index.jelly index 29067da07fad..c3a0b817befb 100644 --- a/core/src/main/resources/hudson/cli/CLIAction/index.jelly +++ b/core/src/main/resources/hudson/cli/CLIAction/index.jelly @@ -24,7 +24,7 @@ THE SOFTWARE. - +
@@ -34,7 +34,7 @@ THE SOFTWARE.
-

+

${%blurb(rootURL)}

diff --git a/core/src/main/resources/hudson/diagnosis/OldDataMonitor/manage.jelly b/core/src/main/resources/hudson/diagnosis/OldDataMonitor/manage.jelly index 276ecde22964..9cd52a3d8f3f 100644 --- a/core/src/main/resources/hudson/diagnosis/OldDataMonitor/manage.jelly +++ b/core/src/main/resources/hudson/diagnosis/OldDataMonitor/manage.jelly @@ -28,8 +28,9 @@ THE SOFTWARE.

${%Manage Old Data}

-

${%blurb.1}

-

${%blurb.2}

+

${%blurb.1}

+

${%blurb.2}

+ diff --git a/core/src/main/resources/hudson/model/RunParameterDefinition/config.jelly b/core/src/main/resources/hudson/model/RunParameterDefinition/config.jelly index 0699a382603c..3a8cd54c85fb 100644 --- a/core/src/main/resources/hudson/model/RunParameterDefinition/config.jelly +++ b/core/src/main/resources/hudson/model/RunParameterDefinition/config.jelly @@ -35,12 +35,14 @@ THE SOFTWARE. - - + ${%All Builds} + ${%Completed Builds Only} + ${%Successful Builds Only} + ${%Stable Builds Only} + - \ No newline at end of file + diff --git a/core/src/main/resources/hudson/security/HudsonPrivateSecurityRealm/Details/config.jelly b/core/src/main/resources/hudson/security/HudsonPrivateSecurityRealm/Details/config.jelly index 02c43b5764d0..e1f512a3f46f 100644 --- a/core/src/main/resources/hudson/security/HudsonPrivateSecurityRealm/Details/config.jelly +++ b/core/src/main/resources/hudson/security/HudsonPrivateSecurityRealm/Details/config.jelly @@ -24,10 +24,10 @@ THE SOFTWARE. - - + + - - + + diff --git a/core/src/main/resources/hudson/security/HudsonPrivateSecurityRealm/_entryForm.jelly b/core/src/main/resources/hudson/security/HudsonPrivateSecurityRealm/_entryForm.jelly index 3a0bd5627b17..e30c8fcf8931 100644 --- a/core/src/main/resources/hudson/security/HudsonPrivateSecurityRealm/_entryForm.jelly +++ b/core/src/main/resources/hudson/security/HudsonPrivateSecurityRealm/_entryForm.jelly @@ -24,7 +24,7 @@ THE SOFTWARE. - + Context where the page is loaded. @@ -43,50 +43,50 @@ THE SOFTWARE. -

${title}

-
- -
- ${data.errorMessage} -
-
- -
- ${error.value} -
-
-
${%Type}
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
${%Username}:
${%Password}:
${%Confirm password}:
${%Full name}:
${%E-mail address}:
${%Enter text as shown}: -
- [${%captcha}] -
+
+
+

${title}

+
+ + +
+ ${data.errorMessage} +
+
+ + +
+ ${error.value} +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ [${%captcha}] +
+
diff --git a/core/src/main/resources/hudson/slaves/EnvironmentVariablesNodeProperty/config.jelly b/core/src/main/resources/hudson/slaves/EnvironmentVariablesNodeProperty/config.jelly index a97222848442..2bbdee3b9441 100644 --- a/core/src/main/resources/hudson/slaves/EnvironmentVariablesNodeProperty/config.jelly +++ b/core/src/main/resources/hudson/slaves/EnvironmentVariablesNodeProperty/config.jelly @@ -26,19 +26,15 @@ THE SOFTWARE. xmlns:l="/lib/layout" xmlns:t="/lib/hudson" xmlns:f="/lib/form"> - - +
+ - + - -
- -
-
-
+ +
diff --git a/core/src/main/resources/hudson/tools/DownloadFromUrlInstaller/config.jelly b/core/src/main/resources/hudson/tools/DownloadFromUrlInstaller/config.jelly index b6b3869ef0fe..07754af4097d 100644 --- a/core/src/main/resources/hudson/tools/DownloadFromUrlInstaller/config.jelly +++ b/core/src/main/resources/hudson/tools/DownloadFromUrlInstaller/config.jelly @@ -31,11 +31,13 @@ THE SOFTWARE. - +
+ +
diff --git a/core/src/main/resources/hudson/tools/ToolLocationNodeProperty/config.jelly b/core/src/main/resources/hudson/tools/ToolLocationNodeProperty/config.jelly index 5a38fbd626e1..14da095e3492 100644 --- a/core/src/main/resources/hudson/tools/ToolLocationNodeProperty/config.jelly +++ b/core/src/main/resources/hudson/tools/ToolLocationNodeProperty/config.jelly @@ -28,24 +28,21 @@ - +
+ +
- -
- -
-
+
- diff --git a/core/src/main/resources/lib/form/checkboxes.jelly b/core/src/main/resources/lib/form/checkboxes.jelly new file mode 100644 index 000000000000..b76908070b83 --- /dev/null +++ b/core/src/main/resources/lib/form/checkboxes.jelly @@ -0,0 +1,40 @@ + + + + +
+
+ + ${title} + +
+ ${description} +
+
+ +
+
+
+
diff --git a/core/src/main/resources/lib/form/radio.jelly b/core/src/main/resources/lib/form/radio.jelly index 6df5cfbe5454..9152d6854733 100644 --- a/core/src/main/resources/lib/form/radio.jelly +++ b/core/src/main/resources/lib/form/radio.jelly @@ -42,6 +42,9 @@ THE SOFTWARE. If specified, this human readable text will follow the radio, and clicking this text also toggles the radio. + + Description text for the radiobutton, visible below the title. +
@@ -49,6 +52,11 @@ THE SOFTWARE. id="${itemId}" value="${attrs.value}" checked="${attrs.checked?'true':null}" disabled="${readOnlyMode?'true':null}" /> + +
+ ${description} +
+
diff --git a/core/src/main/resources/lib/form/radioBlock.jelly b/core/src/main/resources/lib/form/radioBlock.jelly index 93b2853f2bea..c9b065d2c0f5 100644 --- a/core/src/main/resources/lib/form/radioBlock.jelly +++ b/core/src/main/resources/lib/form/radioBlock.jelly @@ -40,6 +40,9 @@ THE SOFTWARE. Human readable label text to be rendered next to the radio button. + + Description text for the radiobutton, visible below the title. + Should this control be initially checked or not? @@ -69,6 +72,11 @@ THE SOFTWARE. + +
+ ${description} +
+
diff --git a/core/src/main/resources/lib/form/textarea/textarea.js b/core/src/main/resources/lib/form/textarea/textarea.js index a859c37b047d..300d69d51d3b 100644 --- a/core/src/main/resources/lib/form/textarea/textarea.js +++ b/core/src/main/resources/lib/form/textarea/textarea.js @@ -27,7 +27,6 @@ Behaviour.specify("TEXTAREA.codemirror", 'textarea', 0, function(e) { }; } var scroller = codemirror.getScrollerElement(); - scroller.setAttribute("style","border:1px solid black;"); scroller.style.height = h+"px"; // the form needs to be populated before the "Apply" button diff --git a/core/src/main/resources/lib/hudson/scriptConsole.jelly b/core/src/main/resources/lib/hudson/scriptConsole.jelly index 4bb4f0b57ea3..bd1fc23aacb5 100644 --- a/core/src/main/resources/lib/hudson/scriptConsole.jelly +++ b/core/src/main/resources/lib/hudson/scriptConsole.jelly @@ -27,35 +27,29 @@ THE SOFTWARE. --> - + - - - - - - - - -

${%Script Console}

+

${%Script Console}

-

+

${%description}

-

+

${%description2}

- -
- +
+ +
+
+
diff --git a/war/src/main/js/widgets/config/tabbar.less b/war/src/main/js/widgets/config/tabbar.less index 3b6824abd045..dd9df35bcd65 100644 --- a/war/src/main/js/widgets/config/tabbar.less +++ b/war/src/main/js/widgets/config/tabbar.less @@ -169,15 +169,6 @@ span.highlight { background-color: #ffff00; } - - // CodeMirror - .CodeMirror { - background: var(--brightest-bg-color); - } - - .CodeMirror-scroll { - border: 1px solid var(--input-border) !important; - } } } } diff --git a/war/src/main/less/abstracts/theme.less b/war/src/main/less/abstracts/theme.less index be86e3ee03f7..ac24f307c49c 100644 --- a/war/src/main/less/abstracts/theme.less +++ b/war/src/main/less/abstracts/theme.less @@ -283,6 +283,7 @@ // Animations --standard-transition: 0.2s ease; + --elastic-transition: 0.3s cubic-bezier(0, 0.68, 0.5, 1.5); // Pop out menus --menu-text-color: black; diff --git a/war/src/main/less/base-styles-v2.less b/war/src/main/less/base-styles-v2.less index 71b735a4e9d9..4e7edd7b43fc 100644 --- a/war/src/main/less/base-styles-v2.less +++ b/war/src/main/less/base-styles-v2.less @@ -26,12 +26,20 @@ html { @import './base/visibility-utils'; @import './base/yui-compatibility'; +@import './form/checkbox'; +@import './form/codemirror'; +@import './form/input'; +@import './form/layout'; +@import './form/radio'; +@import './form/search'; +@import './form/select'; +@import './form/toggle-switch'; + @import './modules/app-bar'; @import './modules/badges'; @import './modules/buttons'; @import './modules/content-blocks'; @import './modules/draggable-card'; -@import './modules/form'; @import './modules/icon-size'; @import './modules/icons'; @import './modules/manage-jenkins'; diff --git a/war/src/main/less/base/style.less b/war/src/main/less/base/style.less index 59099898d164..3e351db890d8 100644 --- a/war/src/main/less/base/style.less +++ b/war/src/main/less/base/style.less @@ -219,9 +219,14 @@ td.tab { } pre { - white-space: pre-wrap; /* css-3 */ - word-wrap: break-word; /* Internet Explorer 5.5+ */ - margin: 0; + white-space: pre-wrap; + word-wrap: break-word; + margin: 0 0 2rem; + padding: 1rem; + border-radius: 10px; + color: white; + background-color: black; + font-weight: bold; } pre a { @@ -718,6 +723,7 @@ table.parameters > tbody:hover { table { border-radius: 0; min-width: 450px; + margin-bottom: 5px; box-sizing: content-box; padding-bottom: 2px; @@ -1063,7 +1069,7 @@ table.fingerprint-in-build td { position: relative; padding-left: 32px; transition: var(--standard-transition); - margin-top: 0.66rem; + margin-top: calc(var(--section-padding) / 3); &::after { content: ""; diff --git a/war/src/main/less/base/typography.less b/war/src/main/less/base/typography.less index 93330482290b..b62b0c2713e8 100644 --- a/war/src/main/less/base/typography.less +++ b/war/src/main/less/base/typography.less @@ -51,45 +51,45 @@ h6, line-height: var(--line-height-heading); font-weight: bold; display: block; - margin-top: 0.5rem; - margin-bottom: 0.5rem; + margin-top: 0; + margin-bottom: var(--section-padding); } h1, .h1 { - font-size: 2rem; + font-size: 1.6rem; } h2, .h2 { - font-size: 1.75rem; + font-size: 1.4rem; } h3, .h3 { - font-size: 1.5rem; + font-size: 1.2rem; } h4, .h4 { - font-size: 1.25rem; + font-size: 1rem; } h5, .h5 { - font-size: 1rem; + font-size: 0.8rem; } h6, .h6 { - font-size: 0.875rem; + font-size: 0.6rem; } .jenkins-description { color: var(--text-color-secondary); line-height: 1.66; margin-top: 0; - margin-bottom: 2rem; + margin-bottom: var(--section-padding); } .jenkins-label { diff --git a/war/src/main/less/form/checkbox.less b/war/src/main/less/form/checkbox.less new file mode 100644 index 000000000000..d7ae98b74634 --- /dev/null +++ b/war/src/main/less/form/checkbox.less @@ -0,0 +1,143 @@ +.jenkins-checkbox-help-wrapper { + display: flex; + align-items: center; + justify-content: flex-start; +} + +.jenkins-checkbox + a.jenkins-help-button { + vertical-align: top; +} + +.jenkins-checkbox { + position: relative; + display: inline-flex; +} + +.jenkins-checkbox input { + position: absolute; + + width: 1px; + height: 1px; + + // If margin is set to a negative value it can cause text to be announced in + // the wrong order in VoiceOver for OSX + margin: 0; + padding: 0; + + overflow: hidden; + clip: rect(0 0 0 0); + clip-path: inset(50%); + + &:checked { + & + label { + &:active, + &:focus { + &::before { + box-shadow: 0 0 0 5px var(--focus-input-glow), inset 0 0 0 12px var(--focus-input-border); + } + } + } + + & + label { + &::before { + box-shadow: 0 0 0 10px transparent, inset 0 0 0 12px var(--focus-input-border); + } + + &::after { + transform: scale(1); + } + } + } + + &:disabled { + & + label { + cursor: not-allowed; + + &::before { + opacity: 0.35 !important; + box-shadow: 0 0 0 10px transparent, inset 0 0 0 2px var(--input-border) !important; + } + } + + &:checked { + & + label { + &::before { + box-shadow: 0 0 0 10px transparent, inset 0 0 0 12px var(--focus-input-border) !important; + } + + &::after { + transform: scale(1) !important; + } + } + } + } +} + +.jenkins-checkbox label { + position: relative; + display: inline-flex; + align-items: flex-start; + justify-content: flex-start; + margin: 0; + cursor: pointer; + line-height: 22px; + font-weight: var(--form-label-font-weight); + + &::before { + content: ""; + display: inline-block; + position: relative; + min-width: 22px; + min-height: 22px; + border-radius: 6px; + transition: var(--standard-transition); + margin-right: 11px; + box-shadow: 0 0 0 10px transparent, inset 0 0 0 2px var(--input-border); + } + + &::after { + content: ""; + display: flex; + align-items: center; + justify-content: center; + position: absolute; + top: 0; + left: 0; + width: 22px; + height: 22px; + background: var(--background); + mask-image: url("data:image/svg+xml;charset=UTF-8,%3c?xml version='1.0' encoding='UTF-8'?%3e%3csvg width='384px' height='320px' viewBox='0 0 384 320' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3ePath%3c/title%3e%3cg id='Page-1' stroke='none' stroke-width='1' fill='none' fill-rule='evenodd'%3e%3cpath d='M327.917546,10.9278525 C339.555371,-2.37251966 359.771775,-3.72027991 373.072147,7.91754577 C386.239516,19.4389932 387.692129,39.368305 376.427694,52.671077 L376.082454,53.0721475 L152.082454,309.072147 C140.014868,322.863675 118.889432,323.700972 105.767743,311.015951 L105.372583,310.627417 L9.372583,214.627417 C-3.12419433,202.13064 -3.12419433,181.86936 9.372583,169.372583 C21.7443926,157.000773 41.7261905,156.877055 54.2501999,169.001429 L54.627417,169.372583 L126.441,241.186 L327.917546,10.9278525 Z' id='Path' fill='%23FF0000' fill-rule='nonzero'%3e%3c/path%3e%3c/g%3e%3c/svg%3e"); + mask-size: 10px 10px; + mask-repeat: no-repeat; + mask-position: center; + transition: var(--elastic-transition); + transform: scale(0); + } + + &:empty { + &::before { + margin-right: 0; + } + } + + &:hover { + &::before { + box-shadow: 0 0 0 10px transparent, inset 0 0 0 5px var(--input-border-hover); + } + } + + &:active, + &:focus { + &::before { + box-shadow: 0 0 0 5px var(--focus-input-glow), inset 0 0 0 5px var(--focus-input-border); + } + } +} + +.jenkins-checkbox__description { + margin-top: 0.3rem; + margin-left: 34px; + margin-bottom: 1rem; + color: var(--text-color-secondary); + line-height: 1.66; +} diff --git a/war/src/main/less/form/codemirror.less b/war/src/main/less/form/codemirror.less new file mode 100644 index 000000000000..225c9d854c40 --- /dev/null +++ b/war/src/main/less/form/codemirror.less @@ -0,0 +1,33 @@ +.CodeMirror-scroll { + // CodeMirror text boxes may be resized both horizontally and vertically to ensure + // users have enough space to write scripts + resize: both; +} + +.CodeMirror { + display: block; + background: var(--input-color); + border: 2px solid var(--input-border); + border-radius: var(--form-input-border-radius); + width: 100%; + box-shadow: var(--form-input-glow); + transition: var(--standard-transition); + cursor: text; + + &:hover { + border-color: var(--input-border-hover); + } + + &:active, + &:focus-within { + outline: none; + border-color: var(--focus-input-border); + box-shadow: var(--form-input-glow--focus); + } + + textarea { + background: transparent; + border: none; + outline: none; + } +} diff --git a/war/src/main/less/form/input.less b/war/src/main/less/form/input.less new file mode 100644 index 000000000000..e67a71671e6b --- /dev/null +++ b/war/src/main/less/form/input.less @@ -0,0 +1,22 @@ +.jenkins-input { + display: block; + background: var(--input-color); + border: 2px solid var(--input-border); + padding: var(--form-input-padding); + border-radius: var(--form-input-border-radius); + width: 100%; + box-shadow: var(--form-input-glow); + // Set height transition to 0s as vertical resizing has a delay/lag otherwise + transition: all var(--standard-transition), height 0s; + + &:hover { + border-color: var(--input-border-hover); + } + + &:active, + &:focus { + outline: none; + border-color: var(--focus-input-border); + box-shadow: var(--form-input-glow--focus); + } +} diff --git a/war/src/main/less/form/layout.less b/war/src/main/less/form/layout.less new file mode 100644 index 000000000000..0411fe441fce --- /dev/null +++ b/war/src/main/less/form/layout.less @@ -0,0 +1,146 @@ +.jenkins-form { + max-width: var(--form-item-max-width); +} + +.jenkins-fieldset { + border: none; + margin: 0; + padding: 0; + + .jenkins-form-item:last-of-type { + margin-bottom: 0; + } +} + +.jenkins-form-item { + max-width: var(--form-item-max-width); + margin-bottom: var(--section-padding); + + // Workaround for float:right button controls + // (eg Global Credentials' Verify Configuration button being hidden by the floating submit bar) + &::after { + content: " "; /* Older browser do not support empty content */ + visibility: hidden; + display: block; + height: 0; + clear: both; + } + + &--tight + .jenkins-form-item--tight { + margin-top: -0.9rem; + } + + &--small { + max-width: var(--form-item-max-width--small); + } + + &--medium { + max-width: var(--form-item-max-width--medium); + } +} + +.jenkins-form-label { + display: flex; + align-items: center; + font-weight: var(--form-label-font-weight); + margin-top: 0; + margin-bottom: 0.75rem; + padding-inline-start: 0; + padding-inline-end: 0; +} + +.jenkins-form-description { + display: block; + // Tweaked margin so that it appears visually centred when placed next to `.jenkins-form-label` + margin: -0.2rem 0 0.8rem 0; + color: var(--text-color-secondary); + line-height: 1.66; +} + +.jenkins-quote { + position: relative; + display: flex; + line-height: 38px; + + &::before { + content: ""; + position: relative; + width: 2px; + background: var(--input-border); + margin-right: 1rem; + border-radius: 2px; + } + + &--monospace { + font-family: monospace; + } +} + +.jenkins-help-button { + position: relative; + width: 20px; + height: 20px; + min-width: 20px; + min-height: 20px; + margin-left: 1ch; + display: inline-flex; + justify-content: center; + align-items: center; + line-height: 20px; + color: var(--text-color)!important; + border-radius: 100%; + + &::before { + content: "?"; + position: absolute; + top: 0; + left: 0; + bottom: 0; + right: 0; + background: var(--text-color); + opacity: 0.1; + border-radius: inherit; + transition: var(--standard-transition); + } + + &::after { + content: ""; + position: absolute; + top: 0; + left: 0; + bottom: 0; + right: 0; + border: 1px solid rgba(125, 125, 125, 0.35); + box-shadow: var(--form-input-glow); + border-radius: inherit; + opacity: 0.1; + transition: var(--standard-transition); + } + + &:hover { + text-decoration: none; + + &::before { + opacity: 0.2; + } + } + + &:active, &:focus { + outline: none; + text-decoration: none; + + &::before { + opacity: 0.3; + } + + &::after { + box-shadow: 0 0 0 5px var(--text-color); + } + } +} + +.jenkins-two-columns { + display: grid; + grid-template-columns: 1fr 1fr; + grid-gap: var(--section-padding); +} diff --git a/war/src/main/less/form/radio.less b/war/src/main/less/form/radio.less new file mode 100644 index 000000000000..25602daa1bec --- /dev/null +++ b/war/src/main/less/form/radio.less @@ -0,0 +1,123 @@ +.jenkins-radio-help-wrapper { + display: flex; + align-items: center; + justify-content: flex-start; +} + +.jenkins-radio { + margin-top: 3px; + + &:not(:last-of-type) { + margin-bottom: calc(var(--section-padding) / 3); + } + + &__input { + position: absolute; + opacity: 0; + + &:hover { + & + label { + &::before { + box-shadow: 0 0 0 10px transparent, inset 0 0 0 5px var(--input-border-hover); + } + } + } + + &:focus, + &:active { + & + label { + &::before { + transition: box-shadow var(--elastic-transition); + box-shadow: 0 0 0 5px var(--focus-input-glow), inset 0 0 0 8px var(--focus-input-border); + } + } + } + + &:checked { + & + label { + &::before { + box-shadow: 0 0 0 10px transparent, inset 0 0 0 8px var(--focus-input-border); + } + } + } + + &:disabled { + & + label { + cursor: not-allowed; + + &::before { + opacity: 0.35; + } + } + } + } + + &__label { + position: relative; + display: inline-block; + margin-bottom: 0; + padding: 0 0 5px 32px; + cursor: pointer; + font-weight: var(--form-label-font-weight); + // remove 300ms pause on mobile + touch-action: manipulation; + + &::before { + content: ""; + box-sizing: border-box; + position: absolute; + top: 0; + left: 0; + + width: 22px; + height: 22px; + + border-radius: 50%; + background: transparent; + box-shadow: 0 0 0 10px transparent, inset 0 0 0 2px var(--input-border); + + transition: box-shadow var(--standard-transition); + } + } + + &__description { + margin: 0 0 0 32px; + color: var(--text-color-secondary); + line-height: 1.66; + } + + &__children { + position: relative; + margin-top: 0; + opacity: 0; + padding-left: 32px; + transition: var(--standard-transition); + visibility: hidden; + max-height: 0; + + &::after { + content: ""; + position: absolute; + top: 0; + left: 10px; + bottom: 0; + width: 2px; + background: var(--input-border); + border-radius: 2px; + transition: var(--standard-transition); + } + + &:focus-within { + &::after { + background: var(--focus-input-border); + } + } + } + + &__input:checked + &__label + &__children { + visibility: visible; + margin-top: 10px; + opacity: 1; + max-height: none; + } +} diff --git a/war/src/main/less/form/search.less b/war/src/main/less/form/search.less new file mode 100644 index 000000000000..4ee208fb52f1 --- /dev/null +++ b/war/src/main/less/form/search.less @@ -0,0 +1,112 @@ +.jenkins-search { + position: relative; + max-width: 420px; + + &__input { + appearance: none; + display: block; + background: var(--input-color); + border: 2px solid var(--input-border); + border-radius: var(--form-input-border-radius); + width: 100%; + margin: 0; + padding: 0 4px 0 29px; + line-height: 30px; + box-shadow: var(--form-input-glow); + transition: var(--standard-transition); + + // Safari adds unwanted padding - let's remove it + &::-webkit-search-decoration { + -webkit-appearance: none; + } + + // By default the clear text button doesn't change the cursor on hover - lets turn it into a pointer + &::-webkit-search-cancel-button:hover { + cursor: pointer; + } + + &:hover { + border-color: var(--input-border-hover); + } + + &:active, + &:focus { + outline: none; + border-color: var(--focus-input-border); + box-shadow: var(--form-input-glow--focus); + } + } + + &__icon { + position: absolute; + top: 9px; + left: 9px; + width: 16px; + height: 16px; + fill: var(--input-border-hover); + transition: var(--standard-transition); + } + + &::before { + content: ""; + position: absolute; + top: 17px; + left: 17px; + width: 0; + height: 0; + color: inherit; + border: 2px solid currentColor; + border-radius: 100%; + opacity: 0; + transition: var(--standard-transition); + } + + &::after { + content: ""; + position: absolute; + top: 17px; + left: 17px; + width: 0; + height: 0; + color: inherit; + border: 2px solid currentColor; + border-radius: 100%; + clip-path: inset(0 0 50% 50%); + opacity: 0; + transition: var(--standard-transition); + animation: loading-spinner 1s infinite linear; + + @media (prefers-reduced-motion) { + animation-duration: 2s; + } + } + + &--loading { + .jenkins-search__icon { + opacity: 0; + transform: scale(0); + } + + &::before { + opacity: 0.2; + top: 9px; + left: 9px; + width: 16px; + height: 16px; + } + + &::after { + opacity: 1; + top: 9px; + left: 9px; + width: 16px; + height: 16px; + } + } + + &:focus-within { + .jenkins-search__icon { + fill: var(--focus-input-border); + } + } +} diff --git a/war/src/main/less/form/select.less b/war/src/main/less/form/select.less new file mode 100644 index 000000000000..acdedfc17728 --- /dev/null +++ b/war/src/main/less/form/select.less @@ -0,0 +1,66 @@ +.jenkins-select { + position: relative; + width: 100%; + + &::after { + content: ""; + position: absolute; + top: 0; + right: 13px; + bottom: 0; + width: 12px; + background-color: currentColor; + mask-image: url("data:image/svg+xml;charset=UTF-8,%3c?xml version='1.0' encoding='UTF-8'?%3e%3csvg width='336px' height='192px' viewBox='0 0 336 192' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3ePath%3c/title%3e%3cg id='Page-1' stroke='none' stroke-width='1' fill='none' fill-rule='evenodd'%3e%3cg id='arrow' transform='translate(0.000000, 0.000000)' fill='%23FF0000' fill-rule='nonzero'%3e%3cpath d='M7.02943725,7.02943725 C16.3053957,-2.24652118 31.2852799,-2.34214962 40.6788451,6.74255194 L40.9705627,7.02943725 L168,134.059 L295.029437,7.02943725 C304.305396,-2.24652118 319.28528,-2.34214962 328.678845,6.74255194 L328.970563,7.02943725 C338.246521,16.3053957 338.34215,31.2852799 329.257448,40.6788451 L328.970563,40.9705627 L184.970563,184.970563 C175.694604,194.246521 160.71472,194.34215 151.321155,185.257448 L151.029437,184.970563 L7.02943725,40.9705627 C-2.34314575,31.5979797 -2.34314575,16.4020203 7.02943725,7.02943725 Z' id='Path'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3c/svg%3e"); + mask-size: contain; + mask-repeat: no-repeat; + mask-position: center; + pointer-events: none; + } + + &__input { + appearance: none; + display: block; + border: 2px solid var(--input-border); + padding: 8px; + width: 100% !important; // TODO remove important after https://github.com/jenkinsci/credentials-plugin/pull/255 + max-width: 100% !important; // TODO remove important after https://github.com/jenkinsci/credentials-plugin/pull/255 + border-radius: 6px; + box-shadow: 0 0 0 10px transparent; + transition: var(--standard-transition); + min-height: 38px; + + &:hover { + border-color: var(--input-border-hover); + } + + &:active, + &:focus { + outline: none; + border-color: var(--focus-input-border); + box-shadow: 0 0 0 5px var(--focus-input-glow); + } + + &:disabled { + pointer-events: none; + } + } +} + +.jenkins-multi-select { + position: relative; + width: 100%; + border: 2px solid var(--input-border); + border-radius: var(--form-input-border-radius); + box-shadow: 0 0 0 10px transparent; + transition: var(--standard-transition); + outline: none; + + &:focus { + border-color: var(--focus-input-border); + box-shadow: 0 0 0 5px var(--focus-input-glow); + } + + &:disabled { + pointer-events: none; + } +} diff --git a/war/src/main/less/form/toggle-switch.less b/war/src/main/less/form/toggle-switch.less new file mode 100644 index 000000000000..8a98e9c18fed --- /dev/null +++ b/war/src/main/less/form/toggle-switch.less @@ -0,0 +1,95 @@ +.jenkins-toggle-switch { + position: relative; + display: inline-block; +} + +.jenkins-toggle-switch input { + position: absolute; + + width: 1px; + height: 1px; + + // If margin is set to a negative value it can cause text to be announced in + // the wrong order in VoiceOver for OSX + margin: 0; + padding: 0; + + overflow: hidden; + clip: rect(0 0 0 0); + clip-path: inset(50%); + + &:checked + label::before { + background-color: var(--focus-input-border); + } + + &:checked + label::after { + left: 25px; + transform: rotate(0deg); + mask-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg width='66px' height='66px' viewBox='0 0 66 66' version='1.1' xmlns='http://www.w3.org/2000/svg'%3E%3Cg stroke='none' stroke-width='1' fill='none' fill-rule='evenodd'%3E%3Cpath d='M66,0 L66,66 L0,66 L0,0 L66,0 Z M37.7154094,29.2061836 C37.3690459,28.9031155 36.8425777,28.9382134 36.5395097,29.2845769 L36.5395097,29.2845769 L31.2924962,35.2799905 L29.4225874,33.410737 L29.3440813,33.3414133 C29.0171724,33.0872262 28.5444804,33.1103341 28.2440774,33.410737 C27.9186409,33.7361736 27.9186409,34.2638104 28.2440774,34.589247 L28.2440774,34.589247 L30.7440745,37.0892441 L30.8202748,37.15679 C31.1634387,37.4256962 31.6657159,37.3856111 31.9604761,37.0487424 L31.9604761,37.0487424 L37.7938027,30.3820833 L37.8577508,30.2991398 C38.0896293,29.9560466 38.0351295,29.4859387 37.7154094,29.2061836 Z' fill='%23000000'%3E%3C/path%3E%3C/g%3E%3C/svg%3E"); + } + + &:active + label::before, + &:focus + label::before { + box-shadow: 0 0 0 5px var(--focus-input-glow); + } + + &:disabled { + & + label { + cursor: not-allowed; + } + } +} + +.jenkins-toggle-switch label { + position: relative; + display: flex; + align-items: flex-start; + justify-content: flex-start; + margin: 0; + cursor: pointer; + line-height: 30px; + font-weight: bold; + + &::before { + display: inline-block; + content: ""; + position: relative; + min-width: 50px; + min-height: 30px; + background: var(--input-border); + border-radius: 19px; + transition: 0.2s ease; + margin-right: 15px; + box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05), 0 0 0 10px transparent; + } + + &::after { + content: ""; + display: flex; + align-items: center; + justify-content: center; + position: absolute; + top: 5px; + left: 5px; + width: 20px; + height: 20px; + background: var(--background); + mask-size: 60px 60px; + mask-position: center; + border-radius: 100%; + transition: var(--standard-transition); + transform: rotate(-90deg); + box-shadow: -1px 0 0 rgba(0, 0, 0, 0.1); + } + + &:hover::before { + background-color: var(--input-border-hover); + } + + &:active, + &:focus { + &::before { + box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05), 0 0 0 5px var(--focus-input-glow); + } + } +} diff --git a/war/src/main/less/modules/app-bar.less b/war/src/main/less/modules/app-bar.less index 3469d31e25d1..401585c0a2cd 100644 --- a/war/src/main/less/modules/app-bar.less +++ b/war/src/main/less/modules/app-bar.less @@ -2,7 +2,7 @@ display: flex; align-items: center; justify-content: space-between; - margin-bottom: 2rem; + margin-bottom: var(--section-padding); .jenkins-app-bar__content { display: flex; @@ -16,7 +16,7 @@ display: flex; align-items: center; justify-content: center; - margin-left: 2rem; + margin-left: var(--section-padding); min-height: 36px; .jenkins-search { @@ -25,13 +25,13 @@ } &--border { - margin-bottom: 2rem; - padding-bottom: 2rem; + margin-bottom: var(--section-padding); + padding-bottom: var(--section-padding); border-bottom: 2px solid var(--panel-border-color); } h1 { margin: 0; - font-size: 1.7rem; + font-size: 1.6rem; } } diff --git a/war/src/main/less/modules/form.less b/war/src/main/less/modules/form.less deleted file mode 100644 index 694ff7159d4a..000000000000 --- a/war/src/main/less/modules/form.less +++ /dev/null @@ -1,798 +0,0 @@ -.jenkins-form { - max-width: var(--form-item-max-width); -} - -.jenkins-form-item { - max-width: var(--form-item-max-width); - margin-bottom: var(--section-padding); - - // Workaround for float:right button controls - // (eg Global Credentials' Verify Configuration button being hidden by the floating submit bar) - &::after { - content: " "; /* Older browser do not support empty content */ - visibility: hidden; - display: block; - height: 0; - clear: both; - } - - &--tight + .jenkins-form-item--tight { - margin-top: -0.9rem; - } - - &--small { - max-width: var(--form-item-max-width--small); - } - - &--medium { - max-width: var(--form-item-max-width--medium); - } -} - -.jenkins-fieldset { - border: none; - margin: 0; - padding: 0; - - .jenkins-form-item:last-of-type { - margin-bottom: 0; - } -} - -.jenkins-form-label { - display: flex; - align-items: center; - font-weight: var(--form-label-font-weight); - margin-top: 0; - margin-bottom: 0.75rem; - padding-inline-start: 0; - padding-inline-end: 0; -} - -.jenkins-form-description { - display: block; - // Tweaked margin so that it appears visually centred when placed next to `.jenkins-form-label` - margin: -0.2rem 0 0.8rem 0; - color: var(--text-color-secondary); - line-height: 1.66; -} - -.jenkins-quote { - position: relative; - display: flex; - line-height: 38px; - - &::before { - content: ""; - position: relative; - width: 2px; - background: var(--input-border); - margin-right: 1rem; - border-radius: 2px; - } - - &--monospace { - font-family: monospace; - } -} - -.jenkins-input { - display: block; - background: var(--input-color); - border: 2px solid var(--input-border); - padding: var(--form-input-padding); - border-radius: var(--form-input-border-radius); - width: 100%; - box-shadow: var(--form-input-glow); - transition: var(--standard-transition); - - &:hover { - border-color: var(--input-border-hover); - } - - &:active, - &:focus { - outline: none; - border-color: var(--focus-input-border); - box-shadow: var(--form-input-glow--focus); - } -} - -.jenkins-search { - position: relative; - max-width: 420px; - - &__input { - appearance: none; - display: block; - background: var(--input-color); - border: 2px solid var(--input-border); - border-radius: var(--form-input-border-radius); - width: 100%; - margin: 0; - padding: 0 4px 0 29px; - line-height: 30px; - box-shadow: var(--form-input-glow); - transition: var(--standard-transition); - - // Safari adds unwanted padding - let's remove it - &::-webkit-search-decoration { - -webkit-appearance: none; - } - - // By default the clear text button doesn't change the cursor on hover - lets turn it into a pointer - &::-webkit-search-cancel-button:hover { - cursor: pointer; - } - - &:hover { - border-color: var(--input-border-hover); - } - - &:active, - &:focus { - outline: none; - border-color: var(--focus-input-border); - box-shadow: var(--form-input-glow--focus); - } - } - - &__icon { - position: absolute; - top: 9px; - left: 9px; - width: 16px; - height: 16px; - fill: var(--input-border-hover); - transition: var(--standard-transition); - } - - &::before { - content: ""; - position: absolute; - top: 17px; - left: 17px; - width: 0; - height: 0; - color: inherit; - border: 2px solid currentColor; - border-radius: 100%; - opacity: 0; - transition: var(--standard-transition); - } - - &::after { - content: ""; - position: absolute; - top: 17px; - left: 17px; - width: 0; - height: 0; - color: inherit; - border: 2px solid currentColor; - border-radius: 100%; - clip-path: inset(0 0 50% 50%); - opacity: 0; - transition: var(--standard-transition); - animation: loading-spinner 1s infinite linear; - - @media (prefers-reduced-motion) { - animation-duration: 2s; - } - } - - &--loading { - .jenkins-search__icon { - opacity: 0; - transform: scale(0); - } - - &::before { - opacity: 0.2; - top: 9px; - left: 9px; - width: 16px; - height: 16px; - } - - &::after { - opacity: 1; - top: 9px; - left: 9px; - width: 16px; - height: 16px; - } - } - - &:focus-within { - .jenkins-search__icon { - fill: var(--focus-input-border); - } - } -} - -@keyframes loading-spinner { - to { - transform: rotate(360deg); - } -} - -.jenkins-select { - position: relative; - width: 100%; - - &::after { - content: ""; - position: absolute; - top: 0; - right: 13px; - bottom: 0; - width: 12px; - background-color: currentColor; - mask-image: url("data:image/svg+xml;charset=UTF-8,%3c?xml version='1.0' encoding='UTF-8'?%3e%3csvg width='336px' height='192px' viewBox='0 0 336 192' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3ePath%3c/title%3e%3cg id='Page-1' stroke='none' stroke-width='1' fill='none' fill-rule='evenodd'%3e%3cg id='arrow' transform='translate(0.000000, 0.000000)' fill='%23FF0000' fill-rule='nonzero'%3e%3cpath d='M7.02943725,7.02943725 C16.3053957,-2.24652118 31.2852799,-2.34214962 40.6788451,6.74255194 L40.9705627,7.02943725 L168,134.059 L295.029437,7.02943725 C304.305396,-2.24652118 319.28528,-2.34214962 328.678845,6.74255194 L328.970563,7.02943725 C338.246521,16.3053957 338.34215,31.2852799 329.257448,40.6788451 L328.970563,40.9705627 L184.970563,184.970563 C175.694604,194.246521 160.71472,194.34215 151.321155,185.257448 L151.029437,184.970563 L7.02943725,40.9705627 C-2.34314575,31.5979797 -2.34314575,16.4020203 7.02943725,7.02943725 Z' id='Path'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3c/svg%3e"); - mask-size: contain; - mask-repeat: no-repeat; - mask-position: center; - pointer-events: none; - } - - &__input { - appearance: none; - display: block; - border: 2px solid var(--input-border); - padding: 8px; - width: 100% !important; // TODO remove important after https://github.com/jenkinsci/credentials-plugin/pull/255 - max-width: 100% !important; // TODO remove important after https://github.com/jenkinsci/credentials-plugin/pull/255 - border-radius: 6px; - box-shadow: 0 0 0 10px transparent; - transition: var(--standard-transition); - min-height: 38px; - - &:hover { - border-color: var(--input-border-hover); - } - - &:active, - &:focus { - outline: none; - border-color: var(--focus-input-border); - box-shadow: 0 0 0 5px var(--focus-input-glow); - } - - &:disabled { - pointer-events: none; - } - } -} - -.jenkins-multi-select { - position: relative; - width: 100%; - border: 2px solid var(--input-border); - border-radius: var(--form-input-border-radius); - box-shadow: 0 0 0 10px transparent; - transition: var(--standard-transition); - outline: none; - - &:focus { - border-color: var(--focus-input-border); - box-shadow: 0 0 0 5px var(--focus-input-glow); - } - - &:disabled { - pointer-events: none; - } -} - -.jenkins-radio-help-wrapper { - display: flex; - align-items: center; - justify-content: flex-start; -} - -.jenkins-radio { - margin-top: 3px; - - &:not(:last-of-type) { - margin-bottom: calc(var(--section-padding) / 2); - } - - &__input { - position: absolute; - opacity: 0; - } - - &__label { - position: relative; - display: inline-block; - margin-bottom: 0; - padding: 0 0 5px 32px; - cursor: pointer; - font-weight: var(--form-label-font-weight); - // remove 300ms pause on mobile - touch-action: manipulation; - - &::before { - content: ""; - box-sizing: border-box; - position: absolute; - top: 0; - left: 0; - - width: 22px; - height: 22px; - - border: 2px solid var(--input-border); - border-radius: 50%; - background: transparent; - box-shadow: var(--form-input-glow); - - transition: var(--standard-transition); - } - - &:hover::before { - border-width: 5px; - border-color: var(--input-border-hover); - } - } - - &__input:focus + &__label:before, &__input:active + &__label:before { - border-width: 8px; - border-color: var(--focus-input-border); - box-shadow: var(--form-input-glow--focus); - } - - &__input:checked + &__label:before { - border-width: 8px; - border-color: var(--focus-input-border); - } - - &__description { - margin: 0 0 0 32px; - color: var(--text-color-secondary); - line-height: 1.66; - } - - &__children { - position: relative; - margin-top: 0; - opacity: 0; - padding-left: 32px; - transition: var(--standard-transition); - visibility: hidden; - max-height: 0; - - &::after { - content: ""; - position: absolute; - top: 0; - left: 10px; - bottom: 0; - width: 2px; - background: var(--input-border); - border-radius: 2px; - transition: var(--standard-transition); - } - - &:focus-within { - &::after { - background: var(--focus-input-border); - } - } - } - - &__input:checked + &__label + &__children { - visibility: visible; - margin-top: 10px; - opacity: 1; - max-height: none; - } -} - -// Align help buttons correctly with checkboxes - -.jenkins-checkbox-help-wrapper { - display: flex; - align-items: center; - justify-content: flex-start; -} - -.jenkins-checkbox + a.jenkins-help-button { - vertical-align: top; -} - -.jenkins-checkbox { - position: relative; - display: inline-flex; -} - -.jenkins-checkbox input { - position: absolute; - - width: 1px; - height: 1px; - - // If margin is set to a negative value it can cause text to be announced in - // the wrong order in VoiceOver for OSX - margin: 0; - padding: 0; - - overflow: hidden; - clip: rect(0 0 0 0); - clip-path: inset(50%); - - &:checked { - & + label { - &:active, - &:focus { - &::before { - box-shadow: 0 0 0 5px var(--focus-input-glow), inset 0 0 0 12px var(--focus-input-border); - } - } - } - - & + label { - &::before { - box-shadow: 0 0 0 10px transparent, inset 0 0 0 12px var(--focus-input-border); - } - - &::after { - transform: scale(1); - } - } - } - - &:disabled { - & + label { - cursor: not-allowed; - - &::before { - opacity: 0.35 !important; - box-shadow: 0 0 0 10px transparent, inset 0 0 0 2px var(--input-border) !important; - } - } - - &:checked { - & + label { - &::before { - box-shadow: 0 0 0 10px transparent, inset 0 0 0 12px var(--focus-input-border) !important; - } - - &::after { - transform: scale(1) !important; - } - } - } - } -} - -.jenkins-checkbox label { - position: relative; - display: inline-flex; - align-items: flex-start; - justify-content: flex-start; - margin: 0; - cursor: pointer; - line-height: 22px; - font-weight: var(--form-label-font-weight); - - &::before { - content: ""; - display: inline-block; - position: relative; - min-width: 22px; - min-height: 22px; - border-radius: 6px; - transition: var(--standard-transition); - margin-right: 11px; - box-shadow: 0 0 0 10px transparent, inset 0 0 0 2px var(--input-border); - } - - &::after { - content: ""; - display: flex; - align-items: center; - justify-content: center; - position: absolute; - top: 0; - left: 0; - width: 22px; - height: 22px; - background: var(--background); - mask-image: url("data:image/svg+xml;charset=UTF-8,%3c?xml version='1.0' encoding='UTF-8'?%3e%3csvg width='384px' height='320px' viewBox='0 0 384 320' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3ePath%3c/title%3e%3cg id='Page-1' stroke='none' stroke-width='1' fill='none' fill-rule='evenodd'%3e%3cpath d='M327.917546,10.9278525 C339.555371,-2.37251966 359.771775,-3.72027991 373.072147,7.91754577 C386.239516,19.4389932 387.692129,39.368305 376.427694,52.671077 L376.082454,53.0721475 L152.082454,309.072147 C140.014868,322.863675 118.889432,323.700972 105.767743,311.015951 L105.372583,310.627417 L9.372583,214.627417 C-3.12419433,202.13064 -3.12419433,181.86936 9.372583,169.372583 C21.7443926,157.000773 41.7261905,156.877055 54.2501999,169.001429 L54.627417,169.372583 L126.441,241.186 L327.917546,10.9278525 Z' id='Path' fill='%23FF0000' fill-rule='nonzero'%3e%3c/path%3e%3c/g%3e%3c/svg%3e"); - mask-size: 10px 10px; - mask-repeat: no-repeat; - mask-position: center; - transition: 0.3s cubic-bezier(0, 0.68, 0.5, 1.5); - transform: scale(0); - } - - &:empty { - &::before { - margin-right: 0; - } - } - - &:hover { - &::before { - box-shadow: 0 0 0 10px transparent, inset 0 0 0 5px var(--input-border-hover); - } - } - - &:active, - &:focus { - &::before { - box-shadow: 0 0 0 5px var(--focus-input-glow), inset 0 0 0 5px var(--focus-input-border); - } - } -} - -.jenkins-checkbox__description { - margin-top: 0.3rem; - margin-left: 34px; - margin-bottom: 1rem; - color: var(--text-color-secondary); - line-height: 1.66; -} - -.jenkins-toggle-switch { - position: relative; - display: inline-block; -} - -.jenkins-toggle-switch input { - position: absolute; - - width: 1px; - height: 1px; - - // If margin is set to a negative value it can cause text to be announced in - // the wrong order in VoiceOver for OSX - margin: 0; - padding: 0; - - overflow: hidden; - clip: rect(0 0 0 0); - clip-path: inset(50%); - - &:checked + label:before { - background-color: var(--focus-input-border); - } - - &:checked + label:after { - left: 25px; - color: var(--focus-input-border); - transform: rotate(0deg); - } - - &:active + label:before, &:focus + label:before { - box-shadow: 0 0 0 5px var(--focus-input-glow); - } -} - -.jenkins-toggle-switch label { - position: relative; - display: flex; - align-items: flex-start; - justify-content: flex-start; - margin: 0; - cursor: pointer; - line-height: 30px; - font-weight: bold; - - &::before { - display: inline-block; - content: ""; - position: relative; - min-width: 50px; - min-height: 30px; - background: var(--input-border); - border-radius: 19px; - transition: 0.2s ease; - margin-right: 15px; - box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05), 0 0 0 10px transparent; - } - - &::after { - content: "✓"; - display: flex; - align-items: center; - justify-content: center; - position: absolute; - top: 5px; - left: 5px; - width: 20px; - height: 20px; - background: var(--background); - border-radius: 19px; - color: transparent; - transition: 0.2s ease; - transform: rotate(-90deg); - font-size: 12px; - font-weight: bold; - padding-top: 2px; - box-shadow: -1px 0 0 rgba(0, 0, 0, 0.1); - } - - &:hover::before { - background-color: var(--input-border-hover); - } - - &:active, &:focus { - &::before { - box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05), 0 0 0 5px var(--focus-input-glow); - } - } -} - -.jenkins-help-button { - position: relative; - width: 20px; - height: 20px; - min-width: 20px; - min-height: 20px; - margin-left: 1ch; - display: inline-flex; - justify-content: center; - align-items: center; - line-height: 20px; - color: var(--text-color)!important; - border-radius: 100%; - - &::before { - content: ""; - position: absolute; - top: 0; - left: 0; - bottom: 0; - right: 0; - background: var(--text-color); - opacity: 0.1; - border-radius: inherit; - transition: var(--standard-transition); - } - - &::after { - content: ""; - position: absolute; - top: 0; - left: 0; - bottom: 0; - right: 0; - border: 1px solid rgba(125, 125, 125, 0.35); - box-shadow: var(--form-input-glow); - border-radius: inherit; - opacity: 0.1; - transition: var(--standard-transition); - } - - &:hover { - text-decoration: none; - - &::before { - opacity: 0.2; - } - } - - &:active, &:focus { - outline: none; - text-decoration: none; - - &::before { - opacity: 0.3; - } - - &::after { - box-shadow: 0 0 0 5px var(--text-color); - } - } -} - -.jenkins-toggle-switch { - position: relative; - display: inline-block; -} - -.jenkins-toggle-switch input { - position: absolute; - - width: 1px; - height: 1px; - - // If margin is set to a negative value it can cause text to be announced in - // the wrong order in VoiceOver for OSX - margin: 0; - padding: 0; - - overflow: hidden; - clip: rect(0 0 0 0); - clip-path: inset(50%); - - &:disabled { - & + label { - cursor: default; - - &::before { - opacity: 0.25 !important; - background-color: var(--input-border) !important; - box-shadow: none !important; - } - - &::after { - opacity: 0.5 !important; - } - } - } - - &:checked + label::before { - background-color: var(--focus-input-border); - } - - &:checked + label::after { - left: 25px; - color: var(--focus-input-border); - transform: rotate(0deg); - } - - &:active + label::before, &:focus + label::before { - box-shadow: 0 0 0 5px var(--focus-input-glow); - } -} - -.jenkins-toggle-switch label { - position: relative; - display: flex; - align-items: flex-start; - justify-content: flex-start; - margin: 0; - cursor: pointer; - line-height: 30px; - font-weight: bold; - - &::before { - display: inline-block; - content: ""; - position: relative; - min-width: 50px; - min-height: 30px; - background: var(--input-border); - border-radius: 19px; - transition: 0.2s ease; - margin-right: 15px; - box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05), 0 0 0 10px transparent; - } - - &::after { - content: "✓"; - display: flex; - align-items: center; - justify-content: center; - position: absolute; - top: 5px; - left: 5px; - width: 20px; - height: 20px; - background: var(--background); - border-radius: 19px; - color: transparent; - transition: 0.2s ease; - transform: rotate(-90deg); - font-size: 12px; - padding-top: 2px; - box-shadow: -1px 0 0 rgba(0, 0, 0, 0.1); - } - - &:hover::before { - background-color: var(--input-border-hover); - } - - &:active, &:focus { - &::before { - box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05), 0 0 0 5px var(--focus-input-glow); - } - } -} - -.CodeMirror-scroll { - resize: both; -} diff --git a/war/src/main/less/modules/table.less b/war/src/main/less/modules/table.less index 1a6762c4979c..9804595a3ab2 100644 --- a/war/src/main/less/modules/table.less +++ b/war/src/main/less/modules/table.less @@ -7,6 +7,7 @@ border: 5px solid var(--table-background); border-bottom-width: 3px; border-spacing: 0 2px; + margin-bottom: var(--section-padding); * { -webkit-border-horizontal-spacing: 0; diff --git a/war/src/main/webapp/scripts/hudson-behavior.js b/war/src/main/webapp/scripts/hudson-behavior.js index 59e64024ef84..e2f0cb86c17a 100644 --- a/war/src/main/webapp/scripts/hudson-behavior.js +++ b/war/src/main/webapp/scripts/hudson-behavior.js @@ -1113,7 +1113,6 @@ function rowvgStartEachRow(recursive,f) { } } }).getWrapperElement(); - w.setAttribute("style","border:1px solid black; margin-top: 1em; margin-bottom: 1em") })(); }); From 61c6b4efebc9c2585cdc076092914a528736a9fa Mon Sep 17 00:00:00 2001 From: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Mon, 7 Feb 2022 11:02:20 +0000 Subject: [PATCH 02/11] Undo form changes --- .../hudson/PluginManager/advanced.jelly | 4 +- .../hudson/cli/CLIAction/command.jelly | 7 +- .../hudson/cli/CLIAction/example.jelly | 10 ++ .../hudson/cli/CLIAction/index.jelly | 4 +- .../diagnosis/OldDataMonitor/manage.jelly | 5 +- .../model/RunParameterDefinition/config.jelly | 16 ++-- .../Details/config.jelly | 8 +- .../_entryForm.jelly | 92 +++++++++---------- .../config.jelly | 14 ++- .../DownloadFromUrlInstaller/config.jelly | 12 +-- .../ToolLocationNodeProperty/config.jelly | 23 +++-- core/src/main/resources/lib/form/radio.jelly | 8 -- .../main/resources/lib/form/radioBlock.jelly | 8 -- .../resources/lib/form/textarea/textarea.js | 1 + .../resources/lib/hudson/scriptConsole.jelly | 24 +++-- 15 files changed, 121 insertions(+), 115 deletions(-) diff --git a/core/src/main/resources/hudson/PluginManager/advanced.jelly b/core/src/main/resources/hudson/PluginManager/advanced.jelly index 49e5e8078624..5155ca71ecd3 100644 --- a/core/src/main/resources/hudson/PluginManager/advanced.jelly +++ b/core/src/main/resources/hudson/PluginManager/advanced.jelly @@ -62,12 +62,12 @@ THE SOFTWARE. ${%deploytext}
- +

${%Or}

+ class="setting-input validated" checkUrl="'checkPluginUrl?value='+this.value"/> diff --git a/core/src/main/resources/hudson/cli/CLIAction/command.jelly b/core/src/main/resources/hudson/cli/CLIAction/command.jelly index 51cd87c5ffea..53bfdeb07830 100644 --- a/core/src/main/resources/hudson/cli/CLIAction/command.jelly +++ b/core/src/main/resources/hudson/cli/CLIAction/command.jelly @@ -24,10 +24,13 @@ THE SOFTWARE. - + -

Command ${command.name}

+

+ + Command ${command.name} +

diff --git a/core/src/main/resources/hudson/cli/CLIAction/example.jelly b/core/src/main/resources/hudson/cli/CLIAction/example.jelly
index bbf147224a9a..5a4c4cef320f 100644
--- a/core/src/main/resources/hudson/cli/CLIAction/example.jelly
+++ b/core/src/main/resources/hudson/cli/CLIAction/example.jelly
@@ -24,6 +24,16 @@ THE SOFTWARE.
 
 
 
+  
+    
+  
   
java -jar jenkins-cli.jar -s ${h.inferHudsonURL(request)} -webSocket ${commandArgs}
diff --git a/core/src/main/resources/hudson/cli/CLIAction/index.jelly b/core/src/main/resources/hudson/cli/CLIAction/index.jelly index c3a0b817befb..29067da07fad 100644 --- a/core/src/main/resources/hudson/cli/CLIAction/index.jelly +++ b/core/src/main/resources/hudson/cli/CLIAction/index.jelly @@ -24,7 +24,7 @@ THE SOFTWARE. - +
@@ -34,7 +34,7 @@ THE SOFTWARE.
-

+

${%blurb(rootURL)}

diff --git a/core/src/main/resources/hudson/diagnosis/OldDataMonitor/manage.jelly b/core/src/main/resources/hudson/diagnosis/OldDataMonitor/manage.jelly index 9cd52a3d8f3f..276ecde22964 100644 --- a/core/src/main/resources/hudson/diagnosis/OldDataMonitor/manage.jelly +++ b/core/src/main/resources/hudson/diagnosis/OldDataMonitor/manage.jelly @@ -28,9 +28,8 @@ THE SOFTWARE.

${%Manage Old Data}

-

${%blurb.1}

-

${%blurb.2}

- +

${%blurb.1}

+

${%blurb.2}

diff --git a/core/src/main/resources/hudson/model/RunParameterDefinition/config.jelly b/core/src/main/resources/hudson/model/RunParameterDefinition/config.jelly index 3a8cd54c85fb..0699a382603c 100644 --- a/core/src/main/resources/hudson/model/RunParameterDefinition/config.jelly +++ b/core/src/main/resources/hudson/model/RunParameterDefinition/config.jelly @@ -35,14 +35,12 @@ THE SOFTWARE. - -
- + ${%All Builds} + ${%Completed Builds Only} + ${%Successful Builds Only} + ${%Stable Builds Only} -
- + \ No newline at end of file diff --git a/core/src/main/resources/hudson/security/HudsonPrivateSecurityRealm/Details/config.jelly b/core/src/main/resources/hudson/security/HudsonPrivateSecurityRealm/Details/config.jelly index e1f512a3f46f..02c43b5764d0 100644 --- a/core/src/main/resources/hudson/security/HudsonPrivateSecurityRealm/Details/config.jelly +++ b/core/src/main/resources/hudson/security/HudsonPrivateSecurityRealm/Details/config.jelly @@ -24,10 +24,10 @@ THE SOFTWARE. - - + + - - + + diff --git a/core/src/main/resources/hudson/security/HudsonPrivateSecurityRealm/_entryForm.jelly b/core/src/main/resources/hudson/security/HudsonPrivateSecurityRealm/_entryForm.jelly index e30c8fcf8931..3a0bd5627b17 100644 --- a/core/src/main/resources/hudson/security/HudsonPrivateSecurityRealm/_entryForm.jelly +++ b/core/src/main/resources/hudson/security/HudsonPrivateSecurityRealm/_entryForm.jelly @@ -24,7 +24,7 @@ THE SOFTWARE. - + Context where the page is loaded. @@ -43,50 +43,50 @@ THE SOFTWARE. -
-
-

${title}

-
+

${title}

+
+ +
+ ${data.errorMessage} +
+
+ +
+ ${error.value} +
+
+
${%Type}
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
${%Username}:
${%Password}:
${%Confirm password}:
${%Full name}:
${%E-mail address}:
${%Enter text as shown}: +
+ [${%captcha}] +
- - -
- ${data.errorMessage} -
-
- - -
- ${error.value} -
-
- - - - - - - - - - - - - - - - - - - - - - - - - -
- [${%captcha}] -
-
diff --git a/core/src/main/resources/hudson/slaves/EnvironmentVariablesNodeProperty/config.jelly b/core/src/main/resources/hudson/slaves/EnvironmentVariablesNodeProperty/config.jelly index 2bbdee3b9441..a97222848442 100644 --- a/core/src/main/resources/hudson/slaves/EnvironmentVariablesNodeProperty/config.jelly +++ b/core/src/main/resources/hudson/slaves/EnvironmentVariablesNodeProperty/config.jelly @@ -26,15 +26,19 @@ THE SOFTWARE. xmlns:l="/lib/layout" xmlns:t="/lib/hudson" xmlns:f="/lib/form"> -
- + + - + - - + +
+ +
+
+
diff --git a/core/src/main/resources/hudson/tools/DownloadFromUrlInstaller/config.jelly b/core/src/main/resources/hudson/tools/DownloadFromUrlInstaller/config.jelly index 07754af4097d..b6b3869ef0fe 100644 --- a/core/src/main/resources/hudson/tools/DownloadFromUrlInstaller/config.jelly +++ b/core/src/main/resources/hudson/tools/DownloadFromUrlInstaller/config.jelly @@ -31,13 +31,11 @@ THE SOFTWARE. -
- -
+
diff --git a/core/src/main/resources/hudson/tools/ToolLocationNodeProperty/config.jelly b/core/src/main/resources/hudson/tools/ToolLocationNodeProperty/config.jelly index 14da095e3492..5a38fbd626e1 100644 --- a/core/src/main/resources/hudson/tools/ToolLocationNodeProperty/config.jelly +++ b/core/src/main/resources/hudson/tools/ToolLocationNodeProperty/config.jelly @@ -28,21 +28,24 @@ -
- -
+
- + +
+ +
+
+ diff --git a/core/src/main/resources/lib/form/radio.jelly b/core/src/main/resources/lib/form/radio.jelly index 9152d6854733..6df5cfbe5454 100644 --- a/core/src/main/resources/lib/form/radio.jelly +++ b/core/src/main/resources/lib/form/radio.jelly @@ -42,9 +42,6 @@ THE SOFTWARE. If specified, this human readable text will follow the radio, and clicking this text also toggles the radio. - - Description text for the radiobutton, visible below the title. -
@@ -52,11 +49,6 @@ THE SOFTWARE. id="${itemId}" value="${attrs.value}" checked="${attrs.checked?'true':null}" disabled="${readOnlyMode?'true':null}" /> - -
- ${description} -
-
diff --git a/core/src/main/resources/lib/form/radioBlock.jelly b/core/src/main/resources/lib/form/radioBlock.jelly index c9b065d2c0f5..93b2853f2bea 100644 --- a/core/src/main/resources/lib/form/radioBlock.jelly +++ b/core/src/main/resources/lib/form/radioBlock.jelly @@ -40,9 +40,6 @@ THE SOFTWARE. Human readable label text to be rendered next to the radio button. - - Description text for the radiobutton, visible below the title. - Should this control be initially checked or not? @@ -72,11 +69,6 @@ THE SOFTWARE. - -
- ${description} -
-
diff --git a/core/src/main/resources/lib/form/textarea/textarea.js b/core/src/main/resources/lib/form/textarea/textarea.js index 300d69d51d3b..a859c37b047d 100644 --- a/core/src/main/resources/lib/form/textarea/textarea.js +++ b/core/src/main/resources/lib/form/textarea/textarea.js @@ -27,6 +27,7 @@ Behaviour.specify("TEXTAREA.codemirror", 'textarea', 0, function(e) { }; } var scroller = codemirror.getScrollerElement(); + scroller.setAttribute("style","border:1px solid black;"); scroller.style.height = h+"px"; // the form needs to be populated before the "Apply" button diff --git a/core/src/main/resources/lib/hudson/scriptConsole.jelly b/core/src/main/resources/lib/hudson/scriptConsole.jelly index bd1fc23aacb5..4bb4f0b57ea3 100644 --- a/core/src/main/resources/lib/hudson/scriptConsole.jelly +++ b/core/src/main/resources/lib/hudson/scriptConsole.jelly @@ -27,29 +27,35 @@ THE SOFTWARE. --> - + -

${%Script Console}

+ + + + + + + + +

${%Script Console}

-

+

${%description}

-

+

${%description2}

-
- -
-
- + +
+
From 7532463a4c8a7f657f5ff7a02bdcadc243a85c83 Mon Sep 17 00:00:00 2001 From: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Mon, 7 Feb 2022 11:03:56 +0000 Subject: [PATCH 03/11] Delete checkboxes.jelly --- .../main/resources/lib/form/checkboxes.jelly | 40 ------------------- 1 file changed, 40 deletions(-) delete mode 100644 core/src/main/resources/lib/form/checkboxes.jelly diff --git a/core/src/main/resources/lib/form/checkboxes.jelly b/core/src/main/resources/lib/form/checkboxes.jelly deleted file mode 100644 index b76908070b83..000000000000 --- a/core/src/main/resources/lib/form/checkboxes.jelly +++ /dev/null @@ -1,40 +0,0 @@ - - - - -
-
- - ${title} - -
- ${description} -
-
- -
-
-
-
From cd67881373b2a8b8e039dd7c18adcf587c9eb006 Mon Sep 17 00:00:00 2001 From: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Mon, 7 Feb 2022 11:15:47 +0000 Subject: [PATCH 04/11] Move draggable card to --- war/src/main/less/base-styles-v2.less | 2 +- .../{modules/draggable-card.less => form/reorderable-list.less} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename war/src/main/less/{modules/draggable-card.less => form/reorderable-list.less} (100%) diff --git a/war/src/main/less/base-styles-v2.less b/war/src/main/less/base-styles-v2.less index 4e7edd7b43fc..7d291f46d170 100644 --- a/war/src/main/less/base-styles-v2.less +++ b/war/src/main/less/base-styles-v2.less @@ -31,6 +31,7 @@ html { @import './form/input'; @import './form/layout'; @import './form/radio'; +@import './form/reorderable-list'; @import './form/search'; @import './form/select'; @import './form/toggle-switch'; @@ -39,7 +40,6 @@ html { @import './modules/badges'; @import './modules/buttons'; @import './modules/content-blocks'; -@import './modules/draggable-card'; @import './modules/icon-size'; @import './modules/icons'; @import './modules/manage-jenkins'; diff --git a/war/src/main/less/modules/draggable-card.less b/war/src/main/less/form/reorderable-list.less similarity index 100% rename from war/src/main/less/modules/draggable-card.less rename to war/src/main/less/form/reorderable-list.less From ead06c840e5ef76bf1552cfeabd35583716589c3 Mon Sep 17 00:00:00 2001 From: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Mon, 7 Feb 2022 11:18:01 +0000 Subject: [PATCH 05/11] Update toggle-switch.less --- war/src/main/less/form/toggle-switch.less | 87 +++++++++++++++++++---- 1 file changed, 74 insertions(+), 13 deletions(-) diff --git a/war/src/main/less/form/toggle-switch.less b/war/src/main/less/form/toggle-switch.less index 8a98e9c18fed..8a1390cffe13 100644 --- a/war/src/main/less/form/toggle-switch.less +++ b/war/src/main/less/form/toggle-switch.less @@ -1,6 +1,46 @@ .jenkins-toggle-switch { position: relative; display: inline-block; + + &--invert-label { + input { + &:checked { + & + label { + &::after { + left: unset !important; + right: 5px !important; + } + } + } + } + + label { + flex-direction: row-reverse; + + &::before { + margin-left: 1rem; + margin-right: 0 !important; + } + + &::after { + left: unset !important; + right: 25px; + } + + &:active, + &:focus { + &::after { + right: 20px !important; + } + } + + .jenkins-toggle-switch__label__enabled-title, + .jenkins-toggle-switch__label__disabled-title { + left: unset !important; + right: calc(50px + 1rem) !important; + } + } + } } .jenkins-toggle-switch input { @@ -22,15 +62,21 @@ background-color: var(--focus-input-border); } - &:checked + label::after { - left: 25px; - transform: rotate(0deg); - mask-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg width='66px' height='66px' viewBox='0 0 66 66' version='1.1' xmlns='http://www.w3.org/2000/svg'%3E%3Cg stroke='none' stroke-width='1' fill='none' fill-rule='evenodd'%3E%3Cpath d='M66,0 L66,66 L0,66 L0,0 L66,0 Z M37.7154094,29.2061836 C37.3690459,28.9031155 36.8425777,28.9382134 36.5395097,29.2845769 L36.5395097,29.2845769 L31.2924962,35.2799905 L29.4225874,33.410737 L29.3440813,33.3414133 C29.0171724,33.0872262 28.5444804,33.1103341 28.2440774,33.410737 C27.9186409,33.7361736 27.9186409,34.2638104 28.2440774,34.589247 L28.2440774,34.589247 L30.7440745,37.0892441 L30.8202748,37.15679 C31.1634387,37.4256962 31.6657159,37.3856111 31.9604761,37.0487424 L31.9604761,37.0487424 L37.7938027,30.3820833 L37.8577508,30.2991398 C38.0896293,29.9560466 38.0351295,29.4859387 37.7154094,29.2061836 Z' fill='%23000000'%3E%3C/path%3E%3C/g%3E%3C/svg%3E"); - } + &:checked { + & + label { + &::after { + left: 25px; + mask-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg width='66px' height='66px' viewBox='0 0 66 66' version='1.1' xmlns='http://www.w3.org/2000/svg'%3E%3Cg stroke='none' stroke-width='1' fill='none' fill-rule='evenodd'%3E%3Cpath d='M66,0 L66,66 L0,66 L0,0 L66,0 Z M37.7154094,29.2061836 C37.3690459,28.9031155 36.8425777,28.9382134 36.5395097,29.2845769 L36.5395097,29.2845769 L31.2924962,35.2799905 L29.4225874,33.410737 L29.3440813,33.3414133 C29.0171724,33.0872262 28.5444804,33.1103341 28.2440774,33.410737 C27.9186409,33.7361736 27.9186409,34.2638104 28.2440774,34.589247 L28.2440774,34.589247 L30.7440745,37.0892441 L30.8202748,37.15679 C31.1634387,37.4256962 31.6657159,37.3856111 31.9604761,37.0487424 L31.9604761,37.0487424 L37.7938027,30.3820833 L37.8577508,30.2991398 C38.0896293,29.9560466 38.0351295,29.4859387 37.7154094,29.2061836 Z' fill='%23000000'%3E%3C/path%3E%3C/g%3E%3C/svg%3E"); + } - &:active + label::before, - &:focus + label::before { - box-shadow: 0 0 0 5px var(--focus-input-glow); + &:active, + &:focus { + &::after { + left: 20px; + width: 25px; + } + } + } } &:disabled { @@ -48,7 +94,7 @@ margin: 0; cursor: pointer; line-height: 30px; - font-weight: bold; + font-weight: var(--form-label-font-weight); &::before { display: inline-block; @@ -58,8 +104,8 @@ min-height: 30px; background: var(--input-border); border-radius: 19px; - transition: 0.2s ease; - margin-right: 15px; + transition: var(--standard-transition); + margin-right: 1rem; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05), 0 0 0 10px transparent; } @@ -76,9 +122,8 @@ background: var(--background); mask-size: 60px 60px; mask-position: center; - border-radius: 100%; + border-radius: 100px; transition: var(--standard-transition); - transform: rotate(-90deg); box-shadow: -1px 0 0 rgba(0, 0, 0, 0.1); } @@ -91,5 +136,21 @@ &::before { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05), 0 0 0 5px var(--focus-input-glow); } + &::after { + left: 5px; + width: 25px; + } + } + + .jenkins-toggle-switch__label__enabled-title { + opacity: 0; + } + + .jenkins-toggle-switch__label__enabled-title, + .jenkins-toggle-switch__label__disabled-title { + position: absolute; + left: calc(50px + 1rem); + transition: 0.55s cubic-bezier(0, 0.68, 0.5, 1.25); + transform-style: preserve-3d; } } From c4bd3aeb087280bb47207badaab0037daad4e04a Mon Sep 17 00:00:00 2001 From: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Mon, 7 Feb 2022 11:30:29 +0000 Subject: [PATCH 06/11] Update style.less --- war/src/main/less/base/style.less | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/war/src/main/less/base/style.less b/war/src/main/less/base/style.less index 3e351db890d8..2c31f96550f3 100644 --- a/war/src/main/less/base/style.less +++ b/war/src/main/less/base/style.less @@ -723,7 +723,7 @@ table.parameters > tbody:hover { table { border-radius: 0; min-width: 450px; - margin-bottom: 5px; + margin-bottom: 0; box-sizing: content-box; padding-bottom: 2px; From 366bc77fbe07cdb33166bb90dadd364ce572a68e Mon Sep 17 00:00:00 2001 From: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Mon, 7 Feb 2022 20:00:27 +0000 Subject: [PATCH 07/11] Update layout.less --- war/src/main/less/form/layout.less | 6 ------ 1 file changed, 6 deletions(-) diff --git a/war/src/main/less/form/layout.less b/war/src/main/less/form/layout.less index 0411fe441fce..0cdebc519859 100644 --- a/war/src/main/less/form/layout.less +++ b/war/src/main/less/form/layout.less @@ -138,9 +138,3 @@ } } } - -.jenkins-two-columns { - display: grid; - grid-template-columns: 1fr 1fr; - grid-gap: var(--section-padding); -} From de79fde4c0874b3a5c134e5ca283f7292a46da8e Mon Sep 17 00:00:00 2001 From: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Tue, 8 Feb 2022 00:37:26 +0000 Subject: [PATCH 08/11] Update colours, add variables --- .../hudson/cli/CLIAction/example.jelly | 12 +--------- .../hudson/cli/CLIAction/index.jelly | 2 +- war/src/main/less/abstracts/theme.less | 4 ++++ war/src/main/less/base/style.less | 24 ++++++++++++------- war/src/main/less/form/codemirror.less | 9 +++++++ 5 files changed, 31 insertions(+), 20 deletions(-) diff --git a/core/src/main/resources/hudson/cli/CLIAction/example.jelly b/core/src/main/resources/hudson/cli/CLIAction/example.jelly index 5a4c4cef320f..06bc43f57f98 100644 --- a/core/src/main/resources/hudson/cli/CLIAction/example.jelly +++ b/core/src/main/resources/hudson/cli/CLIAction/example.jelly @@ -24,16 +24,6 @@ THE SOFTWARE. - - - -
java -jar jenkins-cli.jar -s ${h.inferHudsonURL(request)} -webSocket ${commandArgs}
+
java -jar jenkins-cli.jar -s ${h.inferHudsonURL(request)} -webSocket ${commandArgs}
diff --git a/core/src/main/resources/hudson/cli/CLIAction/index.jelly b/core/src/main/resources/hudson/cli/CLIAction/index.jelly index 29067da07fad..954d66a6cdf8 100644 --- a/core/src/main/resources/hudson/cli/CLIAction/index.jelly +++ b/core/src/main/resources/hudson/cli/CLIAction/index.jelly @@ -34,7 +34,7 @@ THE SOFTWARE.
-

+

${%blurb(rootURL)}

diff --git a/war/src/main/less/abstracts/theme.less b/war/src/main/less/abstracts/theme.less index ac24f307c49c..9f95aa5a9f61 100644 --- a/war/src/main/less/abstracts/theme.less +++ b/war/src/main/less/abstracts/theme.less @@ -1,6 +1,7 @@ :root { // Font related properties --font-family-sans: -apple-system, blinkmacsystemfont, "Segoe UI", roboto, "Noto Sans", oxygen, ubuntu, cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; + --font-family-mono: ui-monospace, SFMono-Regular, SF Mono, JetBrainsMono, Consolas, monospace; --font-size-base: 1rem; // 16px --font-size-sm: 0.875rem; // 14px --font-size-xs: 0.75rem; // 12px @@ -280,6 +281,9 @@ --form-input-border-radius: 6px; --form-input-glow: 0 0 0 10px transparent; --form-input-glow--focus: 0 0 0 5px var(--focus-input-glow); + --pre-background: rgba(0, 0, 0, 0.05); + --pre-color: var(--text-color); + --selection-color: rgba(2, 76, 182, 0.3); // Animations --standard-transition: 0.2s ease; diff --git a/war/src/main/less/base/style.less b/war/src/main/less/base/style.less index 2c31f96550f3..11f0c5b55104 100644 --- a/war/src/main/less/base/style.less +++ b/war/src/main/less/base/style.less @@ -58,6 +58,10 @@ dt { font-weight: bold; } +::selection { + background: var(--selection-color); +} + .fixed-width { font-family: monospace; } @@ -221,16 +225,20 @@ td.tab { pre { white-space: pre-wrap; word-wrap: break-word; - margin: 0 0 2rem; - padding: 1rem; + margin: 0 0 var(--section-padding); + padding: 0.8rem 1rem; border-radius: 10px; - color: white; - background-color: black; - font-weight: bold; -} - -pre a { + background-color: var(--pre-background); + color: var(--pre-color) !important; + font-family: var(--font-family-mono) !important; + font-weight: 600 !important; + line-height: 1.66 !important; + + a { + color: inherit !important; + font-weight: inherit; word-wrap: break-word; + } } pre.console { diff --git a/war/src/main/less/form/codemirror.less b/war/src/main/less/form/codemirror.less index 225c9d854c40..f8948eb8f406 100644 --- a/war/src/main/less/form/codemirror.less +++ b/war/src/main/less/form/codemirror.less @@ -13,6 +13,7 @@ box-shadow: var(--form-input-glow); transition: var(--standard-transition); cursor: text; + margin-bottom: var(--section-padding); &:hover { border-color: var(--input-border-hover); @@ -30,4 +31,12 @@ border: none; outline: none; } + + .cm-variable { + color: var(--text-color) !important; + } + + .CodeMirror-selected { + background-color: var(--selection-color) !important; + } } From b90498749a9b20868f43161f238356bf9f82f3b0 Mon Sep 17 00:00:00 2001 From: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Tue, 8 Feb 2022 00:46:08 +0000 Subject: [PATCH 09/11] Update codemirror.less --- war/src/main/less/form/codemirror.less | 1 + 1 file changed, 1 insertion(+) diff --git a/war/src/main/less/form/codemirror.less b/war/src/main/less/form/codemirror.less index f8948eb8f406..265544c96265 100644 --- a/war/src/main/less/form/codemirror.less +++ b/war/src/main/less/form/codemirror.less @@ -2,6 +2,7 @@ // CodeMirror text boxes may be resized both horizontally and vertically to ensure // users have enough space to write scripts resize: both; + border: none !important; } .CodeMirror { From c1c25f0da21d3ec8fbc3361141136039a731703a Mon Sep 17 00:00:00 2001 From: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Tue, 8 Feb 2022 00:51:46 +0000 Subject: [PATCH 10/11] Fix log recorder --- .../resources/lib/hudson/logRecords.jelly | 6 ++++-- war/src/main/less/base/style.less | 20 +++++++++++++++++++ 2 files changed, 24 insertions(+), 2 deletions(-) diff --git a/core/src/main/resources/lib/hudson/logRecords.jelly b/core/src/main/resources/lib/hudson/logRecords.jelly index ec5c47119dce..fbb610782b63 100644 --- a/core/src/main/resources/lib/hudson/logRecords.jelly +++ b/core/src/main/resources/lib/hudson/logRecords.jelly @@ -31,10 +31,12 @@ THE SOFTWARE. - +
+
-
+ +
diff --git a/war/src/main/less/base/style.less b/war/src/main/less/base/style.less index 11f0c5b55104..d53510a4c6a4 100644 --- a/war/src/main/less/base/style.less +++ b/war/src/main/less/base/style.less @@ -1334,6 +1334,26 @@ table.progress-bar.red td.progress-bar-done { /* ========================= logRecords.jelly ================== */ +.logrecord-container { + border-radius: 10px; + overflow: hidden; + + pre { + padding-top: 0; + padding-bottom: 0.1rem; + margin-bottom: 0; + border-radius: 0; + + &:first-of-type { + padding-top: 0.8rem; + } + + &:last-of-type { + padding-bottom: 0.8rem; + } + } +} + .logrecord-metadata { font-size: var(--font-size-xs); } From d42d67b4f293602e36ce746cd0bc8af55e8bc15a Mon Sep 17 00:00:00 2001 From: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Tue, 8 Feb 2022 13:12:44 +0000 Subject: [PATCH 11/11] Update style.less --- war/src/main/less/base/style.less | 1 - 1 file changed, 1 deletion(-) diff --git a/war/src/main/less/base/style.less b/war/src/main/less/base/style.less index d53510a4c6a4..b08cd97bc0d4 100644 --- a/war/src/main/less/base/style.less +++ b/war/src/main/less/base/style.less @@ -235,7 +235,6 @@ pre { line-height: 1.66 !important; a { - color: inherit !important; font-weight: inherit; word-wrap: break-word; }