Skip to content

Commit

Permalink
update login page
Browse files Browse the repository at this point in the history
  • Loading branch information
dbarzin committed Sep 26, 2024
1 parent 7954fbd commit fb5716c
Showing 1 changed file with 30 additions and 2 deletions.
32 changes: 30 additions & 2 deletions resources/views/auth/login.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,36 @@
<link rel="stylesheet" href="/css/all.css" />
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
<script src="/js/all.js"></script>

<style>
body {
background-image: url('/images/deming.png'); /* Remplacez par le chemin de votre logo */
background-size: 800px 800px;
background-position: center;
background-repeat: no-repeat;
}
.login-form {
background-color: rgba(255, 255, 255, 0.7) !important; /* Fond blanc avec 70% d'opacité */
border-radius: 10px;
padding: 20px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.form-control {
background-color: rgba(255, 255, 255, 0.7) !important; /* Fond partiellement transparent pour les champs de texte */
border: 1px solid rgba(0, 0, 0, 0.2);
}
.form-control:focus {
background-color: rgba(255, 255, 255, 0.9) !important; /* Augmente la visibilité lors du focus */
}
h2 {
color: #333; /* Couleur du texte du titre */
text-align: center;
}
</style>
</head>

<body class="d-flex flex-justify-center flex-align-center bg-default">
Expand All @@ -22,8 +52,6 @@ class="login-form bg-white p-6 mx-auto border fg-black win-shadow"
data-on-error-form="invalidForm"
data-on-validate-form="validateForm">
@csrf
<span class="mif-lock mif-4x place-right ani-shake fg-cyan" style="margin-top: -10px;"></span>
<h2 class="text-medium m-0 pl-7" style="line-height: 52px">Deming</h2>
<div class="mb-4">{{ trans("cruds.login.connection") }}</div>
<div class="form-group">
<input type="text" data-role="input" class="form-control @error('login') is-invalid @enderror @error('email') is-invalid @enderror" data-prepend="<span class='mif-user'></span>" name="login" value="{{ old('login') }}" id="login" required>
Expand Down

0 comments on commit fb5716c

Please sign in to comment.