File tree Expand file tree Collapse file tree 2 files changed +21
-25
lines changed
resources/io/jenkins/plugins/bootstrap5/MessagesViewModel Expand file tree Collapse file tree 2 files changed +21
-25
lines changed Original file line number Diff line number Diff line change 11<?jelly escape-by-default =' true' ?>
2- <j : jelly xmlns : j =" jelly:core" xmlns : st =" jelly:stapler" xmlns : bs =" /bootstrap5" >
2+ <j : jelly xmlns : j =" jelly:core" xmlns : st =" jelly:stapler" xmlns : bs =" /bootstrap5" xmlns : fa = " /font-awesome " >
33
44 <st : header name =" Content-Type" value =" text/html;charset=UTF-8" />
55
66 <bs : page it =" ${it}" >
77
8- <j : if test =" ${size(errors ) > 0}" >
8+ <j : if test =" ${size(it.errorMessages ) > 0}" >
99 <div class =" row py-3" >
1010 <div class =" col" >
11- <bs : card title =" ${%Error Messages}" fontAwesomeIcon =" exclamation-triangle" >
12-
13- <pre >
14- <samp id =" errors" class =" log-output" >
15- <j : forEach var =" message" items =" ${it.errorMessages}" >
16- <div >
17- ${message}
18- </div >
19- </j : forEach >
20- </samp >
21- </pre >
22-
23- </bs : card >
11+
12+ <div class =" card" >
13+ <div class =" card-body" >
14+ <div class =" card-title" >
15+ ${%Error Messages}
16+ <fa : svg-icon name =" exclamation-triangle" class =" icon-right fa-image-button-warning" />
17+ </div >
18+ <pre >
19+ <samp id =" errors" class =" log-output" >
20+ <j : forEach var =" message" items =" ${it.errorMessages}" >
21+ <div >
22+ ${message}
23+ </div >
24+ </j : forEach >
25+ </samp >
26+ </pre >
27+ </div >
28+ </div >
2429 </div >
2530 </div >
2631 </j : if >
Original file line number Diff line number Diff line change 3030 font-size : var (--font-size-sm );
3131}
3232
33- .info-page-decorator {
34- fill : # b4b4b4 ;
35- height : 16px ;
36- width : 16px ;
37- vertical-align : text-bottom;
38- margin-left : 0.2em ;
39- }
40-
4133/* ------------------------------------------------------------------------------------------------------------------- */
4234/* Bootstrap Carousel */
4335/* ------------------------------------------------------------------------------------------------------------------- */
5951 font-size : inherit;
6052}
6153
62-
6354.card-title {
6455 font-size : 1.2rem ;
6556 font-weight : 500 ;
6859
6960.icon-right {
7061 float : right;
71- fill : # b4b4b4 ;
62+ fill : var ( --fa-image-color ) ;
7263 height : 48px ;
7364 width : 48px ;
7465 position : absolute;
You can’t perform that action at this time.
0 commit comments