Skip to content

Commit

Permalink
opt login form & support OIDC_BTN_NAME (#2329)
Browse files Browse the repository at this point in the history
  • Loading branch information
finovy committed Oct 13, 2023
1 parent d4b5ea9 commit 815cbd5
Show file tree
Hide file tree
Showing 6 changed files with 99 additions and 76 deletions.
9 changes: 6 additions & 3 deletions common/static/dist/css/login.css
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,15 @@
justify-content: center;
align-items: center;
height: 90vh;
margin: 0;
}

.mypanalbox {
.login-form-wrapper {
background-color: #FFF;
border-radius: 8px;
box-shadow: 3px 3px 3px;
border-radius: 4px;
box-shadow: rgba(0,0,0,0.1) 0 3px 5px;
padding: 30px 10px;
border-top: 5px solid #337ab7;
}

.login-form {
Expand Down
2 changes: 1 addition & 1 deletion common/templates/2fa.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
</head>
<body onload="document.getElementById('otpCode').focus()" style="background-color:#edeff1;">
<div class="row lsb-login">
<div class="col-sm-3 mypanalbox">
<div class="col-sm-3 login-form-wrapper">
<form class="login-form fade-in-effect" id="auth" method="post" role="form">
{% csrf_token %}
{% if verify_mode == 'verify_config' %}
Expand Down
Loading

0 comments on commit 815cbd5

Please sign in to comment.