Skip to content

Commit 787232a

Browse files
committed
Hide intro section in presenter mode
1 parent 1b600eb commit 787232a

File tree

1 file changed

+15
-11
lines changed

1 file changed

+15
-11
lines changed

src/Pages/Home/JwtDecoder/JwtDecoder.cshtml

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,19 @@
33

44
<div class="jwt-decoder-page">
55
<h2 id="jwt-decoder" style="scroll-margin-top: 3em;">JSON Web Token (JWT) Decoder</h2>
6-
<p class="lead">
7-
Using this tool, you can decode and validate JSON Web Tokens (JWTs) issued by IdentityServer or another token issuer.
8-
</p>
9-
<p>
10-
A JSON Web Token (JWT) is a compact, URL-safe means of representing claims to be transferred between two parties.
11-
It is commonly used for authentication and information exchange in web applications.
12-
A JWT consists of three parts: a header, a payload, and a signature, separated by dots.
13-
<br />
14-
<br />
15-
For more details, see <a href="https://datatracker.ietf.org/doc/html/rfc7519" target="_blank">RFC 7519</a>.
16-
</p>
6+
<div id="intro">
7+
<p class="lead">
8+
Using this tool, you can decode and validate JSON Web Tokens (JWTs) issued by IdentityServer or another token issuer.
9+
</p>
10+
<p>
11+
A JSON Web Token (JWT) is a compact, URL-safe means of representing claims to be transferred between two parties.
12+
It is commonly used for authentication and information exchange in web applications.
13+
A JWT consists of three parts: a header, a payload, and a signature, separated by dots.
14+
<br />
15+
<br />
16+
For more details, see <a href="https://datatracker.ietf.org/doc/html/rfc7519" target="_blank">RFC 7519</a>.
17+
</p>
18+
</div>
1719
<div class="alert alert-warning d-flex align-items-center">
1820
<i class="glyphicon glyphicon-exclamation-sign" style="font-size: 3em" title="Warning"></i>
1921
<div class="mx-3">
@@ -290,11 +292,13 @@
290292
$('.row-jwt').removeClass('align-items-stretch');
291293
$('.col-jwt').removeClass('col-md-6');
292294
$('#jwt-input').parent().removeClass('flex-grow-1');
295+
$('#intro').addClass('d-none');
293296
}
294297
else {
295298
$('.row-jwt').addClass('align-items-stretch');
296299
$('.col-jwt').addClass('col-md-6');
297300
$('#jwt-input').parent().addClass('flex-grow-1');
301+
$('#intro').removeClass('d-none');
298302
}
299303
}
300304

0 commit comments

Comments
 (0)