source: PaintOfHeart-main/PaintOfHeart/src/main/resources/templates/userLogin.html@ bdc68e0

Last change on this file since bdc68e0 was bdc68e0, checked in by AnastasijaCv <ane.cvetkovska000@…>, 15 months ago

Initial commit

  • Property mode set to 100644
File size: 4.2 KB
Line 
1<!DOCTYPE html>
2<html lang="en">
3<head>
4 <meta charset="UTF-8">
5 <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/js/bootstrap.bundle.min.js"></script>
6 <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css" rel="stylesheet">
7 <title>Login</title>
8 <style>
9 .img2{
10 float: right;
11 width: 200px;
12 position: fixed;
13 margin-left: 700px;
14
15 padding-bottom: 50px;
16 padding-right: 50px;
17 height: 400px;
18 }
19 .img3{
20 margin-top: -410px;
21 padding-right: 10px;
22 width: 700px;
23 }
24 .nv{
25
26 background-color: rgba(240, 248, 255, .5);
27 margin-top: 20px;
28 }
29 body{
30 background-color: #d5ead7;
31 }
32 .photo{
33 width:300px;
34 height:60px;
35 }
36 a {
37 text-decoration: none;
38 }
39 .btn0{
40 background-color: mediumseagreen;
41 border-radius: 8px;
42 border-style: none;
43 box-sizing: border-box;
44 color: #FFFFFF;
45 cursor: pointer;
46 display: inline-block;
47 font-family: Montserrat;
48 font-size: 14px;
49 font-weight: bold;
50 height: 40px;
51 line-height: 20px;
52 list-style: none;
53 margin: 0;
54 outline: none;
55 padding: 10px 16px;
56 position: relative;
57 text-align: center;
58 text-decoration: none;
59 transition: color 100ms;
60 vertical-align: baseline;
61 user-select: none;
62 -webkit-user-select: none;
63 touch-action: manipulation;
64 }
65
66 .btn0:hover,
67 .btn0:focus {
68 background-color: lightgreen;
69 }
70 </style>
71</head>
72<body>
73<nav class="navbar navbar-expand-lg nv">
74 <div class="container">
75 <a class="navbar-brand" href="#"><img src="../../images/logo.png" class="photo" alt="logo"></a>
76 <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
77 <span class="navbar-toggler-icon"><i class="fa-solid fa-bars"></i></span>
78 </button>
79 <div class="collapse navbar-collapse" id="navbarSupportedContent">
80 <ul class="navbar-nav m-auto mb-2 mb-lg-0">
81 <li class="nav-item">
82 <a class="nav-link" href="/home"><b>Home</b></a>
83 </li>
84 <li class="nav-item">
85 <a class="nav-link" href="/events"><b>Events</b></a>
86 </li>
87 <li class="nav-item">
88 <a class="nav-link" href="/about"><b>About</b></a>
89 </li>
90 </ul>
91
92 </div>
93 </div>
94</nav>
95<section class="Form py-1">
96<div class="container py-5">
97 <div class="row g-0">
98 <div class="col-lg-7 px-5 pt-5">
99 <h4>Најавете се:</h4>
100
101 <form th:method="post" th:action="@{'/userLogin'}">
102 <div class="form-row">
103 <div class="col-lg-7">
104 <input name="username" type="text" class="form-control my-3 p-4" placeholder="Вашето корисничко име">
105 </div>
106 </div>
107
108 <div class="form-row">
109 <div class="col-lg-7">
110 <input name="password" type="password" class="form-control my-3 p-4" placeholder="Вашата лозинка">
111 </div>
112 </div>
113
114 <div class="form-row">
115 <div class="col-lg-7">
116 <button type="submit" class="btn0">Најави се</button>
117 </div>
118 </div>
119
120 <p>Немате профил?
121 <a href="/registerUser"> Регистрирајте се</a>
122 </p>
123
124 </form>
125 </div>
126 </div>
127</div>
128</section>
129<section class="img2">
130 <img class="img3" src="../../images/sunrise.jpg">
131</section>
132</body>
133</html>
Note: See TracBrowser for help on using the repository browser.