File tree 2 files changed +20
-18
lines changed 2 files changed +20
-18
lines changed Original file line number Diff line number Diff line change 7
7
</ head >
8
8
9
9
< body >
10
- < div class ="login ">
11
- < div class ="back "> < - Back </ div >
12
- < h4 class ="title "> code-server</ h4 >
13
- < h2 class ="subtitle ">
14
- Enter server password
15
- </ h2 >
16
- < form >
17
- < div class ="mdc-text-field ">
18
- < input type ="password " id ="password " class ="mdc-text-field__input " required >
19
- < label class ="mdc-floating-label " for ="password "> Password</ label >
20
- < div class ="mdc-line-ripple "> </ div >
21
- </ div >
22
- < button id ="submit " class ="mdc-button mdc-button--unelevated ">
23
- < span class ="mdc-button__label "> Enter IDE</ span >
24
- </ button >
10
+ < form action ="javascript:history.go(0) ">
11
+ < div class ="login ">
12
+ < div class ="back ">
13
+ < - Back </ div > < h4 class ="title "> code-server</ h4 >
14
+ < h2 class ="subtitle ">
15
+ Enter server password
16
+ </ h2 >
17
+ < form >
18
+ < div class ="mdc-text-field ">
19
+ < input type ="password " id ="password " class ="mdc-text-field__input " required >
20
+ < label class ="mdc-floating-label " for ="password "> Password</ label >
21
+ < div class ="mdc-line-ripple "> </ div >
22
+ </ div >
23
+ < button id ="submit " class ="mdc-button mdc-button--unelevated ">
24
+ < span class ="mdc-button__label "> Enter IDE</ span >
25
+ </ button >
26
+ </ form >
27
+ < div id ="error-display "> </ div >
28
+ </ div >
25
29
</ form >
26
- < div id ="error-display "> </ div >
27
- </ div >
28
30
</ body >
29
31
30
32
</ html >
Original file line number Diff line number Diff line change @@ -38,4 +38,4 @@ const errorDisplay = document.getElementById("error-display") as HTMLDivElement;
38
38
39
39
if ( document . referrer === document . location . href && matches ) {
40
40
errorDisplay . innerText = "Password is incorrect!" ;
41
- }
41
+ }
You can’t perform that action at this time.
0 commit comments