Skip to content

Commit 481d596

Browse files
committed
improve oops page with inline alerts around links [PTV-1884]
1 parent f53ba77 commit 481d596

1 file changed

Lines changed: 11 additions & 4 deletions

File tree

src/plugin/iframe_root/modules/reactComponents/SignInOops.js

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ define([
33
'htm',
44
'reactComponents/CollapsiblePanel',
55
'reactComponents/Well',
6+
'reactComponents/Alert',
67
'lib/provider',
78

89
'bootstrap'
@@ -11,6 +12,7 @@ define([
1112
htm,
1213
CollapsiblePanel,
1314
Well,
15+
Alert,
1416
provider,
1517
) => {
1618

@@ -78,7 +80,7 @@ define([
7880
<${Well} type="warning">
7981
${explanation}
8082
<div style=${{marginBottom: '5px'}}>
81-
83+
<${Alert} variant="info" type="inline">
8284
<a href=${provider.logoutUrl}
8385
target="_blank">
8486
<span className="fa fa-external-link"
@@ -90,13 +92,18 @@ define([
9092
${provider.label}
9193
</span>
9294
</a>
95+
</>
9396
</div>
9497
<p>
9598
After signing out from <span className="-textSpan">
9699
${provider.label}
97-
</span> you will need to <a href="/#login" target="_parent" className="-textSpan">
98-
<span className="fa fa-sign-in -textSpan" /> Sign in to KBase
99-
</a> again.
100+
</span> you will need to
101+
<${Alert} variant="info" type="inline" style=${{margin: '0 0.3rem'}}>
102+
<a href="/#login" target="_parent" className="-textSpan">
103+
<span className="fa fa-sign-in -textSpan" /> Sign in to KBase
104+
</a>
105+
</>
106+
again.
100107
</p>
101108
</div>
102109
</>

0 commit comments

Comments
 (0)