File tree 2 files changed +4
-4
lines changed
internal/webapi/templates
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 65
65
</ div >
66
66
</ nav >
67
67
68
- {{ if .WebApiCfg.Debug }}
68
+ {{ if not .WebApiCfg.Debug }}
69
69
< div class ="container ">
70
70
< div class ="alert alert-danger my-2 w-100 text-center font-weight-bold ">
71
71
Web server is running in debug mode - don't do this in production!
Original file line number Diff line number Diff line change 2
2
3
3
< div class ="py-4 container ">
4
4
< h1 > Login</ h1 >
5
- < form class =" py-3 " action ="/admin " method ="post ">
5
+ < form action ="/admin " method ="post ">
6
6
7
- < input type ="password " name ="password " autofocus required placeholder ="Enter password ">
7
+ < input class =" form-control w-auto my-2 " type ="password " name ="password " autofocus required placeholder ="Enter password ">
8
8
9
9
< p class ="my-1 vsp-text-orange " style ="visibility:{{ if .FailedLoginMsg }}visible{{ else }}hidden{{ end }}; "> {{ .FailedLoginMsg }}</ p >
10
10
11
- < button class ="btn btn-primary " type ="submit "> Login</ button >
11
+ < button class ="btn btn-primary my-2 " type ="submit "> Login</ button >
12
12
</ form >
13
13
14
14
</ div >
You can’t perform that action at this time.
0 commit comments