This commit is contained in:
copyrighttxt
2026-08-03 16:16:44 -04:00
committed by GitHub
parent 02c22a1d56
commit 3447ebeefa
3 changed files with 17 additions and 2 deletions
+15
View File
@@ -43,7 +43,9 @@
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.13.1/font/bootstrap-icons.min.css">
<link href="/static/css/global.css" rel="stylesheet" />
{% if not auth_page: %}
<link href="/static/css/header.css?random={{ BuildVersionDontGetThisMixedUpCuh }}" rel="stylesheet" />
{% endif %}
{% if currentuser: %}
<script src="/static/js/presence.js"></script>{% endif %}
@@ -55,6 +57,19 @@
<body {% if website_wide_message %}class="has-alert" {% endif %}>
<div class="width-100">
{% if auth_page: %}
<style>
body {
padding-top: 0 !important;
}
.main-content {
margin-left: 0 !important;
padding: 0 !important;
min-height: 100vh;
}
</style>
{% endif %}
{% if currentuser: %}
<button class="toggle-sidebar btn btn-link text-white d-lg-none position-fixed top-0 start-0 m-2 z-3">
<i class="bi bi-list fs-4"></i>
+1 -1
View File
@@ -59,7 +59,7 @@ def login_page():
if not loginEnabled:
flash("Logins are temporarily disabled", "error")
login_page_response = make_response(render_template("login/login.html", loginEnabled=loginEnabled))
login_page_response = make_response(render_template("login/login.html", loginEnabled=loginEnabled, auth_page=True))
if request.cookies.get( key = ".ROBLOSECURITY", default = None, type = str ) is not None:
login_page_response.set_cookie(
key = ".ROBLOSECURITY",
+1 -1
View File
@@ -34,7 +34,7 @@ def signup_page():
flash("Signups are temporarily disabled")
SignupEnabled = False
InviteKeysEnabled = websiteFeatures.GetWebsiteFeature("InviteKeys")
return render_template("signup/signup.html", SignupEnabled=SignupEnabled, InviteKeysEnabled=InviteKeysEnabled)
return render_template("signup/signup.html", SignupEnabled=SignupEnabled, InviteKeysEnabled=InviteKeysEnabled, auth_page=True)
def RateLimitReached(e):
flash("You are being rate limited. Please try again later.")