Skip to content

Commit

Permalink
bugfix: Added sign-in link under gitlab page template (cesanta#323)
Browse files Browse the repository at this point in the history
Co-authored-by: Aleksei Apaseev <[email protected]>
  • Loading branch information
alekseiapa and alekseiapa authored Nov 12, 2021
1 parent da51c14 commit 03dedd4
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions auth_server/authn/data/gitlab_auth.tmpl
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@
#login-with-gitlab code {
font-size: 1.4em;
}
#revoke-access {
#revoke-access, #sign-in {
color: #666;
font-size: 0.8em;
text-decoration: none;
}
#revoke-access:hover {
#revoke-access:hover, #sign-in:hover {
text-decoration: underline;
}
</style>
Expand All @@ -30,8 +30,11 @@
<body>
<div id="panel">
<p>
<a id="gitlab-icon" href="{{.GitlabWebUri}}/oauth/authorize?client_id={{.ClientId}}&redirect_uri={{.RedirectUri}}&response_type=code&state=&scope=read_user">
<img src="https://about.gitlab.com/images/press/logo/png/gitlab-logo-gray-stacked-rgb.png" width="155px" height="155px"></img>
<img src="https://about.gitlab.com/images/press/logo/png/gitlab-logo-gray-stacked-rgb.png" width="155px" height="155px"></img>
</p>
<p>
<a id="sign-in" href="{{.GitlabWebUri}}/oauth/authorize?client_id={{.ClientId}}&redirect_uri={{.RedirectUri}}&response_type=code&state=&scope=read_user">
Login
</a>
</p>
<p>
Expand Down

0 comments on commit 03dedd4

Please sign in to comment.