mirror of
https://github.com/Floriansylvain/RenewCMS.git
synced 2026-08-19 11:43:22 +02:00
cean: fixed html style
This commit is contained in:
@@ -2,11 +2,17 @@
|
|||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta content="width=device-width, initial-scale=1.0" name="viewport">
|
||||||
<title>Login Page</title>
|
<title>Login Page</title>
|
||||||
|
|
||||||
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
|
<link crossorigin="anonymous"
|
||||||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js" defer></script>
|
href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.1/dist/css/bootstrap.min.css"
|
||||||
|
integrity="sha384-4bw+/aepP/YC94hEpVNVgiZdgIC5+VKNBQNGCHeKRQN+PtmoHDEXuppvnDJzQIu9"
|
||||||
|
rel="stylesheet">
|
||||||
|
<script crossorigin="anonymous"
|
||||||
|
defer
|
||||||
|
integrity="sha384-HwwvtgBNo3bZJJLYd8oVXjrBZt8cqVSpeBNS5n7C8IVInixGAoxmnlMuBnhbgrkm"
|
||||||
|
src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.1/dist/js/bootstrap.bundle.min.js"></script>
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
+19
-17
@@ -2,14 +2,17 @@
|
|||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta content="width=device-width, initial-scale=1.0" name="viewport">
|
||||||
<title>GohCMS | Login</title>
|
<title>GohCMS | Login</title>
|
||||||
|
|
||||||
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.1/dist/css/bootstrap.min.css" rel="stylesheet"
|
<link crossorigin="anonymous"
|
||||||
integrity="sha384-4bw+/aepP/YC94hEpVNVgiZdgIC5+VKNBQNGCHeKRQN+PtmoHDEXuppvnDJzQIu9" crossorigin="anonymous">
|
href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.1/dist/css/bootstrap.min.css"
|
||||||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.1/dist/js/bootstrap.bundle.min.js"
|
integrity="sha384-4bw+/aepP/YC94hEpVNVgiZdgIC5+VKNBQNGCHeKRQN+PtmoHDEXuppvnDJzQIu9"
|
||||||
integrity="sha384-HwwvtgBNo3bZJJLYd8oVXjrBZt8cqVSpeBNS5n7C8IVInixGAoxmnlMuBnhbgrkm" crossorigin="anonymous"
|
rel="stylesheet">
|
||||||
defer></script>
|
<script crossorigin="anonymous"
|
||||||
|
defer
|
||||||
|
integrity="sha384-HwwvtgBNo3bZJJLYd8oVXjrBZt8cqVSpeBNS5n7C8IVInixGAoxmnlMuBnhbgrkm"
|
||||||
|
src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.1/dist/js/bootstrap.bundle.min.js"></script>
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
.form-container {
|
.form-container {
|
||||||
@@ -22,31 +25,30 @@
|
|||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="d-flex flex-column gap-5 m-auto form-container">
|
<div class="d-flex flex-column gap-5 m-auto form-container">
|
||||||
<h1>GohCMS</h1>
|
<h1>GohCMS</h1>
|
||||||
<form action="login" method="POST" class="">
|
<form action="login" class="" method="POST">
|
||||||
<div class="d-flex flex-column gap-4">
|
<div class="d-flex flex-column gap-4">
|
||||||
<div class="form-floating">
|
<div class="form-floating">
|
||||||
<input
|
<input class="form-control {{ if .IsError }} is-invalid {{ end }}"
|
||||||
name="username"
|
|
||||||
type="text"
|
|
||||||
class="form-control {{ if .IsError }} is-invalid {{ end }}"
|
|
||||||
id="username"
|
id="username"
|
||||||
|
name="username"
|
||||||
placeholder="Votre nom d'utilisateur"
|
placeholder="Votre nom d'utilisateur"
|
||||||
required>
|
required
|
||||||
|
type="text">
|
||||||
<label for="username">Username</label>
|
<label for="username">Username</label>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-floating">
|
<div class="form-floating">
|
||||||
<input name="password"
|
<input class="form-control {{ if .IsError }} is-invalid {{ end }}"
|
||||||
type="password"
|
|
||||||
class="form-control {{ if .IsError }} is-invalid {{ end }}"
|
|
||||||
id="password"
|
id="password"
|
||||||
|
name="password"
|
||||||
placeholder="Votre mot de passe"
|
placeholder="Votre mot de passe"
|
||||||
required>
|
required
|
||||||
|
type="password">
|
||||||
<label for="password">Password</label>
|
<label for="password">Password</label>
|
||||||
<div class="invalid-feedback">
|
<div class="invalid-feedback">
|
||||||
{{.Error}}
|
{{.Error}}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<button type="submit" class="btn btn-primary" disabled>Log in</button>
|
<button class="btn btn-primary" disabled type="submit">Log in</button>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user