Skip to content

Commit

Permalink
Form input styling
Browse files Browse the repository at this point in the history
Use bootstrap styling, with size according to parent to make entire input visible,
and mark input as required.
  • Loading branch information
albertony committed Apr 16, 2022
1 parent d2332bc commit a3f50ea
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cli-token.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ <h1>{{appname}} for {{service}}</h1>
<p>Type in the CLI token</p>
<form action="/cli-token-login" method="POST">
<input type="hidden" id="id" name="id" value="{{id}}" />
<input type="text" id="token" name="token" />
<input class="form-control" type="text" id="token" name="token" required />
<br/>
<br/>
<input class="btn btn-primary btn-lg" role="button" type="submit" value="Login" />
Expand Down
2 changes: 1 addition & 1 deletion revoke.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ <h1>{{appname}}</h1>

<p>Type in the AuthID to revoke</p>
<form action="/revoked" method="POST">
<input type="text" id="authid" name="authid" />
<input class="form-control" type="text" id="authid" name="authid" required />
<br/>
<br/>
<input class="btn btn-primary btn-lg" role="button" type="submit" value="Revoke AuthID" />
Expand Down

0 comments on commit a3f50ea

Please sign in to comment.