Fix auth server templates on mobile views
This commit is contained in:
@@ -29,11 +29,6 @@ body {
|
||||
right: 0;
|
||||
}
|
||||
|
||||
.user {
|
||||
top: 0;
|
||||
right: 0;
|
||||
}
|
||||
|
||||
.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
|
||||
font-family: 'Poppins';
|
||||
font-weight: 600;
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
</main>
|
||||
{{ template "inc_toasts.html.tpl" .alerts }}
|
||||
<div class="footer col text-center py-4 text-white">
|
||||
{{ tr "inc_footer.code-link" }}<a data-test-id="link-github" href="https://github.com/cortezaproject/" target="_blank" class="text-white ml-2">GitHub</a>
|
||||
</div>
|
||||
<footer class="d-flex align-items-end justify-content-center text-white p-2 pt-4">
|
||||
{{ tr "inc_footer.code-link" }}<a data-test-id="link-github" href="https://github.com/cortezaproject/" target="_blank" class="text-white ml-2">GitHub</a>
|
||||
</footer>
|
||||
</body>
|
||||
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js" integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj" crossorigin="anonymous"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@4.6.0/dist/js/bootstrap.bundle.min.js" integrity="sha384-Piv4xVNRyMGpqkS2by6br4gNJ7DXjqk09RmUpJ8jgGtD7zP9yug3goQfGII0yAns" crossorigin="anonymous"></script>
|
||||
|
||||
@@ -14,16 +14,19 @@
|
||||
<link href="{{ links.AuthAssets }}/style.css?{{ buildtime }}" rel="stylesheet">
|
||||
<title>Corteza</title>
|
||||
</head>
|
||||
<body style="background: url({{ links.Assets }}/release-background.png) no-repeat top;background-size: cover;background-attachment: fixed;">
|
||||
{{ if .user }}
|
||||
<div class="position-absolute user text-white m-2">
|
||||
<a class="font-weight-bold text-white" href="{{ links.Base }}"><i class="bi bi-grid-3x2-gap-fill text-white mr-1 align-middle" style="font-size: 1.4rem;"></i></a>
|
||||
{{ tr "inc_header.logged-in-as" }}
|
||||
<a data-test-id="link-redirect-to-profile" class="font-weight-bold text-white" href="{{ links.Profile }}">{{ coalesce .user.Name .user.Handle .user.Email }}</a>
|
||||
|
|
||||
<a data-test-id="link-logout" class="font-weight-bold text-white" href="{{ links.Logout }}">{{ tr "inc_header.logout" }}</a>
|
||||
</div>
|
||||
{{ end }}
|
||||
<main class="auth mt-sm-5 pt-md-5">
|
||||
<body style="background: url({{ links.Assets }}/release-background.png) no-repeat top;background-size: cover;background-attachment: fixed; margin-top: 0;">
|
||||
{{ if .user }}
|
||||
<header>
|
||||
<div class="float-right text-white m-2">
|
||||
<a class="font-weight-bold text-white" href="{{ links.Base }}"><i class="bi bi-grid-3x2-gap-fill text-white mr-1 align-middle" style="font-size: 1.4rem;"></i></a>
|
||||
{{ tr "inc_header.logged-in-as" }}
|
||||
<a data-test-id="link-redirect-to-profile" class="font-weight-bold text-white" href="{{ links.Profile }}">{{ coalesce .user.Name .user.Handle .user.Email }}</a>
|
||||
|
|
||||
<a data-test-id="link-logout" class="font-weight-bold text-white" href="{{ links.Logout }}">{{ tr "inc_header.logout" }}</a>
|
||||
</div>
|
||||
</header>
|
||||
{{ end }}
|
||||
|
||||
<main class="auth mt-3">
|
||||
<div class="card">
|
||||
{{ template "inc_nav.html.tpl" . }}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<div class="header card-header border-0 p-0">
|
||||
<div class="text-center w-100 my-4">
|
||||
<div class="text-center w-100 my-2 my-sm-4">
|
||||
<a href="{{ links.Profile }}">
|
||||
<img
|
||||
data-test-id="img-corteza-logo"
|
||||
|
||||
Reference in New Issue
Block a user