Merge pull request #2 from p-num/fix/rebranding

Fix/rebranding
This commit is contained in:
Letro Bot
2026-04-06 19:14:06 +03:30
41 changed files with 1076 additions and 346 deletions

View File

@@ -10,7 +10,7 @@ Please see LICENSE files in the repository root for full details.
{% set _ = translator(lang) %}
<!DOCTYPE html>
<html lang="{{ lang }}">
<html lang="{{ lang }}" class="cpd-theme-light">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />

View File

@@ -18,7 +18,7 @@ Please see LICENSE files in the repository root for full details.
{% import "components/captcha.html" as captcha %}
<!DOCTYPE html>
<html lang="{{ lang }}">
<html lang="{{ lang }}" class="cpd-theme-light">
<head>
<meta charset="utf-8">
<title>{% block title %}{{ _("app.name") }}{% endblock title %}</title>

File diff suppressed because one or more lines are too long

View File

@@ -8,10 +8,12 @@ Please see LICENSE files in the repository root for full details.
{% extends "base.html" %}
{% import "components/brand_logo.html" as brand_logo %}
{% block content %}
<header class="page-heading">
<div class="icon">
{{ icon.link() }}
<div class="brand-logo">
{{ brand_logo.postnumber_logo() }}
</div>
<div class="header">

View File

@@ -8,13 +8,14 @@ Please see LICENSE files in the repository root for full details.
{% extends "base.html" %}
{% import "components/brand_logo.html" as brand_logo %}
{% from "components/idp_brand.html" import logo %}
{% block content %}
<form method="POST" class="flex flex-col gap-10">
<form method="POST" class="login-page flex flex-col gap-10" data-disable-submit-until-valid>
<header class="page-heading">
<div class="icon">
{{ icon.user_profile_solid() }}
<div class="brand-logo">
{{ brand_logo.postnumber_logo() }}
</div>
{% if next and next.kind == "link_upstream" %}

View File

@@ -8,10 +8,12 @@ Please see LICENSE files in the repository root for full details.
{% extends "base.html" %}
{% import "components/brand_logo.html" as brand_logo %}
{% block content %}
<header class="page-heading">
<div class="icon">
{{ icon.lock() }}
<div class="brand-logo">
{{ brand_logo.postnumber_logo() }}
</div>
<div class="header">

View File

@@ -8,13 +8,14 @@ Please see LICENSE files in the repository root for full details.
{% extends "base.html" %}
{% import "components/brand_logo.html" as brand_logo %}
{% from "components/idp_brand.html" import logo %}
{% block content %}
<form method="GET" class="flex flex-col gap-10" action="{{ '/register/password' | prefix_url }}">
<header class="page-heading">
<div class="icon">
{{ icon.user_profile_solid() }}
<div class="brand-logo">
{{ brand_logo.letro_logo() }}
</div>
<div class="header">

View File

@@ -8,10 +8,12 @@ Please see LICENSE files in the repository root for full details.
{% extends "base.html" %}
{% import "components/brand_logo.html" as brand_logo %}
{% block content %}
<header class="page-heading">
<div class="icon">
{{ icon.user_profile_solid() }}
<div class="brand-logo">
{{ brand_logo.letro_logo() }}
</div>
<div class="header">

View File

@@ -8,13 +8,14 @@ Please see LICENSE files in the repository root for full details.
{% extends "base.html" %}
{% import "components/brand_logo.html" as brand_logo %}
{% from "components/idp_brand.html" import logo %}
{% block content %}
{% if force_localpart %}
<header class="page-heading">
<div class="icon">
{{ icon.download() }}
<div class="brand-logo">
{{ brand_logo.framed_logo() }}
</div>
<div class="header">
@@ -28,8 +29,8 @@ Please see LICENSE files in the repository root for full details.
</header>
{% elif upstream_oauth_provider.human_name is not none %}
<header class="page-heading">
<div class="icon">
{{ icon.user_profile_solid() }}
<div class="brand-logo">
{{ brand_logo.framed_logo() }}
</div>
<div class="header">
@@ -40,8 +41,8 @@ Please see LICENSE files in the repository root for full details.
</header>
{% else %}
<header class="page-heading">
<div class="icon">
{{ icon.mention() }}
<div class="brand-logo">
{{ brand_logo.framed_logo() }}
</div>
<div class="header">

View File

@@ -8,10 +8,12 @@ Please see LICENSE files in the repository root for full details.
{% extends "base.html" %}
{% import "components/brand_logo.html" as brand_logo %}
{% block content %}
<header class="page-heading">
<div class="icon">
{{ icon.link() }}
<div class="brand-logo">
{{ brand_logo.postnumber_logo() }}
</div>
<div class="header">